/* ============================================================
    CareFirst Home Health – site.css
    ASP.NET Core MVC | wwwroot/css/site.css
    ============================================================ */

/* Logo */
.site-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .site-logo {
        height: 40px;
        max-width: 140px;
    }
}

@media (max-width: 576px) {
    .site-logo {
        height: 35px;
        max-width: 120px;
    }
}

/* Footer Logo */
.footer-logo img {
    max-width: 180px;
    width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .footer-logo img {
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .footer-logo img {
        max-width: 130px;
    }
}

/* ?? CSS VARIABLES ?? */
:root {
    --blue-primary: #4172f0;
    --blue-light: #6d98e8;
    --blue-pale: #5987eb;
    --accent-topbar: #a0c3de;
    --green-light: #cce8d5;
    --green-mid: #cfe8d7;
    --teal-soft: #b6d5d9;
    --white: #ffffff;
    --text-dark: #1a2340;
    --text-muted: #5a6a80;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

/* ?? TOP BAR ?? */
#top-bar {
    background: linear-gradient(90deg, var(--accent-topbar) 0%, var(--blue-primary) 100%);
    padding: 7px 0;
    font-size: .82rem;
    color: #000;
}

    #top-bar a {
        color: #000;
        text-decoration: none;
    }

        #top-bar a:hover {
            text-decoration: underline;
        }

.topbar-icon {
    font-size: 1rem;
    margin-right: 4px;
}

.btn-register {
    background: linear-gradient(90deg, var(--accent-topbar), var(--blue-primary));
    color: #000;
    font-weight: 600;
    border: 1.5px solid #fff;
    border-radius: 50px;
    padding: 3px 18px;
    font-size: .8rem;
    transition: all .25s;
}

    .btn-register:hover {
        filter: brightness(1.1);
        color: #000;
    }

.social-icon {
    font-size: 1.05rem;
    margin: 0 4px;
    color: #000;
    transition: color .2s;
}

    .social-icon:hover {
        color: var(--white);
    }

/* ?? MAIN HEADER / NAV ?? */
#main-header {
    background-color: var(--white);
    box-shadow: 0 2px 14px rgba(65,114,240,.10);
    position: sticky;
    top: 0;
    z-index: 1050;
}

    #main-header .navbar-brand img {
        width: 195px;
        height: 65px;
        object-fit: contain;
    }

.navbar-nav .nav-link {
    color: #000 !important;
    font-weight: 500;
    font-size: .9rem;
    padding: 8px 14px;
    position: relative;
}

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 2px;
        left: 14px;
        right: 14px;
        height: 2px;
        background: var(--blue-primary);
        transform: scaleX(0);
        transition: transform .25s;
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        transform: scaleX(1);
    }

/* Services dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 32px rgba(65,114,240,.15);
    border-radius: 12px;
    padding: 8px 4px;
    min-width: 220px;
}

.dropdown-item {
    color: #000;
    font-size: .87rem;
    padding: 8px 20px;
    border-radius: 8px;
    transition: background .2s;
}

    .dropdown-item:hover {
        background: linear-gradient(90deg, #e8efff, #cce8d5);
        color: var(--blue-primary);
    }

.btn-book {
    background-color: var(--blue-primary);
    color: #000 !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 22px;
    font-size: .88rem;
    border: none;
    transition: all .25s;
}

    .btn-book:hover {
        background: var(--blue-pale);
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(65,114,240,.35);
    }

/* ?? HERO SLIDER ?? */
#heroCarousel {
    width: 100%;
    height: 580px;
    overflow: hidden;
    position: relative;
}

    #heroCarousel .carousel-item {
        height: 580px;
        position: relative;
    }

    #heroCarousel .carousel-item {
        transition: opacity .9s ease !important;
        transform: none !important;
    }

    #heroCarousel .carousel-item-next,
    #heroCarousel .carousel-item-prev,
    #heroCarousel .carousel-item-next.carousel-item-start,
    #heroCarousel .carousel-item-prev.carousel-item-end,
    #heroCarousel .active.carousel-item-start,
    #heroCarousel .active.carousel-item-end {
        transform: none !important;
    }

    #heroCarousel .carousel-inner {
        position: relative;
        width: 100%;
        height: 580px;
    }

    #heroCarousel .carousel-item {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity .95s ease !important;
        display: block !important;
    }

        #heroCarousel .carousel-item.active {
            opacity: 1;
            z-index: 2;
        }

    #heroCarousel .carousel-item-next.carousel-item-start,
    #heroCarousel .carousel-item-prev.carousel-item-end {
        opacity: 1;
        z-index: 2;
    }

    #heroCarousel .active.carousel-item-start,
    #heroCarousel .active.carousel-item-end {
        opacity: 0;
        z-index: 1;
    }

/* Dark gradient overlay */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to right, rgba(15, 30, 80, 0.82) 0%, rgba(30, 60, 140, 0.55) 55%, rgba(182, 213, 217, 0.18) 100% );
    z-index: 2;
}

/* Slide colour tints */
.slide-1 {
    background-color: #5987eb;
}

.slide-2 {
    background-color: #4172f0;
}

.slide-3 {
    background-color: #b6d5d9;
}

/* ?? HERO CONTENT ?? */
.hero-content {
    position: absolute;
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
    text-align: left;
    z-index: 10;
    width: 90%;
    max-width: 680px;
}

/* ?? KEYFRAMES ?? */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

@keyframes wobbleBadge {
    0%,100% {
        transform: rotate(-1.5deg) scale(1);
    }

    25% {
        transform: rotate( 1.8deg) scale(1.04);
    }

    50% {
        transform: rotate(-1deg) scale(1.02);
    }

    75% {
        transform: rotate( 1.2deg) scale(1.03);
    }
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.06);
    }
}

/* ?? Animate slide inner-divs when .active ?? */
.carousel-item.active .slide-bg {
    animation: kenBurns 7s ease forwards;
}

.carousel-item.active .badge-pill {
    animation: fadeSlideUp .6s ease .15s both, wobbleBadge 3.5s ease 1.2s infinite;
}

.carousel-item.active .hero-content h1 {
    animation: fadeSlideUp .7s ease .3s both;
}

.carousel-item.active .hero-content p {
    animation: fadeSlideUp .7s ease .5s both;
}

.carousel-item.active .hero-btns {
    animation: fadeSlideUp .7s ease .7s both;
}

.hero-content .badge-pill,
.hero-content h1,
.hero-content p,
.hero-content .hero-btns {
    opacity: 0;
}

.carousel-item.active .badge-pill,
.carousel-item.active h1,
.carousel-item.active p,
.carousel-item.active .hero-btns {
    opacity: 1;
}

.hero-content .badge-pill {
    display: inline-block;
    background: rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: .8rem;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 4.5vw, 3.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.18;
    text-shadow: 0 3px 24px rgba(0,0,0,.28);
    margin-bottom: 18px;
}

.hero-content p {
    color: rgba(255,255,255,.88);
    font-size: 1.05rem;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #fff;
    color: var(--blue-primary);
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 32px;
    font-size: .92rem;
    border: none;
    transition: all .25s;
}

    .btn-hero-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,.22);
    }

.btn-hero-outline {
    background: transparent;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 32px;
    font-size: .92rem;
    border: 2px solid rgba(255,255,255,.7);
    transition: all .25s;
}

    .btn-hero-outline:hover {
        background: rgba(255,255,255,.15);
        color: #fff;
    }

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 54px;
    height: 54px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,255,255,.35);
    transition: background .25s;
    z-index: 20;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: rgba(255,255,255,.32);
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 22px;
    height: 22px;
    background-size: 100%;
}

.carousel-indicators {
    z-index: 20;
    gap: 6px;
    margin-bottom: 20px;
}

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(255,255,255,.5);
        border: none;
        transition: all .3s;
    }

    .carousel-indicators .active {
        background-color: #fff;
        width: 28px;
        border-radius: 5px;
    }

.slide-illustration {
    position: absolute;
    opacity: .18;
    z-index: 1;
}

/* ?? QUICK STATS BAR ?? */
#stats-bar {
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
    color: #fff;
    padding: 22px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: .8rem;
    letter-spacing: .5px;
    opacity: .85;
}

/* ?? SECTION COMMON ?? */
section {
    padding: 80px 0;
}

.section-label {
    font-size: .78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

    .section-title span {
        color: var(--blue-primary);
    }

/* ?? SERVICES ?? */
#services {
    background: linear-gradient(160deg, #f5f8ff 0%, #e8f5ee 100%);
}

.service-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px 26px;
    height: 100%;
    border: 1px solid rgba(65,114,240,.08);
    box-shadow: 0 4px 20px rgba(65,114,240,.07);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--blue-primary), var(--green-light));
    }

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 40px rgba(65,114,240,.14);
    }

.service-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #e8efff, #d4f0e0);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--blue-primary);
    margin-bottom: 18px;
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.7;
}

.service-card .learn-more {
    color: var(--blue-primary);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .service-card .learn-more:hover {
        gap: 10px;
    }

/* ?? ABOUT ?? */
#about {
    background: #fff;
}

.about-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

    .about-img-wrap img {
        width: 100%;
        height: 440px;
        object-fit: cover;
        border-radius: 20px;
        display: block;
    }

.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-pale));
    color: #fff;
    border-radius: 14px;
    padding: 16px 22px;
    min-width: 160px;
    box-shadow: 0 6px 24px rgba(65,114,240,.3);
}

    .about-badge .big-num {
        font-size: 2rem;
        font-weight: 700;
    }

    .about-badge .small-text {
        font-size: .78rem;
        opacity: .9;
    }

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--blue-primary), var(--teal-soft));
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ?? STAFF ?? */
#staff {
    background: linear-gradient(160deg, #f0f4ff 0%, #e4f5ea 100%);
}

.staff-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(65,114,240,.08);
    transition: transform .3s;
}

    .staff-card:hover {
        transform: translateY(-5px);
    }

.staff-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.staff-placeholder {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--blue-primary);
}

.staff-body {
    padding: 20px;
}

    .staff-body h5 {
        font-weight: 600;
        margin-bottom: 4px;
    }

    .staff-body .role {
        color: var(--blue-primary);
        font-size: .82rem;
        font-weight: 500;
        margin-bottom: 10px;
    }

.staff-social a {
    color: var(--text-muted);
    margin-right: 8px;
    font-size: 1rem;
    transition: color .2s;
}

    .staff-social a:hover {
        color: var(--blue-primary);
    }

/* ?? BLOG ?? */
#blog {
    background: #fff;
}

.blog-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(65,114,240,.08);
    background: #fff;
    border: 1px solid rgba(65,114,240,.07);
    height: 100%;
    transition: transform .3s;
}

    .blog-card:hover {
        transform: translateY(-5px);
    }

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-body {
    padding: 20px;
}

.blog-tag {
    display: inline-block;
    background: #e8efff;
    color: var(--blue-primary);
    font-size: .72rem;
    font-weight: 600;
    border-radius: 50px;
    padding: 2px 12px;
    margin-bottom: 10px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.blog-body h5 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.45;
}

.blog-body p {
    color: var(--text-muted);
    font-size: .85rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 14px;
}

    .blog-meta i {
        color: var(--blue-primary);
    }

/* ?? GALLERY ?? */
#gallery {
    background: linear-gradient(160deg, #f0f4ff, #e2f2e8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 12px;
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 2;
    }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(65,114,240,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    color: #fff;
    font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.g1 {
    background: linear-gradient(135deg, #5987eb, #b6d5d9);
}

.g2 {
    background: linear-gradient(135deg, #cce8d5, #6d98e8);
}

.g3 {
    background: linear-gradient(135deg, #4172f0, #cfe8d7);
}

.g4 {
    background: linear-gradient(135deg, #b6d5d9, #5987eb);
}

.g5 {
    background: linear-gradient(135deg, #6d98e8, #cce8d5);
}

.g6 {
    background: linear-gradient(135deg, #cfe8d7, #4172f0);
}

/* ?? CAREERS ?? */
#careers {
    background: #fff;
}

.career-card {
    border: 1px solid rgba(65,114,240,.12);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all .3s;
    background: #fff;
}

    .career-card:hover {
        border-color: var(--blue-primary);
        box-shadow: 0 6px 24px rgba(65,114,240,.14);
        transform: translateX(4px);
    }

.career-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #e8efff, #d4f0e0);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--blue-primary);
    flex-shrink: 0;
}

.career-info h5 {
    font-weight: 600;
    margin-bottom: 4px;
}

.career-info p {
    color: var(--text-muted);
    font-size: .84rem;
    margin: 0;
}

.career-meta {
    margin-left: auto;
    text-align: right;
}

.career-type {
    font-size: .75rem;
    font-weight: 600;
    color: var(--blue-primary);
    background: #e8efff;
    border-radius: 50px;
    padding: 3px 12px;
}

/* ?? CONTACT ?? */
#contact {
    background: linear-gradient(160deg, #f0f4ff, #e4f5ea);
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(65,114,240,.12);
    margin-bottom: 36px;
}

    .map-wrapper iframe {
        width: 100%;
        height: 320px;
        border: none;
        display: block;
    }

.contact-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(65,114,240,.09);
}

.contact-icon-wrap {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #e8efff, #d4f0e0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 1.5px solid #e0e8f5;
    padding: 10px 14px;
    font-size: .9rem;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--blue-primary);
        box-shadow: 0 0 0 3px rgba(65,114,240,.1);
    }

.btn-submit {
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-pale));
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 36px;
    border: none;
    transition: all .25s;
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(65,114,240,.35);
        color: #fff;
    }

/* ?? FOOTER ?? */
footer {
    background: linear-gradient(135deg, #1a2340 0%, #2a3a6e 100%);
    color: rgba(255,255,255,.75);
    padding: 60px 0 0;
}

    footer h5 {
        color: #fff;
        font-weight: 600;
        margin-bottom: 20px;
        font-size: .95rem;
        letter-spacing: .5px;
    }

    footer a {
        color: rgba(255,255,255,.65);
        text-decoration: none;
        font-size: .88rem;
        transition: color .2s;
    }

        footer a:hover {
            color: var(--green-light);
        }

    footer ul {
        list-style: none;
        padding: 0;
    }

        footer ul li {
            margin-bottom: 8px;
        }

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

    .footer-logo-text span {
        color: var(--green-light);
    }

.footer-bottom {
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    font-size: .82rem;
    color: rgba(255,255,255,.45);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    color: #fff;
    font-size: .95rem;
    margin-right: 6px;
    transition: background .2s;
}

    .footer-social a:hover {
        background: var(--blue-primary);
        color: #fff;
    }

/* ?? PAGE BANNER (inner pages) ?? */
.page-banner {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .page-banner h2 {
        font-family: 'Playfair Display', serif;
        color: #fff;
        font-size: 2.4rem;
        font-weight: 700;
        position: relative;
        z-index: 2;
    }

    .page-banner .overlay {
        position: absolute;
        inset: 0;
        background: rgba(65,114,240,.45);
        z-index: 1;
    }

/* ?? TESTIMONIALS ?? */
#testimonials {
    background: linear-gradient(160deg, #f5f8ff, #e8f5ee);
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(65,114,240,.08);
    position: relative;
}

    .testimonial-card .quote-icon {
        font-size: 3rem;
        color: var(--blue-primary);
        opacity: .15;
        position: absolute;
        top: 16px;
        right: 20px;
        font-family: Georgia, serif;
        line-height: 1;
    }

.stars {
    color: #f4a730;
    font-size: .9rem;
    margin-bottom: 12px;
}

.testimonial-card p {
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-primary), var(--teal-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: .9rem;
}

.author-role {
    font-size: .78rem;
    color: var(--text-muted);
}

/* ?? CTA STRIP ?? */
#cta-strip {
    background:  var(--blue-primary);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

    #cta-strip h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2.2rem;
        margin-bottom: 14px;
    }

    #cta-strip p {
        font-size: 1.05rem;
        opacity: .9;
        margin-bottom: 28px;
    }

.btn-cta-white {
    background: #fff;
    color: var(--blue-primary);
    font-weight: 700;
    border-radius: 50px;
    padding: 13px 36px;
    border: none;
    font-size: .95rem;
    transition: all .25s;
}

    .btn-cta-white:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,.2);
        color: var(--blue-primary);
        text-decoration-color: var(--blue-pale);
        background: #fff;
    }

/* ?? NAVBAR TOGGLER ?? */
.navbar-toggler {
    border: 2px solid rgba(65,114,240,0) !important;
    border-radius: 10px !important;
    padding: 7px 11px !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .2s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .navbar-toggler:hover {
        border-color: var(--blue-primary) !important;
        background: rgba(65,114,240,.08) !important;
        box-shadow: 0 0 0 4px rgba(65,114,240,.18) !important;
        transform: scale(1.08);
    }

        .navbar-toggler:hover .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%2865%2C114%2C240%2C1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        }

    .navbar-toggler:not(:hover):not([aria-expanded="true"]) {
        border-color: rgba(65,114,240,0) !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: scale(1);
    }

    .navbar-toggler:active {
        transform: scale(0.94) !important;
        background: rgba(65,114,240,.14) !important;
        box-shadow: 0 0 0 5px rgba(65,114,240,.22) !important;
    }

    .navbar-toggler[aria-expanded="true"] {
        border-color: var(--blue-primary) !important;
        background: rgba(65,114,240,.10) !important;
        box-shadow: 0 0 0 3px rgba(65,114,240,.2) !important;
    }

/* ?? RESPONSIVE ?? */
@media (max-width: 991.98px) {
    #top-bar {
        display: none !important;
    }

    #main-header {
        top: 0;
    }

    #mainNav {
        background: #fff;
        border-top: 2px solid rgba(65,114,240,.10);
        border-radius: 0 0 16px 16px;
        box-shadow: 0 8px 28px rgba(65,114,240,.12);
        padding: 12px 4px 16px;
        margin-top: 4px;
    }

    .navbar-nav .nav-link {
        padding: 10px 18px;
        border-radius: 8px;
        margin: 1px 4px;
    }

        .navbar-nav .nav-link:hover {
            background: linear-gradient(90deg, #eef2ff, #e4f5ea);
        }

    .btn-book {
        margin: 8px 12px 4px !important;
        display: block;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 2;
    }

    #heroCarousel .carousel-item, #heroCarousel {
        height: 420px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .career-meta {
        display: none;
    }
}


/*<!-- Modal CSS--!>*/


.input-icon {
    position: relative;
}

    .input-icon i {
        position: absolute;
        top: 38px;
        right: 12px;
        color: #6c757d;
        pointer-events: none;
    }

    .input-icon .form-control {
        padding-right: 40px;
    }


.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #0062cc, #0096ff);
    padding: 20px;
    border: none;
    color: white;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 30px;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: #0062cc;
        box-shadow: none;
    }

.input-group-text {
    border: none;
    background: transparent;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    color: #666;
}

.input-group {
    position: relative;
}


.btn-login {
    padding: 12px 20px;
    background: linear-gradient(135deg, #0062cc, #0096ff);
    border: none;
    border-radius: 10px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
}

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

.social-login {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-social {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #eee;
    background: white;
    transition: all 0.3s ease;
}

    .btn-social:hover {
        background: #f8f9fa;
        transform: translateY(-2px);
    }

    .btn-social i {
        margin-right: 10px;
    }

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

    .divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 45%;
        height: 1px;
        background: #eee;
    }

    .divider::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        width: 45%;
        height: 1px;
        background: #eee;
    }

    .divider span {
        background: white;
        padding: 0 10px;
        color: #666;
        font-size: 0.9rem;
    }

.form-check {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.password-toggle {
    cursor: pointer;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/*Modal Fade-In*/
.modal.fade .modal-dialog {
    transform: translateY(-30px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal.fade.show .modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* ══════════════════════════════════════════════
   DEVICE-SPECIFIC MEDIA QUERIES
   Button & column layout adaptability
   ══════════════════════════════════════════════ */

/* ── Galaxy Z Fold 344×882 & similar ultra-narrow (≤360px) ── */
@media (max-width: 360px) {
    .hero-btns {
        gap: 20px;
    }
    .hero-btns .btn-hero-primary,
    .hero-btns .btn-hero-outline {
        padding: 10px 18px;
        font-size: .82rem;
    }
    .hero-content h1 {
        font-size: 1.4rem;
    }
    .hero-content p {
        font-size: .85rem;
        margin-bottom: 18px;
    }
    section {
        padding: 50px 0;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: .68rem;
    }
    .btn-book, .btn-outline-primary {
        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
    #cta-strip .btn-cta-white,
    #cta-strip .btn-hero-outline {
        display: block;
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
    .hero-content {
        left: 5%;
        width: 90%;
    }
    .section-title {
        font-size: 1.5rem;
    }
}

/* ── iPhone 14/15/16/17 Pro Max 430×932 & similar (≤430px) ── */
@media (max-width: 430px) {
    .hero-btns {
        gap: 16px;
    }
    .hero-btns .btn-hero-primary,
    .hero-btns .btn-hero-outline {
        padding: 11px 22px;
        font-size: .85rem;
    }
    .btn-book, .btn-outline-primary {
        margin-bottom: 8px;
    }
    #cta-strip .btn-cta-white,
    #cta-strip .btn-hero-outline {
        margin-bottom: 8px;
    }
    .hero-content h1 {
        font-size: 1.6rem;
    }
    section {
        padding: 60px 0;
    }
}

/* ── iPad Mini 768×1024 (portrait) ── */
@media (max-width: 768px) {
    .hero-btns {
        gap: 18px;
    }
    .btn-book {
        margin-bottom: 6px;
    }
    #cta-strip .btn-cta-white,
    #cta-strip .btn-hero-outline {
        margin-bottom: 6px;
    }
    section {
        padding: 65px 0;
    }
}

/* ── iPad Air 820×1180 (portrait) ── */
@media (max-width: 820px) {
    .hero-btns {
        gap: 16px;
    }
    section {
        padding: 70px 0;
    }
}