/* =========================================================
   TADIKELA SUBBAIAH COLLEGE OF NURSING
   TSCN HERO — CLEAN FINAL PREMIUM CSS
   ONE VERSION ONLY — NO DUPLICATE MOBILE RULES
========================================================= */


/* =========================================================
   ROOT HERO
========================================================= */

.tscn-hero {
    position: relative;
    width: 100%;
    min-height: 700px;
    overflow: hidden;
    background: #fdfaf5;
    isolation: isolate;
}


/* =========================================================
   CAMPUS BACKGROUND
========================================================= */

.tscn-hero-campus {
    position: absolute;
    inset: 0;
    z-index: -8;

    background-image:
        url("../img/subbaiah.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    transform: scale(1.035);

    animation:
        tscnCampusZoom
        15s
        ease-out
        forwards;
}


/* =========================================================
   DESKTOP OVERLAY
========================================================= */

.tscn-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -7;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.96) 0%,
            rgba(255,255,255,.91) 22%,
            rgba(255,255,255,.66) 40%,
            rgba(255,255,255,.18) 64%,
            rgba(255,255,255,.02) 100%
        );
}


/* =========================================================
   CONTAINER
========================================================= */

.tscn-hero .container {
    position: relative;
    z-index: 20;
}


.tscn-hero-inner {
    min-height: 700px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.tscn-hero-content {
    position: relative;
    z-index: 30;

    width: 55%;

    padding-top: 30px;
    padding-bottom: 90px;
}


/* =========================================================
   MINI LABEL
========================================================= */

.tscn-hero-mini {
    position: relative;
    z-index: 50;

    display: flex;
    align-items: center;

    gap: 12px;
    margin-bottom: 22px;

    color: #8d1728 !important;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 3px;
    text-transform: uppercase;

    text-shadow:
        0 1px 2px rgba(255,255,255,.95),
        0 0 12px rgba(255,255,255,.75);
}


.tscn-mini-line {
    width: 40px;
    height: 2px;

    flex-shrink: 0;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #8d1728,
            #d4a548
        ) !important;

    box-shadow:
        0 1px 5px rgba(255,255,255,.8);
}


/* =========================================================
   MAIN TITLE
========================================================= */

.tscn-hero-title {
    margin: 0;

    max-width: 680px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(58px, 6vw, 92px);

    line-height: .91;

    letter-spacing: -3px;

    font-weight: 700;

    color: #191b1f;

    text-shadow:
        0 1px 0 rgba(255,255,255,.9);
}


.tscn-hero-title span {
    display: block;

    position: relative;

    color: #a7192d;
}


.tscn-hero-title span::after {
    content: "";

    position: absolute;

    left: 4px;
    bottom: -12px;

    width: 82px;
    height: 3px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #a7192d,
            #d2a044
        );
}


/* =========================================================
   SUBTITLE
========================================================= */

.tscn-hero-subtitle {
    position: relative;
    z-index: 50;

    margin-top: 31px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(23px, 2.4vw, 36px);

    line-height: 1.15;

    font-weight: 600;

    color: #5d461d !important;

    text-shadow:
        0 1px 0 #ffffff,
        0 2px 8px rgba(255,255,255,.9),
        0 0 18px rgba(255,255,255,.6);
}


.tscn-hero-subtitle b {
    color: #a7192d !important;

    font-weight: 700;

    margin: 0 4px;

    text-shadow:
        0 1px 2px rgba(255,255,255,.95),
        0 0 8px rgba(255,255,255,.7);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.tscn-hero-description {
    max-width: 570px;

    margin: 21px 0 0;

    color: #41464d;

    font-size: 15px;

    line-height: 1.75;

    font-weight: 500;

    text-shadow:
        0 1px 2px rgba(255,255,255,.8);
}


/* =========================================================
   INFORMATION BOX
========================================================= */

.tscn-hero-info {
    display: flex;
    align-items: center;

    width: fit-content;
    max-width: 100%;

    margin-top: 34px;

    padding: 12px 16px;

    background:
        rgba(255,255,255,.94);

    border:
        1px solid
        rgba(140,23,41,.10);

    border-radius: 17px;

    box-shadow:
        0 14px 38px
        rgba(65,35,20,.12);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);
}


/* =========================================================
   INFO ITEM
========================================================= */

.tscn-info-item {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 14px;
}


.tscn-info-item:first-child {
    padding-left: 0;
}


/* =========================================================
   INFO ICON
========================================================= */

.tscn-info-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #861527,
            #b8233b
        );

    box-shadow:
        0 6px 15px
        rgba(134,21,39,.20);

    font-size: 13px;
}


/* =========================================================
   INFO TEXT
========================================================= */

.tscn-info-item strong {
    display: block;

    color: #272a2f;

    font-size: 10px;

    font-weight: 800;

    line-height: 1.2;

    white-space: nowrap;
}


.tscn-info-item small {
    display: block;

    margin-top: 3px;

    color: #777c82;

    font-size: 8px;

    line-height: 1.2;

    white-space: nowrap;
}


/* =========================================================
   INFO DIVIDER
========================================================= */

.tscn-info-divider {
    width: 1px;
    height: 35px;

    flex-shrink: 0;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #d3a24a,
            transparent
        );
}


/* =========================================================
   RIGHT VISUAL
========================================================= */

.tscn-hero-visual {
    position: absolute;

    right: -65px;
    bottom: 0;

    width: 53%;
    height: 100%;

    z-index: 15;

    pointer-events: none;
}


/* =========================================================
   VISUAL GLOW
========================================================= */

.tscn-visual-glow {
    position: absolute;

    width: 580px;
    height: 580px;

    right: 10px;
    top: 65px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.75) 0%,
            rgba(255,239,214,.28) 40%,
            rgba(255,255,255,0) 73%
        );

    filter: blur(4px);

    z-index: -2;
}


/* =========================================================
   VISUAL RING
========================================================= */

.tscn-visual-ring {
    position: absolute;

    width: 550px;
    height: 550px;

    right: 5px;
    top: 70px;

    border-radius: 50%;

    border:
        1px solid
        rgba(158,116,47,.23);

    transform:
        rotate(-17deg);
}


/* =========================================================
   NURSING STUDENTS
========================================================= */

.tscn-nursing-students {
    position: absolute;

    right: 0;
    bottom: 0;

    width:
        min(680px, 50vw);

    max-width: none;

    height: auto;

    object-fit: contain;

    object-position:
        bottom center;

    filter:
        drop-shadow(
            0 22px 28px
            rgba(55,20,20,.16)
        );

    animation:
        tscnStudentFloat
        5s
        ease-in-out
        infinite;
}


/* =========================================================
   FLOATING BADGE
========================================================= */

.tscn-nursing-badge {
    position: absolute;

    right: 45px;
    top: 155px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding:
        11px
        17px
        11px
        11px;

    background:
        rgba(255,255,255,.95);

    border:
        1px solid
        rgba(140,23,41,.12);

    border-radius: 50px;

    box-shadow:
        0 15px 38px
        rgba(60,25,25,.14);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);

    z-index: 25;
}


.tscn-badge-icon {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #8d1728,
            #c4943b
        );

    font-size: 14px;
}


.tscn-nursing-badge small {
    display: block;

    color: #a07835;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.3px;

    line-height: 1;
}


.tscn-nursing-badge strong {
    display: block;

    margin-top: 3px;

    color: #292929;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 13px;

    line-height: 1;
}


/* =========================================================
   DECORATIVE ORBITS
========================================================= */

.tscn-hero-orbit {
    position: absolute;

    border:
        1px solid
        rgba(163,121,49,.18);

    border-radius: 50%;

    pointer-events: none;

    z-index: 2;
}


.tscn-orbit-one {
    width: 680px;
    height: 280px;

    right: -250px;
    top: 95px;

    transform:
        rotate(-18deg);
}


.tscn-orbit-two {
    width: 500px;
    height: 190px;

    left: -270px;
    bottom: 90px;

    transform:
        rotate(14deg);

    border-color:
        rgba(141,23,40,.09);
}


/* =========================================================
   DECORATIVE DOTS
========================================================= */

.tscn-hero-dot {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    z-index: 5;

    background: #d1a03e;
}


.tscn-dot-one {
    right: 38%;
    top: 27%;

    animation:
        tscnDotFloat
        4s
        ease-in-out
        infinite;
}


.tscn-dot-two {
    right: 17%;
    top: 42%;

    width: 5px;
    height: 5px;

    background: #a7192d;

    animation:
        tscnDotFloat
        5s
        ease-in-out
        infinite .5s;
}


/* =========================================================
   BOTTOM WAVE
========================================================= */

.tscn-bottom-wave {
    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    width: 100%;

    z-index: 40;

    line-height: 0;

    pointer-events: none;
}


.tscn-bottom-wave svg {
    width: 100%;
    height: 75px;

    display: block;
}


.tscn-bottom-wave path {
    fill: #fff9ef;
}


/* PREMIUM WAVE EDGE */

.tscn-bottom-wave::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(167,25,45,.12),
            rgba(211,165,76,.55),
            rgba(167,25,45,.12),
            transparent
        );
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes tscnCampusZoom {

    from {
        transform: scale(1.07);
    }

    to {
        transform: scale(1.035);
    }
}


@keyframes tscnStudentFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


@keyframes tscnDotFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-13px);
    }
}


@keyframes tscnMobileStudentFloat {

    0%,
    100% {
        transform:
            translateX(-50%)
            translateY(0);
    }

    50% {
        transform:
            translateX(-50%)
            translateY(-5px);
    }
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1199px) {

    .tscn-hero {
        min-height: 650px;
    }

    .tscn-hero-inner {
        min-height: 650px;
    }

    .tscn-hero-content {
        width: 57%;
        padding-bottom: 80px;
    }

    .tscn-hero-title {
        font-size: 68px;
    }

    .tscn-hero-visual {
        right: -100px;
        width: 56%;
    }

    .tscn-nursing-students {
        width: 600px;
    }

    .tscn-nursing-badge {
        right: 50px;
        top: 130px;
    }

    .tscn-hero-info {
        transform: scale(.92);
        transform-origin: left center;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .tscn-hero {
        min-height: 700px;
    }

    .tscn-hero-inner {
        min-height: 700px;
    }

    .tscn-hero-content {
        width: 68%;
        padding-top: 65px;
        padding-bottom: 110px;
    }

    .tscn-hero-title {
        font-size: 59px;
    }

    .tscn-hero-subtitle {
        font-size: 27px;
    }

    .tscn-hero-description {
        max-width: 480px;
        font-size: 14px;
    }

    .tscn-hero-visual {
        right: -145px;
        width: 61%;
    }

    .tscn-nursing-students {
        width: 555px;
    }

    .tscn-nursing-badge {
        right: 115px;
        top: 130px;
    }
}


/* =========================================================
   MOBILE — ONE FINAL VERSION
========================================================= */

@media (max-width: 767px) {

    .tscn-hero {
        min-height: 790px;

        background:
            linear-gradient(
                180deg,
                #fffaf2 0%,
                #fff8ee 100%
            );
    }


    .tscn-hero-inner {
        min-height: 790px;

        display: block;

        position: relative;
    }


    /* =====================================================
       MOBILE CAMPUS
    ===================================================== */

    .tscn-hero-campus {

        background-size: cover;

        background-position:
            center 68%;

        transform: scale(1.04);

        opacity: 1;
    }


    /* =====================================================
       MOBILE OVERLAY
       Keeps building/campus visible
    ===================================================== */

    .tscn-hero-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(255,250,243,.97) 0%,
                rgba(255,250,243,.91) 24%,
                rgba(255,250,243,.63) 42%,
                rgba(255,250,243,.18) 61%,
                rgba(255,250,243,.05) 100%
            );
    }


    /* =====================================================
       MOBILE CONTENT
    ===================================================== */

    .tscn-hero-content {

        width: 100%;

        padding:
            42px
            10px
            0;

        text-align: center;
    }


    /* =====================================================
       MOBILE MINI LABEL
    ===================================================== */

    .tscn-hero-mini {

        justify-content: center;

        gap: 8px;

        margin-bottom: 17px;

        font-size: 8px;

        letter-spacing: 1.7px;

        color: #8d1728 !important;
    }


    .tscn-mini-line {
        width: 25px;
        height: 2px;
    }


    /* =====================================================
       MOBILE TITLE
    ===================================================== */

    .tscn-hero-title {

        max-width: 100%;

        font-size:
            clamp(
                43px,
                12.5vw,
                60px
            );

        line-height: .94;

        letter-spacing: -1.8px;
    }


    .tscn-hero-title span::after {

        left: 50%;

        transform:
            translateX(-50%);

        bottom: -9px;

        width: 65px;

        height: 3px;
    }


    /* =====================================================
       MOBILE SUBTITLE
    ===================================================== */

    .tscn-hero-subtitle {

        margin-top: 24px;

        font-size:
            clamp(
                19px,
                5.6vw,
                24px
            );

        line-height: 1.18;

        color: #5d461d !important;
    }


    /* =====================================================
       MOBILE DESCRIPTION
    ===================================================== */

    .tscn-hero-description {

        max-width: 390px;

        margin:
            16px auto 0;

        padding:
            0 13px;

        color: #3f444a;

        font-size: 12px;

        line-height: 1.55;

        font-weight: 600;

        text-shadow:
            0 1px 0 rgba(255,255,255,.9);
    }


    /* =====================================================
       MOBILE INFO BOX
    ===================================================== */

    .tscn-hero-info {

        position: relative;

        z-index: 40;

        width:
            calc(100% - 22px);

        margin:
            20px auto 0;

        padding:
            10px 7px;

        display: grid;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        align-items: stretch;

        gap: 6px;

        background:
            rgba(255,255,255,.95);

        border:
            1px solid
            rgba(140,23,41,.10);

        border-radius: 20px;

        box-shadow:
            0 12px 30px
            rgba(60,25,20,.15);

        backdrop-filter:
            blur(12px);

        -webkit-backdrop-filter:
            blur(12px);

        transform: none !important;
    }


    /* =====================================================
       MOBILE INFO ITEM
    ===================================================== */

    .tscn-info-item {

        min-width: 0;

        width: 100%;

        padding:
            7px 3px !important;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 6px;

        text-align: center;

        border-radius: 14px;
    }


    .tscn-info-item:first-child {
        padding-left: 3px !important;
    }


    /* =====================================================
       MOBILE INFO ICON
    ===================================================== */

    .tscn-info-icon {

        width: 32px !important;
        height: 32px !important;

        min-width: 32px;

        display: flex;

        align-items: center;
        justify-content: center;

        margin: 0 auto;

        border-radius: 50%;

        color: #fff;

        background:
            linear-gradient(
                145deg,
                #8b1729,
                #b7223b
            );

        box-shadow:
            0 5px 12px
            rgba(139,23,41,.20);

        font-size: 10px !important;
    }


    /* =====================================================
       MOBILE INFO TITLE
    ===================================================== */

    .tscn-info-item strong {

        display: block;

        width: 100%;

        margin: 0;

        color: #29292b;

        font-size: 8px !important;

        font-weight: 800;

        line-height: 1.15;

        white-space: normal;

        text-align: center;
    }


    /* Hide secondary line */

    .tscn-info-item small {
        display: none !important;
    }


    /* Remove old vertical dividers */

    .tscn-info-divider {
        display: none !important;
    }


    /* =====================================================
       MOBILE STUDENT VISUAL
       CENTERED
    ===================================================== */

    .tscn-hero-visual {

        position: absolute;

        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;

        height: 365px;

        z-index: 12;

        overflow: hidden;

        pointer-events: none;
    }


    /* =====================================================
       MOBILE GLOW
    ===================================================== */

    .tscn-visual-glow {

        position: absolute;

        width: 360px;
        height: 260px;

        left: 50%;
        top: 45px;

        transform:
            translateX(-50%);

        border-radius: 50%;

        background:
            radial-gradient(
                ellipse,
                rgba(255,248,232,.82) 0%,
                rgba(255,248,232,.42) 42%,
                rgba(255,248,232,0) 75%
            );

        filter: blur(5px);

        z-index: -2;
    }


    /* =====================================================
       MOBILE RING
    ===================================================== */

    .tscn-visual-ring {

        width: 310px;
        height: 210px;

        left: 50%;
        right: auto;

        top: 75px;

        transform:
            translateX(-50%);

        border:
            1px solid
            rgba(173,126,48,.18);

        border-radius: 50%;

        opacity: .65;
    }


    /* =====================================================
       MOBILE NURSING STUDENTS
    ===================================================== */

    .tscn-nursing-students {

        position: absolute;

        width: 440px;

        max-width: none;

        height: auto;

        left: 50%;
        right: auto;

        bottom: -2px;

        transform:
            translateX(-50%);

        object-fit: contain;

        object-position:
            center bottom;

        filter:
            drop-shadow(
                0 18px 25px
                rgba(50,20,20,.18)
            );

        animation:
            tscnMobileStudentFloat
            5s
            ease-in-out
            infinite;
    }


    /* =====================================================
       MOBILE BADGE
    ===================================================== */

    .tscn-nursing-badge {

        position: absolute;

        right: 13px;
        left: auto;

        top: 18px;

        display: flex;

        align-items: center;

        gap: 7px;

        padding:
            7px
            12px
            7px
            7px;

        background:
            rgba(255,255,255,.96);

        border:
            1px solid
            rgba(140,23,41,.10);

        border-radius: 50px;

        box-shadow:
            0 10px 28px
            rgba(50,20,20,.14);

        backdrop-filter:
            blur(12px);

        -webkit-backdrop-filter:
            blur(12px);

        z-index: 30;
    }


    .tscn-badge-icon {

        width: 30px;
        height: 30px;

        flex-shrink: 0;

        display: flex;

        align-items: center;
        justify-content: center;

        color: #fff;

        background:
            linear-gradient(
                145deg,
                #8c1729,
                #b8243c
            );

        border-radius: 50%;

        font-size: 10px;
    }


    .tscn-nursing-badge small {

        display: block;

        color: #a07835;

        font-size: 5.5px;

        font-weight: 900;

        letter-spacing: 1px;

        line-height: 1;
    }


    .tscn-nursing-badge strong {

        display: block;

        margin-top: 4px;

        color: #29292b;

        font-family:
            Georgia,
            "Times New Roman",
            serif;

        font-size: 9px;

        line-height: 1;
    }


    /* =====================================================
       MOBILE ORBITS
    ===================================================== */

    .tscn-hero-orbit {
        opacity: .35;
    }


    .tscn-orbit-one {

        width: 430px;
        height: 170px;

        right: -250px;
        top: 170px;
    }


    .tscn-orbit-two {

        width: 360px;
        height: 150px;

        left: -250px;
        bottom: 50px;
    }


    /* =====================================================
       HIDE MOBILE DOTS
    ===================================================== */

    .tscn-hero-dot {
        display: none;
    }


    /* =====================================================
       MOBILE WAVE
    ===================================================== */

    .tscn-bottom-wave svg {
        height: 48px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .tscn-hero {
        min-height: 760px;
    }


    .tscn-hero-inner {
        min-height: 760px;
    }


    .tscn-hero-content {
        padding-top: 35px;
    }


    .tscn-hero-title {

        font-size: 43px;

        letter-spacing: -1.3px;
    }


    .tscn-hero-subtitle {

        margin-top: 22px;

        font-size: 19px;
    }


    .tscn-hero-description {

        max-width: 350px;

        font-size: 11.5px;

        line-height: 1.55;

        padding: 0 9px;
    }


    .tscn-hero-info {

        width:
            calc(100% - 20px);

        margin-top: 16px;

        padding:
            8px 5px;
    }


    .tscn-info-icon {

        width: 29px !important;
        height: 29px !important;

        min-width: 29px;

        font-size: 9px !important;
    }


    .tscn-info-item strong {
        font-size: 7px !important;
    }


    .tscn-hero-visual {
        height: 345px;
        bottom: -4px;
    }


    .tscn-nursing-students {
        width: 415px;
    }


    .tscn-nursing-badge {
        top: 14px;
        right: 9px;

        padding:
            6px
            10px
            6px
            6px;
    }


    .tscn-badge-icon {
        width: 28px;
        height: 28px;
        font-size: 9px;
    }


    .tscn-nursing-badge small {
        font-size: 5px;
    }


    .tscn-nursing-badge strong {
        font-size: 8px;
    }


    .tscn-visual-ring {

        width: 285px;
        height: 190px;

        top: 80px;
    }


    .tscn-visual-glow {

        width: 330px;
        height: 240px;

        top: 50px;
    }


    .tscn-bottom-wave svg {
        height: 40px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .tscn-hero {
        min-height: 735px;
    }


    .tscn-hero-inner {
        min-height: 735px;
    }


    .tscn-hero-title {
        font-size: 39px;
    }


    .tscn-hero-subtitle {
        font-size: 17px;
    }


    .tscn-hero-description {
        font-size: 10.5px;
    }


    .tscn-hero-info {
        margin-top: 13px;
    }


    .tscn-info-item strong {
        font-size: 6.5px !important;
    }


    .tscn-hero-visual {
        height: 325px;
    }


    .tscn-nursing-students {
        width: 390px;
    }


    .tscn-nursing-badge {
        right: 7px;
        top: 10px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tscn-hero-campus,
    .tscn-nursing-students,
    .tscn-hero-dot {

        animation: none !important;
    }
}