/* Reset some defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins';
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px 50px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    /* or your navbar background */
    z-index: 1000;
    /* very high so it stays above everything */
    padding: 10px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* optional: add a small shadow */
}

.logo img {
    height: 60px;
    margin-top: 10px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    position: relative;
}

.nav-links a.active {
    color: #f58220;
    position: relative;
    padding-bottom: 8px;
    /* Give space for curve */
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 10px;
    background: url('../images/curved-shape.svg') no-repeat center;
    background-size: contain;
    pointer-events: none;
}

/* Contact Button */
.contact-button a {
    background-color: #f58220;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-button a span {
    font-size: 14px;
}

/* DESKTOP BASE */
.menu-toggle {
    display: none;
    width: 28px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background: #000;
    transition: 0.3s ease;
}

/*Mobile  X animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.contact-us {
    display: none;
}

/* MOBILE FIXES */
@media (max-width: 768px) {
    .navbar {
        padding: 0px 40px;
        justify-content: space-between;
    }

    /* FIX: must be flex, not block */
    .menu-toggle {
        display: flex;
    }

    .logo img {
        height: 35px;
    }

    /* FIX: remove display:none (breaks animation) */
    .nav-links {
        position: absolute;
        top: 55px;
        left: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;

        /* slide animation */
        overflow: hidden;
        max-height: 0;
        padding: 0;
        transition: max-height 0.35s ease;
    }

    /* expanded state */
    .nav-links.active {
        max-height: 300px;
        padding: 20px 0;
    }

    .contact-us {
        display: block;
    }

    .contact-button {
        display: none;
    }
}


@media (min-width: 1280px) and (max-width: 1919px) {
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-around;
        background-color: white;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: white;
        /* or your navbar background */
        z-index: 1000;
        /* very high so it stays above everything */
        padding: 8px 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        /* optional: add a small shadow */
    }

    .logo img {
        height: 40px;
    }

}

/* footer */
/* footer part */
.footer-section {
    background-color: #f57c00;
    /* Orange background */
    color: white;
    font-family: 'Poppins', sans-serif;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding: 0px 35px;
    flex-wrap: wrap;
}

.footer-column {
    /* flex: 1; */
    min-width: auto;
    margin: 10px;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-column p {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.5;
}

.footer-column i {
    margin-right: 10px;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    color: white;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #cfd8dc;
}

/* Bottom gray part */
.footer-bottom {
    background-color: #c0c0c0;
    padding: 10px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #333;
    font-size: 14px;
}

.privacy-policy {
    cursor: pointer;
    text-decoration: underline;
}

.privacy-policy:hover {
    color: black;
}

/* 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: #f58220;
    /* Theme orange */
    margin-bottom: 15px;
}

/* Paragraph */
.pop-up-para {
    color: #000;
    /* Olive green */
    font-size: 18px;
    font-weight: 600;
    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: #f58220;
}

@media (max-width: 600px) {
    .popup {
        width: 90%;
        padding: 20px 15px;
    }

    .pop-up-heading {
        font-size: 28px;
    }

    .pop-up-para {
        font-size: 16px;
    }

    .close-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
}



/* footer */

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 5px;
    }

    .footer-column {
        width: 100%;
        margin: 5px 0;
    }

    .footer-column h3 {
        font-size: 18px;
        margin: 0;
    }

    .footer-column p {
        font-size: 14px;
        margin: 0;
    }

    .social-icons {
        display: flex;
        gap: 15px;
        justify-content: center;
        margin: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
        gap: 10px;
        align-items: center;
    }

    .footer-bottom p {
        margin: 0;
    }
}