/* ==========================================================
           1. STYLES FROM INDEX.HTML (General, Top Bar, Header, Footer)
           ========================================================== */

/* --- General Reset & Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root {
    --primary-yellow: #fbbc05;
    --dark-gray: #333333;
    --light-gray: #e9ecef;
    --text-gray: #666666;
    --white: #ffffff;
}

body {
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent side scrolling */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.logo img {
    width: 350px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    /* Added responsive padding */
}

/* --- Top Bar --- */
.top-bar {
    background-color: #767676;
    color: var(--white);
    font-size: 15px;
    font-weight: 400;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.top-bar-left i {
    margin-right: 10px;
    font-size: 16px;
    color: white;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-right a {
    color: var(--white);
    font-size: 16px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.top-bar-right a:hover {
    color: var(--primary-yellow);
}

/* --- Header / Navbar --- */
header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Mobile Menu UI - Hidden by default on desktop */
.menu-toggle {
    display: none;
}

.menu-header {
    display: none;
}

.close-menu {
    display: none;
}

.menu-overlay {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    font-weight: 600;
    font-size: 17px;
}

.nav-menu li.active>a {
    background: var(--primary-yellow);
    padding: 15px 16px;
    border-radius: 10px;
    color: var(--dark-gray);
}

.nav-menu li.btn-contact a {
    background: var(--primary-yellow);
    padding: 15px 16px;
    border-radius: 10px;
    color: var(--dark-gray);
}

/* --- Dropdown Menu Styles --- */
.has-dropdown {
    position: relative;
    padding: 10px 0;
}

.dropdown {
    display: none;
    position: absolute;
    /* top: 100%; */
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 210px;
    padding: 10px 0;
    border-radius: 4px;
    z-index: 1001;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown li {
    width: 100%;
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-gray);
    font-weight: 400;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
    background: transparent;
}

.dropdown li a:hover {
    background-color: var(--light-gray);
}

/* --- Footer --- */
footer {
    /* background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('images/footer.png') center/cover no-repeat; */
    background-color: #2a2a2a;
    color: #e9ecef;
    padding: 40px 15px 20px;
    font-size: 15.5px;
    position: relative;
    background-image: url(../images/footer.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;

}

footer::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    background-color: #00000078;
    width: 100%;
    height: 100%;

}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.footer-logo {
    padding: 0;
    display: inline-flex;
    border-radius: 4px;
    position: relative;

}

.footer-logo img {
    width: 500px;
}

.footer-social {
    display: flex;
    gap: 12px;
    position: relative;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: var(--white);
    transition: 0.3s;
    font-size: 14px;
}

.footer-social a:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--dark-gray);
}

.footer-divider {
    border: 0;
    height: 1px;
    background: rgb(255 255 255 / 59%);
    margin: 0 0 40px 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
}

.footer-col p {
    line-height: 1.8;
    color: #ffffff;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #d1d1d1;
    transition: 0.3s;
    font-weight: 600;
}

.footer-col ul li a:hover {
    color: var(--primary-yellow);
}

.footer-contact li {
    display: flex;
    margin-bottom: 18px;
    color: white;
    align-items: flex-start;
    font-weight: 500;
}

.footer-contact i {
    margin-right: 15px;
    margin-top: 5px;
    color: var(--white);
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 0;
    padding-bottom: 20px;
    font-size: 16px;
    color: #fffbfb;
    font-weight: 500;
    position: relative;

}

/* --- Floating Buttons --- */
.float-wa {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: background-color 0.3s;
}

.float-wa:hover {
    background-color: #1ebe57;
    color: white;
}

.float-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 35px;
    height: 35px;
    background-color: #f7c307;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.float-top:hover {
    background-color: #e0a800;
}

/* ==========================================================
           2. SPECIFIC STYLES FOR CONTACT PAGE CONTENT
           ========================================================== */

/* --- Page Hero Banner --- */
.page-banner {
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/banner-1.jpeg') center/cover; */
    /* height: 400px; */
    padding-top: 200px;
    padding-bottom: 200px;
    padding-left: 0px;
    padding-right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);

    position: relative;
    background-image: url(../images/contact-banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.page-banner::before {

    position: absolute;
    top: 0;
    left: 0;
    content: "";
    background-color: #00000078;
    width: 100%;
    height: 100%;
}

.page-banner h1 {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

/* --- Contact Section --- */
.contact-section {
    padding: 50px 0;
    padding-left: 20px;
    padding-right: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h5 {
    font-size: 14px;
    color: black;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: Roboto;
}

.contact-info h2 {
    font-size: 24px;
    color: black;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.4;
    font-family: Roboto;
}

.contact-info p {
    color: #7A7A7A;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    font-size: 30px;
    color: var(--dark-gray);
    margin-right: 20px;
    margin-top: 3px;
}

.contact-item p {
    margin: 0;
    color: #7A7A7A;
    font-size: 15px;
    text-align: left;
}

/* Contact Form Box */
.contact-form-box {
    background-color: #e9ecef;
    padding: 40px;
    border-radius: 20px;
}

.contact-form-box h3 {
    font-size: 26px;
    margin-bottom: 25px;
    color: var(--dark-gray);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #a0a0a0;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #007bff;
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* --- Map Section --- */
.map-section iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* ==========================================================
           3. RESPONSIVE DESIGN (Merged index.html & Contact specific)
           ========================================================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        width: 100%;
    }

    .top-bar-left span {
        margin-right: 0px;
        margin-bottom: 5px;
    }

    /* --- Left Side Slide-in Menu Styles --- */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: #333;
        cursor: pointer;
        border: 1px solid #ccc;
        padding: 6px 12px;
        border-radius: 4px;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1500;
    }

    .menu-overlay.active {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -300px;
        /* Hide off screen initially */
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 0;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease;
        z-index: 2000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
        /* Slide in to view */
    }

    .menu-header {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #ddd;
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .mobile-menu-logo {
        height: 40px;
    }

    .close-menu {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: var(--dark-gray);
        border: 1px solid #ccc;
        padding: 4px 10px;
        border-radius: 4px;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu li a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
    }

    .nav-menu li.active>a {
        background: transparent;
        /* Remove pill shape on mobile */
        color: var(--primary-yellow);
        padding: 15px 20px;
        border-radius: 0;
    }

    .nav-menu li.btn-contact a {
        background: transparent;
        color: var(--primary-yellow);
        padding: 15px 20px;
        border-radius: 0;
    }

    /* Fix dropdown for side menu */
    .has-dropdown .dropdown {
        position: relative;
        box-shadow: none;
        background: #f8f8f8;
        padding: 0;
        min-width: 100%;
        display: none;
        /* ADDED: Hidden by default on mobile */
    }

    /* ADDED: Disable hover opening on mobile */
    .has-dropdown:hover .dropdown {
        display: none;
    }

    /* ADDED: Show only when active class is added by clicking */
    .has-dropdown.active .dropdown {
        display: block;
    }

    /* ADDED: Smoothly rotate the arrow when clicked */
    .has-dropdown>a i {
        transition: transform 0.3s ease;
    }

    .has-dropdown.active>a i {
        transform: rotate(180deg);
    }

    .dropdown li {
        border-bottom: none;
    }

    .dropdown li a {
        padding-left: 40px;
        font-size: 15px;
    }

    /* --------------------------------- */

    .footer-grid {
        /* grid-template-columns: 1fr; */
        text-align: left;
    }

    .footer-top {
        /* flex-direction: column; */
        gap: 20px;
    }

    .footer-contact li {
        justify-content: left;
        /* flex-direction: column; */
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .footer-contact i {
        margin-right: 0;
    }

    .contact-form-box {
        padding: 30px 20px;
    }

    .page-banner {

        padding-top: 60px;
        padding-bottom: 60px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .logo img {
        width: 250px;
    }
}



@media (max-width: 480px) {
    .top-bar-left {
        flex-direction: column;
        gap: 5px;
    }

    .top-bar-left span {
        margin-right: 0;
    }

    .page-banner h1 {
        font-size: 32px;
    }

    .page-banner {

        padding-top: 60px;
        padding-bottom: 60px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-logo img {
        width: 330px;
    }
}

@media (max-width: 374px) {
    .footer-logo img {
        width: 300px;
    }
}