  :root {
    --navy: #001a35;
    --gold: #0056b3;
    --light-grey: #f4f7f9;
    --white: #ffffff;
    
    /* --gold: #c5a059; */
    --white: #ffffff;
    --transition: all 0.4s ease;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif;}

  #preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0f0f0f; /* Deep professional dark */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease-in-out, visibility 0.6s;
}

.loader-content {
  text-align: center;
}

.logo-text {
  color: #ffffff;
  font-family: 'Inter', sans-serif; /* Or your brand font */
  font-weight: 300;
  letter-spacing: 10px;
  margin-bottom: 20px;
  animation: spread 2.5s ease-in-out infinite;
}

.logo-text span {
  font-weight: 700;
  color: #0056b3; /* A sophisticated gold/bronze accent */
}

.progress-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: #0056b3;
  position: absolute;
  animation: load 2s infinite ease-in-out;
}

@keyframes spread {
  0%, 100% { letter-spacing: 10px; opacity: 0.7; }
  50% { letter-spacing: 14px; opacity: 1; }
}

@keyframes load {
  0% { left: -100%; width: 30%; }
  50% { left: 0%; width: 60%; }
  100% { left: 100%; width: 100%; }
}

/* Class to hide preloader */
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Modern glass effect */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span { color: var(--gold); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

/* The Hover Effect */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

/* --- THE ACTIVE FEATURE --- */
.nav-links a.active {
    color: var(--gold);
    font-weight: 700;
}

.nav-links a.active::after {
    width: 100%; /* Keeps the underline visible on active page */
}

/* Mobile Menu Icon */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
}

/* --- Responsive Design --- */
@media (max-width: 850px) {
    .menu-toggle { display: block; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 25px;
        clip-path: circle(0% at 100% 0); /* Hidden by default */
        transition: transform 0.5s ease-in-out, clip-path 0.5s ease-in-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.open {
        clip-path: circle(150% at 100% 0); /* Shows menu */
    }
}

  body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: var(--white);
  }

  .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

  /* --- Header --- */
  .contact-hero {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 26, 53, 0.9)), 
                url('../Media/Image/female-care3.jpeg') center/cover;
    padding: 120px 0 60px;
    text-align: center;
    color: white;
    height: 500px;
    display: flex;
    align-items: center;
  }

  .contact-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 10px;
  }

  /* --- Main Content Layout --- */
  .contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    padding: 80px 0;
    align-items: start;
  }

  /* --- Office Cards --- */
  .office-card {
    background: var(--light-grey);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    border-left: 5px solid var(--gold);
    transition: var(--transition);
  }

  .office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  }

  .office-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
  }

  .info-item i {
    color: var(--gold);
    margin-top: 5px;
  }

  .info-item a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
  }

  .info-item a:hover { color: var(--gold); }

  /* --- Contact Form --- */
  .form-container {
    background: var(--white);
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-radius: 20px;
  }

  .form-group { margin-bottom: 20px; }

  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
  }

  input, textarea, select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
  }

  input:focus, textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
  }

  .submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--gold);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
  }

  .submit-btn:hover {
    background: var(--navy);
    color: var(--white);
  }

  .office{
    text-align: center;
    margin-bottom: 10px;
    color: var(--gold);
  }


  iframe{
    width: 100%;
  }

  .map{
    margin-bottom: 40px;
  }


  /* Responsive */
  @media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-hero h1 { font-size: 2.2rem; }
  }

  /* --- Footer Style --- */
  footer {
      background: #000;
      color: white;
      padding: 80px 0 40px;
      margin-top: 50px;
  }

  .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1.5fr;
      gap: 40px;
      padding-bottom: 50px;
      border-bottom: 1px solid #333;
  }

  .footer-logo h2 { font-family: 'Montserrat'; font-size: 1.8rem; margin-bottom: 15px; }
  .footer-col h4 { margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; color: #999; font-size: 0.9rem; }

  /* Responsive */
  @media (max-width: 992px) {
      .service-row, .service-row:nth-child(even) { flex-direction: column; text-align: center; }
      .feature-list li { justify-content: center; }
      .service-image img { height: 300px; }
      .footer-grid { grid-template-columns: 1fr; text-align: center; }
  }