.containar {
    margin: 0% 11.5%;
}

hr{
    margin: 0%;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}


/* ============================= */
/* FIRST SECTION STARTS */
/* ============================= */


/* MODEL: 1 STARTS */

.service-section.diagnostic-bg {
    padding: 60px 0 60px 0;
    /* Replaces .fsinp2 */
    background: #dfbda3;
    background: -webkit-linear-gradient(to top, #333333, #000);
    /* Note: Added the !important as per your original code to override other backgrounds */
    background-image: linear-gradient(to top, #333333, #000), url(images/interior.jpg) !important;
}

/* Card Titles */
.service-section h4 {
    font-size: 16px;
    font-weight: 700;
}

/* Paragraph spacing inside cards */
.service-section p {
    margin-bottom: 4%;
}

/* Card styling (The white boxes) */
.checkup-card {
    padding: 20px;
    background: #fff;
    margin-bottom: 0px;
    border: 1px solid #ccc;
    border-radius: 10px;

    /* NEW: This forces the card to fill the 100% height of the d-flex column */
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;

}

.checkup-card p {
    margin-bottom: 0%;
    /* NEW: This allows the paragraph to expand and push the card boundaries evenly */
    flex-grow: 1;
}

/* The orange line under H4s */
.divider-line {
    border: 1px solid #e48753;
    margin: 0px 0px 10px;
}

/* Sidebar Column (Right Side) */
.sidebar-info {
    margin-top: 10px;
    /* Replaces .para */
}

.sidebar-info img {
    height: 15.4rem;
    width: -webkit-fill-available;
    margin-bottom: 2rem;
    margin-top: -8px;
    border-radius: 10px;
}

.sidebar-info h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}

.sidebar-info p {
    text-align: justify;
    color: #cccccc;
}

/* Container spacing override */
.content-wrapper {
    margin: 0% 11.5%;
    /* Replaces .containar */
}

/* Intro Text Styling */
.checkup-intro h2 {
    font-size: 24px;
    font-weight: 500;
}

/* Mobile Margin Utility */
.mobile-margin {
    margin-bottom: 2rem;
    /* Replaces .m-mb-2 */
}

.service-section .col-md-6 {
    margin-bottom: 20px;
    /* Consistent spacing for all boxes when stacking */
}










/* ============================= */
/* MEDIA QUERIES FOR FIRST SECTION */
/* ============================= */

/* 1. Large Desktops (Adjusting the custom margins for very wide screens) */
@media (min-width: 1400px) {
    .content-wrapper {
        margin: 0% 11.5%;
    }
}

/* 2. Standard Laptops */
@media (max-width: 1199px) {
    .content-wrapper {
        margin: 0% 5%;
    }

    .service-section h4 {
        font-size: 15px;
    }

    .checkup-card p {
        text-wrap: balance;
    }

    /* Prevents awkward text gaps */
}

/* 3. Tablets */
@media (max-width: 991px) {
    .content-wrapper {
        margin: 0% 3%;
    }

    .sidebar-info img {
        height: auto;
    }

    .checkup-intro h2,
    .sidebar-info h2 {
        font-size: 22px;
    }

    .checkup-card {
        padding: 15px;
    }

    /* Slightly tighter padding for better text fit */
}

/* 4. Large Phones (Stacking) */
@media (max-width: 767px) {
    .service-section.diagnostic-bg {
        padding: 40px 0;
    }

    .content-wrapper {
        margin: 0% 15px;
    }

    .sidebar-info {
        margin-top: 30px;
        text-align: center;
    }

    .sidebar-info p {
        text-align: center;
        max-width: 90%;
        /* Keeps text block narrow and readable */
        margin-left: auto;
        margin-right: auto;
    }
}

/* 5. Small Phones */
@media (max-width: 575px) {
    .checkup-card {
        padding: 20px;
    }

    /* Return to larger padding for comfort */
    .checkup-intro h2,
    .sidebar-info h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    .service-section h4 {
        font-size: 16px;
    }

    /* Slightly larger for readability on small screens */
}

/* 6. Extra Small */
@media (max-width: 375px) {
    .checkup-intro h2 {
        font-size: 18px;
    }

    .checkup-card p {
        font-size: 14px;
    }

    /* Smaller text prevents card from becoming too long */
}


/* MODEL: 1 ENDS */



/* MODEL: 2 STARTS */

/* Container Spacing */
.emax-section {
    padding: 70px 0px;
}

/* Background Logic */
.dark-gradient-bg {
    background: linear-gradient(to top, #333333, #000), url('images/interior.jpg') !important;
    background-size: cover;
}

/* Left Intro Styling */
.emax-intro h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.3;
}

.emax-intro p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Card Styling (Equal Height) */
.emax-card {
    background-color: #fff;
    color: #212529;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /* Fixes the box height problem */
    transition: transform 0.3s ease;
}

.emax-card img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    /* Ensures images aren't stretched */
}

.emax-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.emax-card h3 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #e48753;
}

.emax-underline {
    border: 1px solid #e48753;
    /* width: 40px;  */
    margin-bottom: 15px;
}

.emax-card p {
    font-size: 14px;
    margin-bottom: 0;
    flex-grow: 1;
    /* Pushes content to fill space */
}



/* ============================================================
   EMAX SECTION RESPONSIVE BREAKPOINTS
   ============================================================ */

/* 1. Large Desktops (Keeping the 11.5% margin look clean on big screens) */
@media (min-width: 1400px) {
    .content-wrapper {
        margin: 0 11.5%;
    }

    .emax-intro h2 {
        font-size: 32px;
        /* Slightly larger for high-res screens */
    }
}

/* 2. Standard Laptops (Small adjustment to prevent text stretching) */
@media (max-width: 1199px) {
    .content-wrapper {
        margin: 0 8%;
    }

    .emax-intro h2 {
        font-size: 26px;
    }
}

/* 3. Tablets (Shift to centered layout for better focus) */
@media (max-width: 991px) {
    .content-wrapper {
        margin: 0 5%;
    }

    .emax-intro {
        text-align: center;
        margin-bottom: 50px;
        /* Strong separation from cards */
    }

    .emax-intro p {
        padding: 0 5%;
        /* Keeps the lines from getting too wide */
    }
}

/* 4. Large Phones (Stacking the cards vertically) */
@media (max-width: 767px) {
    .emax-section {
        padding: 50px 0;
    }

    .content-wrapper {
        margin: 0 15px;
        /* Switch to standard padding for narrow screens */
    }

    /* Add vertical gap between the cards since they are no longer side-by-side */
    .emax-section .col-md-6 {
        margin-bottom: 25px;
    }

    .emax-section .col-md-6:last-child {
        margin-bottom: 0;
    }

    .emax-card img {
        height: 220px;
        /* Larger image focus for mobile */
    }
}

/* 5. Small Phones (Refining text balance) */
@media (max-width: 575px) {
    .emax-intro h2 {
        font-size: 22px;
    }

    .emax-card h3 {
        font-size: 17px;
    }

    .emax-card-body {
        padding: 15px;
    }
}

/* 6. Extra Small (Optimizing for narrow devices like iPhone SE) */
@media (max-width: 375px) {
    .emax-intro h2 {
        font-size: 20px;
    }

    .emax-card img {
        height: 180px;
        /* Smaller image to keep more text above the fold */
    }

    .emax-card p {
        font-size: 13px;
        line-height: 1.4;
    }
}


/* MODEL: 2 ENDS */




/* MODEL: 3 STARTS */

.premium-dark-bg {
    background: radial-gradient(circle at top, #2c2c2c 0%, #000000 100%);
    padding: 70px 0;
    overflow: hidden;
}

/* Header Typography */
.display-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
}

.title-accent {
    width: 60px;
    height: 4px;
    background: #ff7b00;
    /* Your brand orange */
    margin: 20px auto;
    border-radius: 10px;
}

.header-subtitle {
    font-size: 18px;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* Card Container & Animations */
.cleaning-card-premium {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cleaning-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Image Handling & Zoom */
.img-container {
    overflow: hidden;
    height: 220px;
    width: 100%;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.cleaning-card-premium:hover .img-container img {
    transform: scale(1.12);
}

/* Card Body Text */
.card-content {
    padding: 30px 25px;
    flex-grow: 1;
    text-align: left;
}

.card-content h6 {
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
}

.card-content p {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 0;
}


/* 1. Large Desktops (1400px+) */
@media (min-width: 1400px) {
    .content-wrapper {
        margin: 0 11.5%;
    }
}

/* 2. Standard Laptops (1200px - 1399px) */
@media (max-width: 1399px) {
    .content-wrapper {
        margin: 0 8%;
    }

    .display-title {
        font-size: 32px;
    }
}

/* 3. Small Laptops (992px - 1199px) */
@media (max-width: 1199px) {
    .content-wrapper {
        margin: 0 5%;
    }

    .display-title {
        font-size: 30px;
    }

    .header-subtitle {
        font-size: 17px;
    }
}

/* 4. Tablets (768px - 991px) */
@media (max-width: 991px) {
    .cleaning-section .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .display-title {
        font-size: 28px;
    }

    .card-content h6 {
        font-size: 19px;
    }

    .premium-dark-bg {
        padding: 70px 0;
    }
}

/* 5. Mobile Phones (481px - 767px) */
@media (max-width: 767px) {
    .content-wrapper {
        margin: 0 20px;
    }

    .cleaning-section .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .display-title {
        font-size: 26px;
    }

    .header-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .card-content {
        padding: 25px 20px;
    }

    .img-container {
        height: 200px;
    }
}

/* 6. Extra Small Devices (Under 480px) */
@media (max-width: 480px) {
    .display-title {
        font-size: 22px;
    }

    .header-subtitle {
        font-size: 14px;
    }

    .card-content h6 {
        font-size: 18px;
    }

    .card-content p {
        font-size: 14px;
    }

    .img-container {
        height: 180px;
    }

    .premium-dark-bg {
        padding: 50px 0;
    }
}

/* MODEL: 3 ENDS */


/* ============================= */
/* FIRST SECTION ENDS */
/* ============================= */







/* ============================= */
/* BENEFITS SECTION STARTS */
/* ============================= */


/* Header/Intro Area */
.section-intro p {
    margin: 15px 0 25px !important;
    font-size: 17px;
}

/* Benefit Card Container */
.benefit-card {
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #e48753;
    border-radius: 5px;
    display: flex;
    width: 100%;
    /* Ensures cards fill column width */
}

/* Icon Styling */
.benefit-icon {
    height: 3rem;
    width: 3rem;
    margin-top: 0.4rem;
    flex-shrink: 0;
    /* Prevents icon from squishing */
}

/* Content Area */
.benefit-content h6 {
    margin: 0 0 0 1.2rem;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    color: #1c1c1c;
}

.benefit-content p {
    margin: 5px 0 0 1.2rem;
    font-size: 16px;
}

/* ------------------------- */
/* Tablets / Small Laptops ≤ 991px */
/* ------------------------- */
@media (max-width: 991px) {

    .benefit-card {
        padding: 18px;
    }

    .benefit-content h6 {
        font-size: 22px;
    }
}

/* ------------------------- */
/* Tablet Portrait / Large Phones ≤ 767px */
/* ------------------------- */
@media (max-width: 767px) {

    .benefit-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .benefit-icon {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .benefit-content h6,
    .benefit-content p {
        margin-left: 0;
        /* Resetting desktop offset */
    }
}

/* ------------------------- */
/* Mobile Phones ≤ 480px */
/* ------------------------- */
@media (max-width: 480px) {

    .benefit-icon {
        height: 2.5rem;
        width: 2.5rem;
    }

    .benefit-content h6 {
        font-size: 19px;
    }
}

/* ============================= */
/* TABLET (Internal/Legacy) */
/* ============================= */
@media (max-width: 991px) {
    .section-intro p {
        font-size: 18px;
    }
}

/* ============================= */
/* MOBILE (Internal/Legacy) */
/* ============================= */
@media (max-width: 767px) {
    .section-intro p {
        font-size: 16px;
        margin: 10px 0 20px !important;
    }
}

/* ============================= */
/* SMALL MOBILE (Internal/Legacy) */
/* ============================= */
@media (max-width: 480px) {
    .benefit-card {
        padding: 15px;
        border-width: 1.5px;
    }

    .benefit-content p {
        font-size: 15px;
    }
}

/* ============================= */
/* BENEFITS SECTION ENDS */
/* ============================= */









/* banner starts */

/* --- Hero Banner Component --- */
/* --- Banner Variables --- */
:root {
    --hero-overlay: rgba(10, 5, 1, 0.75);
    --hero-accent: #f36c21; /* Your brand orange */
}

.hero-banner {
    position: relative;
    /* Cleaned up gradient and logic */
    background: linear-gradient(var(--hero-overlay), rgba(18, 28, 38, 0.6)), 
                url('../assets/images/index/reception.png') no-repeat center center;
    background-size: cover;
    /* height: 30rem; */
    min-height: 65vh; /* Responsive height based on viewport */
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    padding: 60px 0;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4.5rem); /* Responsive Font */
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing:0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 35px;
    opacity: 0.95;
    padding: 0 15px;
}

/* --- Added Premium CTA Button Style --- */
.btn-appointment {
    display: inline-block;
    padding: 7px 20px;
    background-color: var(--hero-accent);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid var(--hero-accent);
}

.btn-appointment:hover {
    background-color: transparent;
    color: var(--hero-accent);
}


/* 1. Extra Small (Phones < 576px) */
@media (max-width: 575.98px) {
    .hero-banner { height: 450px; }
    .hero-title { letter-spacing: -1px; }
}

/* 2. Small (Tablets Portrait 576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-banner { height: 500px; }
}

/* 3. Medium (Tablets Landscape 768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-banner { height: 550px; }
}

/* 4. Large (Laptops 992px - 1199px) */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .hero-banner { height: 600px; }
}

/* 5. Extra Large (Desktop L / Gaming Monitors 1400px - 2559px) */
@media (min-width: 1400px) {
    .hero-banner { height: 510px; }
    .hero-title { margin-top: 55px; }
    .hero-content { max-width: 1100px; }
}

/* 6. Ultra Wide / 4K (2560px and up) */
@media (min-width: 2560px) {
    .hero-banner { height: 850px; }
    .hero-title { font-size: 100px; }
    .hero-subtitle { font-size: 32px; max-width: 1400px; margin: 0 auto 40px; }
}


/* banner ends */




/* ============================= */
/* 3 STEPS SECTION STARTS */
/* ============================= */

.steps-container {
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.steps-container h2 {
    margin-bottom: 40px;
}

/* Steps Wrapper */
.steps-grid-wrapper {
    gap: 80px;
}

/* Card */
.step-card {
    position: relative;
    text-align: center;
}

/* Step Image */
.step-card img {
    width: 21rem;
    max-width: 100%;
    height: auto;
    margin: 10px auto;
    border-radius: 7px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Step Number Badge */
.step-badge img {
    width: 50px;
    position: absolute;
    top: -20px;
    /* left: 50%; */
    transform: translateX(-50%);
    box-shadow: none !important;
}

/* Title */
.step-card h4 {
    margin: 2.5rem 0;
    font-size: 18px;
    font-weight: 500;
}

/* Button */
.appointment-btn {
    padding: 7px 20px;
    background-color: #7f9c92;
    border: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}

.three-section-title {
    /* margin-bottom: 45px; */
    font-weight: 500;
    color: #333;
}


/* ============================= */
/* TABLET */
/* ============================= */
@media (max-width: 991px) {

    .step-card img {
        width: 20rem;
    }

    .step-card h4 {
        font-size: 17px;
        margin: 0;
    }

    .step-badge img {
        width: 50px;
        position: unset;
        transform: none;
    }

    .steps-grid-wrapper {
        gap: 50px;
        margin-bottom: 30px;
    }
}

/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 767px) {

    .steps-container {
        margin: 60px auto;
    }

    .steps-container h2 {
        font-size: 22px;
    }

    .step-card {
        margin-bottom: 20px;
    }

    .step-card img {
        width: 100%;
        max-width: 360px;
    }

    .step-card h4 {
        font-size: 16px;
        margin: 0;
    }

    .appointment-btn {
        font-size: 16px;
        padding: 12px 24px;
    }

    .steps-grid-wrapper {
        gap: 50px;
        margin-bottom: 30px;
    }

    .step-badge img {
        position: unset;
        transform: none;
        width: 42px;
    }
}

/* ============================= */
/* SMALL MOBILE */
/* ============================= */
@media (max-width: 480px) {

    .steps-container h2 {
        font-size: 20px;
    }

    .step-badge img {
        width: 42px;
    }
}


/* --- SIX MEDIA QUERIES FOR RESPONSIVENESS --- */

/* 1. Micro-screens (Under 320px) */
@media (max-width: 320px) {
    .three-section-title { font-size: 20px; margin-bottom: 25px; }
}

/* 2. Standard Mobile (321px - 576px) */
@media (min-width: 321px) and (max-width: 576px) {
    .three-section-title { font-size: 24px; }
}

/* 4. Laptops / Small Desktop (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .three-section-title { font-size: 28px; }
}

/* 6. Large Screens / 4K (> 1400px) */
@media (min-width: 1401px) {
    .three-section-title { font-size: 30px; }
}


/* ============================= */
/* 3 STEPS SECTION ENDS */
/* ============================= */






/* ============================= */
/* PROCESS SECTION STARTS */
/* ============================= */

/* --- Base Styles --- */
.process-section {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    /* margin-bottom: 45px; */
    font-weight: 500;
    color: #333;
}

.process-card {
    /* background: #fff; */
    background: rgb(244 244 244);
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s ease;
    width: 100%; /* Ensures card fills the flex column */
    border: 1px solid #f0f0f0;
}

/* .process-card:hover {
    transform: translateY(-5px);
} */

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #69BC45;
    width: 45px;
    height: 45px;
    color: #fff;
    font-weight: 700;
    border-radius: 42%;
    margin-bottom: 20px;
    font-size: 18px;
}

.process-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.process-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

/* --- SIX MEDIA QUERIES FOR RESPONSIVENESS --- */

/* 1. Micro-screens (Under 320px) */
@media (max-width: 320px) {
    .process-section { padding: 30px 0; }
    .section-title { font-size: 20px; margin-bottom: 25px; }
    .process-card { padding: 15px; }
}

/* 2. Standard Mobile (321px - 576px) */
@media (min-width: 321px) and (max-width: 576px) {
    .process-section { padding: 40px 0; }
    .section-title { font-size: 24px; }
    .process-card { text-align: center; } /* Center text for better mobile thumb-read */
}

/* 3. Tablets / Small Screens (577px - 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    .process-section { padding: 50px 0; }
    .process-card h5 { font-size: 16px; }
    .row.g-4 { --bs-gutter-y: 1.5rem; } /* Add vertical spacing when cards stack */
}

/* 4. Laptops / Small Desktop (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .section-title { font-size: 28px; }
    .process-card p { font-size: 13px; } /* Slightly smaller text to fit side-by-side */
}

/* 5. Desktop (993px - 1200px) */
@media (min-width: 993px) and (max-width: 1400px) {
    .process-section { padding: 70px 0; }
    .process-card { padding: 20px; }
}

/* 6. Large Screens / 4K (> 1400px) */
@media (min-width: 1401px) {
    .process-section { padding: 60px 0; }
    .section-title { font-size: 36px; }
    .process-card p { font-size: 15px; }
    .step-number { width: 40px; height: 40px; font-size: 18px; }
}


/* ============================= */
/* PROCESS SECTION ENDS */
/* ============================= */





/* ============================= */
/* TAB SECTION STARTS            */
/* ============================= */

.smiledesign-content-wrapper .smiledesign-pane {
    display: none !important;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

.smiledesign-content-wrapper .smiledesign-pane.sd-active {
    display: block !important;
}

.smiledesign-content-wrapper .smiledesign-pane.sd-show {
    opacity: 1 !important;
}


.display-title {
    font-size: 2.25rem;
    letter-spacing: -0.5px;
    color: #f9fafb;
}

.title-accent {
    width: 60px;
    height: 4px;
    background-color: #e48753;
    border-radius: 2px;
}

.care-tab-nav-wrapper {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.care-tab-nav-wrapper .smiledesign-nav-link {
    color: #6b7280;
    font-weight: 600;
    font-size: 0.925rem;
    background: transparent;
    border-radius: 8px;
    border: 1px solid transparent !important;
    cursor: pointer;
    outline: none;
}

.care-tab-nav-wrapper .smiledesign-nav-link:hover {
    color: #f9fafb;
    background-color: rgba(255, 255, 255, 0.05);
}

.care-tab-nav-wrapper .smiledesign-nav-link.sd-active {
    color: #f9fafb !important;
    background-color: #e48753 !important;
    box-shadow: 0 10px 20px rgba(228, 135, 83, 0.25) !important;
}

.clinical-premium-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.clinical-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35) !important;
}

.clinical-image-container {
    height: 220px;
    background-color: #f3f4f6;
}

.clinical-image-container img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.clinical-premium-card:hover .clinical-image-container img {
    transform: scale(1.06);
}

.clinical-card-body h5 {
    color: #111827;
    font-size: 1.25rem;
    letter-spacing: -0.3px;
}

.clinical-card-body p {
    color: #4b5563 !important;
}

.clinical-footer-announcement {
    max-width: 900px;
    font-size: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 35px;
}

.transition-all {
    transition: all 0.3s ease;
}

@media (max-width: 320px) {
    .display-title { font-size: 1.5rem; }
    .clinical-image-container { height: 160px; }
    .care-tab-nav-wrapper .smiledesign-nav-link { font-size: 0.8rem; padding: 10px !important; }
    .clinical-footer-announcement { font-size: 0.85rem; }
}

@media (min-width: 321px) and (max-width: 576px) {
    .display-title { font-size: 1.75rem; }
    .clinical-image-container { height: 180px; }
    .care-tab-nav-wrapper .smiledesign-nav-link { font-size: 0.85rem; }
    .clinical-footer-announcement { font-size: 0.9rem; }
}

@media (min-width: 577px) and (max-width: 768px) {
    .display-title { font-size: 2rem; }
    .clinical-image-container { height: 200px; }
}

@media (min-width: 769px) and (max-width: 992px) {
    .care-tab-nav-wrapper .smiledesign-nav-link { font-size: 0.85rem; padding: 12px 15px !important; }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .clinical-image-container { height: 190px; }
    .care-tab-nav-wrapper .smiledesign-nav-link { font-size: 0.9rem; }
}

@media (min-width: 1201px) {
    .container { max-width: 1240px; }
}

/* ============================= */
/* TAB SECTION ENDS */
/* ============================= */


/* under tab section starts */

/* --- BASE CSS Styles --- */
.aesthetic-workflow-section {
    background-color: #ffffff;
    overflow: hidden;
}

/* Enforced clean text-center alignment with optimal paragraph width */
.aesthetic-section-desc {
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.7;
    text-align: center !important;
    font-size: 18px;
}

.aesthetic-process-card {
    background: #ffffff;
    border: 1px solid rgba(27, 40, 74, 0.1);
    padding: 40px 30px;
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aesthetic-process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(27, 40, 74, 0.06) !important;
}

.aesthetic-icon-wrapper {
    width: 100px;
    height: 100px;
    background-color: rgba(27, 40, 74, 0.02);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: background-color 0.3s ease;
}

.aesthetic-process-card:hover .aesthetic-icon-wrapper {
    background-color: rgba(27, 40, 74, 0.05);
}

.aesthetic-icon-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.aesthetic-text-body h5 {
    color: #1b284a;
    font-size: 1.2rem;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
    line-height: 1.4;
}

.aesthetic-text-body p {
    font-size: 0.925rem;
    line-height: 1.65;
    color: #5a626a !important;
}




/* --- SIX MEDIA QUERIES FOR RESPONSIVENESS --- */

/* 1. Micro-screens (Under 320px) */
@media (max-width: 320px) {
    .aesthetic-process-card {
        padding: 30px 15px;
    }
    .aesthetic-section-desc,
    .aesthetic-text-body p,
    .aesthetic-footer-note {
        font-size: 0.85rem;
    }
    .aesthetic-text-body h5 {
        font-size: 1.05rem;
    }
    .aesthetic-icon-wrapper {
        width: 60px;
        height: 60px;
    }
}

/* 2. Standard Mobile (321px - 576px) */
@media (min-width: 321px) and (max-width: 576px) {
    .aesthetic-process-card {
        padding: 35px 20px;
    }
    .aesthetic-section-desc {
        font-size: 0.9rem;
    }
    .aesthetic-text-body h5 {
        font-size: 1.1rem;
    }
    .aesthetic-text-body p {
        font-size: 0.875rem;
    }
}

/* 3. Tablets / Small Screens (577px - 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    .aesthetic-process-card {
        padding: 35px 25px;
    }
}

/* 4. Laptops / Small Desktop (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .aesthetic-process-card {
        padding: 40px 25px;
    }
}

/* 5. Desktop (993px - 1400px) */
@media (min-width: 993px) and (max-width: 1400px) {
    .aesthetic-process-card {
        padding: 40px 30px;
    }
}

/* 6. Large Screens / 4K (> 1400px) */
@media (min-width: 1401px) {
    .container {
        max-width: 1320px;
    }
    .aesthetic-process-card {
        padding: 35px;
    }
    .aesthetic-text-body h5 {
        font-size: 1.25rem;
    }
    .aesthetic-text-body p {
        font-size: 0.95rem;
    }
}

/* under tab section ends */