:root {
    --navy: #0a1f44;
    --coral: #B53028;
    --off-white: #f8f9fa;
    --text-dark: #111827;
    --text-light: #6b7280;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --progress: 0;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: auto; }
  body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
    background-image: radial-gradient(circle at top center, var(--white) 0%, var(--off-white) 70%);
  }
  body, a, button { cursor: none; }
  .container { width: 90%; max-width: 1140px; margin: 0 auto; }
  h1, h2, h3 { font-family: var(--font-primary); color: var(--navy); }
  p.section-intro {
      text-align: center;
      color: var(--text-light);
      max-width: 800px;
      margin: 0 auto 3rem auto;
      font-size: 1.1rem;
  }
  .cursor-follower { position: fixed; width: 20px; height: 20px; border: 2px solid var(--coral); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease, background-color 0.3s ease; }
  .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 70px; background: transparent; transition: background-color 0.3s ease, box-shadow 0.3s ease; }
  .header.scrolled {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    -webkit-backdrop-filter: blur(12px); /* For Safari */
    backdrop-filter: blur(12px); /* The frosted glass effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Optional: A softer shadow */
  }
  .header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
  .logo { display: flex; flex-direction: column; text-decoration: none; }
  .logo-main { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.75rem; color: var(--coral); line-height: 1; }
  .logo-sub { font-family: var(--font-secondary); font-size: 0.65rem; color: rgba(255, 255, 255, 0.8); letter-spacing: 0.5px; margin-top: 2px; transition: color 0.3s ease; }
  .header.scrolled .logo-sub { color: var(--text-light); }
  .nav { display: flex; align-items: center; gap: 1rem; }
  .nav-link { text-decoration: none; color: var(--white); font-weight: 600; padding: 0.5rem 1rem; border-radius: 6px; transition: color 0.3s ease, background-color 0.3s ease; }
  .header.scrolled .nav-link { color: var(--text-dark); }
  .nav-link:hover { background-color: rgba(255, 255, 255, 0.1); }
  .header.scrolled .nav-link:hover { color: var(--navy); background-color: var(--off-white); }
  .nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--white); }
  .header.scrolled .nav-toggle { color: var(--navy); }
  .btn-primary { background-color: var(--coral); color: var(--white); padding: 0.75rem 1.5rem; border: none; border-radius: 8px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(181,48,40,0.4); }
  .hero-slider { position: relative; height: 90vh; width: 100%; display: flex; align-items: center; justify-content: center; color: white; }
  .swiper { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
  .swiper-slide { background-size: cover; background-position: center; }
  .swiper-slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 31, 68, 0.5); }
  .swiper-pagination { bottom: 30px !important; }
  .swiper-pagination-bullet { width: 30px; height: 5px; border-radius: 3px; background-color: rgba(255, 255, 255, 0.4) !important; opacity: 1 !important; position: relative; overflow: hidden; transition: width 0.3s ease; }
  .swiper-pagination-bullet-active { width: 50px; background-color: rgba(255, 255, 255, 0.4) !important; }
  .swiper-pagination-bullet-active::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--white); transform: scaleX(var(--progress)); transform-origin: left; }
  .hero-text-overlay { position: relative; z-index: 10; text-align: center; padding: 2rem; max-width: 800px; }
  .hero-text-overlay h1 { color: var(--white); font-size: 3rem; margin-bottom: 1rem; font-weight: 700; }
  .hero-text-overlay p { font-size: 1.25rem; margin-bottom: 2rem; color: rgba(255, 255, 255, 0.9); }
  .hero-btn { padding: 1rem 2rem; font-size: 1.1rem; }
  .section { padding: 5rem 0; overflow-x: hidden; }
  .section-light { background-color: var(--white); border-radius: 20px; box-shadow: var(--shadow); margin-top: 2rem; margin-bottom: 2rem; }
  .section-title { text-align: center; font-size: 2.2rem; margin-bottom: 1.5rem; }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; perspective: 1000px; }
  .card { background: var(--off-white); padding: 2rem; border-radius: 12px; border: 1px solid #eef0f3; transform-style: preserve-3d; transition: transform 0.4s ease, box-shadow 0.4s ease; }
  .card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .card h3 { margin-bottom: 1rem; }
  .stats-container { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 2rem; }
  .stat-number { font-size: 3.5rem; color: var(--coral); }
  .stat-item p { font-size: 1.1rem; color: var(--text-light); font-weight: 600; }
  .clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; text-align: center; }
  .client-item { background: var(--white); border: 1px solid #eef0f3; padding: 1.5rem; border-radius: 8px; font-weight: 600; color: var(--text-light); }
  /* Logo marquee */
  .logos-marquee-wrap { width: 100%; overflow: hidden; padding: 2rem 0 4rem 0; background: transparent; }
  .logo-marquee { width: 100%; display: flex; align-items: center; }
  .marquee-track { display: flex; gap: 3rem; align-items: center; will-change: transform; animation: marquee 30s linear infinite; }
  .marquee-track img { height: 60px; width: auto; display: block; opacity: 0.95; filter: saturate(0.9); }
  @keyframes marquee { from { transform: translateX(-0%); } to { transform: translateX(-50%); } }
  .team-grid { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
  .team-card { text-align: center; background: var(--off-white); border: 1px solid #eef0f3; padding: 2rem; border-radius: 12px; max-width: 350px; }
  .team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 4px solid var(--white); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
  .team-title { color: var(--coral); font-weight: 600; margin-top: -0.5rem; margin-bottom: 0.5rem; }
  .contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: flex-start; margin-top: 3rem; }
  .contact-details h3 { margin-bottom: 1rem; }
  .contact-details p { margin-bottom: 1rem; }
  .contact-details a { color: var(--coral); text-decoration: none; font-weight: 600; }
  .contact-form .form-group { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .contact-form input, .contact-form textarea { width: 100%; padding: 0.8rem 1rem; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; font-family: var(--font-secondary); }
  #formMessage { margin-top: 1rem; text-align: center; font-weight: 600; }
  .footer { background: var(--navy); color: #aab6c2; text-align: center; padding: 2rem 0; }
  @media (max-width: 992px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .stats-container { grid-template-columns: 1fr; gap: 0; }
    .stat-item { margin-bottom: 2rem; }
    .card, .team-card { margin-bottom: 2rem; }
    .section-light { border-radius: 0; margin-left: -5%; margin-right: -5%; padding-left: 5%; padding-right: 5%;}
  }
  @media (max-width: 768px) {
    body, a, button { cursor: auto; }
    .cursor-follower { display: none; }
    .hero-slider { height: 80vh; }
    .hero-text-overlay h1 { font-size: 2.2rem; }
    .nav { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
    .nav.active { display: flex; }
    .nav-link { width: 100%; text-align: center; }
    .header.scrolled .nav-link { color: var(--text-dark) !important; }
    .nav-toggle { display: block; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .contact-form .form-group { grid-template-columns: 1fr; }
  }