/* =========================================================
   PRAVEEN PHYSIOTHERAPY CLINIC
   VIDEOS PAGE
========================================================= */

:root {
    --primary: #16A085;
    --primary-dark: #0F4C81;
    --navy: #0F4C81;
    --light-teal: #EAF7F5;
    --background: #F6FAFC;
    --white: #ffffff;
    --text: #1E293B;
    --muted: #64748B;
    --border: #E2E8F0;
    --shadow: 0 18px 45px rgba(15, 76, 129, 0.10);
}


/* =========================================================
   HERO
========================================================= */

.videos-hero {
    position: relative;
    width: 100%;
    min-height: 430px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(22, 160, 133, 0.12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #F6FAFC 0%,
            #EAF7F5 100%
        );

    overflow: hidden;
}

.videos-hero::before {
    content: "";
    position: absolute;

    width: 360px;
    height: 360px;

    right: -120px;
    top: -130px;

    border-radius: 50%;

    border: 60px solid rgba(22, 160, 133, 0.06);
}

.videos-hero::after {
    content: "";
    position: absolute;

    width: 220px;
    height: 220px;

    left: -100px;
    bottom: -120px;

    border-radius: 50%;

    background: rgba(15, 76, 129, 0.05);
}

.videos-hero-content {
    position: relative;
    z-index: 2;

    width: min(1180px, 92%);
    margin: 0 auto;

    padding: 80px 0;
}

.videos-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 10px 18px;

    border-radius: 50px;

    background: var(--white);
    color: var(--primary);

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 8px 25px rgba(15, 76, 129, 0.08);
}

.videos-badge i {
    font-size: 15px;
}

.videos-hero h1 {
    max-width: 800px;

    margin: 22px 0 18px;

    color: var(--navy);

    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2px;
}

.videos-hero h1 span {
    display: block;
    color: var(--primary);
}

.videos-hero p {
    max-width: 680px;

    margin: 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.8;
}

.videos-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 30px;

    padding: 14px 24px;

    border-radius: 10px;

    background: var(--navy);
    color: var(--white);

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition: 0.3s ease;
}

.videos-hero-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
}


/* =========================================================
   MAIN SECTION
========================================================= */

.videos-section {
    width: 100%;
    padding: 90px 0 100px;

    background: var(--white);
}

.videos-section .container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;

    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--primary);

    font-size: 14px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-heading h2 {
    margin: 14px 0 14px;

    color: var(--navy);

    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;

    font-weight: 800;
}

.section-heading h2 span {
    color: var(--primary);
}

.section-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   VIDEO GRID
========================================================= */

.videos-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}


/* =========================================================
   VIDEO CARD
========================================================= */

.video-card {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow: var(--shadow);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.video-card:hover {
    transform: translateY(-8px);

    border-color: rgba(22, 160, 133, 0.30);

    box-shadow: 0 25px 55px rgba(15, 76, 129, 0.14);
}


/* =========================================================
   VIDEO WRAPPER
   IMPORTANT:
   No fixed 16:9 height.
   This prevents vertical videos from being cropped.
========================================================= */

.video-wrapper {
    width: 100%;

    background: #000;

    overflow: hidden;
}

.video-wrapper video {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    background: #000;

    object-fit: contain;
}


/* =========================================================
   VIDEO CONTENT
========================================================= */

.video-content {
    padding: 24px 25px 28px;
}

.video-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 16px;
}

.video-number {
    color: var(--primary);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1px;
}



.video-content h3 {
    margin: 0 0 10px;

    color: var(--navy);

    font-size: 21px;
    line-height: 1.35;

    font-weight: 750;
}

.video-content p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.videos-empty {
    max-width: 600px;

    margin: 0 auto;

    padding: 70px 30px;

    text-align: center;

    background: var(--background);

    border: 1px solid var(--border);
    border-radius: 20px;
}

.empty-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--light-teal);
    color: var(--primary);

    font-size: 27px;
}

.videos-empty h3 {
    margin: 0 0 10px;

    color: var(--navy);

    font-size: 24px;
}

.videos-empty p {
    margin: 0;

    color: var(--muted);

    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.videos-cta {
    width: 100%;

    padding: 75px 0;

    background: var(--navy);
}

.videos-cta-inner {
    width: min(1100px, 92%);
    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.videos-cta-content {
    max-width: 700px;
}

.videos-cta-content > span {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    margin-bottom: 14px;

    color: #7DE1C8;

    font-size: 14px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.videos-cta h2 {
    margin: 0 0 14px;

    color: var(--white);

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
}

.videos-cta h2 strong {
    color: #7DE1C8;
}

.videos-cta p {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 16px;
    line-height: 1.7;
}

.videos-cta-btn {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 15px 25px;

    border-radius: 10px;

    background: var(--white);
    color: var(--navy);

    font-size: 15px;
    font-weight: 800;

    text-decoration: none;

    transition: 0.3s ease;
}

.videos-cta-btn:hover {
    background: var(--primary);
    color: var(--white);

    transform: translateY(-3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .videos-hero {
        min-height: 390px;
    }

    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .videos-section {
        padding: 75px 0 85px;
    }

    .videos-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .videos-hero {
        min-height: auto;
    }

    .videos-hero-content {
        padding: 65px 0;
    }

    .videos-hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .videos-hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .videos-hero-btn {
        width: 100%;
    }

    .videos-section {
        padding: 65px 0 75px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .section-heading p {
        font-size: 15px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .video-card {
        border-radius: 15px;
    }

    .video-content {
        padding: 21px 20px 24px;
    }

    .video-content h3 {
        font-size: 19px;
    }

    .videos-cta {
        padding: 60px 0;
    }

    .videos-cta-inner {
        width: 90%;
    }

    .videos-cta h2 {
        font-size: 31px;
    }

    .videos-cta-btn {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .videos-hero-content {
        padding: 55px 0;
    }

    .videos-hero h1 {
        font-size: 36px;
    }

    .videos-badge {
        font-size: 12px;
        padding: 9px 14px;
    }

    .videos-section .container {
        width: 90%;
    }

    .video-content {
        padding: 19px;
    }

    .videos-empty {
        padding: 55px 20px;
    }

}

.video-wrapper {
    width: 100%;
    height: 320px;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

@media (max-width: 768px) {
    .video-wrapper {
        height: 260px;
    }
}