/* Bio Page Styles */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.bio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 2rem;
}

.bio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.bio-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bio-photo {
    width: 230px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #e67e22;
}

.bio-content h2 {
    color: #2a3f62;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.bio-content h3 {
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.bio-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: linear-gradient(45deg, #e67e22, #f39c12);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.collective-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #2a3f62;
    font-weight: 600;
}


/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #201E43, #3498db);
  min-height: 60px;
  height: auto;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  height: auto;
}

.logo a {
  color: white;
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #e67e22;
}

.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  background: none;
  border: none;
  padding: 5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover {
  color: #e67e22;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e67e22;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.cta-button {
  background-color: #e67e22 !important;
  color: white !important;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: transparent !important;
  color: #e67e22 !important;
  transform: translateY(-2px);
}

.cta-button::after {
  display: none !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2a3f62, #1e2a45);
  color: white;
  padding: 80px 20px;
  padding-top: 140px !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="70" cy="20" r="1.2" fill="rgba(255,255,255,0.09)"/><circle cx="10" cy="60" r="0.8" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  animation: float 20s ease-in-out infinite;
}

.hero-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.main-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
  font-weight: 300;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.85;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* Testimonials */
.testimonials {
  background-color: #f5f5f5;
  padding: 50px 0;
  text-align: center;
}

.testimonials h2 {
  color: #2a3f62;
  font-size: 36px;
  margin-bottom: 30px;
}

.carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 50px;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 1s ease;
}

.carousel-item {
  flex: 0 0 100%;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 1s ease;
  position: absolute;
  left: 0;
  top: 0;
}

.carousel-item.active {
  opacity: 1;
  position: relative;
}

.carousel-item blockquote {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 20px;
  color: #333;
}

.carousel-item .author {
  font-weight: bold;
  color: #3498db;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #2a3f62;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s;
}

.carousel-control:hover {
  background-color: #3498db;
}

.carousel-control.prev {
  left: 0;
}

.carousel-control.next {
  right: 0;
}

/* Service Offerings */
.service-offerings {
  padding: 20px 20px 50px 20px;
  background-color: #2a3f62;
}

.service-offerings h2 {
  text-align: center;
  font-size: 36px;
  color: white;
  margin-bottom: 30px;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.service-row.center {
  justify-content: center;
}

.service-item {
  flex-basis: calc(50% - 15px);
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.service-row.center .service-item {
  flex-basis: 66.666%;
}

.service-item h3 {
  font-size: 24px;
  color: #3498db;
  margin-bottom: 15px;
}

.service-item ul {
  padding-left: 20px;
}

.service-item li {
  margin-bottom: 10px;
}

/* Why Choose Us */
.why-choose-us {
  padding: 20px;
  background-color: #f5f5f5;
  color: #2a3f62;
}

.why-choose-us h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
}

.reasons-list {
  list-style-type: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.reasons-list li {
  margin-bottom: 20px;
  font-size: 18px;
}

.reasons-list strong {
  color: #e67e22;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2a3f62;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(52, 152, 219, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-card h3 {
  color: #2a3f62;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Why Choose Section */
.why-choose {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

/* Topics Section */
.topics-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.topics-table {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  margin-top: 3rem;
}

.table-header {
  background: linear-gradient(135deg, #2a3f62, #3498db);
  color: white;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.topic-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.topic-row:hover {
  background: linear-gradient(90deg, rgba(52, 152, 219, 0.05), rgba(230, 126, 34, 0.05));
}

.topic-row:last-child {
  border-bottom: none;
}

.topic-name {
  font-weight: 600;
  color: #2a3f62;
  display: flex;
  align-items: center;
}

.topic-benefit {
  color: #555;
}

/* Audience Section */
.audience-section {
  padding: 4rem 0;
  background: white;
}

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

.audience-card {
  background: linear-gradient(145deg, #2a3f62, #1e3a5f);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(42, 63, 98, 0.3);
}

.audience-card h3 {
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.audience-card p {
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* Approach Section */
.approach-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
  color: white;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.step-number {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: white;
}

.step-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.step-features {
  list-style: none;
  padding: 0;
}

.step-features li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.step-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: bold;
}

/* Beyond Section */
.beyond-section {
  padding: 4rem 0;
  background: white;
}

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

.service-card {
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border-left: 5px solid #3498db;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-left-color: #e67e22;
}

.service-card h3 {
  color: #2a3f62;
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(45deg, #e67e22, #f39c12);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-primary {
  background: linear-gradient(45deg, #e67e22, #f39c12);
  color: white;
  border: 2px solid white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-secondary:hover {
  background: white;
  color: #2a3f62;
}

/* Footer */
footer {
  background-color: #2a3f62;
  color: white;
  padding: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-left {
  text-align: left;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1.0s; }

/* Responsive Design */
@media (max-width: 768px) {
  
  header {
  min-height: 70px;
  padding: 15px 0;
  }
  
  .header-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #201E43, #3498db);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 15px 20px;
    font-size: 1.125rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
  }

  nav a:last-child {
    border-bottom: none;
  }

  .hero {
    flex-direction: column;
    padding: 50px 20px;
    padding-top: 160px !important;
    padding-bottom: 80px !important;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-description,
  .hero p {
    font-size: clamp(1rem, 4vw, 1.125rem);
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 30px;
  }

  .carousel {
    padding: 0 30px;
  }

  .carousel-item blockquote {
    font-size: 16px;
  }

  .carousel-control {
    padding: 5px 10px;
    font-size: 16px;
  }

  .service-row {
    flex-direction: column;
  }

  .service-item,
  .service-row.center .service-item {
    flex-basis: 100%;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-left {
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .table-header,
  .topic-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

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

  .approach-steps {
    grid-template-columns: 1fr;
  }

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

  section {
    scroll-margin-top: 120px;
  }
  
}

@media (max-width: 768px) and (min-resolution: 2dppx) {
    .hero {
        padding-top: 180px !important;
    }
    
    header {
        min-height: 80px;
    }
}

/* Ensure sections have proper spacing from header */
section {
    scroll-margin-top: 100px;
}