/* ===========================
   HEADER (global) styles
   =========================== */
:root {
    --accent-green: #0B9444;
    --text-dark: #111;
    --header-bg: #fff;
    --header-radius: 12px;
}

/* reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html,
body {
    height: 100%;
    font-family: 'Playfair Display', serif;
}

body {
    font-family: "Poppins", sans-serif;
    background: #0B9444;
    /* quickly visible page bg while developing */
}

/* === HEADER BASE === */
.main-header {
    position: absolute;
    top: 8% !important;
    left: 50%;
    transform: translateX(-50%) !important;
    width: 52%;
    background: var(--header-bg, #ffffff);
    border-radius: 16px;
    padding: 14px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 200;
    transition: all 0.4s ease-in-out;
    will-change: transform, width, padding, border-radius, background, box-shadow;
}

/* === EXPANDED (on scroll) === */
.main-header.expanded {
    position: fixed;
    top: 0 !important;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    border-radius: 0 0 20px 20px;
    padding: 18px 60px;
    background: linear-gradient(to bottom, var(--header-bg, #ffffff) 0%, #0B9444 155%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/* logo container */
.logo {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* image logo */
.logo img {
    height: 48px;
    /* adjust height as needed */
    width: auto;
    /* maintain aspect ratio */
    display: block;
}

/* nav */
.main-header .nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
    /* margin-top: 15px; */
}

.main-header .nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 6px 0;
    transition: color .22s ease;
}

.main-header .nav a.active,
.main-header .nav a:hover {
    color: var(--accent-green);
}

/* Mobile Menu */
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 250;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav container should be positioned for symbol placement */
.main-header .nav {
    position: relative;
}

.main-header .nav ul {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === RESPONSIVE: TABLET & MOBILE === */
@media (max-width: 900px) {

    /* Base mobile header */
    .main-header {
        position: fixed;
        top: 0 !important;
        margin-bottom: 10px !important;
        transform: none;
        width: 100% !important;
        border-radius: 0;
        padding: 12px 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        justify-content: space-between;
        background: var(--header-bg, #ffffff);
    }

    /* Expanded mobile header (on scroll) */
    .main-header.expanded {
        padding: 16px 24px;
        background: linear-gradient(to bottom, var(--header-bg, #ffffff) 0%, #0B9444 155%);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 16px 16px;
    }

    /* Navigation (hidden by default) */
    .main-header .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--header-bg, #ffffff);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
        border-radius: 0 0 14px 14px;
    }

    .main-header .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-header .nav li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .main-header .nav a {
        display: block;
        padding: 12px 20px;
        color: #0b9444;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Show mobile nav when active */
    .main-header.nav-open .nav {
        max-height: 500px;
    }
}

/* ********************************* Footer  */
/* ====== GLOBAL FOOTER STYLES ====== */

.get-in-touch {
    background-color: #0d0d0d;
    text-align: center;
    padding: 0px 20px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
}

.get-in-touch h2 {
    color: #0B9444;
    font-size: 36px;
    margin-bottom: 10px;
    padding-top: 10px;
}

.email-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.email-form input {
    width: 400px;
    max-width: 80%;
    padding: 15px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 16px;
}

.email-form button {
    padding: 12px 40px;
    background: #000;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.email-form button:hover {
    border: 1px solid #fff;
}

.global-footer {
    background: #0d0d0d;
    color: #fff;
    padding: 10px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    border: 1px solid rgba(0, 255, 100, 0.4);
    border-radius: 10px;
    padding: 20px 20px;
    margin-bottom: 10px;
    border-bottom: none;
}

.footer-item {
    flex: 1 1 220px;
    margin: 10px;
}

.footer-item h4 {
    color: #0B9444;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-item p {
    margin: 0;
    line-height: 1.6;
    color: #ccc;
}

.social-icons {
    display: flex;
    gap: 15px !important;
    align-items: center;
    justify-content: center;
}

.social-icons i {
    font-size: 26px;
    cursor: pointer;
    color: white;
    transition: color 0.3s;
}

.social-icons i:hover {
    color: #0B9444;
}

.footer-bottom {
    text-align: center;
    width: 98%;
    margin: auto;
    font-size: 14px;
    color: #888;
    border-top: 1px solid rgba(0, 255, 100, 0.4);
    margin-top: -20px;
    padding-top: 6px;
    /* padding-top: 10px; */
}



/* pop up card */
.popup {
    display: none;
    /* Initially hidden */
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 500px;
    background-color: #ffffff;
    background-image: url(../images/Background.png);
    background-size: cover;
    background-position: center;
    transform: translate(-50%, -50%);
    padding: 30px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    z-index: 1000;
    text-align: center;
    /* font-family: "Poppins", sans-serif; */
}

/* Heading */
.pop-up-heading {
    font-size: 36px;
    font-weight: 700;
    color: #0B9444;
    /* Theme orange */
    margin-bottom: 15px;
}

/* Paragraph */
.pop-up-para {
    color: #000;
    /* Olive green */
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
}

/* Button */
.close-btn {
    background-color: #000;
    /* Olive green */
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
}

.close-btn:hover {
    background-color: #0B9444;
}


/********************* whatsapp container */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    text-align: right;
    height: 60px;
    z-index: 100000;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.whatsapp-container i {
    font-size: 48px;
    color: #25D366;
    justify-content: flex-end;
    animation: whatsappbeat 1.5s infinite;
    transition: transform 0.3s ease;
}

@keyframes whatsappbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.call-us-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9999;
}

.call-us-link {
    display: flex;
    align-items: center;
    background-color: #0B9444;
    color: white;
    padding: 10px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.call-us-link i {
    font-size: 20px;
    margin-right: 10px;
}

.call-us-link:hover {
    background-color: #084b85;
    transform: scale(1.05);
}


/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 1024px) {
    .get-in-touch h2 {
        font-size: 20px;
        padding-top: 5px;
    }

    .email-form {
        flex-direction: column;
        gap: 15px;
    }

    .email-form input {
        width: 80%;
        max-width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    .email-form .btn-filled {
        width: 100%;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .footer-item {
        flex: 1 1 100%;
        margin: 10px 0;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 13px;
        padding-top: 8px;
    }
}

@media (max-width: 768px) {
    .get-in-touch h2 {
        font-size: 26px;
    }

    .email-form input {
        padding: 10px;
        font-size: 14px;
    }

    .email-form .btn-filled {
        padding: 12px 20px;
    }

    .footer-item h4 {
        font-size: 16px;
    }

    .footer-item p {
        font-size: 14px;
    }

    .social-icons i {
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .get-in-touch {
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
        padding: 5px 10px;
    }

    .get-in-touch h2 {
        font-size: 22px;
    }

    .email-form input {
        padding: 8px;
        font-size: 13px;
    }

    .email-form .btn-filled {
        padding: 4px 40px;
        font-size: 14px;
    }

    .footer-item h4 {
        font-size: 14px;
    }

    .footer-item p {
        font-size: 12px;
    }

    .social-icons i {
        font-size: 14px;
    }

    .footer-bottom {
        font-size: 11px;
    }
}