/* =====================================================================
   Yashoda IVF — Main Stylesheet #
   Purpose: Single-file stylesheet (restructured for readability).
   Notes:
   - Keep design tokens at top.
   - Keep component styles grouped.
   - Keep media queries near components where possible.
   ===================================================================== */

/* Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* =====================================================================
   Design tokens
   ===================================================================== */
:root {
    --primary-color: #e50e88;
    --secondary-color: #184676;
    --dark-color: #212529;

    --lightairforce: #D4E9FF;
    --lightpink: #ffdfec;
    --mediumpink: #f875a9;
    --darkpink: #B50C6B;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 125px;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0 !important;
    top: 0 !important;
}



#backToTop {
    position: fixed;
    right: 20px;
    bottom: 140px;
    z-index: 999;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--secondary-color);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
    /* hidden by default */
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#backToTop:hover {
    opacity: 0.8;
}

/* =====================================================================
   Utilities
   ===================================================================== */
.lightpink {
    color: var(--lightpink);
}

.mediumpink {
    color: var(--mediumpink);
}

.darkpink {
    color: var(--darkpink);
}

.airforce {
    color: var(--secondary-color);
}

.lightairforce {
    color: var(--lightairforce);
}



.box-shadow-type1 {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.hw64 {
    height: 64px;
    width: 64px;
}

.hw24 {
    height: 24px;
    width: 24px;
}

/* =====================================================================
   Typography helpers
   ===================================================================== */
h2.heading-type1 {
    text-transform: uppercase;
    color: var(--primary-color);
    font-size: 2rem;
}

h2.heading-type1 span {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Top Appointment Bar */
.top-appointment-bar {
    background-color: var(--darkpink);
    padding: 5px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
}

.btn-appointment-top {
    background: var(--darkpink);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    /* padding: 0.5rem 1rem; */
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-appointment-top:hover {
    color: #fff;
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Navigation */
.navbar {
    background-color: #fff;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    top: 40px;
    min-height: auto;
    padding: 0.5rem 0;
}

/* Header grid: logo left, menu center, utilities right */
.navbar .nav-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.navbar .nav-grid .navbar-brand {
    grid-column: 1 / 2;
}

.navbar .nav-grid .navbar-nav {
    grid-column: 2 / 3;
    justify-self: center;
}

.navbar .nav-grid .navbar-toggler,
.navbar .nav-grid .google-translate-wrapper {
    grid-column: 3 / 4;
    justify-self: end;
}

.navbar .container,
.navbar .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Logo sizing and inline menu tweaks */
.navbar-logo {
    height: 70px;
    width: auto;
    max-width: 280px;
    display: inline-block;
}

.navbar-nav .nav-link {
    padding: 0.35rem 0.75rem;
    color: #222;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .container-fluid.flex-nowrap {
    flex-wrap: nowrap;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}


.navbar .dropdown-menu {
    min-width: 220px;
    max-width: 320px;
    /* max-height: 420px; */
    overflow: auto;
    border-radius: 8px;
    padding: 0.25rem 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar .dropdown-menu .dropdown-item {
    padding: 0.6rem 1rem;
    white-space: nowrap;
}

/* Make long dropdowns scroll nicely */
.navbar .dropdown-menu::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.navbar .dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 6px;
}

/* Ensure dropdown caret looks subtle */
.nav-link.dropdown-toggle::after {
    margin-left: .35rem;
}

/* Simple Constructo-like navmenu styles (desktop & mobile) */
.navmenu {
    --bg: #ffffff;
}

.navmenu ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navmenu li {
    position: relative;
}

.navmenu a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .65rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    justify-content: flex-end;
}

/* Sync Menu SVG color with Link Text Color */
.navmenu a svg,
.navmenu a svg path,
.navmenu a svg circle,
.navmenu a svg rect {
    fill: currentColor !important;
    transition: fill 0.3s ease;
}

/* Handle stroke-based SVGs too */
.navmenu a svg [stroke] {
    stroke: currentColor !important;
    transition: stroke 0.3s ease;
}

.navmenu li.dropdown>a .toggle-dropdown {
    font-size: .9rem;
    transition: transform .2s ease;
}

.navmenu li.dropdown:hover>a .toggle-dropdown {
    transform: rotate(180deg);
}

.navmenu li.dropdown ul {
    position: absolute;
    top: calc(100% + .1rem);
    left: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: .25rem 0;
    display: none;
    z-index: 1100;
}

.navmenu li.dropdown ul li a {
    padding: .5rem 1rem;
    white-space: nowrap;
    display: block;
}

.navmenu li.dropdown ul li:hover a {
    color: var(--secondary-color);
    background: #ffffffb3;
}

.navmenu li.dropdown ul li:last-child a {
    border-bottom: none;
}

@media (min-width: 1200px) {
    .navmenu li.dropdown:hover>ul {
        display: block;
        background: #fff;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 0px 20px 20px;
        overflow: hidden;
        border: none;
    }

    .navmenu li:hover>a {
        color: var(--mediumpink);
    }

    .navmenu li.dropdown ul li:hover a {
        color: var(--mediumpink);
    }
}

/* Mobile: stack and collapsible */
@media (max-width: 1199px) {
    .navmenu {
        position: fixed;
        /* from absolute */
        top: 0;
        /* from top: 100% */
        bottom: 0;
        right: 0;
        width: 100%;
        /* sidebar width */
        transform: translateX(100%);
        /* hide off-screen on the left */
        opacity: 0;
        pointer-events: none;
        transition: transform .25s ease, opacity .2s ease;
        padding: 1rem 1.25rem;
        background: #fff;
        overflow-y: auto;
        /* vertical scroll if needed */
        z-index: 1050;
        /* above content, below navbar if needed */
    }

    /* when open, slide in */
    .navmenu.open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    /* keep your existing rules, only adjusted for sidebar context */

    .navmenu ul {
        flex-direction: column;
        gap: .5rem;
        align-items: flex-start;
    }

    .navmenu li {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: end;
    }

    .navmenu li a {
        border-bottom: 1px dotted #d1d1d1;
        width: 100%;
    }

    .navmenu li.dropdown ul li a {
        color: var(--secondary-color);
        border-bottom: none;
        width: 100%;
    }

    .navmenu li.dropdown ul {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: .5rem;
    }

    .navmenu li.dropdown.open>ul {
        display: block;
        background: inherit;
        border: none;
        padding-right: 30px;
        text-align: end;
    }

    .mobile-nav-toggle {
        font-size: 26px;
        color: var(--primary-color);
        cursor: pointer;
        border: none;
        background: transparent;
        color: inherit;
        padding: 0.25rem 0.5rem;
    }

    .mobile-nav-toggle:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(229, 14, 136, 0.12);
        border-radius: 6px;
    }

    .mobile-nav-toggle .bi-list::before {
        color: var(--secondary-color);
    }

    .nav-close-btn {
        font-size: 50px;
        color: var(--secondary-color);
        border: none;
        background: transparent;
        cursor: pointer;
        padding: 10px 10px 10px 10px;
    }
}


.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* offcanvas menu */

.offcanvas.offcanvas-end {
    top: 44px;
    width: 90%;
    color: rgb(240, 198, 199);
    height: 85%;
    margin: auto 20px auto auto;
}

.glass-card {
    /* width: 240px;
    height: 360px; */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(240, 198, 199, 0.5),
        inset 0 -1px 0 rgba(240, 198, 199, 0.1),
        inset 0 0 20px 10px rgba(240, 198, 199, 0.50);
    /* position: relative; */
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent);
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.8),
            transparent,
            rgba(255, 255, 255, 0.3));
}

.offcanvas-header .offcanvas-title {
    font-size: 32px;
}

.offcanvas-header .btn-close {
    width: 24px;
    height: 24px;
    border-radius: 30px;
    background-color: #fff;
}

.offcanvas .nav-link {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

/* Google Translate */


/* Hide Google Translate top banner */

.google-translate-wrapper {
    margin-left: 0 !important;
}

.goog-te-banner-frame {
    display: none !important;
}

.goog-te-balloon-frame {
    display: none !important;
}

/* Style the translate dropdown */
.goog-te-menu-value {
    color: #333 !important;
}

.goog-te-menu-value span {
    color: #333 !important;
}


.goog-te-gadget {
    color: transparent !important;
    font-size: 0px;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

.goog-te-gadget-simple {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

#google_translate_element select {
    background: #fff;
    color: var(--secondary-color);
    border: none;
    font-weight: bold;
    border-radius: 3px;
    padding: 8px 12px;
    border: 1px solid #ddd;
}

/* After the Google Translate CSS loads */
#google_translate_element .goog-te-gadget-icon {
    background-image: url('../images/icons/lang.png') !important;
    background-position: 0 0 !important;
    width: 50px !important;
    height: 50px !important;
    background-size: contain;
}

.goog-te-gadget-simple span {
    display: none !important;
}

/* Hero Section */
.hero-section {
    background-image: url('../images/banners/bg1.webp');
    background-size: cover;
    background-position: bottom right;
    background-repeat: no-repeat;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.3); */
    z-index: 1;
}

.hero-section .container,
.hero-section .container-fluid {
    position: relative;
    z-index: 2;
}

/* .hero-section .row {
    min-height: calc(100vh - 150px);
} */

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

button.hero-cta {
    color: #ffffff;
    padding: 5px 30px;
    font-size: 26px;
    border-radius: 0.5em;
    background: var(--darkpink);
    cursor: pointer;
    border: 1px solid var(--darkpink);
    transition: all 0.3s;
    box-shadow: 6px 6px 12px #0000002e, -6px -6px 12px #0000002e;
    margin-bottom: 10%;
}

button.hero-cta:active {
    color: #fff;
    box-shadow: inset 4px 4px 12px #e4adb1, inset -4px -4px 12px #d8b0b3;
}

.hero-image {
    text-align: center;
    /* animation: float 3s ease-in-out infinite; */
    max-height: 550px;
    margin-top: 5%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 992px) {
    .hero-section {
        background-position: center right;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
        margin-top: 5rem;
    }
}

/* Badge Section */
.badge-section {
    background-color: #fff;
}

.badge-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    width: 60%;
}

/* About Section */

.about-cards.flex-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.about-cards .card {
    flex: 0 0 calc(33.333% - 14px);
    border-radius: 10px;
    padding: 18px 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-cards .card:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.about-cards .card.type1 {
    background: linear-gradient(62deg, var(--lightpink) 0%, #fff 100%);
}

.about-cards .card.type2 {
    background: linear-gradient(62deg, var(--lightairforce) 0%, #fff 100%);
}

@media (max-width: 480px) {
    .about-cards .card {
        flex: 0 0 calc(33.333% - 10px);
        /* still 3x3 but a bit tighter on very small screens */
    }
}

/* DESKTOP: 9x1 – make each card narrower so all fit on one row */
@media (min-width: 992px) {
    .about-cards.flex-cards {
        flex-wrap: nowrap;
        /* single row */
        justify-content: space-between;
    }

    .about-cards .card {
        flex: 0 0 calc(10%);
        /* 9 small cards in one row */
    }
}

.about-cards .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: #ffffff;
    border: 2px solid #ffd2ea;
    color: var(--pink);
    font-size: 26px;
    font-weight: 700;
}

.about-cards .card-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.about-cards .card.type1 .card-title {
    color: var(--primary-color);
}

.about-cards .card.type2 .card-title {
    color: var(--secondary-color);
}

.about-cards .icon-image {
    width: 140px;
    height: auto;
    object-fit: contain;
}

/* Locations carousel (scoped under #location) */
#location {
    background: transparent;
}

.location-slide {
    max-width: 350px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    margin-bottom: 5px;
}

.location-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--lightairforce);
}

.location-slide a {
    text-decoration: none;
    color: inherit;
}

.location-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.location-name {
    color: var(--secondary-color);
    padding-top: 10px;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.service-card {
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    background-color: #f8f9fa !important;
    transform: translateY(-5px);
}

.service-card i {
    display: block;
}

/* Portfolio */
.portfolio-img {
    height: 200px;
    transition: transform 0.3s ease;
}

.card:hover .portfolio-img {
    transform: scale(1.05);
}

/* Contact Form */
#contactForm {
    animation: fadeInUp 0.5s ease-in;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(229, 14, 136, 0.25);
}

/* Buttons */
.btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--darkpink);
    border-color: var(--darkpink);
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(229, 14, 136, 0.3);
}

/* Footer */
footer {
    margin-top: auto;
    background: url(../images/banners/footer.webp);
    background-size: cover;
    background-position: center 15%;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Center column spacing on small screens */
@media (max-width: 767.98px) {
    footer .col-md-4.text-center a {
        display: inline-block;
        margin-bottom: 4px;
    }
}

/* Appointment Modal */
#appointmentModal .modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

#appointmentModal .modal-header {
    border-bottom: 2px solid #f0f0f0;
    padding: 1.5rem;
}

#appointmentModal .modal-title {
    color: var(--primary-color);
    font-weight: 600;
}

#appointmentModal .modal-body {
    padding: 1.5rem;
}

#appointmentModal .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

#appointmentModal .form-control,
#appointmentModal .form-select {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.75rem;
}

#appointmentModal .form-control:focus,
#appointmentModal .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(229, 14, 136, 0.25);
}

#appointmentModal .input-group {
    gap: 0;
}

#appointmentModal .input-group .form-select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#appointmentModal .input-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Compact country code select inside appointment modal */
#appointmentModal .form-select.country-code {
    max-width: 120px;
}

/* Responsive */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .top-appointment-bar {
        padding: 0.6rem 0;
    }

    .btn-appointment-top {
        font-size: 0.875rem;
        letter-spacing: 0.5px;
        /* padding: 0.4rem 0.75rem; */
    }

    h2.heading-type1 {
        font-size: 1.6rem;
    }

    h2.heading-type2 {
        font-size: 1.6rem;
    }

    #backToTop {
        bottom: 75px;
    }

    .navbar {
        top: 44px;
        min-height: 60px !important;
        max-height: 60px !important;
        height: 60px !important;
        padding: 0.5rem 0 !important;
        overflow: visible;
    }

    .navbar .container,
    .navbar .container-fluid {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .navbar-brand {
        padding: 0 !important;
        margin: 0 !important;
        height: 50px;
        display: flex;
        align-items: center;
    }

    .navbar-logo {
        height: 50px !important;
        max-width: 200px;
        width: auto;
        object-fit: contain;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        margin: 0;
        height: auto;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        z-index: 1000;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .hero-section {
        background-image: url('../images/banners/bg1.webp');
        padding-top: 110px;
        background-position: bottom center;
    }

    .hero-title {
        font-size: 1.2rem !important;
        padding: 15px;
        text-align: center;
        margin: 10px auto;
    }

    .hero-image {
        width: 100%;
    }

    .hero-cta-desktop {
        display: none;
        /* margin-bottom: 50px; */
    }

    .hero-cta {
        margin-bottom: 50px;
    }

    .hero-section .row {
        /* min-height: calc(100vh - 150px); */
        min-height: 450px;
    }

    .badge-image {
        width: 100%;
    }

    #appointmentModal .modal-dialog {
        margin: 1rem;
    }

    .google-translate-wrapper {
        padding: 0.75rem 0;
        width: 100%;
    }

    #google_translate_element {
        width: 100%;
    }

    #google_translate_element select {
        width: 100%;
        max-width: 200px;
    }

    .location-name {
        font-size: .9rem;
    }

}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* FAQs */

.accordionFAQ .accordion-item {
    color: var(--secondary-color);
    background-color: #e9e9e9;
    border: none;
    margin-bottom: 15px;
    box-shadow: rgba(99, 99, 99, 0.2) 0 2px 8px 0;
    border-radius: 10px;
    border-left: 10px solid var(--primary-color);
}

.accordionFAQ .accordion-body {
    background-color: #e9e9e9;
}

.accordionFAQ .accordion-button {
    color: var(--secondary-color);
    border-radius: 10px;
    font-weight: 500;
    background-color: #fff;
}

.accordionFAQ .accordion-button:not(.collapsed) {
    color: var(--secondary-color);
    background-color: #fff;
}

.accordionFAQ .accordion-button:focus {
    z-index: 3;
    border-color: #fff;
    outline: 0;
    box-shadow: none;
}

/* Icon */
.accordionFAQ .accordion-button::after {
    /* kill Bootstrap default arrow */
    background-image: none !important;

    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f067";
    /* plus */

    border: 1px solid currentColor;
    border-radius: 999px;
    margin-left: auto;
    background: #fff;

    /* animation */
    transition: transform 0.25s ease;
    transform: rotate(0deg);
}

/* open state: minus + rotation (optional) */
.accordionFAQ .accordion-button:not(.collapsed)::after {
    content: "\f068";
    /* minus when open */
    transform: rotate(180deg);
    /* tweak angle or remove if not needed */
}

/* our experts section */

.expert-card {
    border: 1px solid #e0e0e0;
    /* border-radius: 10px; */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 0px;
    /* padding: 30px; */
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    /* width: auto; */
}

.expert-main-image img {
    width: 400px !important;
    height: auto;
    /* border-radius: 10px; */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    /* margin-bottom: 10px; */
    cursor: pointer;
}

.expert-thumbs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.expert-thumbs img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.expert-thumbs img:hover {
    transform: scale(1.05);
    border-color: #0074b8;
}

.expert-info {
    /* margin-left: 20px; */
    padding: 10px 10px 20px 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.expert-info h3 {
    color: var(--secondary-color);
    /* font-size: 2.6em; */
    font-size: 32px;
}

.expert-info p {
    color: var(--secondary-color);
    /* font-size: 1.2rem; */
    font-size: 16px;
    margin: 0;
}

/* Expert experience badges */
.expert-experience {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    flex-direction: column;
    align-items: flex-start;
}

.experience-item {
    display: block;
    padding: 10px 20px;
    background: #f1f1f1;
    border-radius: 999px;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
    transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.experience-item:hover,
.experience-item.highlight {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

.expert-seperator {
    width: 2px;
    background-color: #e0e0e0;
    margin: 0 20px;
}

.expert-location {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-top: 8px;
    text-transform: capitalize;
}



.location-filter .col-lg-1 {
    padding: 0 !important;
    border: 1px solid var(--lightpink);
}

.location-filter .col-lg-1:has(.loc-btn.active) {
    border: 1px solid var(--secondary-color);
}

.loc-btn {
    border: none;
    /* background: #fff; */
    color: var(--secondary-color);
    padding: 5px;
    /* border-radius: 10px; */
    font-size: 18px;
    width: 100%;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    background: #ffffff;
    /* box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff; */
}

.loc-btn:hover {
    background: #f0f0f0;
}

.loc-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

/* owl carousel */
.main-content {
    position: relative;
}

.main-content section {
    padding: 30px 0;
}

#expertsCarousel {
    position: relative;
}

/* === NAV CONTAINERS (PER CAROUSEL) === */

.main-content .custom-nav-location,
.main-content .custom-nav-experts,
.main-content .custom-nav-video,
.main-cntent .custom-nav-reviews {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    /* allow clicks through except on buttons */
    z-index: 50;
}

.gallery-section .custom-nav-gallery {
    text-align: center;
}

/* === NAV BUTTONS (SHARED STYLE) === */

.main-content .custom-nav-location .owl-prev,
.main-content .custom-nav-location .owl-next,
.main-content .custom-nav-experts .owl-prev,
.main-content .custom-nav-experts .owl-next,
.main-content .custom-nav-video .owl-prev,
.main-content .custom-nav-video .owl-next,
.main-content .custom-nav-reviews .owl-prev,
.main-content .custom-nav-reviews .owl-next,
.gallery-section .custom-nav-gallery .owl-prev,
.gallery-section .custom-nav-gallery .owl-next {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    z-index: 2;
}

.main-content .custom-nav-location .owl-prev,
.main-content .custom-nav-location .owl-next,
.main-content .custom-nav-experts .owl-prev,
.main-content .custom-nav-experts .owl-next,
.main-content .custom-nav-video .owl-prev,
.main-content .custom-nav-video .owl-next,
.main-content .custom-nav-reviews .owl-prev,
.main-content .custom-nav-reviews .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-section .custom-nav-gallery .owl-prev,
.gallery-section .custom-nav-gallery .owl-next {
    margin: 3px;
    display: inline-flex;
}


/* Left/right positions */

.main-content .custom-nav-location .owl-prev,
.main-content .custom-nav-experts .owl-prev,
.main-content .custom-nav-video .owl-prev,
.main-content .custom-nav-reviews .owl-prev {
    left: 8px;
}

.main-content .custom-nav-location .owl-next,
.main-content .custom-nav-experts .owl-next,
.main-content .custom-nav-video .owl-next,
.main-content .custom-nav-reviews .owl-next {
    right: 8px;
}

/* Icon styles */

.main-content .custom-nav-location .owl-prev i,
.main-content .custom-nav-location .owl-next i,
.main-content .custom-nav-experts .owl-prev i,
.main-content .custom-nav-experts .owl-next i,
.main-content .custom-nav-video .owl-prev i,
.main-content .custom-nav-video .owl-next i,
.main-content .custom-nav-reviews .owl-prev i,
.main-content .custom-nav-reviews .owl-next i,
.gallery-section .custom-nav-gallery .owl-prev i,
.gallery-section .custom-nav-gallery .owl-next i {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1;
}

.main-content .custom-nav-location .owl-prev:hover,
.main-content .custom-nav-location .owl-next:hover,
.main-content .custom-nav-location .owl-prev:focus,
.main-content .custom-nav-location .owl-next:focus,
.main-content .custom-nav-experts .owl-prev:hover,
.main-content .custom-nav-experts .owl-next:hover,
.main-content .custom-nav-experts .owl-prev:focus,
.main-content .custom-nav-experts .owl-next:focus,
.main-content .custom-nav-video .owl-prev:hover,
.main-content .custom-nav-video .owl-next:hover,
.main-content .custom-nav-video .owl-prev:focus,
.main-content .custom-nav-video .owl-next:focus,
.main-content .custom-nav-reviews .owl-next:hover,
.main-content .custom-nav-reviews .owl-next:focus {
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    outline: none;
}

.main-content .custom-nav-location .owl-prev:focus-visible,
.main-content .custom-nav-location .owl-next:focus-visible,
.main-content .custom-nav-experts .owl-prev:focus-visible,
.main-content .custom-nav-experts .owl-next:focus-visible,
.main-content .custom-nav-video .owl-prev:focus-visible,
.main-content .custom-nav-video .owl-next:focus-visible,
.main-content .custom-nav-reviews .owl-prev:focus-visible,
.main-content .custom-nav-reviews .owl-next:focus-visible {
    outline: 3px solid rgba(229, 14, 136, 0.18);
    border-radius: 50%;
}

/* Mobile */

@media (max-width: 768px) {

    .main-content .custom-nav-location .owl-prev,
    .main-content .custom-nav-location .owl-next,
    .main-content .custom-nav-experts .owl-prev,
    .main-content .custom-nav-experts .owl-next,
    .main-content .custom-nav-video .owl-prev,
    .main-content .custom-nav-video .owl-next,
    .main-content .custom-nav-reviews .owl-prev,
    .main-content .custom-nav-reviews .owl-next {
        width: 40px;
        height: 40px;
    }
}

/* Dots (unchanged) */

.main-content .owl-dots {
    text-align: center;
    margin-top: 1rem;
}

.main-content .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: #e0e0e0;
    margin: 0 6px;
    transition: background 0.15s ease, transform 0.12s ease;
}

.main-content .owl-dot.active {
    background: var(--primary-color);
    transform: scale(1.12);
}

/* Responsive expert card */
@media (max-width: 992px) {

    .expert-card {
        padding: 0px;
        flex-direction: column;
    }

    .expert-info {
        padding: 15px 15px 15px 15px;
    }

    .expert-info h3 {
        font-size: 1.2em;
    }

    .expert-info p {
        font-size: 0.9rem;
    }

    .expert-location {
        font-size: 0.8rem;
    }

    .experience-item {
        padding: 5px 12px;
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .location-filter {
        display: none;
    }

    .expert-main-image img {
        width: 100% !important;
    }

    .loc-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* page styles */

.page-hero {
    /* margin-top: 165px; */
    padding-top: 125px;
    padding-bottom: 0;
    margin-bottom: 15px;
}

.page-hero .title-container {
    background-image: url('../images/banners/bg1.webp');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    height: 300px;
}

.page-hero .title-container-sm {
    display: none;
}

/* mobile ver */

@media screen and (max-width: 767px) {

    .page-hero {
        padding-top: 100px;
    }

    .page-hero .title-container {
        background: none !important;
        height: auto;
        padding: 20px 15px;
    }

    .page-hero .title-container-sm {
        background-image: url('../images/banners/bg1.webp');
        background-position: center right;
        background-repeat: no-repeat;
        background-size: cover;
        display: flex;
        align-items: center;
        height: 300px;
    }
}

/* .page-hero .title-container {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
} */

.page-hero h1.page-title {
    color: var(--secondary-color);
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 1rem;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5),
        0 0 0px rgba(0, 0, 0, 0.3);
}

.page-hero .breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-sidebar .card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

/* .page-intro {
    padding: 20px;
} */

.page-intro p {
    padding: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 0px 25px 25px 25px;
    background-color: var(--lightairforce);
}

.page-content h2.page-section-title {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-content h3.page-section-subtitle {
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-content p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.page-content ul,
.page-content ol {
    margin-bottom: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid var(--lightpink);
    border-radius: 0px 20px 20px 20px;
    box-shadow: 0 2px 5px var(--lightpink);
}

.page-content ul li,
.page-content ol li {
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.page-content .list-unstyled {
    padding: 15px;
}

.page-content .page-section {
    padding-bottom: 15px;
}

.experts-section .experts-grid,
.staff-section .staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
    /* justify-content: center; */
}

.experts-section .expert-card,
.staff-section .staff-card {
    flex-direction: column;
    padding: 10px;
}

.experts-section .expert-image img,
.staff-section .staff-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    margin-bottom: 10px;
    cursor: pointer;
}

.experts-section .expert-content .expert-name,
.staff-section .staff-content .staff-name {
    color: var(--secondary-color);
    font-size: 15px;
}

.experts-section .expert-content .expert-occupation,
.staff-section .staff-content .staff-role {
    color: var(--secondary-color);
    font-size: 12px;
    margin-bottom: 5px;
    font-style: italic;
}

.staff-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    /* background-color: var(--lightpink); */
}

.articles-grid {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Article cards */

.articles-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.article-card {
    flex: 1 1 min(320px, 100%);
    border: 1px solid var(--lightpink);
    border-radius: 8px;
    padding: 1.25rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card:hover {
    box-shadow: 0 10px 25px var(--lightpink);
    transform: translateY(-5px);
}

.article-card h3 {
    margin-bottom: 0.5rem;
    font-size: 22px;
}

.article-card p {
    margin-bottom: 0.75rem;
    color: #333;
}

.article-card img.article-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 1rem;
    object-fit: cover;
}

.article-download {
    margin-top: auto;
    align-self: flex-start;
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.article-download:hover {
    background: var(--primary-color);
    text-decoration: none;
    color: #fff;
    box-shadow: 0 5px 15px rgba(229, 14, 136, 0.3);
    transform: translateY(-2px);
}

/* our centers card */

.our-centers-card {
    text-align: center;
    /* padding: 10px; */
    margin: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 10px;
}

.our-centers-card:hover {
    box-shadow: 0 3px 8px rgba(229, 14, 136, 0.3);
    transform: translateY(-2px);
}

.our-centers-card a {
    text-decoration: none;
}

.our-centers-card a img {
    height: auto;
    width: 100%;
    border-radius: 10px 10px 0 0;
}

/* tools */

/* Modal */
#fertilityModal .modal-content {
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
    border: none;
}

#fertilityModal .modal-title {
    margin: 0 0 4px;
    font-size: 22px;
    color: var(--primary-color);
}

#fertilityModal .modal-body {
    padding: 20px 24px 16px;
    overflow: scroll;
    max-height: calc(100vh - 150px);
}

#fertilityModal .form-control {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d0d0d0;
    font-size: 14px;
    box-shadow: none;
}

#fertilityModal .form-control:focus {
    outline: none;
    border-color: #c2185b;
    box-shadow: 0 0 0 2px rgba(194, 24, 91, .2);
}

#fertilityModal .tab-nav.active {
    color: var(--primary-color);
}

#fertilityModal .tab-content {
    border-top: 1px dotted var(--secondary-color);
}

#fertilityModal #periodResults,
#fertilityModal #ovulationResults,
#fertilityModal #pregnancyResults {
    margin-top: 18px;
    padding: 14px 12px;
    border-radius: 12px;
    background: #faf9ff;
    border: 1px solid #ece7ff;
    font-size: 14px;
}

#fertilityModal .btn-primary {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
}

.pc-res-item {
    margin-bottom: 6px;
}

.pc-res-label {
    font-weight: 600;
    color: #444;
}

.pc-res-value {
    color: #222;
}

#fertilityModal .modal-header,
#fertilityModal .modal-footer {
    padding-inline: 24px;
}

/* Mobile tweaks */
@media (max-width: 480px) {
    #fertilityModal .modal-dialog {
        margin: 0.5rem;
    }

    #fertilityModal .modal-body {
        padding: 16px 16px 12px;
    }
}

/* Video Carousel Container */
.videoCarousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

/* Video Carousel Videos */
.videoCarousel video {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
    object-fit: cover;
    background-color: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.videoCarousel video:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Owl Carousel Items */
.videoCarousel .owl-item {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel Navigation */
.videoCarousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.videoCarousel .owl-nav button {
    position: absolute;
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 12px 10px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.videoCarousel .owl-nav button:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.videoCarousel .owl-prev {
    left: 15px;
}

.videoCarousel .owl-next {
    right: 15px;
}

/* Dots */
.videoCarousel .owl-dots {
    text-align: center;
    margin-top: 15px;
}

.videoCarousel .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.videoCarousel .owl-dot.active {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
/* Mobile - Extra Small */
@media (max-width: 480px) {
    .videoCarousel {
        padding: 8px;
        margin: 0 auto;
    }

    .videoCarousel video {
        max-width: 100%;
        max-height: 250px;
    }

    .videoCarousel .owl-nav button {
        padding: 10px 12px;
        font-size: 16px;
    }

    .videoCarousel .owl-prev {
        left: 5px;
    }

    .videoCarousel .owl-next {
        right: 5px;
    }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
    .videoCarousel {
        padding: 12px;
    }

    .videoCarousel video {
        max-width: 280px;
        max-height: 300px;
    }

    .videoCarousel .owl-nav button {
        padding: 11px 13px;
        font-size: 17px;
    }
}

/* Medium Devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .videoCarousel video {
        max-width: 320px;
        max-height: 350px;
    }
}

/* Large Devices */
@media (min-width: 1025px) {
    .videoCarousel {
        padding: 15px;
    }

    .videoCarousel video {
        max-width: 300px;
        max-height: 340px;
    }
}

/* Accessibility */
.videoCarousel video:focus-visible {
    outline: 3px solid #007bff;
    outline-offset: 2px;
}

.videoCarousel .owl-nav button:focus-visible {
    outline: 3px solid #007bff;
    outline-offset: 2px;
}

/* Loading and Error States */
.videoCarousel video::loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Video Resources Section - Parent Container */

.video-resources-section {
    padding: 20px 20px;
}

/* Video Resources Tabs Navigation */
.video-resources-section .nav-tabs {
    border-bottom: 2px solid #e9ecef !important;
    gap: 10px;
    margin-bottom: 25px;
    padding: 0;
    border: none;
    /* box-shadow: none; */
    border-radius: 12px;
}

.video-resources-section .nav-tabs .nav-link {
    color: #6c757d;
    font-weight: 600;
    border: none;
    padding: 12px 20px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    background-color: transparent;
    border-radius: 0;
}

.video-resources-section .nav-tabs .nav-link:hover {
    color: #d91e63;
    border-bottom-color: #d91e63;
    background-color: transparent;
}

.video-resources-section .nav-tabs .nav-link.active {
    color: #d91e63;
    background-color: transparent;
    border-bottom-color: #d91e63;
    box-shadow: none;
}

.video-resources-section .nav-tabs .nav-link i {
    font-size: 20px;
}

.video-resources-section .nav-tabs .nav-link:focus {
    box-shadow: none;
    outline: 2px solid #d91e63;
    outline-offset: -2px;
}

/* Tab Content Area */
.video-resources-section .tab-content,
.video-resources-section .tab-pane {
    animation: fadeInUp 0.3s ease-in-out;
}

/* Video Card Styling */
.video-resources-section .video-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-resources-section .video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.video-resources-section .video-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.video-resources-section .video-card .card-title {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    min-height: 48px;
}

.video-resources-section .video-card .card-text {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Video Wrapper - YouTube and Facebook */
.video-resources-section .video-wrapper {
    background-color: #000;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    width: 100%;
}

.video-resources-section .video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Aspect Ratio Utilities (General) */
.ratio {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ratio::before {
    display: block;
    content: "";
}

.ratio iframe,
.ratio video,
.ratio .ratio-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.ratio-9x16::before {
    padding-top: 177.78%;
    /* 16:9 vertical */
}

.ratio-16x9::before {
    padding-top: 56.25%;
    /* 16:9 landscape */
}

.testimonialVideo-slide {
    width: 100%;
    display: block;
}



.video-resources-section .video-wrapper.ratio {
    --bs-aspect-ratio: 56.25%;
}

/* Instagram Wrapper */
.video-resources-section .instagram-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    padding: 2px;
    position: relative;
}

.video-resources-section .instagram-wrapper .instagram-media {
    margin: auto !important;
    width: 100%;
}

.video-resources-section .instagram-wrapper blockquote {
    margin: 0 !important;
}

/* LinkedIn Wrapper */
.video-resources-section .linkedin-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 225px;
    background: linear-gradient(135deg, #0077b5 0%, #00a0df 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
}

.video-resources-section .linkedin-video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.video-resources-section .linkedin-video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-resources-section .linkedin-video-placeholder:hover img {
    transform: scale(1.05);
}

.video-resources-section .linkedin-video-placeholder a {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.video-resources-section .linkedin-video-placeholder a:focus {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

/* Play Button Overlay */
.video-resources-section .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: #0077b5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.video-resources-section .linkedin-video-placeholder:hover .play-button {
    background-color: #fff;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Shadow Classes */
.video-resources-section .shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Row and Column Spacing */
.video-resources-section .row {
    margin-left: -8px;
    margin-right: -8px;
}

.video-resources-section .col-md-6,
.video-resources-section .col-lg-4 {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 20px;
}

/* Floating Buttons */
.floating-btn {
    position: fixed;
    bottom: 45px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    opacity: 1;
}

.floating-call {
    right: 20px;
}

.floating-whatsapp {
    left: 20px;
}

/* Icon sizing with high specificity to override .hw64 */
.floating-btn .hw64,
.floating-btn img,
.floating-btn svg {
    width: 64px !important;
    height: 64px !important;
    max-width: none !important;
}

main#main-content {
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .floating-btn {
        bottom: 25px;
    }

    .floating-btn .hw64,
    .floating-btn img,
    .floating-btn svg {
        width: 48px !important;
        height: 48px !important;
    }

    main#main-content {
        padding-bottom: 120px;
    }
}


/* Sidebar visibility */
.page-sidebar {
    display: block !important;
    visibility: visible !important;
}


.page-sidebar .card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    background-color: #fff !important;
    margin-bottom: 25px;
}

/* Tablets - 992px and below */
@media (max-width: 992px) {
    .video-resources-section {
        padding: 35px 15px;
    }

    .video-resources-section .nav-tabs {
        gap: 8px;
        margin-bottom: 30px;
    }

    .video-resources-section .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }

    .video-resources-section .nav-tabs .nav-link i {
        font-size: 18px;
    }

    .video-resources-section .video-card .card-title {
        font-size: 15px;
        min-height: 45px;
    }

    .video-resources-section .video-card .card-body {
        padding: 18px;
    }

    .video-resources-section .instagram-wrapper {
        min-height: 350px;
    }

    .video-resources-section .linkedin-wrapper {
        min-height: 220px;
    }
}

/* Small Tablets - 768px and below */
@media (max-width: 768px) {
    .video-resources-section {
        padding: 30px 12px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .video-resources-section .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 5px;
        margin-bottom: 25px;
        padding-bottom: 10px;
        border-bottom-width: 2px !important;
    }

    .video-resources-section .nav-tabs .nav-link {
        padding: 10px 12px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .video-resources-section .nav-tabs .nav-link i {
        margin-right: 6px !important;
        font-size: 16px;
    }

    .video-resources-section .video-card {
        border-radius: 6px;
    }

    .video-resources-section .video-card .card-title {
        font-size: 14px;
        min-height: 40px;
        margin-bottom: 10px;
    }

    .video-resources-section .video-card .card-text {
        font-size: 12px;
        line-height: 1.5;
    }

    .video-resources-section .video-card .card-body {
        padding: 15px;
    }

    .video-resources-section .col-md-6,
    .video-resources-section .col-lg-4 {
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 15px;
    }

    .video-resources-section .instagram-wrapper {
        min-height: 300px;
        border-radius: 6px 6px 0 0;
    }

    .video-resources-section .linkedin-wrapper {
        min-height: 200px;
        border-radius: 6px 6px 0 0;
    }

    .video-resources-section .play-button {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .video-resources-section .row {
        margin-left: -6px;
        margin-right: -6px;
    }

    .floating-btn img {
        width: 40px;
        height: 40px;
    }
}

/* Mobile Phones - 576px and below */
@media (max-width: 576px) {
    .video-resources-section {
        padding: 20px 10px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .video-resources-section .nav-tabs {
        margin-bottom: 20px !important;
        padding-bottom: 8px;
    }

    .video-resources-section .nav-tabs .nav-link {
        padding: 8px 10px;
        font-size: 11px;
        margin: 0 3px;
    }

    .video-resources-section .nav-tabs .nav-link i {
        margin-right: 4px !important;
        font-size: 14px;
    }

    .video-resources-section .video-card {
        margin-bottom: 15px;
        border-radius: 6px;
    }

    .video-resources-section .video-card .card-body {
        padding: 12px;
    }

    .video-resources-section .video-card .card-title {
        font-size: 13px;
        min-height: 36px;
        margin-bottom: 8px;
    }

    .video-resources-section .video-card .card-text {
        font-size: 11px;
        line-height: 1.4;
    }

    .video-resources-section .col-md-6,
    .video-resources-section .col-lg-4 {
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 12px;
    }

    .video-resources-section .instagram-wrapper {
        min-height: 250px;
        border-radius: 6px 6px 0 0;
        padding: 15px;
    }

    .video-resources-section .linkedin-wrapper {
        min-height: 180px;
        border-radius: 6px 6px 0 0;
    }

    .video-resources-section .play-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .video-resources-section .row {
        margin-left: -5px;
        margin-right: -5px;
    }
}

/* Extra Small Phones - 360px and below */
@media (max-width: 360px) {
    .video-resources-section {
        padding: 15px 8px;
    }

    .video-resources-section .nav-tabs .nav-link {
        padding: 7px 8px;
        font-size: 10px;
    }

    .video-resources-section .nav-tabs .nav-link i {
        font-size: 12px;
        margin-right: 3px !important;
    }

    .video-resources-section .video-card .card-title {
        font-size: 12px;
        min-height: 32px;
    }

    .video-resources-section .video-card .card-text {
        font-size: 10px;
    }

    .video-resources-section .video-card .card-body {
        padding: 10px;
    }

    .video-resources-section .instagram-wrapper {
        min-height: 220px;
    }

    .video-resources-section .linkedin-wrapper {
        min-height: 160px;
    }

    .video-resources-section .play-button {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* Accessibility - Focus States */
.video-resources-section .nav-tabs .nav-link:focus-visible {
    outline: 2px solid #d91e63;
    outline-offset: -2px;
}

.video-resources-section .video-card:focus-within {
    box-shadow: 0 0 0 3px rgba(217, 30, 99, 0.25);
}

/* Dark Mode Support

/* reviews card */

.reviews-card {
    background-color: #fff;
    color: #000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    /* min-height: 290px; */
}

.reviews-card-head {
    padding: 10px;
    /* border-bottom: 1px solid #ccc; */
}

.reviews-card .icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.reviews-card .icon i {
    color: #fff;
    font-size: 32px;
}

.reviews-card .details p {
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    color: var(--secondary-color);
}

.reviews-card-body {
    padding: 15px;
    font-size: 14px;
    flex: 1;
}

.google-reviews .owl-item {
    padding: 10px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* 1200px to 1600px */

@media screen and (max-width: 1600px) and (min-width: 1200px) {
    .navbar-logo {
        height: 60px;
    }

    .navmenu a {
        font-size: 14px;
        padding: 5px;
    }

    .hero-image {
        max-height: 450px;
        width: auto;
    }

    /* .location-filter {
        gap: 10px;
        justify-content: center;
    } */

    .loc-btn {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

/* below 1200px */

@media screen and (max-width: 1199px) {
    .hero-image {
        max-height: 360px;
        width: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .experts-section .experts-grid,
    .staff-section .staff-grid {
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {
    .reviews-card {
        width: 75%;
    }
}

/* Page Specific Styles - Contact & Careers */
.contact-card-hover {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.contact-card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--lightpink);
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-box {
    padding: 2rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: var(--primary-color);
}

.stat-box:hover h3,
.stat-box:hover p {
    color: #fff !important;
}

.item-hover {
    transition: all 0.3s ease;
}

.item-hover:hover {
    background: var(--lightpink) !important;
    transform: scale(1.05);
}

.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-accordion .accordion-button {
    border-radius: 12px !important;
    padding: 1.25rem;
    font-weight: 600;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #fff;
}

.footer-micro-copy {
    border-left: 5px solid var(--primary-color);
    background: #fdf2f8;
    padding: 2.5rem;
    border-radius: 0 20px 20px 0;
}

.careers-hero-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.highlight-line {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 2rem 0;
}

.benefit-card-v2 {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--lightpink);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.role-card {
    background: #fff;
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    z-index: 2;
    position: relative;
}

.job-card {
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    background: #fff;
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.job-badge {
    background: var(--lightairforce);
    color: var(--secondary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* W3-like utility classes for review cards */
.w3-panel {
    padding: 15px;
    min-height: 230px;
}

.w3-light-grey {
    color: #000 !important;
    background-color: #f1f1f1 !important;
}

.bg-icon {
    font-size: 60px;
    line-height: 0.6em;
    opacity: 0.2;
    position: absolute;
    top: auto;
    left: auto;
    margin: -16px 0 0 -15px;
}

.bg-icon svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

.w3-xlarge {
    font-size: 24px !important;
}

@media screen and (max-width: 767px) {
    .w3-panel {
        min-height: 160px;
    }
}