/* Base Styles and CSS Reset */
:root {
  /* Color Variables */
  --primary-color: #000080;    /* Navy Blue */
  --primary-dark: #000066;     /* Darker Navy */
  --primary-light: #E6E6F2;    /* Light Navy */
  --secondary-color: #FF0000;  /* Red */
  --secondary-dark: #CC0000;   /* Darker Red */
  --secondary-light: #FFE6E6;  /* Light Red */
  --accent-color: #FF0000;     /* Red as accent */
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #777777;
  --white: #ffffff;
  --off-white: #f9f9f9;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  --spacing-xxl: 8rem;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  padding-top: 80px; /* Offset for fixed header */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

section {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}

.section-header h2:after {
  content: '';
  display: block;
  height: 3px;
  width: 60px;
  background-color: var(--secondary-color);
  margin: var(--spacing-xs) auto 0;
}

.section-header p {
  color: var(--text-medium);
  font-size: 1.1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-medium);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-color);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  padding: var(--spacing-xs) 0;
}

.btn-text i {
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.btn-text:hover {
  color: var(--primary-dark);
}

.btn-text:hover i {
  transform: translateX(5px);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-medium);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-menu li a:hover, .nav-menu li a.active {
  color: var(--secondary-color);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-sm);
  padding: var(--spacing-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-medium);
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  padding: 8px var(--spacing-sm);
  display: block;
  color: var(--primary-color);
}

.dropdown-menu li a:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.dropdown i {
  font-size: 0.8rem;
  margin-left: 5px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger to X transformation */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */

/* Blog Page Styles */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.post-card-item {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.post-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.post-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Allows footer to stick to bottom */
}

.post-card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.post-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.post-summary {
  flex-grow: 1; /* Pushes button down */
  margin-bottom: 1.5rem;
  color: var(--text-medium);
}

.read-more-btn {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 15px;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  text-align: center;
  align-self: flex-start; /* Aligns button to the left */
  transition: background-color var(--transition-fast);
}

.read-more-btn:hover {
  background-color: var(--primary-dark);
}

.post-card-admin-controls {
  padding: 0 1.5rem 1.5rem; /* Add padding to match content */
}

/* Responsive adjustments for blog */
@media (max-width: 768px) {
  .blog-posts {
    grid-template-columns: 1fr; /* Stack to a single column on tablets and below */
  }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  background-color: #0f172a;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease-in-out, transform 7s ease-in-out;
  transform: scale(1.05);
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 3;
}

.container {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content {
  color: #ffffff !important;
  max-width: 650px;
  margin: 0;
  text-align: left;
  padding-top: 4rem;
}

.hero-text {
  margin-bottom: 2.5rem;
}

.hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 0;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  max-width: 540px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}



/* Responsive Styles */
@media (max-width: 1280px) {
  .container {
    padding: 0 2rem;
  }
  
  .hero-content {
    max-width: 600px;
    padding-top: 3.5rem;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 1.75rem;
  }
  
  .hero-content {
    max-width: 550px;
    padding-top: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
  }

  .container {
    padding: 0 1.5rem;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 2.5rem;
  }

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

  .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 450px;
    height: 100svh; /* Use small viewport height for mobile */
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .hero-text {
    margin-bottom: 1.75rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.75rem;
  }
}

/* Medical Research Morphing Shapes */
.hero-shapes {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 45%;
  height: 100%;
  z-index: 2;
}

.shape-medical {
  position: absolute;
  background: linear-gradient(135deg, 
    rgba(0, 0, 128, 0.15) 0%,
    rgba(0, 0, 128, 0.08) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Enhanced Health Stats Graph */
.shape-medical:nth-child(1) {
  width: 280px;
  height: 280px;
  top: 15%;
  right: 20%;
  clip-path: polygon(
    0 100%, 15% 70%, 30% 85%, 45% 40%, 
    60% 55%, 75% 25%, 90% 45%, 100% 20%, 
    100% 100%
  );
  animation: morphHealthGraph 15s ease-in-out infinite;
  background: linear-gradient(135deg, 
    rgba(255, 0, 0, 0.2) 0%,
    rgba(0, 0, 128, 0.25) 100%
  );
  box-shadow: 0 8px 32px rgba(0, 0, 128, 0.1);
}

.shape-medical:nth-child(1)::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.1) 10px,
    transparent 10px,
    transparent 20px
  );
  clip-path: inherit;
  animation: shimmerLines 4s linear infinite;
}

/* Enhanced Data Analysis Circle */
.shape-medical:nth-child(2) {
  width: 320px;
  height: 320px;
  top: 25%;
  right: 35%;
  background: conic-gradient(
    from 0deg,
    rgba(0, 0, 128, 0.2) 0%,
    rgba(255, 0, 0, 0.2) 25%,
    rgba(0, 0, 128, 0.2) 50%,
    rgba(255, 0, 0, 0.2) 75%,
    rgba(0, 0, 128, 0.2) 100%
  );
  border-radius: 50%;
  animation: rotateCircle 20s linear infinite;
  box-shadow: 0 8px 32px rgba(0, 0, 128, 0.1);
}

.shape-medical:nth-child(2)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 0, 0, 0.15) 50%,
    rgba(0, 0, 128, 0.15) 100%
  );
  border-radius: 50%;
  animation: pulseCircle 4s ease-in-out infinite;
}

/* Enhanced Research Document */
.shape-medical:nth-child(3) {
  width: 240px;
  height: 300px;
  top: 40%;
  right: 15%;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 100%
  );
  clip-path: polygon(
    0% 0%, 85% 0%, 100% 15%, 100% 100%,
    0% 100%, 0% 0%,
    85% 0%, 85% 15%, 100% 15%
  );
  animation: floatDocument 6s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0, 0, 128, 0.1);
}

/* Pen Shape */
.shape-medical:nth-child(3)::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 10px;
  top: 20%;
  left: 60%;
  background: linear-gradient(135deg,
    rgba(0, 0, 128, 0.25) 0%,
    rgba(0, 0, 128, 0.15) 100%
  );
  transform: rotate(-45deg);
  clip-path: polygon(0 35%, 85% 35%, 100% 50%, 85% 65%, 0 65%);
  animation: movePen 4s ease-in-out infinite;
}

/* Text Lines */
.shape-medical:nth-child(3)::after {
  content: '';
  position: absolute;
  top: 35%;
  left: 15%;
  width: 70%;
  height: 3px;
  background: rgba(0, 0, 128, 0.15);
  box-shadow: 
    0 15px 0 rgba(0, 0, 128, 0.15),
    0 30px 0 rgba(0, 0, 128, 0.15),
    0 45px 0 rgba(0, 0, 128, 0.15);
  animation: fadeLines 4s ease-in-out infinite;
}

/* Data Points Grid */
.shape-medical:nth-child(4) {
  width: 180px;
  height: 180px;
  top: 52%;
  right: 25%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 0, 0, 0.15) 3px, transparent 3px),
    radial-gradient(circle at 75% 75%, rgba(0, 0, 128, 0.15) 3px, transparent 3px);
  background-size: 25px 25px;
  animation: pulseGrid 6s ease-in-out infinite;
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
  max-width: 55%;
  margin-top: -2rem;
  color-scheme: light dark;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary-color); /* Fallback */
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: var(--spacing-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
  line-height: 1.6;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-buttons .btn-primary {
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 128, 0.2);
  z-index: 2;
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 128, 0.3);
}

.hero-buttons .btn-primary:focus,
.hero-buttons .btn-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.3);
}

.hero-buttons .btn-primary:focus-visible,
.hero-buttons .btn-secondary:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.hero-buttons .btn-secondary {
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid var(--secondary-color);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 2;
}

.hero-buttons .btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

@keyframes fadePattern {
  0% {
    opacity: 0.05;
  }
  50% {
    opacity: 0.15;
}
  100% {
    opacity: 0.05;
  }
}

@keyframes morphHealthGraph {
  0%, 100% {
    clip-path: polygon(
      0 100%, 15% 70%, 30% 85%, 45% 40%, 
      60% 55%, 75% 25%, 90% 45%, 100% 20%, 
      100% 100%
    );
    transform: scale(1) rotate(0deg);
  }
  50% {
    clip-path: polygon(
      0 100%, 15% 60%, 30% 75%, 45% 30%, 
      60% 45%, 75% 15%, 90% 35%, 100% 25%, 
      100% 100%
    );
    transform: scale(1.05) rotate(1deg);
  }
}

@keyframes rotateCircle {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatDocument {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

@keyframes pulseCircle {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.6;
  }
}

@keyframes fadeLines {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes pulseGrid {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.95);
  }
}

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

@keyframes shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
}
  100% {
    left: 100%;
  }
}

@keyframes shimmerLines {
  0% {
    opacity: 0.3;
    transform: translateX(-100%);
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 0.3;
    transform: translateX(100%);
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-content {
    max-width: 60%;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    max-width: 100%;
  }
  
  .hero-shapes {
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    transform: none;
  }
  
  .shape-medical:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 15%;
    right: -20px;
    animation: morphHealthGraph 12s ease-in-out infinite;
  }
  
  .shape-medical:nth-child(2) {
    width: 220px;
    height: 220px;
    top: 40%;
    right: auto;
    left: -30px;
    animation: rotateCircle 15s linear infinite;
  }
  
  .shape-medical:nth-child(3) {
    width: 180px;
    height: 220px;
    top: 60%;
    right: 10%;
    animation: floatDocument 5s ease-in-out infinite;
  }

  .shape-medical:nth-child(4) {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: 4.5rem 0 4rem;
    margin-top: 60px;
    background: 
      linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.95) 100%),
      linear-gradient(45deg, rgba(0, 0, 128, 0.05) 0%, rgba(255, 0, 0, 0.05) 100%);
  }

  .hero::before {
    background: 
      radial-gradient(circle at top right, rgba(0, 0, 128, 0.04) 0%, transparent 60%),
      radial-gradient(circle at bottom left, rgba(255, 0, 0, 0.04) 0%, transparent 60%),
      radial-gradient(var(--primary-light) 1.5px, transparent 1.5px),
      radial-gradient(var(--secondary-light) 1.5px, transparent 1.5px);
    background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
    background-position: 0 0, 0 0, 0 0, 15px 15px;
    opacity: 0.8;
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }

  .hero-shapes {
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    transform: none;
  }

  /* Increase logo size on mobile */
  .partner-logo {
    width: 160px; /* Increased from 120px */
    height: 70px; /* Increased from 60px */
    padding: var(--spacing-xs);
  }

  .logo-group {
  gap: var(--spacing-md);
    padding: 0 var(--spacing-md);
}

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 0;
    gap: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    visibility: hidden;
    z-index: 999;
    opacity: 0;
  }

  .nav-menu.active {
    max-height: calc(100vh - 70px);
    visibility: visible;
    opacity: 1;
    padding: 1rem 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
  }

  .nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    padding: 0;
    background-color: var(--off-white);
    display: none;
  }

  .dropdown.active .dropdown-menu {
    max-height: 300px;
    padding: 0.5rem 0;
    display: block;
  }

  .dropdown-menu li a {
    padding-left: 3rem;
  }

  .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown > a i {
    transition: transform 0.3s ease;
  }

  .dropdown.active > a i {
    transform: rotate(180deg);
  }

  .hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
  }

  .hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    max-width: 100%;
    line-height: 1.5;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: var(--spacing-md);
  }

  .hero-buttons .btn-secondary {
    display: none;
  }

  .hero-buttons .btn-primary {
    width: auto;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 30px;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 128, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .hero-buttons .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 128, 0.3);
  }

  .hero-buttons .btn-primary:hover::before {
    opacity: 1;
  }

  .hero-buttons .btn-primary span {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial {
  padding: var(--spacing-md);
  }

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

  .hero {
    min-height: 100vh;
    padding: 4rem 0 3rem;
  }

  .hero-content {
    padding: 0 var(--spacing-sm);
    margin-top: -1.5rem;
  }

  /* Further adjust logo size for smaller screens */
  .partner-logo {
    width: 140px; /* Increased from previous mobile size */
    height: 65px; /* Increased from previous mobile size */
  }

  .logo-group {
    gap: var(--spacing-sm);
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
  }

  .hero-shapes {
    opacity: 0.7;
  }

  .hero-buttons .btn-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* High Contrast Mode Support */
@media (forced-colors: active) {
  .hero h1 {
    -webkit-text-fill-color: CanvasText;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    border: 2px solid currentColor;
  }
}

/* Accessibility Classes */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary-color); /* Fallback */
  display: inline-block;
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-shapes {
    display: none;
  }
}

/* Enhanced gradient for team page heading */
.team-hero h1 .gradient-text {
  background: linear-gradient(135deg, #ff4d6d, #c1121f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 15px rgba(255, 77, 109, 0.3);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Partners Section */
.partners {
  background-color: var(--off-white);
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.partners .section-header {
  margin-bottom: var(--spacing-xl);
}

.partners-scroll {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: var(--spacing-md) 0;
}

.partners-scroll::before,
.partners-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.partners-scroll::before {
  left: 0;
  background: linear-gradient(to right, var(--off-white), transparent);
}

.partners-scroll::after {
  right: 0;
  background: linear-gradient(to left, var(--off-white), transparent);
}

.scroll-wrapper {
  display: flex;
  width: max-content;
  animation: scrollLogos 40s linear infinite;
}

.scroll-wrapper:hover {
  animation-play-state: paused;
}

.logo-group {
  display: flex;
  gap: var(--spacing-xl);
  padding: 0 var(--spacing-xl);
}

.partner-logo {
  width: 220px; /* Increased from 180px */
  height: 100px; /* Increased from 80px */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-sm);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  position: relative; /* Added for tooltip positioning */
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.7;
  transition: filter var(--transition-medium), opacity var(--transition-medium);
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
}

.partner-logo:hover img {
  opacity: 1;
}

/* Tooltip Styles */
.partner-logo::after {
  content: attr(data-company);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}

.partner-logo::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  border: 8px solid transparent;
  border-bottom-color: var(--primary-color);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}

.partner-logo:hover::after,
.partner-logo:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive adjustments for partners section */
@media (max-width: 992px) {
  .partner-logo {
    width: 240px; /* Increased from 200px */
    height: 110px; /* Increased from 90px */
  }
}

@media (max-width: 768px) {
  .partner-logo {
    width: 220px; /* Increased from 180px */
    height: 100px; /* Increased from 80px */
  }

  .logo-group {
    gap: var(--spacing-lg);
    padding: 0 var(--spacing-lg);
  }

  .partners-scroll::before,
  .partners-scroll::after {
    width: 100px;
  }
}

@media (max-width: 576px) {
  .partner-logo {
    width: 200px; /* Increased from 160px */
    height: 95px; /* Increased from 75px */
  }

  .logo-group {
    gap: var(--spacing-md);
    padding: 0 var(--spacing-md);
  }

  .partners-scroll::before,
  .partners-scroll::after {
    width: 60px;
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .scroll-wrapper {
    animation: none;
    transform: translateX(0);
  }

  .partners-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .partner-logo:hover::after,
  .partner-logo:hover::before {
    transition: none;
  }
}

/* About Page Styles */

/* About Hero Section */
.about-hero {
  position: relative;
  min-height: 60vh;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 70px;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 128, 0.95), rgba(0, 0, 128, 0.8));
  z-index: 1;
}

.about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/about-hero.jpg') center/cover no-repeat;
  opacity: 0.2;
  animation: slowZoom 20s infinite alternate;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
}

.about-hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.about-hero .lead {
  font-size: 1.5rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

/* Mission & Vision Section */
.mission-vision {
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.mission-card,
.vision-card {
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-medium);
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.mission-card h2,
.vision-card h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

/* Core Values Section */
.core-values {
  padding: var(--spacing-xl) 0;
  background-color: var(--off-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.value-card {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  text-align: center;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  transition: transform var(--transition-medium);
}

.value-card:hover .value-icon {
  transform: rotateY(180deg);
}

/* Journey Timeline */
.journey {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: var(--spacing-xl) auto 0;
  padding: 0 var(--spacing-md);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
  width: 50%;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
}

.timeline-content {
  position: relative;
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -60px;
}

.year {
  display: inline-block;
  padding: 5px 15px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--spacing-sm);
}

/* Stats Section */
.stats {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  text-align: center;
}

.stat-card {
  padding: var(--spacing-lg);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-heading);
}

/* Team Preview Section */
.team-preview {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

/* Updated Team Card Styles with Video Lightbox */
.team-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  cursor: pointer;
  transform: translateZ(0); /* Enable hardware acceleration */
}

.team-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.team-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

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

.team-card:hover .team-image img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.team-info {
  padding: var(--spacing-md);
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--white);
  transition: all 0.3s ease;
}

.team-info h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.team-info .position {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.team-info .department {
  color: var(--text-light);
  font-size: 0.85rem;
  font-style: italic;
}

/* Play Button Styles */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 128, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.play-button i {
  font-size: 1.5rem;
  margin-left: 4px; /* Slight offset for play icon */
}

.team-image:hover .play-button,
.team-card:hover .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.play-button:hover {
  background: var(--secondary-color);
  transform: translate(-50%, -50%) scale(1.1);
  border-color: var(--white);
}

/* Team Expanded Content (Lightbox) */
.team-expanded {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: flex-start; /* Change from center to flex-start */
  justify-content: center;
  z-index: 1100; /* Higher z-index to ensure above nav bar */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  padding: 20px;
  overflow-y: auto; /* Make the entire lightbox scrollable */
}

.team-expanded.active {
  opacity: 1;
  visibility: visible;
}

.expanded-container {
  width: 90%;
  max-width: 1000px;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  max-height: none; /* Remove height constraint */
  height: auto;
  margin: 100px auto 40px; /* Increased top margin to ensure content is below navbar */
}

.team-expanded.active .expanded-container {
  transform: scale(1);
}

.close-expanded {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
  z-index: 1110; /* Increased z-index */
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Add shadow for better visibility */
}

.close-expanded:hover {
  background: var(--primary-color);
  transform: rotate(90deg);
}

/* Video Container */
.video-container {
  width: 100%;
  height: auto;
  background: var(--primary-color);
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9; /* Maintain aspect ratio */
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Changed from cover to contain to prevent cropping */
  background: #000; /* Add black background for letterboxing */
}

/* Expanded Team Info */
.expanded-info {
  padding: var(--spacing-lg);
  overflow-y: auto;
  max-height: 600px; /* Set max height for scrolling */
  display: flex;
  flex-direction: column;
}

.expanded-info h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.expanded-info .position {
  display: block;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.expanded-info .bio {
  color: var(--text-medium);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
  font-size: 1rem;
}

/* Achievements Section */
.achievements {
  margin-bottom: var(--spacing-lg);
}

.achievement {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-xs) 0;
  transition: all 0.3s ease;
}

.achievement:hover {
  transform: translateX(5px);
}

.achievement i {
  width: 30px;
  height: 30px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--spacing-sm);
  font-size: 0.9rem;
}

.achievement span {
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* Expanded Social Links */
.expanded-info .team-social {
  display: flex;
  gap: 12px;
}

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

.expanded-info .team-social a:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 128, 0.2);
}

/* Team Grid Responsive Adjustments */
@media (max-width: 1200px) {
  .expanded-container {
    grid-template-columns: 1fr;
    width: 95%;
    max-width: 700px;
  }
  
  .video-container {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  
  .video-container video {
    object-fit: contain;
  }
  
  .expanded-info {
    padding: var(--spacing-md);
    max-height: none;
    overflow-y: visible;
  }
  
  .expanded-info h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .team-expanded {
    padding: 0; /* Remove padding on mobile */
    align-items: flex-start;
  }
  
  .expanded-container {
    width: 100%;
    max-width: 100%;
    margin: 70px auto 0; /* Reduced top margin for mobile */
    border-radius: 0; /* Remove border radius on mobile for full-width look */
  }
  
  .close-expanded {
    position: absolute; /* Position relative to the container instead of fixed */
    top: auto;
    right: auto;
    bottom: 20px;
    left: 20px;
    background: var(--secondary-color);
    z-index: 1110;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); /* Enhanced shadow for visibility */
  }
  
  .video-container {
    height: auto; 
    max-height: 45vh; /* Limit height on mobile */
  }
  
  .video-container video {
    object-fit: contain;
  }
  
  .expanded-info {
    padding: var(--spacing-md) var(--spacing-sm);
    padding-bottom: 80px; /* Add extra padding at the bottom to prevent close button overlap */
    max-height: none; /* Remove max height limitation on mobile */
    overflow-y: visible; /* Let parent handle scrolling */
  }
  
  .team-expanded.active {
    padding: 0;
  }
  
  /* Ensure the lightbox is fully accessible */
  .team-expanded.active .expanded-container {
    animation: fadeInMobileContainer 0.3s ease forwards;
  }
}

@media (max-width: 576px) {
  .expanded-info h3 {
    font-size: 1.4rem;
  }
  
  .expanded-info .position {
    font-size: 1rem;
  }
  
  .expanded-info .bio {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
  }
  
  .expanded-info .achievements {
    margin-bottom: var(--spacing-md);
  }
  
  .achievements .achievement {
    margin-bottom: 8px;
  }
  
  .expanded-info .team-social {
    justify-content: center;
  }
  
  .expanded-container {
    margin: 60px auto 0; /* Further reduce top margin for smaller screens */
  }
  
  .team-expanded {
    padding: 0;
  }
  
  .close-expanded {
    bottom: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
  }
}

/* Ensure accessibility for all users */
@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-card:hover,
  .team-card:hover .team-image img,
  .play-button,
  .expanded-container,
  .close-expanded:hover,
  .achievement:hover {
    transition: none;
    animation: none;
    transform: none;
  }
  
  .close-expanded {
    background: var(--secondary-color);
  }
}

/* Animations */
@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .about-hero h1 {
    font-size: 2.8rem;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  }

  .timeline::before {
    left: 30px;
}

  .timeline-item {
    width: 100%;
    margin-left: 0 !important;
}

  .timeline-content::before {
    left: -45px !important;
}
}

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

  .about-hero .lead {
  font-size: 1.2rem;
  }

  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .about-hero {
    min-height: 50vh;
  }

  .about-hero h1 {
    font-size: 2rem;
}

  .about-hero .lead {
    font-size: 1.1rem;
  }

  .timeline-content {
    padding: var(--spacing-md);
  }

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .about-hero-bg,
  .value-card:hover .value-icon,
  .team-card:hover .team-image img {
    animation: none;
    transform: none;
}
}

/* Modern About Section Styles */
.about-modern {
  position: relative;
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #000050 100%);
  color: var(--white);
  overflow: hidden;
}

.about-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  animation: float 6s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 10%;
  animation-delay: 4s;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.section-header-modern {
  margin-bottom: var(--spacing-xl);
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
}

.section-header-modern h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.section-header-modern h2 .gradient-text {
  background: linear-gradient(135deg, #FF6B6B, var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--secondary-color); /* Fallback */
  display: inline-block;
  position: relative;
  z-index: 1;
  text-shadow: none;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: var(--spacing-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--secondary-color); /* Fallback */
  display: block;
  transition: transform 0.3s ease;
}

.glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  width: 100%;
  text-align: center;
}

.glass-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), rgba(255, 255, 255, 0.5));
  transition: width 0.3s ease;
}

.glass-card:hover h3::after {
  width: 100%;
}

.about-text .lead {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.about-stats {
  display: flex;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  color: #ffffff !important;
  font-weight: 500;
  margin-top: 0.25rem;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 1rem 2rem;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: 600;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.btn-modern i {
  transition: transform 0.3s ease;
}

.btn-modern:hover i {
  transform: translateX(5px);
}

.about-visual {
  position: relative;
  width: 100%;
}

.image-stack {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 0 auto;
}

.image-wrapper {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.primary-image {
  width: 75%;
  height: 400px;
  right: 0;
  top: 0;
  z-index: 2;
}

.secondary-image {
  width: 55%;
  height: 300px;
  left: 0;
  bottom: 0;
  z-index: 1;
}

.experience-badge {
  position: absolute;
  bottom: 50px;
  right: 30px;
  background: var(--accent-color);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  animation: pulse 2s infinite;
}

.experience-badge .years {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.8rem;
  text-align: center;
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1200px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .about-visual {
  max-width: 800px;
  margin: 0 auto;
}

  .image-stack {
    height: 450px;
    margin: var(--spacing-xl) auto 0;
  }
}

@media (max-width: 992px) {
  .about-modern {
    padding: var(--spacing-xl) 0;
  }

  .section-header-modern h2 {
  font-size: 2.2rem;
  }

  .about-text .lead {
    font-size: 1.1rem;
  }

  .about-cards {
    gap: var(--spacing-sm);
  }

  .glass-card {
    padding: var(--spacing-md);
  }

  .about-stats {
    gap: var(--spacing-lg);
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .about-modern {
    padding: var(--spacing-lg) 0;
  }

  .section-header-modern {
    margin-bottom: var(--spacing-lg);
    text-align: center;
  }

  .section-tag {
    margin: 0 auto var(--spacing-md);
  }

  .section-header-modern h2 {
    font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

  .about-cards {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }

  .glass-card {
    padding: var(--spacing-lg);
    text-align: center;
  }

  .glass-card h3 {
    font-size: 1.2rem;
    margin-top: var(--spacing-xs);
  }

  .glass-card h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-text {
    text-align: center;
  }

  .about-text .lead {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

  .about-stats {
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }

  .stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(10px);
  }

  .stat-number {
    font-size: 2rem;
  }

  .about-visual {
    margin-top: var(--spacing-lg);
  }

  .image-stack {
    height: 350px;
    margin: var(--spacing-lg) auto 0;
  }

  .primary-image {
    width: 100%;
    height: 350px;
    right: 0;
    top: 0;
    border-radius: 16px;
  }

  .secondary-image {
    display: none;
  }

  .experience-badge {
    width: 90px;
    height: 90px;
    right: 20px;
    bottom: 20px;
  }

  .experience-badge .years {
    font-size: 1.8rem;
  }

  .experience-badge .text {
    font-size: 0.7rem;
  }
}

@media (max-width: 576px) {
  .about-modern {
    padding: var(--spacing-md) 0;
  }

  .section-header-modern h2 {
    font-size: 1.8rem;
  }

  .about-text .lead {
    font-size: 1rem;
    line-height: 1.5;
  }

  .glass-card {
    padding: var(--spacing-md);
  }

  .glass-card h3 {
    font-size: 1.1rem;
  }

  .stat-item {
    padding: var(--spacing-sm);
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .image-stack {
    height: 300px;
  }

  .primary-image {
    height: 300px;
  }

  .experience-badge {
    width: 80px;
    height: 80px;
    right: 15px;
    bottom: 15px;
  }

  .experience-badge .years {
    font-size: 1.5rem;
  }

  .experience-badge .text {
    font-size: 0.65rem;
  }
}

/* Add smooth transitions for responsive changes */
.image-stack, .image-wrapper, .experience-badge {
  transition: all 0.3s ease-in-out;
}

/* Enhance image quality */
.image-wrapper img {
  object-fit: cover;
  object-position: center;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  filter: brightness(1.02) contrast(1.02);
}

/* Add subtle hover effect */
.image-wrapper:hover img {
  transform: scale(1.03);
  filter: brightness(1.05) contrast(1.05);
}

/* Add loading optimization for mobile */
@media (max-width: 768px) {
  .image-wrapper img {
    loading: "lazy";
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Hide shapes on mobile screens */
@media (max-width: 768px) {
  .about-bg-shapes .shape {
    display: none;
  }
  
  .about-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000050 100%);
  }
}

/* Ultra Modern Services Section */
.services-modern {
  position: relative;
  padding: var(--spacing-xxl) 0;
  background-color: var(--white);
  overflow: hidden;
}

.services-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 10%, rgba(0, 0, 128, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(255, 0, 0, 0.03) 0%, transparent 30%);
  z-index: 0;
}

.services-header {
  position: relative;
  margin-bottom: var(--spacing-xl);
  text-align: center;
  z-index: 1;
}

.services-header .gradient-text {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.services-header h2 {
  font-size: 2.8rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.services-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.services-header p {
  max-width: 700px;
  margin: var(--spacing-md) auto 0;
  color: var(--text-medium);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  transform: translateY(0);
  opacity: 0;
  animation: fadeServiceIn 0.6s ease-out forwards;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.4s;
}

.service-card:nth-child(4) {
  animation-delay: 0.6s;
}

.service-card:nth-child(5) {
  animation-delay: 0.8s;
}

.service-card:nth-child(6) {
  animation-delay: 1s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
  overflow: hidden;
}

.service-icon .icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 128, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon .icon-bg {
  background-color: transparent;
}

.service-icon i {
  font-size: 3rem;
  color: var(--primary-color);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon i {
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.service-content {
  padding: var(--spacing-lg);
  background-color: var(--white);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-content {
  background-color: transparent;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
  transition: all 0.4s ease;
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.4s ease;
}

.service-card:hover h3 {
  color: var(--white);
}

.service-card:hover h3::after {
  width: 80px;
  background: var(--white);
}

.service-card p {
  color: var(--text-medium);
  margin-bottom: var(--spacing-md);
  transition: all 0.4s ease;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.service-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.4s ease;
}

.service-btn i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-btn {
  color: var(--white);
}

.service-btn:hover i {
  transform: translateX(5px);
}

.services-cta {
  text-align: center;
  margin-top: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

.services-cta .btn-modern {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 0, 128, 0.15);
  transition: all 0.3s ease;
  transform: translateY(0);
}

.services-cta .btn-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 128, 0.25);
}

.services-cta .btn-modern i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.services-cta .btn-modern:hover i {
  transform: translateX(5px);
}

/* Animation Keyframes */
@keyframes fadeServiceIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Accent Elements */
.service-accent {
  position: absolute;
  opacity: 0.1;
  z-index: 0;
}

.accent-1 {
  top: 10%;
  left: 5%;
  width: 150px;
  height: 150px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

.accent-2 {
  bottom: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  border: 2px solid var(--secondary-color);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphing 15s infinite ease-in-out;
}

@keyframes morphing {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

/* Interactive Service Cards */
.service-card.interactive {
  perspective: 1000px;
}

.service-card.interactive .service-content {
  transform-style: preserve-3d;
}

.service-card.interactive:hover .service-content {
  transform: rotateX(5deg) rotateY(5deg);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  .services-header h2 {
    font-size: 2.4rem;
  }
  
  .accent-1, .accent-2 {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .services-modern {
    padding: var(--spacing-xl) 0;
  }
  
  .services-header h2 {
    font-size: 2.2rem;
  }
  
  .services-header p {
    font-size: 1rem;
  }
  
  .service-card {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .service-icon i {
    font-size: 2.5rem;
  }
  
  .service-accent {
    display: none;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .services-header h2 {
    font-size: 2rem;
  }
  
  .services-header p {
    font-size: 0.95rem;
  }
  
  .service-content {
    padding: var(--spacing-md);
  }
  
  .service-card h3 {
  font-size: 1.2rem;
  }
}

/* Animation Optimizations */
@media (prefers-reduced-motion: reduce) {
  .service-card, 
  .service-card:hover,
  .service-icon i,
  .services-cta .btn-modern,
  .service-btn i,
  .accent-1,
  .accent-2 {
    animation: none;
    transition: none;
    transform: none;
  }
}

/* Ultra Modern Why Choose Us Section */
.why-choose-modern {
  position: relative;
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, #f9f9ff 0%, #f2f6ff 100%);
  overflow: hidden;
}

.choose-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 0, 128, 0.03) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255, 0, 0, 0.03) 0%, transparent 20%);
  z-index: 0;
}

.choose-header {
  position: relative;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  z-index: 1;
}

.choose-header h2 {
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.choose-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.choose-header p {
  color: var(--text-medium);
  font-size: 1.1rem;
  max-width: 700px;
  margin: var(--spacing-md) auto 0;
}

.features-modern-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background-color: rgba(0, 0, 128, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background-color: rgba(255, 255, 255, 0.15);
  transform: rotate(15deg);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  color: var(--white);
  transform: rotate(-15deg);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
  transition: all 0.4s ease;
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.feature-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.4s ease;
}

.feature-card:hover h3 {
  color: var(--white);
}

.feature-card:hover h3::after {
  width: 60px;
  background: var(--white);
}

.feature-card p {
  color: var(--text-medium);
  transition: all 0.4s ease;
}

.feature-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* Modern Testimonials Slider */
.testimonials-modern {
  position: relative;
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.testimonials-header h2 {
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.testimonials-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 var(--spacing-md);
}

.testimonial-card {
  background: linear-gradient(135deg, #f9f9ff 0%, #f2f6ff 100%);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  margin-top: 60px;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 40px;
  font-size: 120px;
  line-height: 1;
  font-family: serif;
  color: var(--primary-color);
  opacity: 0.15;
}

.testimonial-avatar {
  position: absolute;
  top: -50px;
  right: 40px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-medium);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.author-position {
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimonial-rating {
  margin-top: var(--spacing-sm);
}

.testimonial-rating i {
  color: #FFD700;
  margin-right: 2px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
  gap: var(--spacing-md);
}

.slider-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover i {
  color: var(--white);
}

.slider-arrow i {
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--spacing-md);
}

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

.slider-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .features-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .choose-header h2,
  .testimonials-header h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .why-choose-modern,
  .testimonials-modern {
    padding: var(--spacing-xl) 0;
  }
  
  .choose-header h2,
  .testimonials-header h2 {
    font-size: 2.2rem;
  }
  
  .feature-card {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .testimonial-card {
    padding: var(--spacing-lg);
    margin-top: 80px;
  }
  
  .testimonial-avatar {
    width: 80px;
    height: 80px;
    top: -40px;
  }
}

@media (max-width: 576px) {
  .features-modern-grid {
    grid-template-columns: 1fr;
  }

  .choose-header h2,
  .testimonials-header h2 {
    font-size: 2rem;
  }
  
  .feature-icon-wrapper {
    width: 80px;
    height: 80px;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .testimonial-card {
    padding: var(--spacing-md);
  }
  
  .testimonial-avatar {
    right: 30px;
    width: 70px;
    height: 70px;
  }
  
  .testimonial-content {
    font-size: 1rem;
  }
  
  .slider-arrow {
    width: 40px;
    height: 40px;
  }
}

/* Animation Optimizations */
@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .feature-card:hover,
  .feature-icon-wrapper,
  .feature-icon,
  .testimonials-track {
    animation: none;
    transition: none;
    transform: none;
  }
}

/* Ultra Modern CTA Section */
.cta-modern {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.cta-modern-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem; /* Reduced from 2.5rem to 1.5rem */
}

.cta-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.cta-text-content {
    margin-bottom: 1.5rem; /* Reduced from 2.5rem to 1.5rem */
}

.cta-heading {
    font-size: 3rem;
    line-height: 1.1; /* Reduced from 1.2 to 1.1 */
    margin-bottom: 1rem; /* Reduced from 1.5rem to 1rem */
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cta-description {
    font-size: 1.25rem;
    line-height: 1.4; /* Reduced from 1.6 to 1.4 */
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto;
    max-width: 600px;
}

.cta-buttons-modern {
    margin-top: 1.5rem; /* Reduced from 2.5rem to 1.5rem */
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    background: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.cta-btn-primary:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .cta-modern {
        padding: 60px 0; /* Reduced from 80px to 60px */
    }

    .cta-heading {
        font-size: 2.5rem;
    }

    .cta-description {
        font-size: 1.125rem;
        padding: 0 15px; /* Reduced from 20px to 15px */
    }

    .cta-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem; /* Reduced from 2rem to 1.25rem */
    }

    .cta-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .cta-modern {
        padding: 40px 0; /* Reduced from 60px to 40px */
    }

    .cta-heading {
        font-size: 2rem;
    }

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

    .cta-btn-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Modern Footer Design */
.footer-modern {
  position: relative;
  background: linear-gradient(180deg, #0a0a1a 0%, #000050 100%);
  color: var(--white);
  padding-top: var(--spacing-xl);
  overflow: hidden;
  z-index: 1;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 5% 20%, rgba(255, 255, 255, 0.025) 0%, transparent 25%),
    radial-gradient(circle at 95% 80%, rgba(255, 0, 0, 0.025) 0%, transparent 25%);
  z-index: -1;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-98%);
  z-index: 0;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: auto;
  fill: #0a0a1a;
}

.footer-grid-modern {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--spacing-xl);
  position: relative;
  z-index: 1;
  padding: 0 var(--spacing-md) var(--spacing-xl);
}

.footer-about-modern {
  padding-right: var(--spacing-md);
}

.footer-logo-modern {
  margin-bottom: var(--spacing-md);
}

.footer-logo-modern h2 {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #b8b8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
  line-height: 1;
}

.footer-logo-modern span {
  font-size: 1rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.footer-about-modern p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: var(--spacing-md);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-icon:hover {
  transform: translateY(-5px);
  color: var(--white);
  border-color: transparent;
}

.social-icon:hover::before {
  opacity: 1;
}

.footer-heading {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: 12px;
  font-weight: 600;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--secondary-color), rgba(255, 0, 0, 0.3));
}

.footer-links-modern {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-modern li {
  margin-bottom: 12px;
}

.footer-links-modern li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links-modern li a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.footer-links-modern li a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-links-modern li a:hover::before {
  width: 100%;
}

.footer-contact-modern address {
  font-style: normal;
}

.footer-contact-modern p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact-modern p i {
  margin-right: 10px;
  color: var(--secondary-color);
  width: 20px;
  text-align: center;
}

.footer-contact-modern p a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-modern p a:hover {
  color: var(--white);
}

.footer-bottom-modern {
  background: rgba(0, 0, 0, 0.2);
  padding: var(--spacing-md) 0;
  text-align: center;
  margin-top: var(--spacing-lg);
}

.footer-bottom-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-bottom-modern p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* Newsletter Form */
.footer-newsletter {
  margin-top: var(--spacing-md);
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  position: relative;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 30px;
  color: var(--white);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 30px;
  color: var(--white);
  padding: 0 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-button:hover {
  transform: translateX(2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.back-to-top i {
  font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .footer-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .footer-about-modern {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-grid-modern {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-about-modern {
    grid-column: span 1;
  }
  
  .footer-logo-modern h2 {
    font-size: 2rem;
  }
  
  .footer-social {
    margin-top: var(--spacing-sm);
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .footer-bottom-wrapper {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  .footer-wave {
    transform: translateY(-95%);
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .footer-modern {
    padding-top: var(--spacing-lg);
  }
  
  .footer-grid-modern {
    gap: var(--spacing-md);
  }
  
  .newsletter-button {
    padding: 0 15px;
    font-size: 0.8rem;
  }
  
  .social-icon {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .footer-heading {
    font-size: 1.1rem;
  }
  
  .footer-bottom-modern {
    padding: var(--spacing-sm) 0;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }
  
  .back-to-top i {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-modern *,
  .back-to-top,
  .social-icon:hover,
  .newsletter-button:hover {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* Team Page Styles */
.team-hero {
  position: relative;
  background: linear-gradient(135deg, #000050 0%, #07074e 50%, #0a0a40 100%);
  color: var(--white);
  padding: 8rem 0 5rem;
  margin-top: 70px;
  text-align: center;
  overflow: hidden;
}

.team-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.team-hero-shapes .shape-1 {
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  top: -100px;
  right: -100px;
  filter: blur(60px);
  animation: float 15s infinite ease-in-out;
}

.team-hero-shapes .shape-2 {
  width: 200px;
  height: 200px;
  background: var(--primary-color);
  bottom: -70px;
  left: -70px;
  filter: blur(40px);
  animation: float 20s infinite ease-in-out reverse;
}

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

.team-hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 1s ease-out;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

.team-hero p {
  font-size: 1.3rem;
  opacity: 0.9;
  margin: 0 auto;
  max-width: 700px;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Team Introduction Section */
.team-intro {
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
}

.team-intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.team-intro-content p {
  font-size: 1.2rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
}

.team-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.team-stats .stat-item {
  text-align: center;
  padding: var(--spacing-md);
  background: var(--off-white);
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-medium);
  min-width: 180px;
}

.team-stats .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-stats .stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-heading);
}

.team-stats .stat-label {
  color: var(--text-medium);
  font-size: 1rem;
}

/* Leadership Team Section */
.team-leadership {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #f9f9ff 0%, #f2f6ff 100%);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.leadership-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-medium);
}

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

.leadership-image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

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

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

.leadership-image .social-links {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  transition: bottom 0.3s ease;
}

.leadership-card:hover .leadership-image .social-links {
  bottom: 0;
}

.leadership-image .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.leadership-image .social-links a:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.leadership-info {
  padding: var(--spacing-lg);
}

.leadership-info h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.leadership-info .position {
  display: block;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.leadership-info .bio {
  color: var(--text-medium);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.leadership-info .expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--spacing-md);
}

.leadership-info .expertise span {
  padding: 5px 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Core Team Section */
.team-core {
  padding: var(--spacing-xxl) 0;
  background-color: var(--white);
}

.team-tabs {
  margin-top: var(--spacing-xl);
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  background: transparent;
  border: 2px solid var(--primary-light);
  border-radius: 30px;
  color: var(--text-medium);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.team-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.team-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

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

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-info {
  padding: var(--spacing-md);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-info h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-info .position {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.team-info .department {
  color: var(--text-light);
  font-size: 0.85rem;
  font-style: italic;
}

.team-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 128, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-md);
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  color: var(--white);
}

.team-card:hover .team-hover {
  opacity: 1;
  transform: translateY(0);
}

.team-hover .bio {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: var(--spacing-md);
}

.team-social {
  display: flex;
  gap: 15px;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Join Our Team Section */
.join-team {
  position: relative;
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #000050 100%);
  color: var(--white);
  overflow: hidden;
}

.join-team-shapes .join-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.join-shape.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--secondary-color);
  top: -200px;
  right: -100px;
  filter: blur(80px);
}

.join-shape.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--white);
  bottom: -150px;
  left: -50px;
  filter: blur(60px);
}

.join-team-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.join-team h2 {
  font-size: 2.8rem;
  margin-bottom: var(--spacing-md);
}

.join-team p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0 auto var(--spacing-xl);
  max-width: 700px;
}

.join-team-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefit-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--secondary-color);
}

.benefit-info h3 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  font-size: 1.3rem;
}

.benefit-info p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 0;
}

.join-team-cta {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.join-team-cta .btn-primary {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

.join-team-cta .btn-primary:hover {
  background: transparent;
  color: var(--white);
}

.join-team-cta .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}

.join-team-cta .btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Responsive Adjustments for Team Page */
@media (max-width: 1200px) {
  .leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .team-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .team-hero {
    padding: 7rem 0 4rem;
  }
  
  .team-hero h1 {
    font-size: 3rem;
  }
  
  .team-hero p {
    font-size: 1.2rem;
  }
  
  .team-intro-content p {
    font-size: 1.1rem;
  }
  
  .team-stats {
    gap: var(--spacing-lg);
  }
  
  .team-stats .stat-item {
    min-width: 150px;
  }
  
  .leadership-image {
    height: 300px;
  }
  
  .leadership-info .bio {
    font-size: 0.95rem;
  }
  
  .join-team h2 {
    font-size: 2.5rem;
  }
  
  .join-team p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .team-hero {
    padding: 6rem 0 3rem;
  }
  
  .team-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .team-hero h1 .gradient-text {
    text-shadow: 0 1px 10px rgba(255, 77, 109, 0.3);
  }
  
  .team-hero p {
    font-size: 1.1rem;
  }
  
  .team-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
  }
  
  .tabs-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .tab-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  .teams-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .join-team-cta {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .join-team-benefits {
    flex-direction: column;
    gap: var(--spacing-md);
  }
}

@media (max-width: 576px) {
  .team-hero {
    padding: 5rem 0 2.5rem;
  }
  
  .team-hero h1 {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .team-hero h1 .gradient-text {
    display: inline;
  }
  
  .team-hero-shapes .shape {
    opacity: 0.05;
  }
}

/* Accessibility Considerations */
@media (prefers-reduced-motion: reduce) {
  .team-hero-shapes .shape,
  .leadership-card:hover,
  .leadership-card:hover .leadership-image img,
  .team-card:hover,
  .team-card:hover .team-image img,
  .team-card:hover .team-hover,
  .benefit-item:hover {
    animation: none;
    transition: none;
    transform: none;
  }
  
  .leadership-image .social-links {
    bottom: 0;
  }
  
  .team-hover {
    opacity: 1;
    transform: none;
    background: rgba(0, 0, 128, 0.8);
  }
}

@media (max-width: 768px) {
  .video-container {
    height: auto; 
    max-height: 45vh; /* Limit height on mobile */
  }
  
  .video-container video {
    object-fit: contain;
  }
  
  /* Adjust lightbox for better mobile experience */
  .team-expanded {
    align-items: flex-start;
    padding: 0;
    justify-content: center;
  }
  
  .team-expanded.active {
    padding: 0;
  }
  
  /* Ensure the lightbox is fully accessible */
  .team-expanded.active .expanded-container {
    animation: fadeInMobileContainer 0.3s ease forwards;
  }
}

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

/* What We Do Section */
.what-we-do {
  position: relative;
  padding: var(--spacing-xl) 0;
  background-color: var(--off-white);
}

.services-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.service-highlight-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

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

.highlight-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  background: var(--primary-light);
  border-radius: 20px;
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.service-highlight-card:hover .highlight-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: rotateY(180deg);
}

.service-highlight-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
  font-size: 1.4rem;
}

.service-highlight-card p {
  color: var(--text-medium);
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .services-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .highlight-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .services-highlights {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .service-highlight-card {
    padding: var(--spacing-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-highlight-card:hover,
  .service-highlight-card:hover .highlight-icon {
    transform: none;
    transition: none;
  }
}

/* Contact Page Styles */
.contact-hero {
  position: relative;
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
  overflow: hidden;
  margin-top: 70px; /* Add margin-top to account for fixed header */
}

.contact-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.contact-hero p {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: var(--spacing-lg);
}

.contact-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.contact-hero-shapes .shape {
  position: absolute;
  background: var(--primary-color);
  opacity: 0.05;
  border-radius: 50%;
}

.contact-hero-shapes .shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
}

.contact-hero-shapes .shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
}

.contact-info {
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.contact-card {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: var(--transition-medium);
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-color);
}

.contact-card .card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-sm);
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card .card-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.contact-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

.contact-card a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-card a:hover {
  color: var(--primary-dark);
}

.contact-form-container {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-color);
}

.form-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.form-header h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.form-header p {
  color: var(--text-medium);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  font-weight: normal;
  font-size: 0.9rem;
}

.form-submit {
  grid-column: 1 / -1;
  text-align: center;
}

.form-submit .btn-primary {
  padding: 14px 32px;
  font-size: 1rem;
}

.form-submit .btn-primary i {
  margin-left: var(--spacing-xs);
  transition: var(--transition-fast);
}

.form-submit .btn-primary:hover i {
  transform: translateX(4px);
}

.form-status {
  margin-top: var(--spacing-md);
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-md);
  text-align: center;
  display: none;
}

.form-status.success {
  background-color: #e6f4ea;
  color: #1e7e34;
  display: block;
}

.form-status.error {
  background-color: #fce8e6;
  color: #d93025;
  display: block;
}

.form-status.loading {
  background-color: #e8f4fc;
  color: #0366d6;
  display: block;
}

.form-status.loading i {
  margin-right: 8px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.map-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--off-white);
}

.map-container {
  margin-top: var(--spacing-lg);
}

.map-frame {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.location-card {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: var(--transition-medium);
  text-align: center;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-color);
}

.location-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-sm);
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.location-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.location-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
}

.location-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.location-link i {
  margin-left: var(--spacing-xs);
  transition: var(--transition-fast);
}

.location-link:hover {
  color: var(--primary-dark);
}

.location-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .contact-cards {
    order: 2;
  }
  
  .contact-form-container {
    order: 1;
  }
}

@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .contact-hero {
    padding: var(--spacing-xl) 0;
  }
  
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .contact-hero p {
    font-size: 1rem;
  }
  
  .form-header h2 {
    font-size: 1.5rem;
  }
  
  .form-submit .btn-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-card,
  .location-card,
  .form-submit .btn-primary i,
  .location-link i {
    transition: none;
  }
}

/* FAQ Section Styles */
.faq-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.faq-header h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.faq-header p {
  color: var(--text-medium);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-medium);
}

.faq-item:hover {
  box-shadow: 0 4px 20px var(--shadow-color);
}

.faq-question {
  padding: var(--spacing-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--off-white);
  transition: var(--transition-fast);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.faq-question i {
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.faq-item.active .faq-question {
  background: var(--primary-light);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-medium);
}

.faq-item.active .faq-answer {
  padding: var(--spacing-md);
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-medium);
  margin: 0;
}

/* Contact CTA Section */
.contact-cta {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}

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

.contact-cta h2 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.contact-cta p {
  color: var(--white);
  opacity: 0.9;
  margin-bottom: var(--spacing-lg);
}

.contact-cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
}

.contact-cta .btn-primary {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

.contact-cta .btn-primary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-light);
}

.contact-cta .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.contact-cta .btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Social Media Section */
.social-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--off-white);
}

.social-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.social-header {
  margin-bottom: var(--spacing-lg);
}

.social-header h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.social-header p {
  color: var(--text-medium);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--white);
  border-radius: var(--border-radius-md);
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-medium);
  box-shadow: 0 2px 10px var(--shadow-color);
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.social-link i {
  font-size: 1.2rem;
}

/* Responsive Styles for New Sections */
@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .contact-cta-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .contact-cta .btn-primary,
  .contact-cta .btn-secondary {
    width: 100%;
  }
  
  .social-links {
    gap: var(--spacing-sm);
  }
  
  .social-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .faq-section,
  .contact-cta,
  .social-section {
    padding: var(--spacing-lg) 0;
  }
  
  .faq-header h2,
  .contact-cta h2,
  .social-header h2 {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-question,
  .faq-question i,
  .faq-answer,
  .social-link {
    transition: none;
  }
  
  .faq-item:hover,
  .social-link:hover {
    transform: none;
  }
}

/* Updated FAQ Section */
.contact-faq {
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-medium);
}

.faq-item:hover {
  box-shadow: 0 4px 20px var(--shadow-color);
}

.faq-question {
  padding: var(--spacing-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--off-white);
  transition: var(--transition-fast);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.faq-icon {
  color: var(--primary-color);
}

.faq-icon .fa-minus {
  display: none;
}

.faq-item.active .faq-question {
  background: var(--primary-light);
}

.faq-item.active .faq-icon .fa-plus {
  display: none;
}

.faq-item.active .faq-icon .fa-minus {
  display: block;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: var(--spacing-md);
}

.faq-answer p {
  color: var(--text-medium);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.faq-cta {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--primary-light);
  border-radius: var(--border-radius-lg);
}

.faq-cta p {
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--primary-color);
}

/* Updated Contact CTA Section */
.contact-cta {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-container {
  position: relative;
  z-index: 2;
}

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

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: 2.5rem;
}

.cta-content .gradient-text {
  background: linear-gradient(135deg, #ffffff, #b8b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--white); /* Fallback */
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
}

.contact-cta .btn-primary {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  padding: 12px 30px;
  font-weight: 600;
}

.contact-cta .btn-primary:hover {
  background: transparent;
  color: var(--white);
}

.contact-cta .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  padding: 12px 30px;
  font-weight: 600;
}

.contact-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.cta-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.cta-shape.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  background: var(--white);
}

.cta-shape.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  background: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 1rem;
    padding-right: var(--spacing-sm);
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .contact-cta .btn-primary,
  .contact-cta .btn-secondary {
    width: 100%;
  }
  
  .faq-cta {
    padding: var(--spacing-md) var(--spacing-sm);
  }
}

@media (max-width: 576px) {
  .contact-hero {
    padding: var(--spacing-xl) 0;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .faq-question {
    padding: var(--spacing-sm);
  }
  
  .faq-item.active .faq-answer {
    padding: var(--spacing-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-question,
  .faq-answer {
    transition: none !important;
  }
}

/* Services Page Styles */
.services-hero {
  position: relative;
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #000050 100%);
  color: var(--white);
  overflow: hidden;
  margin-top: 70px;
}

.services-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.services-hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--white);
}

.services-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
}

.services-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.services-hero-shapes .shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.services-hero-shapes .shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  animation: float 15s infinite ease-in-out;
}

.services-hero-shapes .shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  animation: float 20s infinite ease-in-out reverse;
}

.services-intro {
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
}

.services-intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.services-intro-content .lead {
  font-size: 1.3rem;
  color: var(--text-medium);
  line-height: 1.7;
}

.service-section {
  padding: var(--spacing-xxl) 0;
}

.service-section.bg-light {
  background-color: var(--off-white);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.service-grid.reverse {
  direction: rtl;
}

.service-grid.reverse > * {
  direction: ltr;
}

.service-content {
  padding-right: var(--spacing-lg);
}

.service-header {
  margin-bottom: var(--spacing-lg);
}

.service-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.service-header h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.service-content .lead {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: var(--spacing-lg);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-right: 1.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 128, 0.1);
  color: #000080;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  color: #000080;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-icon {
    margin-right: 0;
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  .feature-text {
    text-align: center;
  }
}

.service-cta {
  margin-top: var(--spacing-xl);
}

.service-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.service-image-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 60%, rgba(0, 0, 128, 0.2));
  z-index: 1;
}

.services-cta {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-container {
  position: relative;
  z-index: 2;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
}

.cta-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.cta-shape.shape-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  background: var(--white);
}

.cta-shape.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  background: var(--secondary-color);
}

/* Create services.js file for animations and interactions */
@media (max-width: 1200px) {
  .services-hero h1 {
    font-size: 3rem;
  }
  
  .service-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .service-content {
    padding-right: 0;
  }
  
  .service-image {
    order: -1;
  }
  
  .service-grid.reverse .service-image {
    order: -1;
  }
  
  .services-hero h1 {
    font-size: 2.5rem;
  }
  
  .services-intro-content .lead {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding: var(--spacing-xl) 0;
  }
  
  .services-hero h1 {
    font-size: 2.2rem;
  }
  
  .services-hero p {
    font-size: 1.1rem;
  }
  
  .services-intro-content .lead {
    font-size: 1.1rem;
  }
  
  .service-section {
    padding: var(--spacing-xl) 0;
  }
  
  .service-header h2 {
    font-size: 2rem;
  }
  
  .service-content .lead {
    font-size: 1.1rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .feature-text h3 {
    font-size: 1.1rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .services-hero h1 {
    font-size: 2rem;
  }
  
  .services-hero p {
    font-size: 1rem;
  }
  
  .service-header h2 {
    font-size: 1.8rem;
  }
  
  .service-content .lead {
    font-size: 1rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    margin: 0 auto var(--spacing-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-hero-shapes .shape,
  .service-image:hover img,
  .feature-item:hover .feature-icon {
    animation: none;
    transition: none;
    transform: none;
  }
}

/* Service Detail Page Styles */
.service-detail-hero {
  position: relative;
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #000050 100%);
  color: var(--white);
  overflow: hidden;
  margin-top: 70px;
  text-align: center;
}

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

.service-detail-hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--white);
}

.service-detail-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.service-detail-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.service-detail-shapes .shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.service-detail-shapes .shape-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
  animation: float 15s infinite ease-in-out;
}

.service-detail-shapes .shape-2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -50px;
  animation: float 20s infinite ease-in-out reverse;
}

/* Service Overview */
.service-overview {
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
}

.service-overview-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.service-overview-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.service-overview-content .lead {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.service-overview-content p {
  color: var(--text-medium);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.service-overview-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.service-overview-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

/* Key Features Section */
.key-features {
  padding: var(--spacing-xl) 0;
  background-color: var(--off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.feature-card {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

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

.feature-card-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-card-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: rotate(10deg);
}

.feature-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Process Section */
.process-section {
  padding: var(--spacing-xxl) 0;
  background: var(--white);
}

.process-timeline {
  max-width: 900px;
  margin: var(--spacing-xl) auto 0;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: var(--primary-light);
}

.timeline-item {
  display: flex;
  margin-bottom: var(--spacing-lg);
}

.timeline-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 128, 0.2);
}

.timeline-content {
  padding: var(--spacing-md) var(--spacing-lg);
  margin-left: var(--spacing-md);
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius-lg);
  flex-grow: 1;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 24px;
  left: -10px;
  width: 20px;
  height: 20px;
  background: var(--white);
  transform: rotate(45deg);
  box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
  font-size: 1.3rem;
}

.timeline-content p {
  color: var(--text-medium);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Case Studies Section */
.case-studies {
  padding: var(--spacing-xl) 0;
  background: var(--off-white);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.case-study-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.case-study-image {
  height: 200px;
  overflow: hidden;
}

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

.case-study-card:hover .case-study-image img {
  transform: scale(1.1);
}

.case-study-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-study-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-size: 1.3rem;
}

.case-study-content p {
  color: var(--text-medium);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
  line-height: 1.6;
}

.case-study-results {
  margin-top: auto;
  list-style: none;
  padding: 0;
}

.case-study-results li {
  margin-bottom: 8px;
  color: var(--text-medium);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
}

.case-study-results li i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 3px;
}

/* Testimonials Section */
.testimonials {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.testimonials-slider {
  display: flex;
  gap: var(--spacing-lg);
  overflow-x: auto;
  padding: var(--spacing-md) 0;
  margin-top: var(--spacing-xl);
  scroll-snap-type: x mandatory;
}

.testimonial-card {
  min-width: calc(33.333% - var(--spacing-lg));
  background: var(--off-white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
}

.testimonial-content {
  margin-bottom: var(--spacing-md);
}

.testimonial-content p {
  color: var(--text-medium);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
}

.testimonial-content p::before {
  content: '\201C';
  font-size: 3rem;
  position: absolute;
  top: -20px;
  left: -15px;
  color: rgba(0, 0, 128, 0.1);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1rem;
}

.author-info p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* FAQ Section */
.service-faq {
  padding: var(--spacing-xl) 0;
  background: var(--off-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: var(--spacing-md);
  background: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.faq-icon {
  color: var(--primary-color);
}

.faq-icon .fa-minus {
  display: none;
}

.faq-item.active .faq-question {
  background: var(--primary-light);
}

.faq-item.active .faq-icon .fa-plus {
  display: none;
}

.faq-item.active .faq-icon .fa-minus {
  display: block;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: var(--spacing-md);
}

.faq-answer p {
  color: var(--text-medium);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Service CTA */
.service-cta {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}

.service-cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.service-cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.service-cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
}

/* Related Services */
.related-services {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.related-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.related-service-card {
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  background: var(--off-white);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.related-service-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--spacing-md);
  transition: all 0.3s ease;
}

.related-service-card:hover .related-service-icon {
  transform: rotate(10deg);
  box-shadow: 0 10px 15px rgba(0, 0, 128, 0.15);
}

.related-service-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
  font-size: 1.3rem;
}

.related-service-card p {
  color: var(--text-medium);
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

.related-service-card .btn-text {
  margin-top: auto;
}

/* Create service-detail.js file for animations and interactions */
@media (max-width: 1200px) {
  .service-detail-hero h1 {
    font-size: 3rem;
  }
  
  .service-overview-content h2 {
    font-size: 2.2rem;
  }
  
  .testimonial-card {
    min-width: calc(50% - var(--spacing-lg));
  }
}

@media (max-width: 992px) {
  .service-overview-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .service-overview-content {
    order: 2;
  }
  
  .service-overview-image {
    order: 1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .service-detail-hero h1 {
    font-size: 2.5rem;
  }
  
  .process-timeline::before {
    left: 25px;
  }
  
  .timeline-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .timeline-content::before {
    top: 20px;
  }
  
  .testimonial-card {
    min-width: calc(100% - var(--spacing-md));
  }
}

@media (max-width: 768px) {
  .service-detail-hero {
    padding: var(--spacing-xl) 0;
  }
  
  .service-detail-hero h1 {
    font-size: 2.2rem;
  }
  
  .service-detail-hero p {
    font-size: 1.1rem;
  }
  
  .service-overview-content h2 {
    font-size: 2rem;
  }
  
  .service-overview-content .lead {
    font-size: 1.1rem;
  }
  
  .feature-card-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .case-studies-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .service-cta-content h2 {
    font-size: 2rem;
  }
  
  .service-cta-content p {
    font-size: 1.1rem;
  }
  
  .service-cta-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 300px;
    margin: 0 auto;
  }
  
  .related-services-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .service-detail-hero h1 {
    font-size: 2rem;
  }
  
  .service-detail-hero p {
    font-size: 1rem;
  }
  
  .service-overview-content h2 {
    font-size: 1.8rem;
  }
  
  .service-overview-content .lead {
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .feature-card {
    padding: var(--spacing-md);
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
  }
  
  .timeline-item {
    flex-direction: column;
  }
  
  .timeline-number {
    margin-bottom: var(--spacing-sm);
  }
  
  .timeline-content {
    margin-left: 0;
    padding: var(--spacing-sm);
  }
  
  .timeline-content::before {
    display: none;
  }
  
  .faq-question h3 {
    font-size: 1rem;
    padding-right: var(--spacing-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-detail-shapes .shape,
  .feature-card:hover .feature-card-icon,
  .case-study-card:hover .case-study-image img,
  .case-study-card:hover,
  .related-service-card:hover,
  .related-service-card:hover .related-service-icon {
    animation: none;
    transition: none;
    transform: none;
  }
}

/* New Pill Button Styles */
.hero-cta {
  margin-top: 2rem;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  color: #000080;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.pill-button:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.button-arrow {
  margin-left: 0.75rem;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.pill-button:hover .button-arrow {
  transform: translateX(5px);
}

/* Responsive styles for pill button */
@media (max-width: 768px) {
  .hero-cta {
    margin-top: 1.5rem;
    text-align: left;
  }

  .pill-button {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    width: auto;
    max-width: none;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    margin-top: 1.25rem;
  }

  .pill-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    width: auto;
    min-width: 160px;
    max-width: 200px;
  }
}

/* YRN Section Styles */
.yrn-title {
  color: #000080;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  text-align: left;
}

.yrn-subtitle {
  text-align: left;
}

.launch-text {
  color: #FF4444;
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.guidance-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.with-text {
  color: #FF4444;
  font-size: 2.4rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.expert-text {
  color: #000080;
  font-size: 2.4rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
  .yrn-title {
    font-size: 2.2rem;
  }
  
  .launch-text,
  .with-text,
  .expert-text {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .yrn-title {
    font-size: 1.8rem;
  }
  
  .launch-text,
  .with-text,
  .expert-text {
    font-size: 1.5rem;
  }
}

/* YRN Features Section */
.yrn-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 128, 0.1);
  color: #000080;
  font-size: 1.5rem;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  color: #000080;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-text p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .feature-icon {
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }
  
  .feature-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .yrn-features {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .feature-icon {
    margin: 0 auto 1rem auto;
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  .feature-text {
    width: 100%;
    text-align: center;
  }
}

/* Testimonials Section Styles */
.testimonials-section {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(to bottom, var(--white) 0%, var(--light-bg) 100%);
  overflow: hidden;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: var(--spacing-xl) 0;
}

.testimonials-wrapper {
  display: flex;
  overflow: hidden;
  position: relative;
  margin: 0 -20px;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 40px);
  margin: 0 20px;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-quote {
  position: relative;
  margin-bottom: 1.5rem;
}

.quote-icon {
  width: 40px;
  height: 40px;
  fill: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0 0 0.25rem;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin: 0;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 40px);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(100% - 40px);
  }
  
  .testimonials-wrapper {
    margin: 0;
  }
  
  .testimonial-controls {
    gap: 1rem;
  }
}

/* Testimonials Modern Section */
.testimonials-modern {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
  overflow: hidden;
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.testimonials-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.testimonials-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 20px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

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

.testimonial-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 30px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.testimonial-content::before {
  content: '"';
  font-size: 60px;
  color: var(--primary-color);
  opacity: 0.1;
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.author-position {
  font-size: 0.9rem;
  color: var(--text-medium);
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.nav-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  z-index: 3;
}

.nav-button:hover {
  background: var(--primary-color);
  color: var(--white);
}

@media (max-width: 768px) {
  .testimonials-modern {
    padding: 60px 0;
  }

  .testimonials-header {
    padding: 0 15px;
  }

  .testimonials-header h2 {
    font-size: 2rem;
  }

  .testimonials-slider {
    padding: 0;
  }

  .testimonial-slide {
    padding: 0 15px;
  }

  .testimonial-card {
    padding: 25px;
  }

  .testimonial-content {
    font-size: 1rem;
    line-height: 1.6;
  }

  .testimonial-content::before {
    font-size: 40px;
    top: -15px;
    left: -5px;
  }

  .nav-button {
    width: 35px;
    height: 35px;
    margin: 0 10px;
  }

  .author-name {
    font-size: 1.1rem;
  }

  .author-position {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .testimonials-modern {
    padding: 40px 0;
  }

  .testimonials-header h2 {
    font-size: 1.75rem;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-content {
    font-size: 0.95rem;
  }

  .nav-button {
    width: 30px;
    height: 30px;
    margin: 0 5px;
  }
}

.about-heading {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.cta-heading {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.yrn-subtitle {
    margin-top: 0.5rem;
}

.section-header-modern {
    margin-bottom: 3rem;
}

.yrn-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.yrn-subtitle {
    margin-top: 1rem;
}

.tagline-wrapper {
    display: flex;
    align-items: flex-start;
}

.tagline-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
}

.journey-text, .expert-text {
    font-size: 2.25rem;
    font-weight: 600;
    display: inline-block;
    line-height: 1.3;
}

.journey-text {
    color: #ff0000;
}

.expert-text {
    color: #000000;
}

@media (max-width: 1200px) {
    .yrn-title {
        font-size: 3rem;
    }

    .journey-text, .expert-text {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .yrn-title {
        font-size: 2.75rem;
    }

    .journey-text, .expert-text {
        font-size: 1.75rem;
    }

    .expert-text {
        margin-left: 1.5rem;
    }

    .expert-text::before {
        left: -1.5rem;
        width: 1.25rem;
    }
}

@media (max-width: 768px) {
    .section-header-modern {
        margin-bottom: 2rem;
    }

    .yrn-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .journey-text, .expert-text {
        font-size: 1.5rem;
    }

    .expert-text {
        margin-left: 1.25rem;
    }

    .expert-text::before {
        left: -1.25rem;
        width: 1rem;
    }
}

@media (max-width: 480px) {
    .yrn-title {
        font-size: 2rem;
    }

    .journey-text, .expert-text {
        font-size: 1.25rem;
    }

    .expert-text {
        margin-left: 1rem;
    }

    .expert-text::before {
        left: -1rem;
        width: 0.75rem;
    }
}

.section-header-modern {
    margin-bottom: 3rem;
}

.yrn-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.yrn-subtitle {
    margin-top: 1rem;
}

.tagline-wrapper {
    display: flex;
    align-items: flex-start;
}

.tagline-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
}

.journey-text, .expert-text {
    font-size: 2.25rem;
    font-weight: 600;
    display: inline-block;
    line-height: 1.3;
}

.journey-text {
    color: #ff0000;
}

.expert-text {
    color: #000000;
}

@media (max-width: 1200px) {
    .yrn-title {
        font-size: 3rem;
    }

    .journey-text, .expert-text {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .yrn-title {
        font-size: 2.75rem;
    }

    .journey-text, .expert-text {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .section-header-modern {
        margin-bottom: 2rem;
    }

    .yrn-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .journey-text, .expert-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .yrn-title {
        font-size: 2rem;
    }

    .journey-text, .expert-text {
        font-size: 1.25rem;
    }

    .tagline-content {
        gap: 0.3rem;
    }
}

.journey-text {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: #ff0000;
}

.journey-text span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

@media (max-width: 1200px) {
    .journey-text {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .journey-text {
        font-size: 1.85rem;
    }
}

@media (max-width: 768px) {
    .journey-text {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .journey-text {
        font-size: 1.5rem;
    }
}

.cta-modern-content h2 {
    color: #ffffff !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.team-placeholder {
  text-align: center;
  padding: 3rem;
  background: var(--light-bg);
  border-radius: 1rem;
  margin: 2rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-placeholder p {
  font-size: 1.2rem;
  color: var(--text-color);
  margin: 0;
  line-height: 1.6;
}

