/* ===================================
   GLOBAL STYLES & VARIABLES
   =================================== */
body {
    background-color: #0c4a5b !important;
}

/* ===================================
   HERO SECTION - MAIN LAYOUT
   =================================== */
.hero-section {
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: 90vh;
    margin: 0;
    padding: 0;
    border: none;
    gap: 0;
    background: none;
}

.hero-text-container {
    flex: 0 0 50%;
    background: url('../Veeyes Hospital Images/headers_footers/IMG_9214.PNG') left center / cover no-repeat;
    color: #f5e5c8;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    font-family: 'Libre Baskerville', serif;
}

.hero-text {
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease;
    width: 100%;
}

.hero-text.active {
    opacity: 1;
    position: relative;
}

.hero-text h1 {
    font-family: 'Libre Baskerville', serif;
    line-height: 70px;
    font-weight: bold;
}

.hero-text h2 {
    font-family: 'Libre Baskerville', serif;
    font-weight: bold;
    font-size: 40px;
}

/* ===================================
   HERO CAROUSEL
   =================================== */
.hero-carousel {
    flex: 1;
    height: 60vh;
    max-height: 60vh;
    overflow: hidden;
}

.hero-carousel img,
.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
/* ===================================
   MARQUEE SECTION
   =================================== */
.marquee-container {
    margin-top: 5.5%;
    overflow: hidden;
    white-space: nowrap;
    background-color: #183D4A;
    padding: 5px 0;
    font-size: 13px;
    color: #183D4A;
    font-family: 'Libre Baskerville', serif;
    position: relative;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    display: inline-block;
    padding-right: 2rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===================================
   HERO SECTION 2 - QUOTE SECTION
   =================================== */
.hero-section2 {
    position: relative;
    width: 100%;
    height: 375px;
    background: #F0EFE7;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    perspective: 1000px;
}

.hero-section2 h2 {
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 45px;
    line-height: 1.5;
    color: #183D4A;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.tooth-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(19, 194, 207, 0.6));
}

.hero-section2 .tooth-icon {
    width: 40px;
    vertical-align: middle;
}

/* ===================================
   ANIMATIONS & KEYFRAMES
   =================================== */
.tooth-fairy1 {
    padding-top: 40px;
    width: 80px;
    transform: rotate(-45deg);
}

.tooth-fairy2 {
    padding-top: 40px;
    width: 80px;
    transform: rotate(45deg);
}

.tooth-fairy3 {
    animation: swing 2s infinite ease-in-out;
    transform: rotate(-30deg);
}

.tooth-fairy4 {
    animation: swing2 2s infinite ease-in-out;
    transform: rotate(30deg);
}

@keyframes swing {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(-30deg); }
    100% { transform: rotate(0deg); }
}

@keyframes swing2 {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(30deg); }
    100% { transform: rotate(0deg); }
}

/* --- Zoom from back animation --- */
[data-aos="zoom-depth"] span {
    display: inline-block;
    transform: translateZ(-400px) scale(0.6);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.2s ease-out;
    transform-origin: center;
}

[data-aos="zoom-depth"].aos-animate span {
    transform: translateZ(0) scale(1);
    opacity: 1;
}

/* ===================================
   HERO SECTION 3 - ADVANCED CAROUSEL
   =================================== */
.hero-section3 {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.carousel-item2 {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

/* Background and overlay system */
.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 64, 86, 0) 0%,
        rgba(0, 64, 86, 0.3) 30%,
        rgba(0, 64, 86, 0.85) 60%,
        rgba(0, 64, 86, 0.95) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.slide-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient;
    z-index: 5;
    pointer-events: none;
}

.carousel-content {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    width: 35%;
    z-index: 10;
    color: #183D4A;
    text-align: left;
}

.carousel-content h2 {
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.carousel-content p {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
}

/* ===================================
   BUTTONS & CTAs
   =================================== */
.read-more {
    display: inline-block;
    background: rgba(240, 239, 231, 0.75);
    color: #183d4a;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: #f0efe7;
    color: #0e7580;
}

.read-more-btn {
    display: inline-block;
    background: rgba(240, 239, 231, 0.2);
    padding: 8px 18px;
    border-radius: 20px;
    color: #F0EFE7;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: rgba(240, 239, 231, 0.35);
}

.read-more-btn2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #F0EFE7;
    background-color: #183D4A;
    padding: 12px 30px;
    text-align: center;
    display: inline-block;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 15px;
    border: none;
    transition: all 0.3s ease;
}

.read-more-btn2:hover {
    background-color: #13C2CF;
    color: #183D4A;
}

.read-more-btn3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #183D4A;
    background-color: #F0EFE7;
    padding: 12px 30px;
    text-align: center;
    display: inline-block;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 15px;
    border: none;
    transition: all 0.3s ease;
}

.read-more-btn3:hover {
    background-color: #13C2CF;
    color: #183D4A;
}

/* ===================================
   EXPERIENCE BOX
   =================================== */
.experience-box {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: #ECD8B6;
    color: #183D4A;
    font-family: "Libre Baskerville", serif;
    text-align: center;
    padding: 18px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 95px;
}

.experience-box .years {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

.experience-box .text {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.experience-box span {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

/* ===================================
   DENTISTRY CONTENT SECTIONS
   =================================== */
.dentistry-header {
    font-size: 64px;
    font-family: 'Libre Baskerville', sans-serif;
    color: #183D4A;
    font-weight: bold;
}

.dentistry-text {
    font-size: 20px;
    color: #183D4A;
    line-height: 45px;
    font-weight: 400;
    font-family: 'Montserrat', serif;
}

.dentistry-subHeader {
    padding-top: 3rem;
    color: #183D4A;
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 50px;
}

/* ===================================
   KIDS SECTION
   =================================== */
.kids-cool {
    background-color: #183D4A !important;
    overflow: hidden;
}

.kids-cool div {
    color: #F0EFE7;
}

.kids-cool h1 {
    margin: 0;
    font-size: 48px;
    font-style: italic;
    font-family: 'Libre Baskerville', sans-serif;
}

.kids-content {
    padding-left: 20px;
    color: #F0EFE7;
}

.kids-content h2 {
    font-family: 'Montserrat', serif;
    font-style: italic;
    font-size: 34px;
}

.kids-text {
    font-family: 'Montserrat', serif;
    font-style: italic;
    font-size: 25px;
}

.kids-content h4 {
    margin: 0;
    line-height: 35px;
    padding-top: 10px;
    font-size: 24px;
    font-weight: normal;
    font-style: italic;
    font-family: "Montserrat", sans-serif;
}

.kids-content ul {
    list-style-type: disc;
    padding-left: 20px;
    padding-top: 10px;
}

.kids-content ul li h4 {
    font-family: 'Montserrat';
    line-height: 40px;
    font-size: 20px;
}

.kids-cool .container,
.kids-cool .row {
    background-color: transparent;
}

/* ===================================
   EXCEPTIONAL SECTION
   =================================== */
.exceptional h1 {
    font-size: 64px;
    text-align: center;
    font-family: 'Libre Baskerville', sans-serif;
    font-style: italic;
    color: #183D4A;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.quote-icon {
    background-color: rgb(24, 61, 74, 0.50);
    color: black;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    align-content: center;
    line-height: 30px;
    font-weight: bold;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-card {
    position: relative;
    padding: 40px;
    border: 1px solid #ccc;
    border-radius: 0px 25px 0px 25px;
    background-color: rgb(19, 194, 207, 0.25);
    margin: auto;
    width: 80%;
}

.testimonial-card2 {
    position: relative;
    padding: 40px;
    border: 1px solid #ccc;
    border-radius: 0px 25px 0px 25px;
    background-color: rgb(14, 117, 128, 0.25);
    margin: auto;
    width: 80%;
    height: fit-content;
}

.testimonial-text {
    font-style: italic;
    font-size: 14.5px;
    line-height: 1.7;
    font-family: 'Montserrat', sans-serif;
    color: #183D4A;
}

.feedback-dots {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    opacity: 0.6;
}

.divider {
    border: none;
    border-top: 2px solid black;
    width: 80%;
    margin: 0 0 10px 0;
    font-weight: 900;
    margin-top: auto;
}

.author {
    font-size: 14px;
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-style: italic;
}

/* ===================================
   CAROUSEL ENHANCEMENTS
   =================================== */
.splide__slide {
    transition: transform 0.8s ease-in-out;
    opacity: 1 !important;
}

.splide__track {
    overflow: hidden !important;
}

.slide-content {
    position: absolute;
    top: 50%;
    right: 6%;
    transform: translateY(-50%);
    max-width: 38%;
    color: #F0EFE7;
    text-align: left;
    z-index: 2;
}

.slide-content h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
    font-family: "Libre Baskerville", serif;
}

.slide-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #f2f7fa;
    margin-bottom: 1.2rem;
}

.carousel-indicators [data-bs-target] {
    background-color: #13C2CF;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .hero-section {
        height: auto;
    }
    .hero-text-container {
        flex: none;
        width: 100%;
        height: auto;
        background-position: center;
        padding: 3rem 2rem;
    }
    .hero-carousel {
        flex: none;
        width: 100%;
        height: auto;
    }
    .hero-carousel img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
}

@media (max-width: 1024px) {
    .carousel-content {
        width: 50%;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .carousel-content {
        position: absolute;
        width: 85%;
        right: 50%;
        transform: translate(50%, -50%);
        text-align: center;
    }
    .carousel-content h2 {
        font-size: 2rem;
    }
    .carousel-content p {
        font-size: 1rem;
    }
    .experience-box {
        width: 150px;
        height: 80px;
    }
}

/* Additional carousel responsive fixes */
.carousel-item2 {
    position: relative;
    height: 100vh;
}

.slide-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-item2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(24,61,74, 0.40);
}

/* ===================================
   ADDITIONAL CAROUSEL FIXES
   =================================== */
.carousel-item2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(24,61,74, 0.40);
}

.carousel-content {
    position: absolute;
    z-index: 2;
    color: #F0EFE7;
}

/* ===================================
   4K DISPLAYS (2560px and above) - Home Page Only
   =================================== */
@media screen and (min-width: 2560px) {

    /* HERO SECTION - Moderate scaling for 4K displays */
    .hero-section {
        height: 90vh;
    }

    .hero-text-container {
        padding: 6rem;
    }
    body {
        overflow-x: hidden;
    }
    /* HERO TEXT - Conservative scaling for 4K */
    .hero-text h1 {
        font-size: 80px;
        line-height: 1.2;
    }

    .hero-text h2 {
        font-size: 48px;
        line-height: 1.3;
    }

    /* HERO SECTION 2 - Quote Section */
    .hero-section2 {
        height: 600px;
    }

    .hero-section2 h2 {
        font-size: 72px;
        line-height: 1.5;
    }

    .hero-section2 .tooth-icon {
        width: 80px;
        vertical-align: middle;
    }
    .tooth-icon {
        width: 80px;
        height: 80px;
    }

    /* HERO SECTION 3 - Advanced Carousel */
    .hero-section3 {
        height: 80vh;
    }

    /* CAROUSEL CONTENT - Moderate scaling */
    .carousel-content {
        right: 8%;
        width: 40%;
    }

    .carousel-content h2 {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }

    .carousel-content p {
        font-size: 45px;
        line-height: 1.6;
        margin-bottom: 2.5rem;
    }
    
    .dentistry .doctors{
        margin-top: -210px;
        height: 95%;
        margin-bottom: -110px;
    }

    /* SLIDE CONTENT */
    .slide-content {
        right: 6%;
        max-width: 40%;
    }

    .slide-content h2 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .slide-content p {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    /* BUTTONS - Moderate scaling for 4K */
    .read-more {
        padding: 15px 35px;
        font-size: 35px;
        border-radius: 30px;
    }

    .read-more-btn {
        padding: 12px 30px;
        font-size: 18px;
        border-radius: 30px;
    }

    .read-more-btn2,
    .read-more-btn3 {
        font-size: 20px;
        padding: 18px 45px;
        border-radius: 80px;
    }

    /* EXPERIENCE BOX - Moderate scaling */
    .experience-box {
        padding: 25px 40px;
        width: 300px;
        height: 140px;
    }

    .experience-box .years {
        font-size: 4rem;
    }

    .experience-box .text {
        font-size: 1.4rem;
    }

    /* DENTISTRY CONTENT SECTIONS */
    .dentistry-header {
        font-size: 92px;
        line-height: 1.2;
    }

    .dentistry-text {
        font-size: 40px;
        line-height: 1.7;
    }

    .dentistry-subHeader {
        font-size: 70px;
        line-height: 1.3;
    }

    /* KIDS SECTION - 4K layout: header+content in left column, image in right column */
    .kids-cool{
        padding-left: 40px !important;
    }
    .kids-cool .row {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
    }

    .kids-cool h1 {
        font-size: 70px !important;
    }

    .kids-cool p{
        font-size: 38px !important;
    }
    .kids-cool-header {
        margin-bottom: 40px !important;
    }

    .kids-content ul li h4{
        order: 2 !important;
        font-size: 37px !important;
        line-height: 4rem;
        padding-left: 20px;
    }

    .kids-content h2{
        margin-top: 15px;
        font-size: 58px !important;
    }
    .kids-cool .col-lg-6:last-child {
        order: 2 !important;
        flex: 0 0 40% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-right: 40px;
        margin-bottom: 40px;
    }

    .read-more-btn3{
        font-size: 40px;
    }
    /* EXCEPTIONAL SECTION */
    .exceptional h1 {
        font-size: 90px;
        line-height: 1.2;
    }

    /* TESTIMONIALS - Moderate scaling */
    .quote-icon {
        font-size: 36px;
        width: 60px;
        height: 60px;
        line-height: 50px;
        margin-bottom: 20px;
    }

    .testimonial-card,
    .testimonial-card2 {
        padding: 50px;
        border-radius: 0px 40px 0px 40px;
    }

    .testimonial-text {
        font-size: 50px;
        line-height: 1.7;
    }

    .feedback-dots {
        bottom: 15px;
        right: 15px;
        width: 60px;
    }

    .divider {
        border-top: 3px solid black;
        margin: 0 0 15px 0;
    }

    .author {
        font-size: 18px;
    }

    /* MARQUEE SECTION */
    .marquee-container {
        font-size: 54px !important;
    }

    /* ANIMATIONS - Disable complex animations for 4K performance */
    [data-aos="zoom-depth"] span {
        transition: none;
    }

    [data-aos="zoom-depth"].aos-animate span {
        transform: none;
        opacity: 1;
    }
}

/* ===================================
   LAPTOP (1024px) - Home Page - VERTICAL STACKING
   =================================== */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
    /* Fix overflow and prevent extra space */
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ensure containers don't exceed viewport */
    .container, .container-fluid {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    /* Scale down from 1440px (1024/1440 = 71% scaling) */

    /* HERO SECTION - Stack vertically for 1024px */
    .hero-section {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column !important;
        align-items: stretch;
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .hero-text-container {
        flex: 1 !important;
        width: 100% !important;
        background: url('../Veeyes Hospital Images/headers_footers/IMG_9214.PNG') center center / cover no-repeat !important;
        color: #f5e5c8;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding: 3.5rem !important;
        position: relative !important;
        overflow: hidden !important;
        font-family: 'Libre Baskerville', serif;
        min-height: 50vh !important;
    }

    .hero-carousel {
        flex: 1 !important;
        width: 100% !important;
        height: 90vh !important;
        max-height: 90vh !important;
        overflow: hidden !important;
        min-height: 240px !important;
    }

    .hero-carousel img,
    .hero-carousel .carousel-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
        display: block !important;
    }

    /* HERO TEXT - Scaled for 1024px */
    .hero-text h1 {
        font-family: 'Libre Baskerville', serif;
        line-height: 1.2 !important;
        font-weight: bold;
        font-size: 36px !important;
    }

    .hero-text h2 {
        font-family: 'Libre Baskerville', serif;
        font-weight: bold;
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    /* MARQUEE SECTION - Scaled for 1024px */
    .marquee-container {
        margin-top: 3% !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        background-color: #183D4A !important;
        padding: 3px 0 !important;
        font-size: 11px !important;
        color: #183D4A !important;
        font-family: 'Libre Baskerville', serif !important;
        position: relative !important;
    }

    /* BUTTONS - Scaled for 1024px */
    .appointment-btn {
        background: #13C2CF !important;
        color: #183D4A !important;
        border: none !important;
        border-radius: 7px !important;
        padding: 8px 18px !important;
        font-size: 13px !important;
        font-weight: bold !important;
        text-transform: uppercase !important;
        transition: all 0.3s ease !important;
        margin: 6px !important;
        text-decoration: none !important;
    }

    .enquiry-btn {
        background: #183D4A !important;
        color: #f5e5c8 !important;
        border: none !important;
        border-radius: 7px !important;
        padding: 8px 18px !important;
        font-size: 13px !important;
        font-weight: bold !important;
        text-transform: uppercase !important;
        transition: all 0.3s ease !important;
        margin: 6px !important;
        text-decoration: none !important;
    }

    /* EXPERIENCE BOX - Scaled for 1024px */
    .experience-box {
        position: relative !important;
        background: linear-gradient(135deg, #0c4a5b, #183D4A) !important;
        color: #f5e5c8 !important;
        padding: 20px !important;
        border-radius: 8px !important;
        text-align: center !important;
        margin: 25px auto !important;
        max-width: 500px !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
        border-left: 4px solid #13C2CF !important;
        font-family: 'Libre Baskerville', serif !important;
    }

    .experience-box h3 {
        font-size: 22px !important;
        margin-bottom: 8px !important;
        font-weight: bold !important;
    }

    .experience-box p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin: 0 !important;
    }

    /* KIDS SECTION - 1024px layout: maintain two-column but scaled */
    .kids-section {
        background: url('../Veeyes Hospital Images/home/kids_bg.PNG') center/cover no-repeat !important;
        padding: 50px 0 !important;
        margin: 35px 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .kids-container {
        display: flex !important;
        align-items: center !important;
        max-width: 800px !important;
        margin: 0 auto !important;
        gap: 35px !important;
    }

    .kids-content {
        flex: 1 !important;
    }

    .kids-content h2 {
        font-family: 'Libre Baskerville', serif !important;
        font-size: 28px !important;
        margin-bottom: 18px !important;
        font-weight: bold !important;
    }

    .kids-content p {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 22px !important;
    }

    .kids-image {
        flex: 1 !important;
        text-align: center !important;
    }

    .kids-image img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 13px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
        transition: transform 0.3s ease !important;
    }

    /* TESTIMONIALS - Scaled for 1024px */
    .testimonials-section {
        background: #183D4A !important;
        color: #f5e5c8 !important;
        padding: 45px 0 !important;
        text-align: center !important;
    }

    .testimonials-section h2 {
        font-family: 'Libre Baskerville', serif !important;
        font-size: 28px !important;
        margin-bottom: 35px !important;
        font-weight: bold !important;
    }

    .testimonial-card {
        padding: 22px !important;
        margin: 12px !important;
        backdrop-filter: blur(5px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        transition: transform 0.3s ease !important;
    }

    .testimonial-card p {
        font-style: italic !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
        margin-bottom: 18px !important;
    }

    .testimonial-card .author {
        font-weight: bold !important;
        font-size: 14px !important;
    }

    /* FACILITIES SECTION - Scaled for 1024px */
    .facilities-section {
        background: #0c4a5b !important;
        color: #f5e5c8 !important;
        padding: 45px 0 !important;
        text-align: center !important;
    }

    .facilities-section h2 {
        font-family: 'Libre Baskerville', serif !important;
        font-size: 28px !important;
        margin-bottom: 35px !important;
        font-weight: bold !important;
    }

    .facility-card {
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 9px !important;
        padding: 22px !important;
        margin: 12px !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .facility-card h3 {
        font-size: 18px !important;
        margin-bottom: 13px !important;
        color: #13C2CF !important;
    }

    .facility-card p {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    /* ANIMATIONS - Preserve hero-text animation for 1024px */
    .hero-text {
        opacity: 0 !important; /* Keep initial opacity 0 for animation */
        transition: opacity 1s ease !important; /* Keep original transition duration */
    }

    .hero-text.active {
        opacity: 1 !important; /* Allow active state to show text */
        position: relative !important;
    }

    .testimonial-card {
        transform: scale(1) !important;
    }

    .facility-card {
        transform: scale(1) !important;
    }

    /* HERO SECTION 2 - Quote Section */
    .hero-section2 {
        height: 300px !important;
    }

    .hero-section2 h2 {
        font-size: 35px !important;
        line-height: 1.4 !important;
    }

    .hero-section2 .tooth-icon {
        width: 40px !important;
        vertical-align: middle !important;
    }

    .tooth-icon {
        width: 40px !important;
        height: 40px !important;
    }

    /* HERO SECTION 3 - Advanced Carousel - Vertical layout for 1024px */
    .hero-section3 {
        width: 100vw !important;
        padding: 20px 0 !important;
        min-height: 60vh !important;
    }

    /* CAROUSEL CONTENT - Adjusted for vertical layout */
    .carousel-content {
        right: auto !important;
        width: 90% !important;
        max-width: 600px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .carousel-content h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1.2rem !important;
    }

    .carousel-content p {
        font-size: 22px !important;
        line-height: 1.5 !important;
        margin-bottom: 1.8rem !important;
    }

    .dentistry .doctors {
        margin-top: -100px !important;
        height: 70% !important;
        margin-bottom: -60px !important;
    }

    /* SLIDE CONTENT - Adjusted for vertical layout */
    .slide-content {
        right: auto !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .slide-content h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .slide-content p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.2rem !important;
    }

    /* BUTTONS - Scaled for 1024px */
    .read-more {
        padding: 6px 15px !important;
        font-size: 18px !important;
        border-radius: 12px !important;
    }

    .read-more-btn {
        padding: 6px 15px !important;
        font-size: 18px !important;
        border-radius: 12px !important;
    }

    /* INTRODUCTION SECTION - Scaled for 1024px */
    .intro-section {
        padding: 50px 20px !important;
        text-align: center !important;
    }

    .intro-section h2 {
        font-size: 32px !important;
        margin-bottom: 25px !important;
    }

    .intro-section p {
        font-size: 16px !important;
        line-height: 1.7 !important;
        max-width: 800px !important;
        margin: 0 auto !important;
    }

    /* PRICING SECTION - Scaled for 1024px */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    .pricing-card {
        padding: 25px !important;
        text-align: center !important;
    }

    .pricing-card h3 {
        font-size: 22px !important;
        margin-bottom: 15px !important;
    }

    .pricing-card .price {
        font-size: 28px !important;
        font-weight: bold !important;
        margin-bottom: 15px !important;
    }

    .pricing-card ul li {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 10px !important;
        text-align: left !important;
    }

    .pricing-card .btn {
        font-size: 14px !important;
        padding: 10px 20px !important;
        border-radius: 8px !important;
    }

    /* DOWNLOAD SECTION - Scaled for 1024px */
    .download-section {
        padding: 50px 20px !important;
        text-align: center !important;
    }

    .download-section h2 {
        font-size: 28px !important;
        margin-bottom: 25px !important;
    }

    .download-section p {
        font-size: 16px !important;
        line-height: 1.7 !important;
        max-width: 600px !important;
        margin: 0 auto 25px !important;
    }

    /* DOWNLOAD BUTTONS - Scaled for 1024px */
    .download-btn {
        background: #13C2CF !important;
        color: #183D4A !important;
        padding: 12px 25px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        border: none !important;
        transition: all 0.3s ease !important;
        margin: 8px !important;
    }

    .download-btn:hover {
        background: #0f9baf !important;
        transform: translateY(-2px) !important;
    }

    /* STATS SECTION - Scaled for 1024px */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
        max-width: 600px !important;
        margin: 0 auto !important;
    }

    .stat-card {
        padding: 25px !important;
        text-align: center !important;
    }

    .stat-card h3 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }

    .stat-card .number {
        font-size: 32px !important;
        font-weight: bold !important;
        margin-bottom: 5px !important;
        color: #13C2CF !important;
    }

    .stat-card p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* ANIMATIONS - Disabled for better performance */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }

    [data-aos="fade-up"],
    [data-aos="fade-down"],
    [data-aos="zoom-in"],
    [data-aos="zoom-depth"] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===================================
   LAPTOP L DISPLAYS (1440px and above) - Home Page
   =================================== */
@media screen and (min-width: 1440px) {

    /* HERO SECTION - Maintain horizontal layout like 4K */
    .hero-section {
        height: 75vh !important;
        width: 100vw !important;
    }

    .hero-text-container {
        padding: 3.4rem !important;
        max-width: 95% !important;
        margin: 0 auto !important;
    }

    /* HERO TEXT - Scaled for 1440px */
    .hero-text h1 {
        font-size: 45px !important;
        line-height: 1.2 !important;
    }

    .hero-text h2 {
        font-size: 27px !important;
        line-height: 1.3 !important;
    }

    /* HERO SECTION 2 - Quote Section */
    .hero-section2 {
        height: 350px !important;
    }

    .hero-section2 h2 {
        font-size: 40px !important;
        line-height: 1.5 !important;
    }

    .hero-section2 .tooth-icon {
        width: 45px !important;
        vertical-align: middle !important;
    }

    .tooth-icon {
        width: 45px !important;
        height: 45px !important;
    }

    /* HERO SECTION 3 - Advanced Carousel - Maintain horizontal layout */
    .hero-section3 {
        width: 100vw !important;
    }

    /* CAROUSEL CONTENT - Maintain horizontal positioning */
    .carousel-content {
        right: 6% !important;
        width: 40% !important;
    }

    .carousel-content h2 {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
    }

    .carousel-content p {
        font-size: 25px !important;
        line-height: 1.6 !important;
        margin-bottom: 2rem !important;
    }

    .dentistry .doctors {
        margin-top: -150px !important;
        height: 85% !important;
        margin-bottom: -80px !important;
    }

    /* SLIDE CONTENT - Maintain right-side positioning */
    .slide-content {
        right: 4% !important;
        max-width: 40% !important;
    }

    .slide-content h2 {
        font-size: 1.7rem !important;
        margin-bottom: 1.2rem !important;
    }

    .slide-content p {
        font-size: 0.8rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }

    /* BUTTONS - Scaled for 1440px */
    .read-more {
        padding: 8px 20px !important;
        font-size: 20px !important;
        border-radius: 15px !important;
    }

    .read-more-btn {
        padding: 7px 15px !important;
        font-size: 10px !important;
        border-radius: 15px !important;
    }

    .read-more-btn2,
    .read-more-btn3 {
        font-size: 11px !important;
        padding: 10px 25px !important;
        border-radius: 45px !important;
    }

    /* EXPERIENCE BOX - Scaled for 1440px */
    .experience-box {
        padding: 14px 22px !important;
        width: 200px !important;
        height: 90px !important;
    }

    .experience-box .years {
        font-size: 2.8rem !important;
    }

    .experience-box .text {
        font-size: 1.2rem !important;
    }

    /* DENTISTRY CONTENT SECTIONS */
    .dentistry-header {
        font-size: 52px !important;
        line-height: 1.2 !important;
    }

    .dentistry-text {
        font-size: 22px !important;
        line-height: 1.7 !important;
    }

    .dentistry-subHeader {
        font-size: 39px !important;
        line-height: 1.3 !important;
    }

    /* KIDS SECTION - 1440px layout: header+content in left column, image in right column */
    .kids-cool {
        padding-left: 22px !important;
    }

    .kids-cool .row {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
    }

    .kids-cool h1 {
        font-size: 39px !important;
    }

    .kids-cool p {
        font-size: 21px !important;
    }

    .kids-cool-header {
        margin-bottom: 22px !important;
    }

    .kids-content ul li h4 {
        order: 2 !important;
        font-size: 21px !important;
        line-height: 2.2rem !important;
        padding-left: 11px !important;
    }

    .kids-content h2 {
        margin-top: 8px !important;
        font-size: 33px !important;
    }

    .kids-cool .col-lg-6:last-child {
        order: 2 !important;
        flex: 0 0 40% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-right: 22px !important;
        margin-bottom: 22px !important;
    }

    .read-more-btn3 {
        font-size: 22px !important;
    }

    /* EXCEPTIONAL SECTION */
    .exceptional h1 {
        font-size: 51px !important;
        line-height: 1.2 !important;
    }

    /* TESTIMONIALS - Scaled for 1440px */
    .quote-icon {
        font-size: 20px !important;
        width: 34px !important;
        height: 34px !important;
        line-height: 28px !important;
        margin-bottom: 11px !important;
    }

    .testimonial-card,
    .testimonial-card2 {
        padding: 28px !important;
        border-radius: 0px 22px 0px 22px !important;
        height: 100%;
        width: 100%;
    }

    .testimonial-text {
        font-size: 22px !important;
        line-height: 1.7 !important;
    }

    .feedback-dots {
        bottom: 8px !important;
        right: 8px !important;
        width: 34px !important;
    }

    .divider {
        border-top: 2px solid black !important;
        margin: 0 0 8px 0 !important;
    }

    .author {
        font-size: 30px !important;
    }

    /* MARQUEE SECTION */
    .marquee-container {
        font-size: 22px !important;
    }

    /* ANIMATIONS - Disable complex animations for 1440px performance */
    [data-aos="zoom-depth"] span {
        transition: none !important;
    }

    [data-aos="zoom-depth"].aos-animate span {
        transform: none !important;
        opacity: 1 !important;
    }
}

