/* ==========================================
   JALUSI CORP - MAIN STYLESHEET
   Color Scheme: Blue, Black, White
   ========================================== */

/* CSS Variables */
:root {
  /* Primary Colors */
  --primary-blue: #0066cc;
  --primary-blue-dark: #004c99;
  --primary-blue-light: #3399ff;
  --primary-blue-pale: #e6f2ff;

  /* Neutral Colors */
  --black: #0a0a0a;
  --black-soft: #1a1a1a;
  --gray-900: #212121;
  --gray-800: #333333;
  --gray-700: #4a4a4a;
  --gray-600: #666666;
  --gray-500: #888888;
  --gray-400: #aaaaaa;
  --gray-300: #cccccc;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #ffffff;

  /* Functional Colors */
  --success: #28a745;
  --warning: #ffc107;
  --error: #dc3545;

  /* Typography */
  --font-primary: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;

  /* Spacing */
  --container-max: 1280px;
  --section-padding: 100px;
  --nav-height: 80px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
}
h4 {
  font-size: 1.25rem;
}

p {
  color: var(--gray-600);
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.btn-primary:hover {
  background: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--primary-blue-pale);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-full {
  width: 100%;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 10vh;
  width: auto;
  object-fit: contain;
}

.nav-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 6px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
  background: var(--primary-blue-pale);
}

.nav-link.nav-cta {
  background: var(--primary-blue);
  color: var(--white);
  margin-left: 8px;
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta.active {
  background: var(--primary-blue-dark);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    text-align: center;
  }

  .nav-link.nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }
}

/* ==========================================
   FLASH MESSAGES
   ========================================== */

.flash-container {
  position: fixed;
  top: calc(var(--nav-height) + 20px);
  right: 20px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.flash-message {
  padding: 16px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: slideIn 0.3s ease;
  box-shadow: var(--shadow-md);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.flash-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.flash-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.flash-close:hover {
  opacity: 1;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--black) 0%,
    var(--gray-900) 50%,
    var(--primary-blue-dark) 100%
  );
  z-index: -2;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(0, 102, 204, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(51, 153, 255, 0.1) 0%,
      transparent 50%
    );
  z-index: -1;
}

.hero-content {
  width: 100%;
}

.hero-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-blue-light);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--gray-400);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-light)
  );
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  right: 30%;
  animation-delay: -2s;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 0;
  animation-delay: -4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--gray-500);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid var(--gray-500);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary-blue-light);
  border-radius: 2px;
  animation: scroll 2s ease infinite;
}

@keyframes scroll {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(12px);
    opacity: 0.3;
  }
}

@media (max-width: 992px) {
  .hero-content .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }
}

/* ==========================================
   SECTION COMPONENTS
   ========================================== */

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-blue-pale);
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */

.features {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue-pale);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-light)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   STATS SECTION
   ========================================== */

.stats {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-dark) 100%
  );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number::after {
  content: "+";
}

.stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   ABOUT PREVIEW SECTION
   ========================================== */

.about-preview {
  padding: var(--section-padding) 0;
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-preview-image {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
  aspect-ratio: 4/3;
}

.image-frame.large {
  aspect-ratio: 1;
}

.image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-blue-pale),
    var(--gray-100)
  );
}

.image-placeholder svg {
  width: 80px;
  height: 80px;
  stroke: var(--gray-400);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary-blue);
  color: var(--white);
  padding: 24px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.about-preview-content h2 {
  margin-bottom: 24px;
}

.about-preview-content > p {
  font-size: 1.125rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

.about-list {
  margin-bottom: 40px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--gray-700);
}

.about-list svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-blue);
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .experience-badge {
    bottom: 20px;
    right: 20px;
  }
}

/* ==========================================
   SERVICES PREVIEW SECTION
   ========================================== */

.services-preview {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.service-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-blue-pale);
  line-height: 1;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.service-card p {
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-link {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 15px;
  transition: gap var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover {
  gap: 8px;
}

.services-cta {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   BLOG PREVIEW SECTION
   ========================================== */

.blog-preview {
  padding: var(--section-padding) 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-blue-pale),
    var(--gray-100)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-placeholder svg {
  width: 60px;
  height: 60px;
  stroke: var(--gray-400);
}

.blog-card-content {
  padding: 28px;
}

.blog-date {
  font-size: 13px;
  color: var(--primary-blue);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-content h3 {
  margin: 12px 0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.blog-card-content h3 a {
  color: var(--black);
  transition: color var(--transition-fast);
}

.blog-card-content h3 a:hover {
  color: var(--primary-blue);
}

.blog-card-content p {
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.blog-link {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 14px;
}

.blog-cta {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--black) 0%,
    var(--gray-900) 50%,
    var(--primary-blue-dark) 100%
  );
  z-index: -2;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(0, 102, 204, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(51, 153, 255, 0.15) 0%,
      transparent 50%
    );
  z-index: -1;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  color: var(--gray-400);
  font-size: 1.125rem;
  margin-bottom: 40px;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  position: relative;
  background: var(--black);
  color: var(--gray-400);
  padding-top: 60px;
}

.footer-wave {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
}

.footer-wave svg {
  width: 100%;
  height: 100%;
  fill: var(--black);
}

.footer-content {
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--gray-900);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--gray-400);
  transition: fill var(--transition-fast);
}

.footer-social a:hover svg {
  fill: var(--white);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 15px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-blue-light);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--primary-blue-light);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--gray-500);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================
   PAGE HEADER
   ========================================== */

.page-header {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--black) 0%,
    var(--gray-900) 50%,
    var(--primary-blue-dark) 100%
  );
  z-index: -1;
}

.page-header-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 25% 50%,
      rgba(0, 102, 204, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 50%,
      rgba(51, 153, 255, 0.1) 0%,
      transparent 50%
    );
}

.page-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-blue-light);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-header-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.page-header-content p {
  font-size: 1.25rem;
  color: var(--gray-400);
}

/* ==========================================
   ABOUT PAGE
   ========================================== */

.about-story {
  padding: var(--section-padding) 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-content h2 {
  margin-bottom: 24px;
}

.story-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.mission-vision {
  padding: 80px 0;
  background: var(--gray-100);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mv-card {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.mv-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-light)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--white);
}

.mv-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.mv-card p {
  font-size: 15px;
  line-height: 1.8;
}

.core-values {
  padding: var(--section-padding) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.value-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-blue-pale);
  margin-bottom: 16px;
}

.value-card h3 {
  margin-bottom: 12px;
}

.value-card p {
  font-size: 15px;
  line-height: 1.7;
}

.team-section {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}

@media (max-width: 992px) {
  .story-grid,
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
  }
}

@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   SERVICES PAGE
   ========================================== */

.services-full {
  padding: var(--section-padding) 0;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service-full-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 50px;
  align-items: start;
}

.service-full-card.reverse {
  direction: rtl;
}

.service-full-card.reverse > * {
  direction: ltr;
}

.service-full-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-light)
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-full-icon svg {
  width: 44px;
  height: 44px;
  stroke: var(--white);
}

.service-full-content {
  position: relative;
}

.service-full-number {
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 6rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  z-index: -1;
}

.service-full-content h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.service-full-content > p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-700);
  font-size: 15px;
}

.service-features li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.process-section {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 35px;
  top: 100px;
  bottom: -40px;
  width: 2px;
  background: var(--gray-300);
}

.process-number {
  width: 70px;
  height: 70px;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.process-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .service-full-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-full-card.reverse {
    direction: ltr;
  }

  .service-full-icon {
    width: 80px;
    height: 80px;
  }

  .service-full-number {
    display: none;
  }

  .service-features {
    grid-template-columns: 1fr;
  }

  .process-step {
    gap: 24px;
  }

  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .process-step:not(:last-child)::after {
    left: 24px;
    top: 80px;
  }
}

/* ==========================================
   CONTACT PAGE
   ========================================== */

.contact-section {
  padding: var(--section-padding) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary-blue);
}

.contact-text h4 {
  font-size: 14px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-text p {
  color: var(--gray-800);
  font-size: 15px;
}

.contact-social h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: var(--gray-600);
  transition: fill var(--transition-fast);
}

.social-links a:hover svg {
  fill: var(--white);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-form h3 {
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-primary);
  font-size: 15px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  transition: all var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px var(--primary-blue-pale);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.map-section {
  height: 400px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
  position: relative;
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-content {
  text-align: center;
  color: var(--gray-500);
}

.map-content svg {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  stroke: var(--gray-400);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-form-wrapper {
    padding: 40px;
  }
}

@media (max-width: 576px) {
  .contact-form-wrapper {
    padding: 30px 24px;
  }
}

/* ==========================================
   BLOG PAGE
   ========================================== */

.blog-section {
  padding: var(--section-padding) 0;
}

.blog-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.blog-card-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.blog-card-full:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-full .blog-card-image {
  aspect-ratio: unset;
  height: 100%;
  min-height: 250px;
}

.blog-card-full .blog-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  margin-bottom: 12px;
}

.blog-card-full h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-full h2 a {
  color: var(--black);
  transition: color var(--transition-fast);
}

.blog-card-full h2 a:hover {
  color: var(--primary-blue);
}

.blog-card-full p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-full .blog-link {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 14px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 60px;
}

.pagination-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

.pagination-link:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.pagination-link svg {
  width: 16px;
  height: 16px;
}

.pagination-numbers {
  display: flex;
  gap: 8px;
}

.pagination-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

.pagination-number:hover {
  background: var(--gray-100);
}

.pagination-number.active {
  background: var(--primary-blue);
  color: var(--white);
}

.pagination-ellipsis {
  width: 40px;
  text-align: center;
  color: var(--gray-500);
}

/* Blog Empty State */
.blog-empty {
  text-align: center;
  padding: 80px 20px;
}

.empty-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-icon svg {
  width: 50px;
  height: 50px;
  stroke: var(--gray-400);
}

.blog-empty h2 {
  margin-bottom: 12px;
}

.blog-empty p {
  font-size: 1.0625rem;
}

/* Newsletter */
.newsletter-section {
  padding: 0 0 var(--section-padding);
}

.newsletter-card {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-dark) 100%
  );
  padding: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-content h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0625rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: 14px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 15px;
  width: 280px;
  transition: all var(--transition-fast);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn-primary {
  background: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
}

.newsletter-form .btn-primary:hover {
  background: var(--primary-blue-pale);
}

@media (max-width: 992px) {
  .blog-grid-full {
    grid-template-columns: 1fr;
  }

  .newsletter-card {
    flex-direction: column;
    text-align: center;
    padding: 50px 40px;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
  }

  .newsletter-form input {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .blog-card-full {
    grid-template-columns: 1fr;
  }

  .blog-card-full .blog-card-image {
    min-height: 200px;
  }
}

/* ==========================================
   BLOG POST PAGE
   ========================================== */

.post-header {
  position: relative;
  padding: 180px 0 80px;
  overflow: hidden;
}

.post-header-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 14px;
  margin-bottom: 24px;
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--primary-blue-light);
}

.back-link svg {
  width: 18px;
  height: 18px;
}

.post-header-content h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.post-meta > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 14px;
}

.post-meta svg {
  width: 16px;
  height: 16px;
}

.post-content-section {
  padding: var(--section-padding) 0;
}

.post-article {
  max-width: 800px;
  margin: 0 auto;
}

.post-featured-image {
  margin-bottom: 50px;
  border-radius: 16px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
}

.post-body {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--gray-700);
}

.post-body h2,
.post-body h3,
.post-body h4 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.post-body p {
  margin-bottom: 24px;
  color: var(--gray-700);
}

.post-body ul,
.post-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.post-body li {
  margin-bottom: 8px;
  list-style: disc;
}

.post-body ol li {
  list-style: decimal;
}

.post-body a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.post-body blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  border-left: 4px solid var(--primary-blue);
  background: var(--gray-100);
  font-style: italic;
}

.post-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.post-share {
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-share > span {
  font-weight: 500;
  color: var(--gray-700);
}

.share-links {
  display: flex;
  gap: 10px;
}

.share-links a {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.share-links a:hover {
  background: var(--primary-blue);
}

.share-links svg {
  width: 18px;
  height: 18px;
  fill: var(--gray-600);
  transition: fill var(--transition-fast);
}

.share-links a:hover svg {
  fill: var(--white);
}

.post-navigation {
  text-align: center;
  margin-top: 60px;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.team-grid {
  display: flex !important; /* Forces items into a single row */
  flex-direction: row !important;
  flex-wrap: nowrap !important; /* FORCES horizontal behavior */
  overflow-x: auto !important; /* Enables the horizontal scroll */
  gap: 30px !important;
  padding: 20px 0 40px !important;
  scrollbar-width: none !important; /* Hides scrollbar on Firefox */
}

.team-grid::-webkit-scrollbar {
  display: none !important; /* Hides scrollbar on Chrome/Safari */
}
.team-card {
  /* Logic: Show exactly 3 cards */
  flex: 0 0 calc(33.333% - 20px) !important;
  min-width: calc(33.333% - 20px) !important;
  max-width: calc(33.333% - 20px) !important;
  margin-bottom: 0 !important; /* Resets the grid margin */
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-image {
  width: 100% !important;
  height: 300px !important; /* Forces consistent image size */
  overflow: hidden !important;
}

.team-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Prevents S3 images from stretching */
}

.team-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-blue-pale),
    var(--gray-100)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-placeholder svg {
  width: 80px;
  height: 80px;
  stroke: var(--gray-400);
}

.team-info {
  padding: 28px;
  text-align: center;
}

.team-info h3 {
  margin-bottom: 8px;
}

.team-role {
  color: var(--primary-blue);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 12px;
}

.team-info > p:last-child {
  font-size: 14px;
  line-height: 1.7;
}
/* ==========================================
   CAROUSEL NAVIGATION BUTTONS
   ========================================== */
.carousel-container {
  position: relative;
  padding: 0 50px; /* Space for buttons */
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.nav-btn:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.nav-btn svg {
  width: 24px;
  height: 24px;
}

.prev-btn {
  left: 0;
}
.next-btn {
  right: 0;
}

/* Snap behavior for smooth button scrolling */
.team-grid {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth !important;
}

.team-card {
  scroll-snap-align: start;
}
/* ==========================================
   FORCE ARROW VISIBILITY
   ========================================== */
.carousel-container {
  position: relative !important;
  padding: 0 60px !important; /* Creates clear space for arrows */
  overflow: visible !important; /* Ensures buttons aren't clipped */
}

.nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 50px !important;
  height: 50px !important;
  background: var(--white) !important;
  border: 3px solid var(--primary-blue) !important; /* Thick blue border for visibility */
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 999 !important; /* Sits on top of everything */
  box-shadow: var(--shadow-lg) !important;
  transition: all 0.3s ease !important;
}

.nav-btn svg {
  width: 30px !important;
  height: 30px !important;
  stroke: var(--primary-blue) !important;
}

.nav-btn:hover {
  background: var(--primary-blue) !important;
}

.nav-btn:hover svg {
  stroke: var(--white) !important;
}

.prev-btn {
  left: -10px !important;
}
.next-btn {
  right: -10px !important;
}

/* Keep the grid horizontal */
.team-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  scroll-behavior: smooth !important;
}
/* ==========================================
   FINAL ARROW VISIBILITY & POSITIONING
   ========================================== */
.carousel-container {
  position: relative !important;
  padding: 0 40px !important; /* Create space so arrows don't overlap cards */
  overflow: visible !important; /* Crucial: ensures absolute buttons aren't hidden */
}

.nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 50px !important;
  height: 50px !important;
  background-color: var(--white) !important;
  border: 2px solid var(--primary-blue) !important;
  color: var(--primary-blue) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 1000 !important; /* Highest priority */
  box-shadow: var(--shadow-lg) !important;
  transition: all 0.3s ease !important;
}

.nav-btn:hover {
  background-color: var(--primary-blue) !important;
  color: var(--white) !important;
}

.nav-btn svg {
  width: 24px !important;
  height: 24px !important;
  stroke: currentColor !important; /* Inherits from the button color */
}

/* Position arrows slightly outside the container edges */
.prev-btn {
  left: -25px !important;
}

.next-btn {
  right: -25px !important;
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 0 20px !important;
  }
  .nav-btn {
    width: 40px !important;
    height: 40px !important;
  }
}
/* ==========================================
   MOBILE CAROUSEL OPTIMIZATION
   ========================================== */
@media (max-width: 768px) {
  .prev-btn {
    left: 2px !important;
  }

  .next-btn {
    right: 2px !important;
  }
  /* 1. Force the container to show 1 card */
  .team-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  /* 2. Adjust container padding so arrows stay visible */
  .carousel-container {
    padding: 0 45px !important;
  }

  /* 3. Scale down arrows slightly for smaller screens */
  .nav-btn {
    width: 40px !important;
    height: 40px !important;
  }

  .nav-btn svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* 4. Ensure smooth snapping to the single card */
  .team-grid {
    scroll-snap-type: x mandatory !important;
    gap: 10px !important; /* Smaller gap for mobile */
  }
}
