/* Fourah Bay College Specific Styles */
:root {
  --fbc-primary: #004a70;
  --fbc-secondary: #9d2235;
  --fbc-accent: #ffb81c;
  --fbc-light: #e8f1f5;
  --fbc-dark: #002a41;
  --fbc-text: #333333;
  --fbc-text-light: #666666;
  --ipam-primary: #00417e;
  --ipam-secondary: #0063b2;
  --ipam-accent: #ffc107;
  --ipam-dark: #002147;
  --ipam-light: #e6f0ff;
  --ipam-gray: #f5f7fa;
  --ipam-text: #333333;
  --ipam-text-light: #ffffff;

  --fbc-bg-gradient: linear-gradient(135deg, #004a70, #002a41);
  --fbc-card-shadow: 0 10px 30px rgba(0, 74, 112, 0.1);
}

/* Hero Section with Particles */
.college-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
  background-color: var(--fbc-dark);
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}



.college-logo {
  margin-bottom: 30px;
  animation: float 6s ease-in-out infinite;
}

.college-logo img {
  width: 150px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.college-hero h1 {
  font-family: var(--font-secondary);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.college-hero .ipamh1 {
  font-size: 1.8rem;
  font-family: var(--font-secondary);
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-style: italic;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
  color: white;
  font-size: 2rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.hero-scroll-indicator a:hover {
  opacity: 1;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* About Section */
.about-section {
  background-color: white;
  padding: 100px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: var(--fbc-primary);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--fbc-text);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 20px 10px;
  background-color: var(--fbc-light);
  border-radius: 10px;
  box-shadow: var(--fbc-card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 74, 112, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fbc-primary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--fbc-text-light);
}

.image-gallery {
  position: relative;
}

.main-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--fbc-card-shadow);
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.main-image:hover {
  transform: scale(1.02);
}

.image-thumbnails {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  gap: 10px;
}

.thumbnail {
  width: calc(33.333% - 7px);
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.7;
}


.thumbnail:hover {
  transform: translateY(-5px);
  opacity: 1;
}

/* Programs Section */
.programs-section {
  background-color: var(--fbc-light);
  padding: 100px 0;
}

.faculties-tabs {
  margin-top: 50px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 12px 25px;
  background-color: white;
  color: var(--fbc-primary);
  border: none;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-btn.active,
.tab-btn:hover {
  background-color: var(--fbc-primary);
  color: white;
  box-shadow: 0 5px 20px rgba(0, 74, 112, 0.3);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faculty-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--fbc-card-shadow);
}

.faculty-info h3 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: var(--fbc-primary);
  margin-bottom: 20px;
}

.faculty-info p {
  margin-bottom: 25px;
  line-height: 1.7;
}

.program-list {
  margin-bottom: 30px;
}

.program-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.program-list li i {
  color: var(--fbc-primary);
  margin-right: 10px;
  font-size: 1.1rem;
}

.faculty-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.faculty-image img:hover {
  transform: scale(1.03);
}

/* Innovation Hub */
.innovation-hub {
  padding: 5rem 0;
  background-color: var(--ipam-gray);
}

.hub-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.hub-image {
  flex: 1;
  min-width: 300px;
}

.hub-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hub-text {
  flex: 1;
  min-width: 300px;
}

.hub-text h3 {
  font-size: 1.8rem;
  color: var(--ipam-dark);
  margin-bottom: 1rem;
}

.hub-text p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hub-features {
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: var(--ipam-light);
  color: var(--ipam-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--ipam-dark);
}

.success-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.metric {
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ipam-primary);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.9rem;
  color: #666;
}

/* Executive Education */
.executive-education {
  padding: 5rem 0;
  background-color: white;
}

.executive-programs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.program-card {
  background-color: var(--ipam-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-header {
  background-color: var(--ipam-primary);
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.program-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.program-header h3 {
  font-size: 1.3rem;
  margin: 0;
}

.program-body {
  padding: 1.5rem;
}

.program-body p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.program-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.program-body li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.program-body li i {
  color: var(--ipam-accent);
}

.program-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.executive-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}
/* Campus Life */
.campus-life {
  padding: 100px 0;
  background-color: white;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.life-card {
  background-color: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--fbc-card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.life-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 74, 112, 0.15);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--fbc-primary);
  margin-bottom: 20px;
}

.life-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--fbc-primary);
}

.life-card p {
  margin-bottom: 25px;
  color: var(--fbc-text-light);
  line-height: 1.7;
}

.campus-gallery {
  text-align: center;
  margin-top: 60px;
}

.campus-gallery h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--fbc-primary);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--fbc-card-shadow);
}

.gallery-item img {
  width: 100%;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 20px 15px 15px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Research Highlights */
.research-highlights {
  background-color: var(--fbc-light);
  padding: 100px 0;
}

.research-showcase {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 50px;
}

.research-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--fbc-card-shadow);
}

.research-image {
  overflow: hidden;
}

.research-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.research-card:hover .research-image img {
  transform: scale(1.05);
}

.research-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.research-content h3 {
  font-size: 1.8rem;
  color: var(--fbc-primary);
  margin-bottom: 20px;
}

.research-content p {
  margin-bottom: 25px;
  line-height: 1.7;
}

.research-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 60px 0;
}

.research-cta {
  text-align: center;
  margin-top: 50px;
}

/* Alumni Section */
.alumni-section {
  padding: 100px 0;
  background-color: white;
}

.alumni-slider {
  position: relative;
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.alumni-slide {
  display: none;
}

.alumni-slide.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

.alumni-card {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 50px;
  background-color: var(--fbc-light);
  border-radius: 15px;
  box-shadow: var(--fbc-card-shadow);
}

.alumni-image {
  flex-shrink: 0;
}

.alumni-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.alumni-content h3 {
  font-size: 1.8rem;
  color: var(--fbc-primary);
  margin-bottom: 5px;
}

.alumni-title {
  font-size: 1.1rem;
  color: var(--fbc-text-light);
  margin-bottom: 20px;
  font-style: italic;
}

.alumni-quote {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  padding-left: 25px;
}

.alumni-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 3rem;
  color: var(--fbc-accent);
  line-height: 1;
  opacity: 0.5;
}

.alumni-class {
  font-weight: 600;
  color: var(--fbc-primary);
}

.alumni-controls {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.prev-alumni,
.next-alumni {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--fbc-primary);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.prev-alumni:hover,
.next-alumni:hover {
  opacity: 1;
}

.alumni-dots {
  display: flex;
  gap: 10px;
}

.alumni-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.alumni-dots .dot.active,
.alumni-dots .dot:hover {
  background-color: var(--fbc-primary);
  transform: scale(1.2);
}

.alumni-cta {
  text-align: center;
  margin-top: 50px;
}

/* Admissions Section */
.admissions-section {
  padding: 100px 0;
  background-color: var(--fbc-light);
}

.admissions-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 50px;
  margin-top: 50px;
}

.admissions-text h3 {
  font-size: 2rem;
  color: var(--fbc-primary);
  margin-bottom: 20px;
}

.admissions-text p {
  line-height: 1.7;
  margin-bottom: 25px;
}

.requirements-list {
  margin-bottom: 30px;
}

.requirements-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.requirements-list li i {
  color: var(--fbc-accent);
  margin-right: 10px;
  font-size: 1.2rem;
}

.admissions-deadlines {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--fbc-card-shadow);
  margin-bottom: 30px;
}

.admissions-deadlines h4 {
  font-size: 1.3rem;
  color: var(--fbc-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fbc-light);
}

.deadline-item {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--fbc-light);
}

.deadline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.deadline-date {
  font-weight: 600;
  color: var(--fbc-primary);
  min-width: 120px;
}

.admissions-cta {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.form-card {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--fbc-card-shadow);
}

.form-card h3 {
  font-size: 1.8rem;
  color: var(--fbc-primary);
  margin-bottom: 30px;
  text-align: center;
}

.info-request-form .form-group {
  margin-bottom: 20px;
}

.info-request-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--fbc-text);
}

.info-request-form input,
.info-request-form select,
.info-request-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: var(--font-primary);
}

.info-request-form textarea {
  resize: vertical;
  min-height: 120px;
}

.info-request-form button {
  width: 100%;
  margin-top: 10px;
}

/* Contact & Location */
.contact-section {
  padding: 100px 0;
  background-color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-infoM {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-card {
  padding: 30px;
  background-color: var(--fbc-light);
  border-radius: 10px;
  box-shadow: var(--fbc-card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 74, 112, 0.15);
}

.contact-icon {
  font-size: 2rem;
  color: var(--fbc-primary);
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 1.3rem;
  color: var(--fbc-primary);
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--fbc-text-light);
  line-height: 1.7;
}

.social-links-large {
  grid-column: span 2;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-links-large a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--fbc-light);
  color: var(--fbc-primary);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-links-large a:hover {
  background-color: var(--fbc-primary);
  color: white;
  transform: translateY(-5px);
}

.contact-map {
  height: 100%;
  min-height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--fbc-card-shadow);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* CTA Section */
.cta-section {
  background: var(--fbc-bg-gradient);
  padding: 100px 0;
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: var(--font-secondary);
}

.cta-content p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .college-hero h1 {
    font-size: 3.5rem;
  }

  .stats-container,
  .research-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .life-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .about-content,
  .faculty-content,
  .research-card,
  .admissions-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .alumni-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .contact-infoM {
    order: 2;
  }

  .tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .college-hero h1 {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .life-grid {
    grid-template-columns: 1fr;
  }

  .stat-item,
  .research-stat {
    padding: 15px;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }

  .research-content {
    padding: 30px 20px;
  }

  .research-stats {
    grid-template-columns: 1fr;
  }

  .contact-infoM {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .college-hero h1 {
    font-size: 2.5rem;
  }

  .college-logo img {
    width: 120px;
    height: 120px;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .faculty-content,
  .alumni-card {
    padding: 20px;
  }
}

/* Animation for Counter */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter {
  animation: countUp 1s ease forwards;
}
