/* ================= GLOBAL IMAGE CONTROL ================= */

img {
        max-width: 100%;
        height: auto;
}

/* ================= HEADER CONTAINER ================= */

.site-header {
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 1000;
}

/* ================= TOP BAR ================= */

.topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: clamp(6px, 1vw, 12px) clamp(12px, 3vw, 30px);
        background: black;
        gap: 20px;
        flex-wrap: nowrap;
        min-width: 0;
}

/* elements inside top bar */

.topelements {
        display: flex;
        align-items: center;
        gap: 20px;
        flex: 0 0 70%;
        max-width: 70%;
        min-width: 0;
}


.video-consult {
        background: #dfd9db;
        /* maroon */
        color: white;
        padding: clamp(8px, 1.5vw, 14px) clamp(14px, 2vw, 22px);
        border-radius: 6px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        animation: pulseCTA 2.5s infinite;
        font-size: clamp(14px, 2.5vw, 18px);
        font-weight: 600;
}



a.video-consult {
        background: #8b0428;
        color: white;
}

/* remove blue link look */

.video-consult:link,
.video-consult:visited {
        color: white;
        text-decoration: none;
        /* font-size: clamp(20px, 1vw, 24px); */
        text-align: center;

}

/* hover effect */

.video-consult:hover {
        background: #5a0821;
        transform: translateY(-2px);
}

@keyframes pulseCTA {

        0% {
                transform: scale(1);
        }

        50% {
                transform: scale(1.07);
        }

        100% {
                transform: scale(1);
        }

}

/* ================= CENTER LOGO ================= */

.logo {
        width: clamp(60px, 20vw, 120px);
        height: auto;
        object-fit: contain;
}

.logo-center {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex: 0 0 30%;
        max-width: 30%;
        min-width: 0;
        padding-right: 10px;
}

/* ================= NAV BAR ================= */

.nav-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        background: white;
        border-top: 1px solid #eee;
        position: relative;
        background: azure;

}


.phonemobilebox {
        display: flex;
        align-items: center;
        gap: 14px;
        min-width: 80px;
}



.icon-call,
.icon-whatsapp {
        width: 28px;
        height: 28px;
        cursor: pointer;
        transition: transform 0.3s ease;
}

.icon-call {
        animation: tiltIcon 3s infinite;
}

.icon-whatsapp {
        animation: tiltIcon 3s infinite;
        animation-delay: 1.5s;
}

@keyframes tiltIcon {

        0% {
                transform: rotate(0deg);
        }

        5% {
                transform: rotate(-15deg);
        }

        10% {
                transform: rotate(15deg);
        }

        15% {
                transform: rotate(-10deg);
        }

        20% {
                transform: rotate(10deg);
        }

        25% {
                transform: rotate(0deg);
        }

        100% {
                transform: rotate(0deg);
        }

}

/* ================= ICONS ================= */

.phone img,
.whatsapp img {
        width: 18px;
        height: 18px;
        object-fit: contain;
        display: inline-block;
        vertical-align: middle;
        margin-right: 6px;
        border-radius: 50%;
}

.top-right a {
        display: flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        color: #333;
        font-size: 14px;
}









/* ================= NAVIGATION MENU ================= */

.nav-menu {
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
        align-items: center;
        /* gap:0; */
}

.nav-menu a {
        text-decoration: none;
        font-weight: 600;
        color: #333;
        font-size: 15px;
}

.nav-menu a:hover {
        color: #d63384;
}

/* ================= DROPDOWN ================= */

.dropdown {
        position: relative;
}

/* hidden by default */

.submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        padding: 15px 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
        list-style: none;
        min-width: 220px;
}

.submenu li {
        padding: 6px 0;
        font-size: 14px;
}

/* visible only when clicked */

.dropdown.active .submenu {
        display: block;
}

/* ================= HAMBURGER ================= */

/* ================= HAMBURGER ================= */
.hamburger span {
        width: 26px;
        height: 3px;
        background: #8b0428;
        margin: 4px 0;
        transition: all 0.35s ease;
        border-radius: 2px;
        transform-origin: center;
}

/* CROSS */

.hamburger {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        width: 42px;
        height: 42px;
        background: #f5f5f5;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2000;
}

.hamburger.active span:nth-child(1) {
        transform: translateY(13px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
}

.hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
}



.hamburger.active {
        background: #8b0428;
}

.hamburger.active span {
        background: white;
}

.submenu a {
        font-size: 14px;
        font-weight: 500;
        color: #444;
}

/* ================= FOOTER ================= */

.site-footer {
        background: #222;
        color: white;
        padding: 50px 20px;
        background: linear-gradient(to right, #1a1a1a, #2b2b2b);
}

.footer-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 40px;
        max-width: 1200px;
        margin: auto;
        text-align: left;
}

.footer-col h3 {
        margin-bottom: 15px;
        font-size: 18px;
        color: #fff;
}

.footer-col ul {
        list-style: none;
        padding: 0;
}

.footer-col a:hover {
        color: #ff4d88;
        text-decoration: underline;
}

.footer-col ul li {
        margin-bottom: 8px;
        text-align: left;
        line-height: 1.5;
}

.footer-col a {
        color: white;
        text-decoration: none;
}

.footer-logo {
        width: 120px;
        margin-bottom: 15px;
}

.footer-col {
        text-align: left;
}

.footer-bottom {
        border-top: 1px solid #444;
        margin-top: 40px;
        padding-top: 20px;
        text-align: center;
        font-size: 14px;
}

.footer-disclaimer {
        font-size: 13px;
        color: #aaa;
        max-width: 800px;
        margin: 0 auto 10px;
        line-height: 1.5;
}

.footer-bottom {
        border-top: 1px solid #444;
        margin-top: 40px;
        padding-top: 20px;
        text-align: center;
        font-size: 14px;
        color: #ccc;
}

/* ================= Social Media ================= */
.social-media {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;

        padding: 15px 0;
        margin: 20px 0;
        flex-wrap: wrap;
}

/* ICON STYLE */

.smedia {
        width: 38px;
        height: 38px;
        object-fit: contain;

        transition: all 0.3s ease;
        cursor: pointer;
}

/* HOVER EFFECT */

.smedia:hover {
        transform: scale(1.15);
}

.social-media img {
        width: 40px !important;
        height: 40px !important;
        max-width: none !important;
        object-fit: contain;
        display: inline-block;
}

.sectionBoxesWrapper {
        max-width: 1000px;
        margin: 40px auto;
        padding: 35px 30px;
        background: #f6f9fb;
        border-radius: 12px;
        border: 1px solid #e2e8ee;
        text-align: center;
}

.sectionBoxesTitle {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 25px;
        color: #2c3e50;
}

.sectionBoxesContainer {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 14px;
}

.sectionBox {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 48px;
        padding: 0 15px;

        background: #ffffff;
        border: 1px solid #d6dce2;
        border-radius: 8px;

        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        color: #333;

        transition: all .2s ease;
}

.sectionBox:hover {
        background: #eef4f8;
        transform: translateY(-2px);
        border-color: #c4d0da;
}

@media (max-width: 992px) {
        /*********************************************************
************* Styling Pop Up Message to the Visitor on Site
**********************************************************/

        .popup-container {
                display: none;
                position: fixed;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                padding: 2%;
                /* Adjust padding as 2% */
                max-width: 80vw;
                /* Adjust max-width as needed */
                max-height: 80vh;
                /* Adjust max-height as needed */
                background-color: #FFF;
                /* Adjust background color as needed */
                box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
                z-index: 1000;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: space-between;
                border: 2px solid black;
                visibility: hidden;
        }

        /* Style for the close button */
        .popup-container .popup-close {
                cursor: pointer;
                background-color: #333;
                color: #FFF;
                border: none;
                border-radius: 8px;
                /* Add border-radius */
                margin-bottom: 2%;
                /* Adjust margin as 2% */
                font-size: 1.5vw;
                /* Decrease font-size */
        }

        /* Style for clickable icons */
        .popup-container .popup-icons {
                display: flex;
                gap: 2%;
                /* Adjust gap as 2% */
                justify-content: space-around;
                /* Align icons at the center */
                width: 100%;
                /* Ensure icons take full width */
                padding-bottom: 2vw;
                /* Adjust padding-bottom as 2vw */
        }

        .popup-container .popup-icon {
                cursor: pointer;
                font-size: 1.5vw;
                /* Decrease font-size */
                animation: callDance 1s ease-in-out;
                /* Adjust animation duration as needed */
                animation-delay: 2s;
                /* Adjust delay as needed */
        }

        /* Style for the pop-up content (image) */
        .popup-container .popup-content {
                width: 100%;
                /* Adjust width as needed */
                max-height: 60vh;
                /* Adjust max-height as needed */
        }

        /* Style for the cancel button */
        .popup-container .popup-cancel {
                background-color: #0b69a3;
                /* Set background color */
                color: #FFF;
                /* Set font color */

                border: none;
                border-radius: 8px;
                /* Add border-radius */
                font-size: 1.25vw;
                /* Decrease font-size */
                width: 20%;
        }

        /* Style for the WhatsApp icon */
        .popup-container .popup-whatsapp {
                color: #25d366;
                /* Real WhatsApp green color */
                animation: whatsappDance 1s ease-in-out;
        }

        .popup-container .popup-call {
                animation: callDance 1s ease-in-out;
                /* Adjust animation duration as needed */
                animation-delay: 0.5s;
                /* Adjust delay as needed */
        }

        @keyframes whatsappDance {

                0%,
                100% {
                        transform: translateY(0);
                }

                25%,
                75% {
                        transform: translateY(-10px);
                }

                50% {
                        transform: translateY(0);
                }
        }

        /* Keyframes for call icon dancing animation */
        @keyframes callDance {

                0%,
                100% {
                        transform: translateY(0);
                }

                25%,
                75% {
                        transform: translateY(-10px);
                }

                50% {
                        transform: translateY(0);
                }
        }


}







@media (max-width: 768px) {
        .video-consult {
                display: flex;
                align-items: center;
                justify-content: center;

                width: 100%;
                max-width: 500px;
                /* 👈 prevents over-stretch on tablets */

                font-size: clamp(14px, 3vw, 22px);

                padding: clamp(8px, 1.5vw, 12px) clamp(12px, 2vw, 18px);
                /* 👈 better spacing */

                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;

                margin: 0 auto;
                /* 👈 keeps it centered nicely */
        }

        .nav-menu {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: #ffffff;
                flex-direction: column;
                align-items: flex-start;
                display: none;
                padding: 10px 0;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }

        .nav-menu.active {
                display: flex;
        }

        .nav-menu li {
                width: 100%;
                padding: 12px 20px;
        }

        /* RIGHT SIDE */
        .logo-center {
                display: flex;
                justify-content: flex-end;
                align-items: center;
                flex: 0 0 auto;
        }

        /* reduce logo size on mobile */


        /* LOGO */
        .logo {
                width: clamp(70px, 22vw, 110px);
                height: auto;
                object-fit: contain;
        }

        .nav-bar {
                justify-content: space-between;
        }

        /* dropdown inside mobile */

        .submenu {
                position: static;
                box-shadow: none;
                padding: 10px 0;
        }

        .submenu li {
                padding: 8px 0;
        }

        /* hamburger visible */


        .hamburger {
                display: flex;
                /* background: #8b0428; */
        }
}



@media (max-width: 480px) {
        .topbar {
                display: flex;
                flex-wrap: nowrap;
                align-items: center;
        }

        .topelements {
                flex: 1;
                max-width: 100%;
                min-width: 0;
        }


        a.video-consult {
                font-size: 15px;
                padding: 4px 4px;
        }

        .logo {
                width: 80px;
        }
}


@media (max-width: 400px) {
        a.video-consult {
                font-size: 10.5px;
                padding: 3px 3px;
        }

        .logo img {
                width: 60px;
        }
}


@media (max-width: 200px) {

        a.video-consult {
                font-size: 11px;
                padding: 1px 1px;
        }


}