/*first section start*/
body {
    height: 100%;
    font-family: 'Karla', sans-serif;
}

/* --- Fixed Contact Us Button --- */
.contact-us-fixed {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: 100% 100%;
    background-color: #238DC1;
    color: #fff;
    font-size: 0.9em;
    cursor: pointer;
    z-index: 100;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: bold;
    /* Rounded top-left and top-right after rotation */
    border-radius: 50px;
    z-index: 9999;
    font-family: 'Karla', sans-serif;
}

.contact-us-fixed a{
     padding: 15px 30px;
     display: block;
}
.contact-us-fixed a,
.contact-us-fixed a:hover {
    color: #fff !important;
    text-decoration: none;
}

#contactUsFixedBtn {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#contactUsFixedBtn.show {
    opacity: 1;
    visibility: visible;
}

.section-heading {
    font-size: 48px !important;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

.section-para {
    font-size: 16px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
}

/* header css start */
/* Custom CSS for Header */
.top-header-section {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 11;
}

/* --- Top Bar Styling --- */
.top-bar {
    background-color: #1C355E;
    color: #fff;
    font-size: 14px;
    position: relative;
}

/* Purple line visual effect */
/*
.top-bar::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--purple-line);
}*/
.logo-text img {
    width: 100%;
    height: auto;
    max-width: 40%;
}

/* Functional Contact Links Styling */
.top-bar .top-contact-link {
    font-size: 14px;
    font-family: 'Karla', sans-serif;
    color: #fff;
    /* Ensure the text remains white */
    text-decoration: none;
    /* Remove underline */
    transition: color 0.2s;
    white-space: nowrap;
    /* Prevents wrapping mid-link */
    display: inline-block;
    /* Allows vertical margin if needed on mobile */
}

.top-bar .top-link {
    font-size: 16px;
    color: #fff;
    /* Ensure the text remains white */
    text-decoration: none;
    /* Remove underline */
    transition: color 0.2s;
    white-space: nowrap;
    /* Prevents wrapping mid-link */
    display: inline-block;
    /* Allows vertical margin if needed on mobile */
    font-family: 'Karla', sans-serif;

}

.top-bar .top-contact-link:hover,
.top-bar .top-link:hover {
    color: #ced4da;
}

.top-bar .whatsapp-btn {
    background-color: rgba(37, 211, 102, 0.3);
    border: 1px solid #25D366;
    padding: 9px 20px;
    font-size: 16px;
    color: #fff;
    border-radius: 50px;
    font-family: 'Karla', sans-serif;

}

/* --- Main Nav Styling --- */
.main-nav-bar {
    background-color: #ffffff;
    padding: 1rem 0;
}

/* Custom Logo Styling */
/* Navigation Links */
header .nav-item a {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s;
    padding-left: 10px;
    font-family: 'Karla', sans-serif;
}



/* Search Icon Link */
.main-nav-bar .search-icon-link {
    font-size: 1.1rem;
    color: #000;
    font-family: 'Karla', sans-serif;
}

/* Book Appointment Button */
.book-appointment-btn {
    background-color: #1C355E;
    color: #fff !important;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    padding: 20px 20px;
    text-transform: uppercase;
    transition: background-color 0.2s;
    text-decoration: none;
    font-family: 'Karla', sans-serif;
    overflow: hidden;
}

.book-appointment-btn span {
    transition: transform 0.5s ease-in-out;
    display: inline-block;
}

.book-appointment-btn:hover span {
    transform: scale(1.1);
}

.book-appointment-btn:hover {
    color: #fff;
}

#primary-menu li.menu-item-has-children>a {
    position: relative;
}

#primary-menu li.menu-item-has-children>a::after {
    display: none;
}

/* --- Responsiveness Adjustments --- */

@media (max-width: 991px) {

    /* Tablet and Mobile adjustments */
    .top-bar .row>div {
        text-align: center !important;
        margin: 0.5rem 0;
    }

    .top-bar .top-contact-link {
        margin-bottom: 0.5rem;
        display: block;
        /* Stack links on small screens */
    }

    .top-bar .whatsapp-btn,
    .top-bar .top-link {
        margin-bottom: 0.5rem;
    }

    .main-nav-bar .navbar-brand {
        margin-right: auto;
    }

    .main-nav-bar .navbar-nav {
        text-align: center;
    }

    .main-nav-bar .nav-item {
        margin-top: 0.5rem;
    }

    .book-appointment-btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    #primary-menu li.menu-item-has-children>a {
        padding-right: 35px;
    }

    #primary-menu li a {
        width: 100%;
        font-size: 14px;
        color: #000 !important;
    }

    #primary-menu li.menu-item-has-children>a::after {
        display: block;
        content: "\f107";
        font-family: "FontAwesome";
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        /*font-size: 18px;*/
    }

    header .sub-menu {
        position: relative !important;
        top: auto !important;
        margin: 0;
        display: none;
        left: auto !important;
        width: auto !important;
        padding: 0px !important;
    }

    header .sub-menu li {
        width: 100% !important;
    }

    header .sub-menu li:hover {
        background-color: transparent !important;
    }

    #primary-menu li.menu-item-has-children.open>a::after {
        transform: translateY(-50%) rotate(180deg);
    }

    header .nav-item {
        margin-left: 0;
    }

    #primary-menu .sub-menu {
        display: none;
    }

    #primary-menu li.menu-item-has-children.open>.sub-menu {
        display: block !important;
    }

    #navbarSupportedContent {
        overflow: scroll;
        max-height: 500px;
    }

    li.search {
        margin-left: 1.5rem;
        text-align: right;
        padding-right: 1rem;
    }
}

/*header css end*/



/*extra media query*/
@media screen and (min-width: 1600px) and (max-width: 2000px) {
    .hero-section .hero-content-overlay {
        left: 10%;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
    .navbar-brand {
        margin-right: 0;
    }

    .main-nav-bar .nav-link {
        font-size: 14px;
    }

    .book-appointment-btn {
        font-size: 14px;
    }

    .hero-section .main-title {
        font-size: 80px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1024px) {
    .hero-section .hero-content-overlay {
        left: 4%;
    }

    .hero-section .main-title {
        font-size: 60px;
    }

    .top-bar .top-contact-link {
        font-size: 12px;
    }

    .top-bar .top-link,
    .top-bar .whatsapp-btn {
        font-size: 14px;
    }

    .book-appointment-btn {
        font-size: 12px;
        padding: 10px;
    }

    header .nav-item a {
        font-size: 12px !important;
    }

    header .nav-item {
        margin-left: 8px !important;
    }

    #primary-menu {
        margin: 0;
    }

    .header-logo .site-title-new img {
        width: 35px;
    }

    .footer-content-bottom {
        gap: 20px;
    }

    #primary-menu li.menu-item-has-children>a::after {
        display: inline-block;
        content: "\f107";
        /* FontAwesome chevron */
        font-family: "FontAwesome";
        font-size: 12px;
        transition: transform 0.3s ease;
        margin-left: 3px;
    }

    #primary-menu li.menu-item-has-children.open>a::after {
        transform: rotate(180deg);
    }

    #primary-menu .sub-menu {
        display: none;
    }

    #primary-menu li.menu-item-has-children.open>.sub-menu {
        display: block;
    }

    header .sub-menu {
        top: 50px;
        left: -133px;
        width: 800px;
    }

    header .sub-menu li {
        width: 25%;
    }

}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .top-bar .row>div:nth-child(1) {
        display: flex;
        flex-direction: column;
    }

    .hero-section .hero-content-overlay {
        left: 4%;
    }
    header .nav-item:hover:after, .nav-item.current-menu-item:after{
        opacity: 0 !important;
    }
}

@media (max-width: 991px) {
    .top-contact-link.me-3{
        font-size: 11px !important;
    }
}