body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    background: #f4f6f9;
    color: #333;
}

/* --- HEADER FIX FOR MOBILE MENU --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0074D9;
    color: white;
    padding: 12px 15px;
    flex-wrap: wrap;
}

.logo {
    font-weight: 600;
    font-size: 18px;
    flex: 1 1 auto;
}

nav {
    flex-basis: 100%;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    background: #005fa3;
    border-radius: 0 0 8px 8px;
}

.nav-list li {
    flex: 1 1 45%;
    text-align: center;
    margin: 3px 0;
}

.nav-list li a {
    display: block;
    padding: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
}

.nav-list li a:hover {
    background: rgba(255,255,255,0.1);
}

/* MENU TOGGLE (hamburger) */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* --- RESPONSIVE FIX --- */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0074D9;
        text-align: center;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        flex: 1 1 auto;
        margin: 0;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        margin-right: 10px;
    }
}

/* Mobile menu */
.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to right, #0074D9, #005fa3);
    color: white;
}

.hero h1 {
    margin-bottom: 10px;
    font-size: 28px;
}

.hero p {
    margin-bottom: 20px;
    font-size: 16px;
}

.cta-btn {
    background: white;
    color: #0074D9;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #005fa3;
    color: #fff;
}

/* Sections */
section {
    margin: 30px auto;
    padding: 20px;
    max-width: 800px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.card {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    background: #e6f2ff;
}

footer {
    text-align: center;
    padding: 15px;
    background: #222;
    color: white;
    margin-top: 30px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: #0074D9;
        width: 100%;
        text-align: center;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 24px;
    }
}

section h2 {
    color: #005fa3;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 2px solid #0074D9;
    display: inline-block;
    padding-bottom: 5px;
}
.small-hero {
    background: linear-gradient(to right, #005fa3, #0074D9);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.about-section {
    margin: 30px auto;
    max-width: 800px;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    line-height: 1.7;
}

.about-section h2 {
    text-align: center;
    color: #005fa3;
    margin-bottom: 10px;
}

.about-section p {
    text-align: justify;
}

/* Contact page extras */
.contact-container { max-width: 1100px; }
.main-row { display: flex; flex-wrap: wrap; gap: 25px; }
.left-main, .right-main { flex: 1; min-width: 320px; }
.query-form { background:#f7faff; padding:20px; border-radius:10px; box-shadow:0 1px 6px rgba(0,0,100,0.05); }
.query-form h3 { color:#0051a7; margin-bottom:10px; }
.query-form label { display:block; margin-top:10px; }
.query-form input, .query-form textarea { width:100%; padding:10px; margin-top:5px; border:1px solid #ccd; border-radius:6px; }
.quick-contact { text-align:center; margin-top:20px; }
.quick-contact a { text-decoration:none; color:#fff; padding:10px 20px; border-radius:6px; margin:5px; display:inline-block; }
.quick-contact a.call { background:#0074D9; }
.quick-contact a:not(.call){ background:#25D366; }
iframe.map, .youtube-section iframe { width:100%; border:none; border-radius:10px; }

/* --- Desktop polish for large screens --- */
@media (min-width: 1024px) {
  header {
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  header h1 {
    font-size: 1.8em;
  }

  nav ul {
    justify-content: flex-end;
    background: transparent;
  }

  nav ul li {
    margin: 0 12px;
    padding: 0;
  }

  nav a {
    color: #ffffff;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s;
  }

  nav a:hover,
  nav a.active {
    background: rgba(255,255,255,0.15);
  }

  section#about,
  section#services {
    max-width: 900px;
  }

  .hero-banner {
    height: 340px;
    margin-top: 10px;
    border-radius: 12px;
  }

  footer {
    font-size: 0.9em;
    padding: 15px;
  }
}

/* Popup styles */
.popup {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup-content {
  background: white;
  border-radius: 12px;
  padding: 25px 35px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}
.popup-content h3 { color: #005fa3; }
.popup-content p { font-size: 15px; color: #333; margin: 10px 0; }
.popup-content button {
  margin-top: 10px;
  background: #0074D9;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
}
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

