/* ===================================
   ASSAM EDGE INFRA - CSS STYLESHEET
   Modern Real Estate Website
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
  /* Premium Color Palette - Royal Blue, White & Gold */
  --primary-color: #002366;
  /* Royal Blue */
  --primary-dark: #001540;
  --primary-light: #4169E1;
  --secondary-color: #D4AF37;
  /* Metallic Gold */
  --secondary-dark: #B8860B;
  --accent-color: #C5A059;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #002366 0%, #4169E1 100%);
  --gradient-hero: linear-gradient(135deg, #001540 0%, #002366 50%, #1a3a52 100%);
  --gradient-card: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0, 7, 30, 0.8) 0%, rgba(0, 35, 102, 0.4) 100%);
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F7E7CE 50%, #D4AF37 100%);

  /* Neutral Colors */
  --dark: #0a0f1c;
  --dark-light: #1e293b;
  --gray: #475569;
  --light-gray: #e2e8f0;
  --white: #ffffff;
  --off-white: #f8fafc;
  --cream: #FFFAF0;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 35, 102, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 35, 102, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 35, 102, 0.15);
  --shadow-xl: 0 16px 48px rgba(0, 35, 102, 0.2);
  --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--off-white);
  position: relative;
  -webkit-font-smoothing: antialiased;
  /* Smoother text rendering */
}

/* Subtle texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(26, 58, 82, 0.01) 2px, rgba(26, 58, 82, 0.01) 4px);
  pointer-events: none;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--gray);
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  /* Gold underline */
  margin: var(--spacing-sm) auto 0;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--secondary-color);
  /* Stronger gold border */
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--secondary-color);
  /* Gold border */
}

.btn-outline:hover {
  background: var(--secondary-color);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== HEADER & NAVIGATION ===== */
/* ===== HEADER & NAVIGATION ===== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  background: var(--primary-color);
  /* Royal Blue to match logo */
  /* Royal Blue to match logo */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  will-change: transform;
  /* Hardware acceleration hint */
}

@media (max-width: 768px) {
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 35, 102, 0.98);
    /* Solid Royal Blue for performance */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    /* Simplified shadow */
  }
}

.header.scrolled {
  background: var(--primary-dark);
  /* Darker blue on scroll */
  padding: 0.5rem 0;
  /* Compact on scroll */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.nav-link {
  font-weight: 500;
  position: relative;
  color: var(--white) !important;
  /* White text for contrast */
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--secondary-color);
  /* Gold hover */
}

.menu-toggle span {
  background: var(--white);
  /* White hamburger menu */
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--white);
  background: none;
  -webkit-text-fill-color: initial;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-image {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover .logo-image {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  position: relative;
  color: var(--dark);
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  /* Gold hover line */
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--secondary-color);
  /* Gold hover text */
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 0;
  /* Removed padding for fixed header */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: var(--spacing-md);
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.hero .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Floating animation for hero elements */
.hero-floating {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 20s infinite ease-in-out;
}

.hero-floating:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.hero-floating:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: 20%;
  right: 15%;
  animation-delay: 5s;
}

.hero-floating:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 60%;
  left: 70%;
  animation-delay: 10s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

/* ===== ABOUT SECTION - SPLIT OVERLAY LAYOUT ===== */
.about {
  position: relative;
  padding: 6rem 0;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Image as full background */
  background: url('assets/about-page-image.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  /* Parallax effect */
}

/* 50% Right Overlay */
.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  /* Dark overlay 70% opacity */
  backdrop-filter: blur(5px);
  z-index: 1;
}

/* Left side transparent overlay (visual continuity) */
.about::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  /* Virtually transparent */
  z-index: 1;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-image {
  /* Hidden but keeps grid structure if needed, or just empty div */
  display: none;
}

.about-text {
  grid-column: 2;
  /* Place in right column */
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  height: 100%;
}

.about-text::before {
  display: none;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: var(--secondary-color);
  /* Gold Heading */
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 2rem;
}

.stat-card {
  text-align: center;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: transparent;
  box-shadow: none;
  border: none;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .about {
    background-position: center left;
  }

  .about::before {
    width: 100%;
    /* Full overlay on tablet/mobile */
    background: rgba(0, 0, 0, 0.6);
  }

  .about::after {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-text {
    grid-column: 1;
    padding: 2rem;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 400px;
  }

  .about-text {
    padding: 3rem 2rem;
  }
}

/* ===== PROJECTS SECTION ===== */
.projects {
  background: var(--cream);
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.project-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 2px solid var(--secondary-color);
  /* Visible gold border */
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-gold);
  /* Gold glow */
  border-color: var(--secondary-color);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #002366 0%, #4169E1 100%);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
  transform: scale(1.15);
}

.project-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary-color);
  /* Gold Background */
  color: var(--primary-dark);
  /* Dark Text */
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  border: 2px solid var(--white);
}

.project-content {
  padding: var(--spacing-md);
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.project-location {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-description {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--spacing-md);
}

.feature-tag {
  background: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-weight: 600;
  border: 1px solid var(--secondary-color);
  /* Gold border */
  box-shadow: var(--shadow-sm);
}

/* Trust Indicators (Why Choose Us) */
.why-choose-us {
  background-color: var(--off-white);
  padding: 5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.trust-item {
  position: relative;
  background-color: var(--dark);
  /* Fallback */
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  z-index: 1;
  color: var(--white);
}

.trust-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  /* Strong overlay for readability */
  z-index: -1;
  transition: var(--transition-normal);
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-bottom: 3px solid var(--secondary-color);
}

.trust-item:hover::before {
  background: rgba(0, 0, 0, 0.6);
  /* Lighten slightly on hover */
}

/* Icon removed in HTML, but if present hide it or style it */
.trust-icon {
  display: none;
}

.trust-item h3 {
  color: var(--secondary-color);
  /* Gold Heading */
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.trust-item p {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Construction Packages */
.packages {
  background-color: var(--white);
  padding: 5rem 0;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.package-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.package-card.featured {
  border: 2px solid var(--secondary-color);
  background: linear-gradient(to bottom, #fff, #fdfbf7);
  box-shadow: var(--shadow-gold);
  transform: scale(1.05);
}

.most-popular {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--secondary-color);
  color: var(--primary-dark);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-bottom-left-radius: 10px;
}

.package-header h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.package-header .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.package-header .price span {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 400;
}

.package-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.package-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  color: var(--dark);
}

.package-features li:last-child {
  border-bottom: none;
}

/* Footer & Other */
.project-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.project-link:hover {
  gap: 1rem;
}

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--white);
  position: relative;
}

.services::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--light-gray) 50%, transparent 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.service-card {
  position: relative;
  background-color: var(--dark);
  /* Fallback */
  background-size: cover;
  background-position: center;
  padding: var(--spacing-lg);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 1;
}

/* Glassmorphism Overlay */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  /* Dark overlay for readability */
  backdrop-filter: blur(3px);
  /* Glass effect */
  z-index: -1;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary-color);
}

.service-card:hover::before {
  background: rgba(0, 0, 0, 0.5);
  /* Lighten slightly */
  backdrop-filter: blur(0px);
  /* Clearer view of image */
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--secondary-color);
  /* Gold Icon */
  transition: var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-card:hover .service-icon {
  transform: rotateY(360deg);
  background: var(--secondary-color);
  color: var(--primary-dark);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-weight: 300;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background: var(--beige);
  overflow: hidden;
  position: relative;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.testimonial-card {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: var(--primary-light);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.author-info p {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

.rating {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: var(--spacing-md);
  color: var(--dark);
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--off-white);
  border-radius: 15px;
  transition: var(--transition-normal);
}

.contact-item:hover {
  background: var(--gradient-card);
  transform: translateX(10px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item-content h4 {
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.contact-item-content p {
  margin: 0;
  color: var(--gray);
}

.contact-form {
  background: var(--off-white);
  padding: var(--spacing-lg);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .btn {
  width: 100%;
  margin-top: var(--spacing-sm);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
  margin-bottom: var(--spacing-md);
  color: var(--white);
}

.footer-section p,
.footer-section a {
  color: var(--light-gray);
  margin-bottom: 0.75rem;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--dark-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid var(--dark-light);
  padding-top: var(--spacing-md);
  text-align: center;
  color: var(--light-gray);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --spacing-xl: 4rem;
    --spacing-lg: 3rem;
  }

  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
    --spacing-md: 1.5rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-normal);
    gap: 2rem;
  }

  .nav-menu.active {
    right: 0;
  }

  /* Fix Mobile Menu Text Visibility */
  .nav-menu .nav-link {
    color: var(--primary-color) !important;
    /* Dark blue text on white background */
    font-size: 1.2rem;
    margin: 1rem 0;
  }

  .nav-menu .nav-link:hover {
    color: var(--secondary-color) !important;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .projects-grid,
  .services-grid,
  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }

  .section {
    padding: var(--spacing-lg) 0;
  }

  .project-image {
    height: 200px;
  }
}

/* ===== LOADING ANIMATION ===== */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== PULSE ANIMATION ===== */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.btn-primary {
  animation: pulse 2s ease-in-out infinite;
}

.btn-primary:hover {
  animation: none;
}

/* ===== ADVANCED ANIMATIONS & MOTION GRAPHICS ===== */

/* Particle System */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: particleFloat 15s infinite ease-in-out;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) translateX(100px) scale(1);
    opacity: 0;
  }
}

/* Morphing Blob Backgrounds */
.blob-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  filter: blur(40px);
  animation: blobMorph 20s ease-in-out infinite;
}

.blob:nth-child(1) {
  width: 500px;
  height: 500px;
  top: -250px;
  left: -250px;
  animation-delay: 0s;
}

.blob:nth-child(2) {
  width: 400px;
  height: 400px;
  bottom: -200px;
  right: -200px;
  animation-delay: 7s;
}

.blob:nth-child(3) {
  width: 350px;
  height: 350px;
  top: 50%;
  right: 10%;
  animation-delay: 14s;
}

@keyframes blobMorph {

  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(50px, 50px) rotate(90deg);
  }

  50% {
    border-radius: 30% 70% 50% 50% / 50% 60% 40% 60%;
    transform: translate(0, 100px) rotate(180deg);
  }

  75% {
    border-radius: 70% 30% 60% 40% / 30% 70% 50% 50%;
    transform: translate(-50px, 50px) rotate(270deg);
  }
}

/* Glowing Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: orbPulse 8s ease-in-out infinite;
}

@keyframes orbPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

/* Stagger Animation for Lists */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  animation: staggerFadeIn 0.6s ease forwards;
}

.stagger-item:nth-child(1) {
  animation-delay: 0.1s;
}

.stagger-item:nth-child(2) {
  animation-delay: 0.2s;
}

.stagger-item:nth-child(3) {
  animation-delay: 0.3s;
}

.stagger-item:nth-child(4) {
  animation-delay: 0.4s;
}

.stagger-item:nth-child(5) {
  animation-delay: 0.5s;
}

.stagger-item:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes staggerFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shimmer Effect */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  animation: shimmerSlide 3s infinite;
}

@keyframes shimmerSlide {
  to {
    left: 100%;
  }
}

/* Magnetic Hover Effect */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Gradient Text Animation */
.gradient-text-animated {
  background: linear-gradient(90deg,
      #4169E1,
      #002366,
      #D4AF37,
      #4169E1);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Bounce Animation */
@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.bounce {
  animation: bounce 2s ease-in-out infinite;
}

/* Rotate 3D */
@keyframes rotate3D {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}

.rotate-3d {
  animation: rotate3D 20s linear infinite;
  transform-style: preserve-3d;
}

/* Scale Pulse */
@keyframes scalePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Glow Effect */
.glow {
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
  }

  50% {
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.8);
  }
}

/* Slide In Animations */
@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInFromBottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Zoom In Animation */
@keyframes zoomIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Flip Animation */
@keyframes flip {
  from {
    transform: perspective(400px) rotateY(0);
  }

  to {
    transform: perspective(400px) rotateY(360deg);
  }
}

/* Swing Animation */
@keyframes swing {
  20% {
    transform: rotate(15deg);
  }

  40% {
    transform: rotate(-10deg);
  }

  60% {
    transform: rotate(5deg);
  }

  80% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* Typewriter Effect */
@keyframes typewriter {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.typewriter {
  overflow: hidden;
  border-right: 2px solid;
  white-space: nowrap;
  animation: typewriter 4s steps(40) 1s forwards,
    blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
  50% {
    border-color: transparent;
  }
}

/* Progress Bar Animation */
.progress-bar {
  position: relative;
  height: 4px;
  background: rgba(102, 126, 234, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--gradient-primary);
  animation: progressFill 2s ease-in-out forwards;
}

@keyframes progressFill {
  to {
    width: 100%;
  }
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg,
      #f0f0f0 25%,
      #e0e0e0 50%,
      #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s ease-in-out infinite;
}

@keyframes skeletonLoading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Neon Glow */
.neon-glow {
  text-shadow:
    0 0 10px rgba(102, 126, 234, 0.8),
    0 0 20px rgba(102, 126, 234, 0.6),
    0 0 30px rgba(102, 126, 234, 0.4),
    0 0 40px rgba(102, 126, 234, 0.2);
  animation: neonFlicker 3s ease-in-out infinite;
}

@keyframes neonFlicker {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

/* Enhanced Section Title Animation */
.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: -1;
  filter: blur(10px);
  opacity: 0.5;
}

/* Card Flip Effect */
.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Parallax Layers */
.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
}

.parallax-layer-1 {
  transform: translateZ(-1px) scale(2);
}

.parallax-layer-2 {
  transform: translateZ(-2px) scale(3);
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Text Reveal Animation */
.text-reveal {
  position: relative;
  overflow: hidden;
}

.text-reveal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transform: translateX(-100%);
  animation: textRevealSlide 1.5s ease forwards;
}

@keyframes textRevealSlide {
  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

/* Breathing Animation */
@keyframes breathe {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.breathe {
  animation: breathe 4s ease-in-out infinite;
}

/* Wave Animation */
@keyframes wave {
  0% {
    transform: translateX(0) translateY(0);
  }

  50% {
    transform: translateX(-25%) translateY(-10px);
  }

  100% {
    transform: translateX(-50%) translateY(0);
  }
}

.wave-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(65, 105, 225, 0.1)"/></svg>') repeat-x;
  animation: wave 20s linear infinite;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

/* =========================================
   POPUP MODAL STYLES
   ========================================= */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  width: 90%;
  max-width: 450px;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--secondary-color);
  animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  color: var(--gray);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 20px;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--primary-color);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--secondary-color);
  font-weight: 600;
}

.btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

/* =========================================
   TEAM SECTION STYLES
   ========================================= */
.team {
  background-color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #eee;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.team-image-container {
  height: 250px;
  background: linear-gradient(135deg, var(--off-white) 0%, #eef2f3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* =========================================
   ACCREDITATIONS STYLES
   ========================================= */
.accreditations {
  background-color: var(--off-white);
  padding: 3rem 0;
  border-top: 1px solid #eee;
}

.accreditation-wrapper {
  text-align: center;
}

.accreditation-wrapper h3 {
  color: var(--gray);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  align-items: center;
}

.accreditation-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 200px;
}

.logo-circle {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--secondary-color);
  margin-bottom: 0.5rem;
}

.accreditation-item h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0;
}

.accreditation-item p {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* =========================================
   TOP BAR STYLES (Added for Premium Look)
   ========================================= */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1002;
  /* Above header if needed */
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact a {
  color: var(--white);
  text-decoration: none;
  margin-right: 1.5rem;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-contact a:hover {
  color: var(--secondary-color);
}

.top-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-social a {
  text-decoration: none;
  color: var(--white);
  font-size: 1.1rem;
  transition: color 0.3s;
}

.top-social a:hover {
  color: var(--secondary-color);
}

.top-social .top-quote-btn {
  background: var(--secondary-color);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-left: 0.5rem;
  transition: all 0.3s;
}

.top-social .top-quote-btn:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Ensure Header accommodates Top Bar if fixed */
/* If header is sticky/fixed, we might need adjustments. */
/* Assuming header is relative or sticky. */
/* If sticky: top: 0 -> top: 40px (height of top bar)? */
/* For now, just placing it above header in standard flow. */

/* Why Choose Us Section */
.why-us {
  background: linear-gradient(rgba(0, 35, 102, 0.9), rgba(0, 35, 102, 0.9)), url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1920&q=80') center/cover fixed no-repeat;
  color: white;
  padding: 5rem 0;
}

.why-us .section-title h2,
.why-us .section-title p {
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.feature-card p {
  color: #e0e0e0;
}

/* Testimonials Background Update */
.testimonials {
  background: linear-gradient(rgba(0, 15, 60, 0.85), rgba(0, 15, 60, 0.85)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center/cover fixed no-repeat;
  color: white;
}

.testimonials .section-title h2,
.testimonials .section-title p {
  color: white;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
}

.testimonial-text {
  color: var(--gray);
}

/* Footer Redesign - Compact & Relatable Background */
.footer {
  background: linear-gradient(rgba(0, 15, 60, 0.92), rgba(0, 15, 60, 0.95)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 3rem 0 1.5rem;
  color: white;
}

.footer-content {
  display: grid;
  /* Use Grid for single row control */
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  /* About section wider, others equal */
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  letter-spacing: 0.5px;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #d0d0d0;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #cccccc;
  transition: color 0.3s;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.social-links {
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
}

.social-link {
  color: white;
  font-size: 1.2rem;
  transition: transform 0.3s, color 0.3s;
}

.social-link:hover {
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    /* 2x2 grid on tablets */
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    /* Stack on mobile */
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* ===== TEAM SECTION STYLES ===== */
.team-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.team-image-container {
  width: 190px;
  height: 190px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--secondary-color);
  box-shadow: var(--shadow-md);
  padding: 5px;
  background: var(--white);
}

.team-photo {
  width: 99%;
  height: 99%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
  border-radius: 50%;
  background: #f8f9fa;
}

.team-card:hover .team-photo {
  transform: scale(1.1);
}

.team-info h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}