/* =======================
   General Styles
======================= */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* =======================
   Header / Top Bar
======================= */
header {
    background: white;
    color: #333;
    text-align: center;
    padding: 4px 0;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
    border-bottom: 1px solid #ddd;
}

/* =======================
   Navigation
======================= */
nav {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.3s ease;
}

.nav-left {
    width: 25%;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.nav-left .logo {
    max-height: 50px;
    width: auto;
}

.nav-right {
    width: 75%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #fff;
    padding-left: 200px;
    gap: 20px;
}

.nav-right a, .nav-right .dropdown {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.nav-right a:hover {
    background: #f0f0f0;
}

.nav-phone {
    margin-left: 150px;
    font-weight: bold;
    color: #3498db;
    font-size: 24px;
}

nav.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Form 1 Styles */
#form1 {
    padding: 50px 20px;
    background: #fff;
    margin-top: 50px; 
}

.form1-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.form1-wrapper h2 {
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #004080;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

form button {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    background-color: #3498db;
    color: white;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #004080;
}

/* Responsive */
@media (max-width: 768px) {
    .form1-wrapper {
        padding: 30px 15px;
    }
}


/* =======================
   Dropdowns & Mega Menu
======================= */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 5px 0;
    text-align: left;
    z-index: 100;
}

.dropdown:hover > .dropdown-content {
    display: block;
}

.dropdown-content.horizontal {
    white-space: normal;
    padding: 0;
    top: 100%;
    left: 0;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.dropdown-content.horizontal .dropdown-header {
    display: block;
    background: #3498db;
    color: white;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
    border-radius: 4px;
    margin: 20px 20px 5px 20px;
}

.dropdown-content.horizontal a {
    display: block;
    margin: 5px 10px;
    padding: 8px 25px;
    color: #333;
    text-decoration: none;
    font-weight: normal;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 4px;
}

.dropdown-content.horizontal a:hover {
    background: #f0f0f0;
}

.dropdown-content.mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 20px;
    flex-direction: row;
    justify-content: space-between;
    z-index: 9999;
}

.dropdown:hover > .dropdown-content.mega {
    display: flex;
}

.mega-columns {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.mega-column {
    display: flex;
    flex-direction: column;
    width: 30%;
}

.mega-header {
    font-weight: bold;
    margin-bottom: 10px;
    padding: 10px;
    background: #3498db;
    color: white;
    border-radius: 4px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    box-sizing: border-box;
    cursor: default;
}

.mega-column a {
    padding: 8px 10px;
    color: #333;
    text-decoration: none;
    font-weight: normal;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 4px;
    margin-bottom: 5px;
}

.mega-column a:hover {
    background: #f0f0f0;
}

/* =======================
   Hero 1
======================= */
.hero {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    height: 400px;
    overflow: hidden;
}

.hero1-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero1-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to right, rgba(52,152,219,1) 0%, rgba(52,152,219,1) 25%, rgba(52,152,219,0.8) 30%, rgba(52,152,219,0.5) 50%, rgba(52,152,219,0) 100%);
}

.hero-text {
    position: relative;
    z-index: 2;
    color: white;
    padding-left: 150px;
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
}

.hero-text h2 {
    font-weight: 400;
    font-size: 48px;
    margin: 0;
}

.hero-text p {
    font-weight: 300;
    font-size: 20px;
    margin: 10px 0 0;
}

.hero1-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: gold;
    z-index: 3;
}
/* =======================
   Hero 2
======================= */
#hero2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 50px 20px;
    background: #f8f8f8;
    gap: 100px;
    min-height: 400px;
}

.hero2-image {
    flex: 0 0 400px;
    margin-left: 250px;
}

.hero2-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.hero2-content {
    flex: 1;
    color: #000;
    margin-left: 0;
    max-width: 600px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

/* =======================
   Hero 3
======================= */
#hero3 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 50px 20px;
    background: #e0dfdf;
    gap: 100px;
    min-height: 400px;
}

.hero3-image {
    flex: 0 0 400px;
    order: 2;
    margin-left: 0;
}

.hero3-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.hero3-content {
    flex: 1;
    color: #000;
    margin-left: 250px;
    max-width: 600px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    order: 1;
}

/* =======================
   Hero Center Text
======================= */
#hero-center-text {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 50px 20px;
    background: #f8f8f8;
    gap: 100px;
    min-height: 400px;
}

.hero-center-image {
    flex: 0 0 400px;
    margin-left: 250px;
}

.hero-center-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.hero-center-content {
    flex: 1;
    color: #000;
    margin-left: 0;
    max-width: 600px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

/* =======================
   Hero 4 Grid Section
======================= */
#hero4 {
    padding: 50px 20px;
    background: #fff;
    margin-top: 50px; 
}

.hero4-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero4-grid img,
.hero4-grid a img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hero4-grid img:hover,
.hero4-grid a img:hover {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .hero4-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero4-grid {
        grid-template-columns: 1fr;
    }
}

/* =======================
   Map Section
======================= */
#find-us {
    text-align: center;
}

.map-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.address {
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.3rem;
    line-height: 0.5;
    text-align: center;
}

/* =======================
   Footer
======================= */
footer {
    background-color: #004080;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 30px 20px;
    gap: 20px;
    align-items: center; /* vertically centers the content */
}

.footer-left {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center */
    align-items: center; /* horizontal center */
    text-align: center; /* center text and links */
}

.footer-right {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center */
    align-items: flex-start; /* left-align text */
    text-align: left; /* left-align text */
}


/* Quick Links */
.footer-left h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #fff;
}

.footer-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-left ul li {
    margin-bottom: 5px;
}

.footer-left ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-left ul li a:hover {
    color: #ffcc00;
}

/* Contact info */
.footer-right-bottom p {
    color: #fff;
    font-weight: bold;
    margin: 3px 0;
}

/* Bottom section */
.footer-bottom {
    border-top: 1px solid #fff;
    text-align: center;
    padding: 15px 10px;
    font-size: 0.85rem;
    color: #fff;
}

.footer-gold-bar {
    width: 100%;
    height: 15px;
    background: gold;
}
/* =======================
   Footer Policy Links
======================= */
.footer-policy-links {
    margin-top: 15px;  /* spacing above the links */
    text-align: center; /* center the links */
}

.footer-policy-links a {
    color: #ffffff !important; /* force white */
    text-decoration: none !important;
    margin: 0 5px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-policy-links a:hover {
    color: #ffd700 !important; /* gold on hover */
}

/* =======================
   FULL RESPONSIVE / MOBILE-FRIENDLY STYLES
======================= */

/* -----------------------
   Tablets: 2 columns
----------------------- */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Hero sections */
    #hero2, #hero3, #hero-center-text {
        flex-direction: row;
        gap: 20px;
        padding: 30px 15px;
    }
    .hero2-image, .hero3-image, .hero-center-image {
        flex: 1 1 45%;
        margin-left: 0;
    }
    .hero2-content, .hero3-content, .hero-center-content {
        flex: 1 1 45%;
        margin-left: 0;
        max-width: 100%;
    }
}

/* -----------------------
   Phones: 1 column
----------------------- */
@media (max-width: 768px) {
    /* Navigation: vertical stack */
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    .nav-left, .nav-right {
        width: 100%;
        padding: 5px 10px;
        justify-content: flex-start;
    }
    .nav-right {
        flex-wrap: wrap;
        gap: 10px;
    }
    .nav-right a, .nav-right .dropdown {
        padding: 10px 15px;
        font-size: 16px;
    }
    .nav-phone {
        margin-left: 0;
        font-size: 18px;
    }

    /* Dropdowns: full width, stack items */
    .dropdown-content, .dropdown-content.horizontal, .dropdown-content.mega {
        position: static;
        width: 100%;
        box-shadow: none;
        background: #f8f8f8;
        border-radius: 0;
        padding: 0;
        display: none;
    }
    .dropdown:hover > .dropdown-content,
    .dropdown:active > .dropdown-content {
        display: block;
    }
    .dropdown-content a {
        display: block;
        padding: 10px 15px;
        margin: 0;
        border-bottom: 1px solid #ddd;
        border-radius: 0;
        width: 100%;
    }

    /* Mega Menu: stack columns vertically */
    .dropdown-content.mega {
        flex-direction: column;
        padding: 0;
        width: 100%;
        transform: none;
    }
    .mega-columns {
        flex-direction: column;
        width: 100%;
    }
    .mega-column {
        width: 100%;
        margin-bottom: 10px;
    }
    .mega-header {
        padding: 10px 15px;
        font-size: 16px;
    }
    .mega-column a {
        padding: 8px 15px;
    }

    /* Hero sections: stack vertically */
    #hero2, #hero3, #hero-center-text {
        flex-direction: column;
        gap: 20px;
        padding: 20px 10px;
        min-height: auto;
    }
    .hero2-image, .hero3-image, .hero-center-image,
    .hero2-content, .hero3-content, .hero-center-content {
        flex: 1 1 100%;
        margin-left: 0;
        max-width: 100%;
    }
    .hero-text {
        padding-left: 20px;
        max-width: 100%;
        font-size: 20px;
    }
    .hero-text h2 {
        font-size: 28px;
    }
    .hero-text p {
        font-size: 16px;
    }

    /* Hero 4 grid already handled by existing media queries */

    /* Footer: stack columns */
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-left, .footer-right {
        align-items: center;
        text-align: center;
        min-width: 100%;
    }
}
