/* -------------------- */
/* Reset & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, sans-serif;
}

body {
    background-color: #081229;
    color: #f8f9fa;
    padding-top: 90px;
}

/* -------------------- */
/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background: #081229;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    z-index: 1000;
}

.logo-img {
    height: 60px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    position: relative;
    margin-left: 30px;
}

nav ul li a {
    color: #f8f9fa;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

nav ul li a:hover {
    color: #FFD700;
}

/* Dropdown */
nav ul li ul.dropdown {
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    background: #0f1a3b;
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
    min-width: 220px;
}

nav ul li ul.dropdown li a {
    display: block;
    padding: 10px 20px;
}

nav ul li ul.dropdown li a:hover {
    background: #FFD700;
    color: #081229;
}

nav ul li:hover ul.dropdown {
    display: block;
}

/* -------------------- */
/* Hero Section */
/* Header height is 90px in your layout */
.hero {
    height: calc(100vh - 90px); /* full viewport minus header */
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: url('images/hero-bg.jpg') center/cover no-repeat; /* full-cover image */
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* overlay for text readability */
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2; /* ensures text appears above overlay */
    max-width: 90%;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 46px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-text .btn {
    display: inline-block;
}
/* Professional CTA Button */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #e6b800); /* golden gradient */
    color: #ffffff; /* dark text for contrast */
    font-weight: 700;
    font-size: 16px;
    padding: 14px 36px; /* slightly bigger for better feel */
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: none; /* remove default button border */
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #FFC700, #e6b800); /* slightly brighter on hover */
}
/* -------------------- */
/* Full Width Premium Headings */
.section-heading {
    font-size: 30px;
    padding: 20px 0;
    margin: 0 0 60px 0; /* top margin set to 0 to stick to hero */
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #caa600, #FFD700, #e6b800);
    width: 100%;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    animation: fadeSlideDown 0.8s ease forwards;
}

/* -------------------- */
/* About Section */
.about-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px 80px;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1 1 500px;
    color: #cbd5e1;
    line-height: 1.7;
}

.about-image {
    flex: 1 1 500px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
}

/* -------------------- */
/* Grid Layout */
.services-grid,
.cert-grid,
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 60px 100px;
}

/* -------------------- */
/* Cards */
.service-card,
.cert-card,
.offer-card {
    background: #0f1a3b;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.9s ease forwards;
}

.service-card:hover,
.cert-card:hover,
.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
}

/* -------------------- */
/* Uniform Image Size */
.card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover img,
.cert-card:hover img {
    transform: scale(1.08);
}

/* -------------------- */
/* Card Text */
.service-card h3,
.cert-card h3,
.offer-card h3 {
    color: #FFD700;
    font-size: 20px;
    margin: 15px 0;
}

.service-card p,
.cert-card p,
.offer-card p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
    padding: 0 15px 20px;
}


/* Our Accreditation Section */
.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    justify-items: center;
    align-items: center;
    background: #f9f9f9; /* optional: light background to separate section */
}

.accreditation-card img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accreditation-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* -------------------- */
/* Contact Section */
/* Contact Section */
/* ------------------------------- */
/* Contact Section - Professional Layout */
/* ------------------------------- */
/* ------------------------------- */
/* Contact Section - Wider & Professional Layout */
/* ------------------------------- */

/* ------------------------------- */
/* Contact Section - Centered & Spaced from Footer */
/* ------------------------------- */

.contact-map-section {
    display: grid;
    grid-template-columns: 1fr 1fr; /* two equal columns */
    gap: 40px;                     /* space between form and map */
    max-width: 1400px;             /* section width */
    margin: 0 auto;                /* center horizontally */
    padding: 60px 30px 120px;      /* top 60px, bottom 120px for space from footer */
    align-items: center;            /* vertically center form & map */
}

/* Form Container */
.contact-form-container {
    background: #0f1a3b;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
}

/* Map Container */
.map-container {
    border-radius: 14px;
    overflow: hidden;
    height: 100%; /* fill grid cell height */
}

/* Make iframe fill map container */
.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Heading & paragraph spacing */
.contact-form-container h2 {
    color: #FFD700;
    margin-bottom: 25px; /* space below heading */
}

.contact-form-container p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Inputs and textarea */
.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: none;
}

/* Button */
.contact-form-container button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #FFD700, #e6b800);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form-container button:hover {
    transform: translateY(-3px);
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px) {
    .contact-map-section {
        grid-template-columns: 1fr; /* stack map and form vertically */
        gap: 30px;
        padding: 40px 20px 60px; /* reduce padding on mobile */
    }
    .map-container,
    .contact-form-container {
        height: auto;
    }
}
/* -------------------- */
/* CTA Section */
/*.cta {
    background: linear-gradient(135deg, #FFD700, #e6b800);
    color: #081229;
    padding: 60px 20px;
    text-align: center;
    font-weight: bold;
}*/

/* -------------------- */
/* Footer */
/* Footer Styling */
.footer {
    background: #081229;
    color: #ffffff;
    padding: 60px 20px 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 20px;
    color: #FFD700;
}

.footer-column p {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

/* -------------------- */
/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------- */
/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 15px 25px;
    }

    .services-grid,
    .cert-grid,
    .offer-grid {
        padding: 0 25px 80px;
    }

    .about-section,
    .contact-map-section {
        padding: 0 25px 80px;
        flex-direction: column;
    }

    .hero h1 {
        font-size: 34px;
    }
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

header .logo img {
  max-width: 150px;
  height: auto;
}

/* Desktop menu */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
}

/* Dropdown menu */
nav ul li .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0f1a3b;
  display: none;
  flex-direction: column;
  min-width: 200px;
  border-radius: 6px;
  padding: 10px 0;
}

nav ul li:hover .dropdown {
  display: flex;
}

/* ------------------- */
/* Mobile styles */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    display: none; /* hide menu initially */
    gap: 0;
    background: #0f1a3b;
    width: 100%;
    position: absolute;
    top: 70px; /* below header */
    left: 0;
    padding: 20px 0;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li .dropdown {
    position: static;
    display: none;
    background: none;
    padding: 0;
  }

  /* Hamburger button */
  .hamburger {
    display: block;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    display: block;
  }

  nav.active ul {
    display: flex;
  }
}