/* V2 Hero Section */
.v2-hero-section {
    background-color: #071B46;
    padding: 20px 0 70px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.v2-hero-section .container {
    max-width: 1400px;
    width: 95%;
}

.v2-hero-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
}

.v2-hero-left {
    flex: 1 1 62%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: -30px;
}

.v2-hero-right {
    flex: 1 1 34%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.v2-hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.v2-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #e2e8f0;
}

.v2-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.901);
    border-radius: 12px;
    padding: 20px 15px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.03);
}

.v2-feature-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.v2-feature-title {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 5px;
    color: #ffffff;
}

.v2-feature-desc {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.4;
}

.v2-feature-icon {
    background: #22c55e;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v2-pricing-row {
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
}

.v2-pricing-original {
    border: 1px dashed #FBBF24;
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 12px 30px 12px 20px;
    font-weight: 500;
    font-size: 1.05rem;
    margin-right: -15px; /* Pulls the yellow button to overlap */
    z-index: 1;
}

.v2-pricing-offer {
    background: linear-gradient(90deg, #FDE047 0%, #FBBF24 100%);
    color: #000;
    border-radius: 12px;
    padding: 12px 25px;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    z-index: 2;
    position: relative;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
}

.v2-green-cta {
    background: linear-gradient(180deg, #22C55E 0%, #16a34a 100%);
    color: white !important;
    border-radius: 12px;
    padding: 10px 5px;
    text-decoration: none;
    display: block;
    text-align: center;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.v2-green-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.4);
}

.v2-cta-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.v2-instructor-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.625);
    border-radius: 20px;
    padding: 0;
    width: 340px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.v2-instructor-img {
    width: 100%;
    height: 340px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    margin-bottom: 0px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.v2-instructor-content {
    padding: 0 20px 20px 20px;
    width: 100%;
}

.v2-instructor-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.v2-stat-item {
    flex: 1;
}

/* V2 Why Section */
.v2-why-section {
    background-color: #ffffff;
    padding: 20px 30px;
    border-radius: 20px;
    margin: 10px 0 0 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.v2-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}

.v2-why-item {
    display: flex;
    gap: 15px;
}

.v2-why-item:not(:first-child) {
    border-left: 1px solid #e5e7eb;
    padding-left: 30px;
}

.v2-social-proof-pill {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: -70px auto -45px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 20;
    flex-wrap: wrap;
    text-align: center;
}

.v2-pill-custom {
    margin-top: 20px;
    border-radius: 50px;
    padding: 15px 40px;
    gap: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.v2-pill-avatars {
    display: flex;
}

.v2-pill-text {
    text-align: left;
}

.v2-why-title {
    text-align: center;
    color: #071B46;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1px;
    margin-top: -15px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .v2-features-grid {
        grid-template-columns: 1fr;
    }
    .v2-why-item:not(:first-child) {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e5e7eb;
        padding-top: 30px;
    }
    .v2-pricing-pill {
        width: 100%;
        text-align: center;
        border-radius: 20px;
    }
    .v2-instructor-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .v2-hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
        word-spacing: 1.4px;
        letter-spacing: 0.2px;
        margin-top: -10px;
    }
    .v2-hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.2;
        letter-spacing: 0.5px;
    }
    .v2-feature-title {
        font-size: clamp(1rem, 4vw, 1.1rem);
    }
    .v2-feature-desc {
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 1px;
    }
    .v2-why-title {
        font-size: clamp(1.44rem, 4.8vw, 1.6rem); /* Specifically tuned to guarantee 'Dental Growth Blueprint' fits on one line */
        letter-spacing: 0.22px;
        line-height: 1.2;
    }
    .v2-why-section {
        margin: 20px 0 0 0;
        padding: 30px 15px;
    }
    .v2-why-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 6px;
    }
    .v2-why-item:not(:first-child) {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e5e7eb;
        padding-top: 10px;
    }
    .v2-pricing-row {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    .v2-pricing-original {
        border-right: 1px dashed #FBBF24;
        border-bottom: none;
        border-radius: 12px 12px 0 0;
        margin-right: 0;
        margin-bottom: -12px; /* Pull yellow button up to overlap vertically */
        padding: 15px 20px 22px; /* Extra padding at bottom for overlap */
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    .v2-pricing-offer {
        border-radius: 12px;
        justify-content: center;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        font-size: clamp(0.9rem, 4vw, 1.15rem);
    }
    .v2-pricing-offer span {
        font-size: clamp(1rem, 4.5vw, 1.3rem) !important;
    }
    .v2-hero-content-wrapper {
        gap: 10px;
    }
    .v2-instructor-card {
        width: 100%; /* Prevents overflow */
        max-width: 340px; /* Keeps it looking normal if screen is large enough */
        box-sizing: border-box;
        margin: 0 auto;
    }
    .v2-social-proof-pill {
        border-radius: 20px;
        flex-direction: column;
        padding: 15px 5px; /* Reduced padding to save horizontal space */
        gap: 10px;
        width: 100%; /* Force it to stay within the screen */
        max-width: 100%;
        box-sizing: border-box;
    }
    .v2-pill-avatars {
        justify-content: center;
        margin-left: 15px; /* Offset the negative margin of overlapping avatars to perfectly center the group */
    }
    .v2-pill-text {
        text-align: center;
    }
    .v2-pill-subtitle {
        white-space: nowrap;
        font-size: clamp(0.4rem, 3vw, 0.85rem) !important; /* Scales down aggressively to prevent overflow */
    }
    
    .v2-cta-features {
        gap: 0px;
        font-size: 0.77rem;
        justify-content: center;
    }
    .v2-cta-features span:nth-child(1),
    .v2-cta-features span:nth-child(2) {
        width: auto;
        white-space: nowrap;
    }
    .v2-cta-features span:nth-child(3),
    .v2-cta-features span:nth-child(4) {
        width: 100%;
        text-align: center;
        margin-top: 2px;
    }
}

/* --- V2 Trust Banner --- */
.v2-trust-banner-wrapper {
    background-color: #f8fafc;
    padding: 5px 5px;
    width: 100%;
}

.v2-trust-banner {
    background-color: #ffffff;
    border: 2px solid #059669;
    border-radius: 12px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.v2-tb-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0px 20px;
}

.v2-tb-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
    word-spacing: 1px;
}

.v2-tb-divider {
    border: none;
    border-top: 1px solid rgba(5, 150, 105, 0.2);
    margin: 0;
}

.v2-tb-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: -5px 30px;
    gap: 15px;
}

.v2-tb-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.v2-tb-desc {
    font-size: 1.1rem;
    color: #1e293b;
    line-height: 1.4;
}

.v2-tb-stars-wrap {
    border-left: 1px solid #cbd5e1;
    padding-left: 15px;
    display: flex;
    align-items: center;
}

.v2-tb-stars {
    display: flex;
    gap: 6px;
    color: #059669;
    font-size: 24px;
}

.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .v2-trust-banner-wrapper {
        padding: 2px 2px;
    }
    .v2-tb-top {
        padding: 5px 5px;
        flex-direction: row;
        gap: 8px;
        justify-content: center;
    }
    .v2-tb-top i {
        font-size: 18px !important;
    }
    .v2-tb-title {
        font-size: 0.85rem;
        letter-spacing: 0;
    }
    .v2-tb-bottom {
        flex-direction: row;
        padding: 5px 5px;
        gap: 8px;
        align-items: stretch;
        justify-content: space-between;
    }
    .v2-tb-stats {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        flex: 1;
    }
    .v2-tb-stats i {
        font-size: 24px !important;
    }
    .v2-tb-desc {
        font-size: 0.8rem;
        text-align: left;
        line-height: 1.3;
        margin-bottom: 0;
    }
    .v2-tb-stars-wrap {
        border-left: 1px solid #cbd5e1;
        border-top: none;
        padding-left: 8px;
        padding-top: 0;
        width: auto;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Bulletproof vertical centering */
    }
    .v2-tb-stars {
        font-size: 10px;
        gap: 2px;
        display: flex;
        align-items: center;
        margin: auto 0; /* Fallback vertical center */
    }
    .mobile-break {
        display: block;
    }
}

/* ===================== DENTIST TESTIMONIALS SECTION ===================== */
.dentist-testimonials-section {
    background-color: #071B46;
    padding: 45px 0 50px; /* Reduced padding */
    font-family: 'Inter', sans-serif;
}

/* Header */
.dentist-testimonials-header {
    margin-bottom: 30px; /* Reduced bottom margin */
}

.dt-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(47, 128, 237, 0.15);
    border: 1px solid rgba(47, 128, 237, 0.4);
    color: #FBBF24;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.dt-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.15;
}

.dt-highlight {
    background-color: #2F80ED;
    color: #ffffff;
    padding: 0 10px;
    border-radius: 6px;
    display: inline-block;
}

.dt-subtitle {
    color: #94a3b8;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 500;
    max-width: 560px;
    margin: 0 auto 16px;
    line-height: 1.6;
}

.dt-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    font-size: 22px;
}

/* Videos Grid */
.dt-videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* Video Card */
.dt-video-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
    width: 100%;
    max-width: 290px; /* Reduced width to make the portrait layout shorter and more compact */
    margin: 0 auto;   /* Centers cards in their grid cells */
}

.dt-video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(47, 128, 237, 0.25);
}

.dt-video-card-inner {
    background: linear-gradient(145deg, #0d2460, #112d6e);
    border: 1px solid rgba(47, 128, 237, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Video Label */
.dt-video-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px 12px;
    color: #e2e8f0;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

/* Video Wrapper — Portrait Phone Aspect Ratio */
.dt-video-wrapper {
    width: 100%;
    aspect-ratio: 9 / 16;   /* Perfect vertical phone layout ratio */
    background: #000;
    overflow: hidden;
    flex-shrink: 0;
    display: grid;          /* grid stacking for overlay */
}

.dt-video-player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;    /* shows the entire video, no cropping, no stretching */
    background: #000;
    grid-area: 1 / 1;
}

/* Custom Play Overlay */
.dt-video-overlay {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 27, 70, 0.55);
    cursor: pointer;
    transition: background 0.25s ease;
    z-index: 2;
}

.dt-video-overlay:hover {
    background: rgba(7, 27, 70, 0.35);
}

.dt-video-overlay.hidden {
    display: none;
}


.dt-play-btn {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #2F80ED, #1a5fba);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(47, 128, 237, 0.5);
    animation: dt-pulse 2s infinite;
    transition: transform 0.2s ease;
}

.dt-video-overlay:hover .dt-play-btn {
    transform: scale(1.08);
}

@keyframes dt-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(47, 128, 237, 0.55); }
    60%  { box-shadow: 0 0 0 18px rgba(47, 128, 237, 0); }
    100% { box-shadow: 0 0 0 0 rgba(47, 128, 237, 0); }
}

/* ---- Responsive: Tablet (481px – 900px) ---- */
@media (max-width: 900px) {
    .dt-videos-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .dt-title {
        font-size: clamp(1.7rem, 5vw, 2.4rem);
    }

    .dentist-testimonials-section {
        padding: 48px 0 56px;
    }
}

/* ---- Responsive: Mobile (≤ 600px) ---- */
@media (max-width: 600px) {
    .dentist-testimonials-section {
        padding: 40px 0 48px;
    }

    .dt-videos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
    }

    .dt-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .dt-subtitle {
        font-size: 0.92rem;
    }

    .dt-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
    }

    .dt-play-btn {
        width: 56px;
        height: 56px;
    }

    .dt-video-label {
        font-size: 0.85rem;
        padding: 12px 14px 10px;
    }

    .dt-video-card {
        max-width: 330px; /* Make it wider on mobile to reduce left/right blank space */
        width: 88%;
    }

    .dt-video-wrapper {
        aspect-ratio: 10 / 16; /* Slightly wider portrait ratio for mobile so it is not excessively long */
    }
}

/* ---- Responsive: Very small (≤ 400px) ---- */
@media (max-width: 400px) {
    .dt-play-btn {
        width: 48px;
        height: 48px;
    }

    .dentist-testimonials-section {
        padding: 32px 0 40px;
    }
}
/* ===================== END DENTIST TESTIMONIALS SECTION ===================== */
