
/* =========================================================
   ST. AMBROSE SCHOOLS
   CLEAN HERO + FLOATING CAROUSEL
   ========================================================= */


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: #111;
}


/* =========================================================
   MAIN BACKGROUND SLIDER
========================================================= */

.slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 1.2s ease,
        visibility 1.2s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   BACKGROUND OVERLAY
========================================================= */

.overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .78) 0%,
            rgba(0, 0, 0, .58) 42%,
            rgba(0, 0, 0, .30) 75%,
            rgba(0, 0, 0, .25) 100%
        );

    z-index: 2;

    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: absolute;

    top: 50%;
    left: 8%;

    transform: translateY(-50%);

    width: min(600px, 45%);

    color: #fff;

    z-index: 10;
}

.hero-content h1 {
    margin: 0 0 22px;

    font-family: 'Montserrat', sans-serif;

    font-size: clamp(42px, 5vw, 68px);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -1px;
}

.hero-content h1 span {
    color: #d71920;
}

.hero-content p {
    max-width: 560px;

    margin: 0 0 32px;

    font-family: 'Montserrat', sans-serif;

    font-size: 18px;

    line-height: 1.7;

    color: rgba(255,255,255,.88);
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;

    position: relative;
    z-index: 20;
}

.hero-buttons a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 14px 30px;

    border-radius: 40px;

    text-decoration: none;

    cursor: pointer;

    font-family: 'Montserrat', sans-serif;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform .25s ease,
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease;

    pointer-events: auto;
}


/* Primary */

.hero-buttons .btn {
    background: #d71920;
    color: #fff;

    border: 2px solid #d71920;

    box-shadow:
        0 10px 25px rgba(215,25,32,.30);
}

.hero-buttons .btn:hover {
    background: #fff;
    color: #d71920;

    transform: translateY(-3px);
}


/* Outline */

.hero-buttons .btn-outline {
    background: transparent;

    color: #fff;

    border: 2px solid rgba(255,255,255,.8);
}

.hero-buttons .btn-outline:hover {
    background: #fff;

    color: #111;

    border-color: #fff;

    transform: translateY(-3px);
}


/* =========================================================
   FLOATING IMAGE AREA
========================================================= */

.hero-image-wrapper {

    position: absolute;

    top: 50%;
    right: 6%;

    transform: translateY(-50%);

    width: min(450px, 34vw);

    height: 350px;

    z-index: 6;

    pointer-events: none;
}


/* =========================================================
   FLOATING IMAGE CONTAINER
========================================================= */

.hero-image-container {

    position: absolute;

    top: 0;
    right: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 32px;

    background: #111;

    box-shadow:
        0 30px 80px rgba(0,0,0,.45);

    pointer-events: auto;
}


/* =========================================================
   FLOATING CAROUSEL SLIDES
========================================================= */

.hero-slide {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 1.2s ease,
        visibility 1.2s ease;
}

.hero-slide.active {

    opacity: 1;

    visibility: visible;

    z-index: 2;
}


/* =========================================================
   FLOATING IMAGES
========================================================= */

.hero-main-image {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1);

    transition:
        transform 1.5s ease;
}

.hero-image-container:hover .hero-main-image {

    transform: scale(1.04);

}


/* =========================================================
   IMAGE CAPTION
========================================================= */

.hero-caption {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 80px 30px 28px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0,0,0,.88)
        );

    color: #fff;

    z-index: 5;
}

.hero-caption h3 {

    margin: 0 0 8px;

    font-family: 'Montserrat', sans-serif;

    font-size: 25px;

    font-weight: 700;

    line-height: 1.2;
}

.hero-caption p {

    margin: 0;

    font-size: 14px;

    line-height: 1.6;

    color: rgba(255,255,255,.82);
}


/* =========================================================
   SHINE EFFECT
========================================================= */

.shine-effect {

    position: absolute;

    top: 0;
    left: -150%;

    width: 60%;
    height: 100%;

    z-index: 10;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );

    transform: skewX(-25deg);
}

.hero-image-container:hover .shine-effect {

    animation: heroShine 1.5s ease;

}

@keyframes heroShine {

    from {
        left: -150%;
    }

    to {
        left: 150%;
    }

}


/* =========================================================
   FLOATING ANIMATION
========================================================= */

.floating {

    animation:
        heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


/* =========================================================
   DECORATIVE SHAPES
========================================================= */

.shape {

    position: absolute;

    border-radius: 50%;

    filter: blur(70px);

    pointer-events: none;

    z-index: -1;
}

.shape-left {

    width: 180px;
    height: 180px;

    left: -70px;
    bottom: -60px;

    background: #d71920;

    opacity: .35;
}

.shape-right {

    width: 220px;
    height: 220px;

    top: -70px;
    right: -70px;

    background: #ffd54f;

    opacity: .25;
}


/* =========================================================
   FLOATING INFORMATION CARDS
========================================================= */

.hero-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 18px;

    min-width: 210px;

    background: rgba(255,255,255,.95);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.18);

    z-index: 15;

    pointer-events: auto;
}

.hero-card i {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    background: #d71920;

    color: #fff;

    border-radius: 50%;

    font-size: 18px;
}

.hero-card h4 {

    margin: 0 0 3px;

    color: #111;

    font-size: 14px;

    font-weight: 700;
}

.hero-card small {

    color: #666;

    font-size: 11px;
}


/* Card positions */

.card-1 {

    top: 35px;

    left: -70px;
}

.card-2 {

    right: -70px;

    bottom: 35px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .hero-content {

        left: 6%;

        width: 48%;
    }

    .hero-content h1 {

        font-size: 48px;
    }

    .hero-image-wrapper {

        right: 4%;

        width: 36vw;

        height: 430px;
    }

    .card-1 {

        left: -45px;
    }

    .card-2 {

        right: -45px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .hero {

        height: auto;

        min-height: 100vh;

        overflow: hidden;

        padding-bottom: 45px;
    }


    /* -----------------------------------------------------
       Background
    ----------------------------------------------------- */

    .slider {

        position: absolute;

        height: 100%;

        inset: 0;
    }


    /* -----------------------------------------------------
       Overlay
    ----------------------------------------------------- */

    .overlay {

        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,.68),
                rgba(0,0,0,.76)
            );
    }


    /* -----------------------------------------------------
       Content
    ----------------------------------------------------- */

    .hero-content {

        position: relative;

        top: auto;
        left: auto;

        transform: none;

        width: 90%;

        max-width: 600px;

        margin: 0 auto;

        padding-top: 150px;

        text-align: center;

        z-index: 10;
    }

    .hero-content h1 {

        font-size: clamp(36px, 9vw, 52px);

        line-height: 1.1;
    }

    .hero-content p {

        margin-left: auto;
        margin-right: auto;

        font-size: 15px;
    }


    /* -----------------------------------------------------
       Buttons
    ----------------------------------------------------- */

    .hero-buttons {

        justify-content: center;

        flex-wrap: wrap;
    }


    /* -----------------------------------------------------
       Floating Image
    ----------------------------------------------------- */

    .hero-image-wrapper {

        position: relative;

        top: auto;
        right: auto;

        transform: none;

        width: 82%;

        max-width: 480px;

        height: 360px;

        margin: 55px auto 0;

        z-index: 8;
    }

    .hero-image-container {

        position: relative;

        width: 100%;

        height: 100%;

        border-radius: 25px;
    }


    /* -----------------------------------------------------
       Cards
    ----------------------------------------------------- */

    .hero-card {

        min-width: 0;

        padding: 10px 14px;

        border-radius: 14px;
    }

    .hero-card i {

        width: 35px;
        height: 35px;

        font-size: 15px;
    }

    .hero-card h4 {

        font-size: 12px;
    }

    .hero-card small {

        font-size: 9px;
    }

    .card-1 {

        top: 15px;

        left: -25px;
    }

    .card-2 {

        right: -25px;

        bottom: 15px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 600px) {

    .hero {

        min-height: 100vh;

        padding-bottom: 35px;
    }

    .hero-content {

        width: 92%;

        padding-top: 135px;
    }

    .hero-content h1 {

        font-size: 34px;

        letter-spacing: -.5px;
    }

    .hero-content p {

        font-size: 14px;

        line-height: 1.6;
    }

    .hero-buttons {

        gap: 10px;
    }

    .hero-buttons a {

        min-height: 48px;

        padding: 12px 22px;

        font-size: 13px;
    }


    /* Smaller floating carousel */

    .hero-image-wrapper {

        width: 88%;

        height: 300px;

        margin-top: 45px;
    }

    .hero-image-container {

        border-radius: 20px;
    }

    .hero-caption {

        padding: 60px 20px 20px;
    }

    .hero-caption h3 {

        font-size: 20px;
    }

    .hero-caption p {

        font-size: 12px;
    }


    /* Smaller cards */

    .hero-card {

        transform: scale(.85);
    }

    .card-1 {

        left: -30px;
    }

    .card-2 {

        right: -30px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .hero-content {

        padding-top: 125px;
    }

    .hero-content h1 {

        font-size: 30px;
    }

    .hero-buttons a {

        width: 100%;

        max-width: 250px;
    }

    .hero-image-wrapper {

        width: 90%;

        height: 270px;
    }

    .hero-card {

        display: none;
    }

}


/* About Section */

.about-section{
    padding:80px 0;
    background:#f8f9fc;
    position:relative;
}

.about-box{
    width:90%;
    max-width:1100px;
    height:450px;

    margin:auto;

    background:#fff;
    border-radius:35px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:50px;

    position:relative;
    overflow:hidden;

    box-shadow:
        0 20px 60px rgba(0,0,0,.08);
}

/* Background glow */

.about-box::before{
    content:'';
    position:absolute;

    width:300px;
    height:300px;

    background:#d71920;
    opacity:.08;

    border-radius:50%;
    filter:blur(100px);

    top:-120px;
    left:-120px;
}

.about-box::after{
    content:'';
    position:absolute;

    width:300px;
    height:300px;

    background:#ffd54f;
    opacity:.15;

    border-radius:50%;
    filter:blur(100px);

    bottom:-120px;
    right:-120px;
}

/* Badge */

.about-badge{
    background:rgba(215,25,32,.08);
    color:#d71920;

    padding:10px 25px;
    border-radius:50px;

    font-size:14px;
    font-weight:600;

    margin-bottom:20px;
}

/* Heading */

.about-box h2{
    font-size:2.5rem;
    color:#111;
    margin-bottom:20px;
    line-height:1.3;
}

.about-box h2 span{
    color:#d71920;
}

.about-box p{
    max-width:750px;
    color:#666;
    font-size:1.05rem;
    line-height:1.8;
}

/* Features */

.about-features{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;

    margin-top:50px;
}

.feature-box{
    background:#fff;

    padding:20px 30px;

    border-radius:18px;

    display:flex;
    align-items:center;
    gap:15px;

    box-shadow:
        0 10px 35px rgba(0,0,0,.08);

    transition:.4s;
}

.feature-box:hover{
    transform:translateY(-10px);
}

.feature-box i{
    width:55px;
    height:55px;

    background:#d71920;
    color:#fff;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:20px;
}

.feature-box span{
    font-weight:600;
    color:#222;
}

@media(max-width:991px){

    .about-box{
        height:auto;
        padding:60px 30px;
    }

    .about-box h2{
        font-size:2rem;
    }
}

@media(max-width:991px){

    .about-content{
        padding:50px 30px;
    }

    .about-content h2{
        font-size:2.2rem;
    }

    .about-features{
        flex-direction:column;
    }

    .feature-box{
        width:100%;
        justify-content:center;
    }
}


/* Features */


/* =========================================
   SERVICES SECTION
========================================= */

.services-section{
    position:relative;
    margin-top:20px;
    padding:60px 0;
    background:#f7f8fa;
    z-index:10;
}

.services-container{
    width:90%;
    max-width:1300px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}


/* =========================================
   SERVICE CARD
========================================= */

.service-box{
    position:relative;

    background:#fff;

    border-radius:25px;

    padding:35px 25px;

    display:flex;
    flex-direction:column;
    align-items:center;

    text-align:center;

    min-height:300px;

    overflow:hidden;

    border:1px solid rgba(0,0,0,.05);

    box-shadow:
        0 15px 45px rgba(0,0,0,.07);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


/* Red top line */

.service-box::before{
    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:#d71920;

    transform:scaleX(0);
    transform-origin:center;

    transition:.4s ease;
}


/* Hover */

.service-box:hover{
    transform:translateY(-10px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.13);
}

.service-box:hover::before{
    transform:scaleX(1);
}


/* =========================================
   ICON
========================================= */

.service-icon{

    width:80px;
    height:80px;

    flex-shrink:0;

    margin-bottom:25px;

    border-radius:24px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:
        linear-gradient(
            135deg,
            #d71920,
            #ff4b4b
        );

    box-shadow:
        0 15px 35px rgba(215,25,32,.25);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


.service-icon i{
    color:#fff;
    font-size:30px;
}


/* Icon hover */

.service-box:hover .service-icon{

    transform:
        translateY(-5px)
        rotate(-3deg);

    box-shadow:
        0 20px 40px rgba(215,25,32,.35);
}


/* =========================================
   SERVICE INFORMATION
========================================= */

.service-info{
    width:100%;
}

.service-info h3{

    margin:0 0 10px;

    font-size:19px;

    font-weight:700;

    color:#111;

    line-height:1.3;
}

.service-info p{

    margin:0 auto 18px;

    max-width:230px;

    color:#777;

    font-size:14px;

    line-height:1.7;
}


/* =========================================
   READ MORE
========================================= */

.service-info a{

    display:inline-flex;

    align-items:center;

    gap:7px;

    text-decoration:none;

    color:#d71920;

    font-size:14px;

    font-weight:700;

    transition:.3s;
}

.service-info a i{

    font-size:12px;

    transition:.3s;
}

.service-info a:hover{

    color:#111;
}

.service-info a:hover i{

    transform:translateX(5px);
}


/* =========================================
   TABLET
========================================= */

@media(max-width:1100px){

    .services-container{

        grid-template-columns:
            repeat(2,1fr);

        gap:25px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media(max-width:600px){

    .services-section{

        padding:45px 0;

        margin-top:30px;
    }

    .services-container{

        width:88%;

        grid-template-columns:1fr;

        gap:20px;
    }

    .service-box{

        min-height:auto;

        padding:35px 25px;
    }

    .service-icon{

        width:75px;
        height:75px;

        margin-bottom:20px;
    }

    .service-icon i{

        font-size:27px;
    }

}

/* School Program */

.school-sections{
    padding:120px 0;
    background:#f8f9fc;
    position:relative;
    overflow:hidden;
}

/* Background Glow */

.school-sections::before{
    content:'';
    position:absolute;

    width:350px;
    height:350px;

    background:#d71920;
    opacity:.08;

    border-radius:50%;
    filter:blur(120px);

    top:-100px;
    left:-120px;
}

.school-sections::after{
    content:'';
    position:absolute;

    width:350px;
    height:350px;

    background:#ffd54f;
    opacity:.15;

    border-radius:50%;
    filter:blur(120px);

    right:-120px;
    bottom:-120px;
}

/* Header */

.section-header{
    text-align:center;
    max-width:800px;
    margin:auto auto 70px;
}

.section-badge{
    display:inline-block;
    padding:12px 25px;

    background:rgba(215,25,32,.08);

    border-radius:50px;

    color:#d71920;
    font-weight:600;

    margin-bottom:20px;
}

.section-header h2{
    font-size:3rem;
    margin-bottom:20px;
}

.section-header h2 span{
    color:#d71920;
}

.section-header p{
    color:#666;
    line-height:1.9;
}

/* Cards */

.school-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.school-card{
    position:relative;
    overflow:hidden;
}

.school-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:linear-gradient(
        90deg,
        #d71920,
        #ffd54f
    );
    transform:scaleX(0);
    transition:.5s;
}

.school-card:hover{
    transform:translateY(-15px);

    box-shadow:
        0 35px 80px rgba(0,0,0,.15);
}

.school-card:hover::before{
    transform:scaleX(1);
}


.card-image{
    height:260px;
}

.card-content{
    padding:35px;
}

.card-content h3{
    font-size:1.7rem;
}

.card-image img{
    width:100%;
    height:100%;
    object-fit:cover;

    transition:1s;
}

.school-card:hover img{
    transform:scale(1.1);
}

/* Content */

.card-content{
    padding:40px;
}

.card-tag{
    display:inline-block;

    background:#fff2f2;
    color:#d71920;

    padding:8px 20px;
    border-radius:50px;

    font-size:14px;
    font-weight:600;

    margin-bottom:20px;
}

.card-content h3{
    font-size:2rem;
    margin-bottom:20px;
    color:#111;
}

.card-content p{
    color:#666;
    line-height:1.9;
    margin-bottom:30px;
}

.card-content a{
    text-decoration:none;
    color:#d71920;
    font-weight:700;
}

.card-content a i{
    margin-left:8px;
    transition:.4s;
}

.card-content a:hover i{
    transform:translateX(6px);
}

@media(max-width:991px){

    .school-grid{
        grid-template-columns:1fr;
    }

    .section-header h2{
        font-size:2.3rem;
    }

    .card-image{
        height:260px;
    }
}

@media(max-width:1100px){

    .school-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .school-grid{
        grid-template-columns:1fr;
    }

}

/* Form and Matrix */

.stats-section{
    position: relative;
    padding:120px 0;

    background:
        linear-gradient(
            rgba(8,15,35,.78),
            rgba(8,15,35,.78)
        ),
        url('../images/logo.png');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

    overflow:hidden;
}

.stats-section::before{
    content:'';
    position:absolute;
    width:400px;
    height:400px;
    background:#d71920;
    border-radius:50%;
    filter:blur(150px);
    opacity:.15;
    top:-150px;
    left:-100px;
}

.stats-section::after{
    content:'';
    position:absolute;
    width:350px;
    height:350px;
    background:#ffd54f;
    border-radius:50%;
    filter:blur(150px);
    opacity:.12;
    bottom:-150px;
    right:-100px;
}

.stats-container{
    display:grid;
    grid-template-columns:1fr 500px;
    gap:80px;
    align-items:center;
}

/* Statistics */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.stat-card{
    background:rgba(255,255,255,.10);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.12);
    text-align: center;
    border-radius: 5px;
}

.register-box{
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(20px);
}

.stat-card:hover{
    transform:translateY(-10px);
    background:rgba(255,255,255,.12);
}

.stat-card h2{
    font-size:4rem;
    color:#d71920;
    margin-bottom:15px;

}

.stat-card span{
    color:#fff;
    font-size:1.1rem;
}


/* Form */

.register-box{
    background:#fff;
    padding:50px;
    border-radius:35px;

    box-shadow:
        0 30px 80px rgba(0,0,0,.3);
}

.register-box h2{
    font-size:2rem;
    margin-bottom:15px;
}

.register-box p{
    color:#666;
    margin-bottom:35px;
}

.register-box form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.register-box input,
.register-box textarea{
    width:100%;
    border:none;
    background:#f4f5f9;

    padding:18px 25px;

    border-radius:18px;
    outline:none;
}

.register-box textarea{
    height:130px;
    resize:none;
}

.register-box button{
    background:#d71920;
    color:#fff;

    border:none;

    padding:18px;

    border-radius:50px;

    font-size:16px;
    cursor:pointer;

    transition:.4s;
}

.register-box button:hover{
    transform:translateY(-5px);
}

@media(max-width:991px){

    .stats-container{
        grid-template-columns:1fr;
    }

    .stats-grid{
        grid-template-columns:1fr 1fr;
    }

}

/* Testimonial */

.testimonials{
    position:relative;
    padding:100px 0;
    overflow:hidden;

    background:
    linear-gradient(
        rgba(5,15,35,.85),
        rgba(5,15,35,.88)
    ),
    url('../images/slide2.jpg');

    background-size:cover;
    background-position:center;
    background-attachment:fixed;
}

.testimonials::before{
    content:'';
    position:absolute;
    width:400px;
    height:400px;
    background:#d71920;
    filter:blur(160px);
    opacity:.18;
    top:-120px;
    left:-120px;
    border-radius:50%;
}

.testimonials::after{
    content:'';
    position:absolute;
    width:350px;
    height:350px;
    background:#ffd54f;
    filter:blur(160px);
    opacity:.12;
    bottom:-100px;
    right:-100px;
    border-radius:50%;
}

.section-heading{
    text-align:center;
    margin-bottom:70px;
    margin-right: 10px;
}

.section-heading span{
    color:#d71920;
    text-transform:uppercase;
    letter-spacing:3px;
    font-weight:700;
}

.section-heading h3{
    color:#fff;
    font-size:3rem;
    margin:10px 0;
}

.section-heading p{
    color:#fff !important; 
    max-width:500px;
    margin:auto;
}

.testimonial-slider{
    position:relative;
    width:100%;
    max-width:1000px;   /* increased */
    margin:auto;
    min-height:380px;
     overflow:hidden;
}

.testimonial-card{
    position:absolute;
    inset:0;
    width:100%;
    padding:60px;
    border-radius:35px;

    background:rgba(255,255,255,.08);
    backdrop-filter:blur(30px);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 25px 80px rgba(0,0,0,.35);

    min-height:250px;

    opacity:0;
    visibility:hidden;
    transform:translateY(40px);
    transition:1s ease;
}

.testimonial-card.active{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    z-index:5;
}

.testimonial-top{
    display:flex;
    align-items:center;
    margin-bottom:30px;
}

.avatar{
    width:75px;
    height:75px;
    border-radius:50%;
    background:#d71920;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
    font-weight:700;

    margin-right:20px;
}

.testimonial-top h4{
    color:#fff;
    margin-bottom:6px;
}

.testimonial-top small{
    color:rgba(255,255,255,.65);
}

.testimonial-card p{
    color:rgba(255,255,255,.88);
    line-height:2;
    font-size:1.1rem;
    font-style:italic;
}

.testimonial-dots{
    margin-top:40px;
    text-align:center;
}

.testimonial-dots span{
    width:14px;
    height:14px;
    background:rgba(255,255,255,.3);
    border-radius:50%;
    display:inline-block;
    margin:0 7px;
    cursor:pointer;
    transition:.4s;
}

.testimonial-dots span.active{
    width:40px;
    border-radius:20px;
    background:#d71920;
}

.testimonials .container{
    width:92%;
    max-width:1000px;
    margin:auto;
}

@media(max-width:991px){

    .testimonial-slider{
        min-height:500px;
    }

    .testimonial-card{
        padding:35px;
    }

    .section-heading h2{
        font-size:2.3rem;
    }
}

.testimonial-top{
    margin-bottom:35px;
}

.testimonial-card p{
    font-size:1.2rem;
    line-height:2;
    max-width:900px;
}


/* CTA Section */

/* =========================================================
   ADMISSION CTA
========================================================= */

.cta-section {
    position: relative;
    width: 92%;
    max-width: 1400px;
    margin: 80px auto;
    padding: 80px 0;

    overflow: hidden;
    border-radius: 35px;

    background:
        linear-gradient(
            135deg,
            rgba(10, 15, 35, 0.92),
            rgba(35, 8, 12, 0.90)
        ),
        url("../images/slide3.jpg");

    background-size: cover;
    background-position: center;
}


/* =========================================================
   DECORATIVE GLOW
========================================================= */

.cta-section::before {
    content: "";
    position: absolute;

    width: 350px;
    height: 350px;

    top: -180px;
    left: -120px;

    background: rgba(215, 25, 32, 0.25);

    border-radius: 50%;
    filter: blur(100px);

    pointer-events: none;
}


.cta-section::after {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    right: -120px;
    bottom: -160px;

    background: rgba(255, 213, 79, 0.15);

    border-radius: 50%;
    filter: blur(100px);

    pointer-events: none;
}


/* =========================================================
   CTA CONTENT
========================================================= */

.cta-section .cta-content {
    position: relative;
    z-index: 5;

    width: 88%;
    max-width: 1150px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    /* VERY IMPORTANT */
    justify-content: space-between;

    gap: 60px;
}


/* =========================================================
   TEXT SIDE
========================================================= */

.cta-section .cta-content .wrd {

    /* Do NOT allow this to collapse */
    flex: 1 1 auto;

    /* Prevent button from stealing its width */
    min-width: 0;

    max-width: 800px;
}


/* =========================================================
   BADGE
========================================================= */

.cta-section .cta-badge {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: auto;

    padding: 9px 20px;

    margin: 0 0 18px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.18);

    color: #fff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;

    backdrop-filter: blur(10px);

    white-space: nowrap;
}


/* =========================================================
   HEADING
========================================================= */

.cta-section .cta-content h2 {

    margin: 0 0 15px;

    padding: 0;

    color: #fff;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(32px, 4vw, 52px);

    font-weight: 800;

    line-height: 1.15;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.cta-section .cta-content p {

    margin: 0;

    padding: 0;

    max-width: 700px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   BUTTON
========================================================= */

.cta-section .cta-btn {

    /* THIS IS CRITICAL */

    flex: 0 0 auto;

    width: auto !important;

    max-width: max-content;

    min-width: 150px;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 16px 28px;

    margin: 0;

    border: 2px solid #d71920;

    border-radius: 50px;

    background: #d71920;

    color: #fff !important;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    font-weight: 700;

    line-height: 1;

    text-decoration: none !important;

    white-space: nowrap;

    box-sizing: border-box;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}


/* BUTTON ICON */

.cta-section .cta-btn i {
    margin: 0;
    padding: 0;

    font-size: 13px;

    transition: transform .3s ease;
}


/* BUTTON HOVER */

.cta-section .cta-btn:hover {

    background: #b9141a;

    border-color: #b9141a;

    color: #fff !important;

    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(215, 25, 32, .35);
}


.cta-section .cta-btn:hover i {
    transform: translateX(5px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .cta-section {
        width: 94%;

        padding: 60px 0;

        border-radius: 30px;
    }


    .cta-section .cta-content {

        width: 88%;

        gap: 35px;
    }


    .cta-section .cta-content .wrd {

        max-width: 650px;
    }


    .cta-section .cta-content h2 {

        font-size: 36px;
    }


    .cta-section .cta-content p {

        font-size: 15px;
    }


    .cta-section .cta-btn {

        min-width: 145px;

        padding: 15px 24px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .cta-section {

        width: 92%;

        margin: 60px auto;

        padding: 55px 0;

        border-radius: 25px;
    }


    .cta-section .cta-content {

        width: 85%;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        text-align: center;

        gap: 30px;
    }


    .cta-section .cta-content .wrd {

        width: 100%;

        max-width: 100%;

        flex: none;
    }


    .cta-section .cta-badge {

        font-size: 10px;

        padding: 8px 15px;
    }


    .cta-section .cta-content h2 {

        font-size: 30px;

        line-height: 1.2;
    }


    .cta-section .cta-content p {

        max-width: 100%;

        font-size: 14px;

        line-height: 1.7;
    }


    .cta-section .cta-btn {

        flex: none;

        width: auto !important;

        min-width: 145px;

        max-width: max-content;

        padding: 15px 25px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .cta-section {

        width: 94%;

        padding: 45px 0;
    }


    .cta-section .cta-content {

        width: 86%;

        gap: 25px;
    }


    .cta-section .cta-content h2 {

        font-size: 27px;
    }


    .cta-section .cta-content p {

        font-size: 13px;
    }


    .cta-section .cta-btn {

        min-width: 140px;

        padding: 14px 22px;
    }
}


/* Footer Style */

.footer{
    position:relative;
    padding:100px 0 30px;
    overflow:hidden;

    background:
        linear-gradient(
            rgba(5,10,25,.96),
            rgba(5,10,25,.98)
        ),
        url('../images/slide2.jpg');

    background-size:cover;
    background-position:center;
}

/* Glow shapes */

.footer-shape{
    position:absolute;
    border-radius:50%;
    filter:blur(140px);
}

.shape-1{
    width:300px;
    height:300px;
    background:#d71920;
    opacity:.18;
    top:-120px;
    left:-100px;
}

.shape-2{
    width:280px;
    height:280px;
    background:#ffd54f;
    opacity:.12;
    bottom:-100px;
    right:-100px;
}

/* Grid */

.footer-grid{
    display:grid;
    grid-template-columns:
        2fr 1fr 1fr 1.4fr;

    gap:60px;
    position:relative;
    z-index:2;
}

.footer-box h4{
    color:#fff;
    font-size:1.2rem;
    margin-bottom:30px;
    position:relative;
}

.footer-box h4::after{
    content:'';
    width:45px;
    height:3px;
    background:#d71920;

    position:absolute;
    left:0;
    bottom:-12px;
}

/* Logo */

.footer-logo{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:25px;
}

.footer-logo img{
    width:75px;
}

.footer-logo h3{
    color:#fff;
    margin-bottom:5px;
}

.footer-logo span{
    color:#d71920;
    font-size:.9rem;
}

.footer-box p{
    color:rgba(255,255,255,.70);
    line-height:1.9;
}

/* Links */

.footer-box ul{
    list-style:none;
    padding:0;
}

.footer-box ul li{
    margin-bottom:15px;
}

.footer-box ul li a{
    color:rgba(255,255,255,.70);
    text-decoration:none;
    transition:.4s;
}

.footer-box ul li a:hover{
    color:#fff;
    padding-left:10px;
}

/* Contact */

.footer-box p i{
    color:#d71920;
    margin-right:12px;
}

/* Social */

.footer-social{
    display:flex;
    gap:15px;
    margin-top:30px;
}

.footer-social a{
    width:48px;
    height:48px;

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.08);

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    text-decoration:none;

    transition:.4s;
}

.footer-social a:hover{
    background:#d71920;
    transform:translateY(-6px);
}

/* Bottom */

.footer-bottom{
    margin-top:80px;
    padding-top:30px;

    border-top:
        1px solid rgba(255,255,255,.08);

    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
}

.footer-bottom p{
    color:rgba(255,255,255,.60);
}

@media(max-width:991px){

    .footer-grid{
        grid-template-columns:1fr;
        gap:50px;
    }

    .footer-bottom{
        text-align:center;
        justify-content:center;
    }

    .footer-logo{
        justify-content:center;
        text-align:left;
    }

}

/* Media Section */

.media-gallery{
    padding:100px 0;
    background:#f8fafc;
}

/* FILTER BUTTONS */

.media-filter{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-bottom:50px;
    flex-wrap:wrap;
}

.media-filter button{
    border:none;
    padding:12px 28px;
    border-radius:50px;
    background:#fff;
    cursor:pointer;
    font-weight:600;
    transition:.4s;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.media-filter button.active,
.media-filter button:hover{
    background:#d71920;
    color:#fff;
}

/* HORIZONTAL GALLERY */

.media-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
}

/* SMALL PREMIUM CARDS */

.media-item{
    width:280px;
    border-radius:25px;
    overflow:hidden;
    background:#fff;
    box-shadow:
        0 15px 45px rgba(0,0,0,.08);

    transition:.5s;
}

.media-item:hover{
    transform:translateY(-10px);
}

.media-item img,
.media-item video{
    width:100%;
    height:190px;
    object-fit:cover;
    display:block;
}

/* AUDIO CARD */

.audio-box{
    padding:35px 25px;
    text-align:center;
}

.audio-box i{
    width:70px;
    height:70px;
    background:#d71920;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin:auto;
    margin-bottom:25px;
}

.audio-box audio{
    width:100%;
}

/* Gallery */

/* =========================================================
   LEARNING / MODERN GALLERY
========================================================= */

.learning-section {
    position: relative;
    padding: 110px 0;
    background: #f8fafc;
    overflow: hidden;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.learning-section .content-head {
    max-width: 850px;
    margin: 0 auto 65px;
    text-align: center;
}

.learning-section .content-title {
    position: relative;
    margin: 0 0 25px;
    color: #111827;
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.learning-section .content-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 18px auto 0;
    background: #d71920;
    border-radius: 10px;
}

.learning-section .sub-content {
    max-width: 800px;
    margin: 0 auto;
    color: #6b7280;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.9;
}


/* =========================================================
   GALLERY GRID
========================================================= */

.modern-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}


/* =========================================================
   GALLERY ITEM
========================================================= */

.modern-gallery .port-item {
    position: relative !important;
    left: auto !important;
    top: auto !important;

    width: 100%;
    min-width: 0;

    padding: 0 !important;
    margin: 0;
}


/* =========================================================
   GALLERY CARD
========================================================= */

.modern-gallery .port-inner {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #111;

    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .10);

    transition:
        transform .5s cubic-bezier(.5, 0, .4, 1),
        box-shadow .5s ease;
}

.modern-gallery .port-inner:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 55px rgba(0, 0, 0, .18);
}


/* =========================================================
   SQUARE IMAGE AREA
   Keeps the old portfolio proportions
========================================================= */

.modern-gallery .port-box {
    display: block;
    position: relative;

    width: 100%;
    padding-top: 100%;
}


/* =========================================================
   IMAGE
========================================================= */

.modern-gallery .port-img {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: 1;

    transition:
        transform .8s cubic-bezier(.9, 0, .3, 1);
}


/* Image zoom */

.modern-gallery .port-inner:hover .port-img {
    transform: scale(1.08);
}


/* =========================================================
   IMAGE MASK
========================================================= */

.modern-gallery .img-mask {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, .88),
            rgba(80, 0, 5, .82)
        );

    opacity: 0;

    z-index: 2;

    transition:
        opacity .5s cubic-bezier(.5, 0, .4, 1);
}

.modern-gallery .port-inner:hover .img-mask {
    opacity: .92;
}


/* =========================================================
   OLD CIRCULAR REVEAL ANIMATION
========================================================= */

.modern-gallery .port-dbox::before,
.modern-gallery .port-dbox::after {

    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    left: -20%;
    top: 50%;

    margin-left: -100px;
    margin-top: -100px;

    border-radius: 50%;

    transform: scale(0);

    z-index: 0;

    transition:
        transform .8s cubic-bezier(.4, 0, .2, 1),
        opacity .4s ease;
}


/* First circle */

.modern-gallery .port-dbox::before {
    background: rgba(215, 25, 32, .75);
    opacity: .8;
}


/* Second circle */

.modern-gallery .port-dbox::after {
    background: rgba(0, 0, 0, .70);
    opacity: .7;

    transition-delay: .15s;
}


/* Expand circles */

.modern-gallery .port-inner:hover .port-dbox::before {
    transform: scale(8);
}

.modern-gallery .port-inner:hover .port-dbox::after {
    transform: scale(8);
}


/* =========================================================
   CONTENT OVERLAY
========================================================= */

.modern-gallery .port-dbox {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 3;

    text-align: center;
}


/* =========================================================
   CONTENT ANIMATION
========================================================= */

.modern-gallery .dbox-relative {

    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;

    padding: 0 30px;

    opacity: 0;

    transform:
        translateY(-65%)
        scale(.45);

    transition:
        opacity .35s ease,
        transform .55s cubic-bezier(.5, 0, .4, 1);

    transition-delay: .1s;

    z-index: 5;
}


/* Show content */

.modern-gallery .port-inner:hover .dbox-relative {

    opacity: 1;

    transform:
        translateY(-50%)
        scale(1);

    transition-delay: .25s;
}


/* =========================================================
   TITLE
========================================================= */

.modern-gallery .dbox-relative h3 {

    margin: 0 0 15px;

    color: #fff;

    font-family: 'Montserrat', sans-serif;

    font-size: 25px;
    font-weight: 700;

    line-height: 1.3;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.modern-gallery .dbox-relative p {

    margin: 0 0 25px;

    color: rgba(255, 255, 255, .85);

    font-family: 'Quicksand', sans-serif;

    font-size: 13px;

    line-height: 1.7;

    letter-spacing: .5px;
}


/* =========================================================
   VIEW BUTTON
========================================================= */

.modern-gallery .dbox-relative a {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    background: #fff;

    color: #111;

    border-radius: 50%;

    text-decoration: none;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}


/* Icon */

.modern-gallery .dbox-relative a i {

    margin: 0;

    background: transparent;

    width: auto;
    height: auto;

    line-height: normal;

    color: #111;

    font-size: 16px;
}


/* Button hover */

.modern-gallery .dbox-relative a:hover {

    background: #d71920;

    color: #fff;

    transform: scale(1.12);
}

.modern-gallery .dbox-relative a:hover i {
    color: #fff;
}


/* =========================================================
   VIDEO
========================================================= */

.modern-gallery .port-img video {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 1;
}


/* =========================================================
   VIDEO CONTROLS
========================================================= */

.modern-gallery .port-img video::-webkit-media-controls {
    z-index: 5;
}


/* =========================================================
   EMPTY GALLERY
========================================================= */

.learning-section .no-media {

    padding: 60px 20px;

    text-align: center;

    color: #777;

    background: #fff;

    border-radius: 15px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .learning-section {
        padding: 90px 0;
    }

    .modern-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .learning-section .content-title {
        font-size: 36px;
    }

    .modern-gallery .dbox-relative h3 {
        font-size: 22px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .learning-section {
        padding: 75px 0;
    }

    .learning-section .content-head {
        margin-bottom: 45px;
        padding: 0 15px;
    }

    .learning-section .content-title {
        font-size: 30px;
    }

    .learning-section .sub-content {
        font-size: 14px;
        line-height: 1.8;
    }

    .modern-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modern-gallery .dbox-relative {
        padding: 0 25px;
    }

    .modern-gallery .dbox-relative h3 {
        font-size: 22px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .learning-section {
        padding: 60px 0;
    }

    .modern-gallery {
        gap: 15px;
    }

    .modern-gallery .port-inner {
        border-radius: 14px;
    }

    .modern-gallery .dbox-relative h3 {
        font-size: 20px;
    }

    .modern-gallery .dbox-relative p {
        font-size: 12px;
    }

}



/* Gallery */

/* Tour Video */

.school-tour{
    position:relative;
    padding:120px 0;
    overflow:hidden;

    background:
    linear-gradient(
        rgba(8,15,35,.90),
        rgba(8,15,35,.92)
    ),
    url('../images/slider1.jpg');

    background-size:cover;
    background-position:center;
    background-attachment:fixed;
}

.school-tour::before{
    content:'';
    position:absolute;
    width:400px;
    height:400px;
    background:#d71920;
    border-radius:50%;
    filter:blur(160px);
    opacity:.18;
    top:-120px;
    left:-120px;
}

.school-tour::after{
    content:'';
    position:absolute;
    width:350px;
    height:350px;
    background:#ffd54f;
    border-radius:50%;
    filter:blur(160px);
    opacity:.12;
    bottom:-120px;
    right:-120px;
}

.school-tour .container{
    width:90%;
    max-width:1350px;
    margin:auto;

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

/* LEFT */

.tour-tag{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:12px 25px;

    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    backdrop-filter:blur(20px);

    border-radius:50px;

    color:#fff;
    margin-bottom:30px;
}

.tour-content h2{
    font-size:3.5rem;
    color:#fff;
    margin-bottom:25px;
    line-height:1.2;
}

.tour-content h2 span{
    color:#d71920;
}

.tour-content p{
    color:rgba(255,255,255,.78);
    font-size:1.1rem;
    line-height:2;
    margin-bottom:40px;
}

.tour-btn{
    display:inline-flex;
    align-items:center;
    gap:12px;

    text-decoration:none;
    background:#d71920;
    color:#fff;

    padding:18px 35px;
    border-radius:60px;

    font-weight:600;
    transition:.4s;
}

.tour-btn:hover{
    transform:translateY(-8px);
    box-shadow:
        0 20px 45px rgba(215,25,32,.45);
}

/* VIDEO */

.video-box{
    position:relative;
    overflow:hidden;
    border-radius:35px;

    background:rgba(255,255,255,.08);
    backdrop-filter:blur(25px);

    border:1px solid rgba(255,255,255,.12);

    box-shadow:
        0 30px 80px rgba(0,0,0,.45);
}

.video-box iframe{
    width:100%;
    height:500px;
    border:none;
}

/* Floating Effect */

.video-box{
    animation:floating 6s ease-in-out infinite;
}

.video-box img{
    width:100%;
    display:block;
}

.play-btn{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);

    width:90px;
    height:90px;

    background:#d71920;
    color:#fff;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:30px;

    box-shadow:
        0 0 0 20px rgba(255,255,255,.12);

    transition:.4s;
}

.play-btn:hover{
    transform:translate(-50%,-50%) scale(1.1);
}

@keyframes floating{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-15px);
    }
}

/* Mobile */

@media(max-width:991px){

    .school-tour .container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .tour-content h2{
        font-size:2.5rem;
    }

    .video-box iframe{
        height:300px;
    }
}

/* Banner for top achievers */

.premium-banners{
    padding:120px 0;
    background:#f7f9fc;
}

.schoolBanner{
    padding-bottom:70px;
}

.schoolBanner .swiper-slide{
    border-radius:35px;
    overflow:hidden;
    box-shadow:
        0 25px 70px rgba(0,0,0,.18);

    transition:.5s;
}

.schoolBanner .swiper-slide img{
    width:100%;
    height:700px;
    object-fit:cover;
}

.schoolBanner .swiper-slide-active{
    transform:scale(1.03);
}

.swiper-button-next,
.swiper-button-prev{
    width:60px;
    height:60px;
    background:#fff;
    border-radius:50%;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    color:#d71920;
}

.swiper-pagination-bullet-active{
    background:#d71920;
}

/* =========================================================
   ST. AMBROSE COLLEGE
   MODERN OUR STORY PAGE
========================================================= */


/* =========================================================
   GLOBAL PAGE SETTINGS
========================================================= */

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    padding:0;
    overflow-x:hidden;
    background:#fff;
    color:#333;
    font-family:"Open Sans", Arial, sans-serif;
}

*{
    box-sizing:border-box;
}

img{
    max-width:100%;
}

.container{
    width:90%;
    max-width:1200px;
    margin:0 auto;
}


/* =========================================================
   FIXED HEADER COMPENSATION
========================================================= */

/*
   Your header is position:fixed.
   This prevents the first section from going underneath it.
*/

.our-story{
    padding-top:190px;
}


/* =========================================================
   COMMON SECTION SETTINGS
========================================================= */

.section-tag{
    display:inline-block;
    margin-bottom:16px;

    color:#d71920;

    font-size:13px;
    font-weight:800;

    letter-spacing:3px;
    text-transform:uppercase;
}

.story-section-heading{
    max-width:760px;
    margin:0 auto 65px;

    text-align:center;
}

.story-section-heading h2{
    margin:0 0 20px;

    color:#111;

    font-family:"Montserrat", sans-serif;
    font-size:44px;
    line-height:1.2;
    font-weight:800;
}

.story-section-heading h2 span{
    color:#d71920;
}

.story-section-heading p{
    margin:0;

    color:#6b7280;

    font-size:16px;
    line-height:1.9;
}


/* =========================================================
   OUR STORY HERO
========================================================= */

.our-story{
    position:relative;

    padding-bottom:120px;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(215,25,32,.05),
            transparent 35%
        ),
        #f8fafc;
}


/* Main two-column layout */

.story-grid{
    display:grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap:75px;

    align-items:center;
}


/* =========================================================
   STORY IMAGE
========================================================= */

.story-image{
    position:relative;

    width:100%;
    min-width:0;

    border-radius:32px;
}


/*
   IMPORTANT:
   This specifically controls the first image.
*/

.story-image > img{
    display:block;

    width:100%;
    max-width:100%;

    height:600px;

    object-fit:cover;
    object-position:center;

    border-radius:32px;

    box-shadow:
        0 30px 80px rgba(0,0,0,.16);

    transition:
        transform .6s ease,
        box-shadow .6s ease;
}

.story-image:hover > img{
    transform:scale(1.015);

    box-shadow:
        0 35px 90px rgba(0,0,0,.20);
}


/* Decorative frame */

.story-image::before{
    content:"";

    position:absolute;

    top:-18px;
    left:-18px;

    width:100%;
    height:100%;

    border:2px solid rgba(215,25,32,.20);

    border-radius:35px;

    z-index:0;

    pointer-events:none;
}


/* Keep image above decorative frame */

.story-image > img{
    position:relative;
    z-index:1;
}


/* =========================================================
   EXPERIENCE BOX
========================================================= */

.experience-box{
    position:absolute;

    right:-35px;
    bottom:35px;

    z-index:5;

    width:220px;

    padding:28px 25px;

    background:
        linear-gradient(
            135deg,
            #d71920,
            #a90f15
        );

    color:#fff;

    border-radius:25px;

    text-align:center;

    box-shadow:
        0 25px 60px rgba(215,25,32,.35);

    border:4px solid #fff;

    transition:.4s ease;
}

.experience-box:hover{
    transform:translateY(-8px);
}

.experience-box h2{
    margin:0;

    color:#fff;

    font-family:"Montserrat", sans-serif;

    font-size:46px;
    line-height:1;

    font-weight:800;
}

.experience-box span{
    display:block;

    margin-top:12px;

    color:#fff;

    font-size:14px;
    line-height:1.6;
}


/* =========================================================
   STORY CONTENT
========================================================= */

.story-content{
    min-width:0;
}

.story-content h2{
    margin:0 0 28px;

    color:#111;

    font-family:"Montserrat", sans-serif;

    font-size:46px;
    line-height:1.18;

    font-weight:800;
}

.story-content h2 span{
    color:#d71920;
}

.story-content > p{
    margin:0 0 20px;

    color:#68707c;

    font-size:16px;
    line-height:1.9;
}


/* =========================================================
   STORY FEATURES
========================================================= */

.story-features{
    margin:38px 0;
}

.feature{
    display:flex;

    align-items:flex-start;

    gap:18px;

    margin-bottom:25px;
}

.feature:last-child{
    margin-bottom:0;
}

.feature i{
    display:flex;

    align-items:center;
    justify-content:center;

    width:58px;
    min-width:58px;
    height:58px;

    background:#fff;

    color:#d71920;

    border:1px solid rgba(215,25,32,.15);

    border-radius:18px;

    font-size:21px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);
}

.feature h4{
    margin:2px 0 7px;

    color:#111;

    font-family:"Montserrat", sans-serif;

    font-size:17px;
    font-weight:700;
}

.feature p{
    margin:0;

    color:#737b86;

    font-size:14px;

    line-height:1.7;
}


/* =========================================================
   STORY BUTTON
========================================================= */

.story-btn{
    display:inline-flex;

    align-items:center;
    justify-content:center;

    gap:10px;

    padding:15px 32px;

    background:#d71920;

    color:#fff !important;

    border:2px solid #d71920;

    border-radius:50px;

    text-decoration:none !important;

    font-size:14px;
    font-weight:700;

    box-shadow:
        0 12px 30px rgba(215,25,32,.20);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.story-btn:hover{
    background:#b9141a;

    transform:translateY(-4px);

    box-shadow:
        0 18px 40px rgba(215,25,32,.30);
}


/* =========================================================
   HISTORY SECTION
========================================================= */

.story-history{
    position:relative;

    padding:120px 0;

    background:#fff;
}


/* Vertical timeline feel */

.history-grid{
    position:relative;

    display:grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:30px;
}


/* Timeline line */

.history-grid::before{
    content:"";

    position:absolute;

    top:0;
    bottom:0;

    left:50%;

    width:2px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(215,25,32,.20),
            transparent
        );

    transform:translateX(-50%);

    pointer-events:none;
}


/* =========================================================
   HISTORY CARD
========================================================= */

.history-card{
    position:relative;

    padding:38px;

    background:#fff;

    border:1px solid #edf0f3;

    border-radius:25px;

    box-shadow:
        0 15px 45px rgba(0,0,0,.06);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.history-card:hover{
    transform:translateY(-8px);

    border-color:rgba(215,25,32,.18);

    box-shadow:
        0 25px 60px rgba(0,0,0,.10);
}


/* Icon */

.history-icon{
    display:flex;

    align-items:center;
    justify-content:center;

    width:58px;
    height:58px;

    margin-bottom:20px;

    background:#fff1f2;

    color:#d71920;

    border-radius:18px;

    font-size:22px;
}


/* Year */

.history-year{
    display:inline-block;

    margin-bottom:10px;

    color:#d71920;

    font-family:"Montserrat", sans-serif;

    font-size:13px;

    font-weight:800;

    letter-spacing:1px;

    text-transform:uppercase;
}

.history-card h3{
    margin:0 0 15px;

    color:#111;

    font-family:"Montserrat", sans-serif;

    font-size:22px;

    font-weight:800;
}

.history-card p{
    margin:0 0 15px;

    color:#707783;

    font-size:15px;

    line-height:1.8;
}

.history-card p:last-child{
    margin-bottom:0;
}


/* =========================================================
   DEVELOPMENT SECTION
========================================================= */

.story-development{
    padding:120px 0;

    background:#f8fafc;
}

.development-grid{
    display:grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap:80px;

    align-items:center;
}

.development-content{
    min-width:0;
}

.development-content h2{
    margin:0 0 25px;

    color:#111;

    font-family:"Montserrat", sans-serif;

    font-size:45px;

    line-height:1.2;

    font-weight:800;
}

.development-content h2 span{
    color:#d71920;
}

.development-content > p{
    margin:0 0 18px;

    color:#6c7480;

    font-size:16px;

    line-height:1.9;
}


/* =========================================================
   DEVELOPMENT HIGHLIGHTS
========================================================= */

.development-highlights{
    display:grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:15px;

    margin-top:35px;
}

.development-highlights > div{
    display:grid;

    grid-template-columns:auto 1fr;

    column-gap:14px;

    padding:20px;

    background:#fff;

    border:1px solid #edf0f3;

    border-radius:18px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.04);

    transition:.35s ease;
}

.development-highlights > div:hover{
    transform:translateY(-5px);

    box-shadow:
        0 18px 40px rgba(0,0,0,.08);
}

.development-highlights i{
    grid-row:span 2;

    display:flex;

    align-items:center;
    justify-content:center;

    width:42px;
    height:42px;

    background:#fff1f2;

    color:#d71920;

    border-radius:12px;
}

.development-highlights strong{
    align-self:end;

    color:#111;

    font-family:"Montserrat", sans-serif;

    font-size:14px;
}

.development-highlights span{
    align-self:start;

    color:#818894;

    font-size:12px;

    margin-top:3px;
}


/* =========================================================
   DEVELOPMENT IMAGE
========================================================= */

.development-image{
    position:relative;

    width:100%;

    min-width:0;
}


/*
   IMPORTANT:
   This controls the SECOND image:
   assets/images/about2.jpg
*/

.development-image > img{
    display:block;

    width:100%;
    max-width:100%;

    height:560px;

    object-fit:cover;
    object-position:center;

    border-radius:30px;

    box-shadow:
        0 30px 70px rgba(0,0,0,.14);

    transition:
        transform .5s ease,
        box-shadow .5s ease;
}

.development-image:hover > img{
    transform:scale(1.02);

    box-shadow:
        0 35px 80px rgba(0,0,0,.18);
}


/* Image decoration */

.development-image::before{
    content:"";

    position:absolute;

    top:-20px;
    right:-20px;

    width:150px;
    height:150px;

    background:#d71920;

    border-radius:30px;

    opacity:.10;

    z-index:0;
}

.development-image > img{
    position:relative;

    z-index:1;
}


/* Image label */

.image-label{
    position:absolute;

    left:30px;
    bottom:30px;

    z-index:5;

    display:flex;

    align-items:center;

    gap:14px;

    padding:16px 20px;

    background:rgba(255,255,255,.94);

    border-radius:18px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.15);

    backdrop-filter:blur(10px);
}

.image-label > i{
    display:flex;

    align-items:center;
    justify-content:center;

    width:44px;
    height:44px;

    background:#d71920;

    color:#fff;

    border-radius:12px;
}

.image-label strong{
    display:block;

    color:#111;

    font-size:14px;
}

.image-label span{
    display:block;

    margin-top:3px;

    color:#777;

    font-size:12px;
}


/* =========================================================
   FACILITIES
========================================================= */

.story-facilities{
    padding:120px 0;

    background:#fff;
}

.facility-grid{
    display:grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:25px;
}

.facility-card{
    position:relative;

    padding:35px 30px;

    background:#fff;

    border:1px solid #edf0f3;

    border-radius:25px;

    text-align:center;

    overflow:hidden;

    box-shadow:
        0 12px 35px rgba(0,0,0,.05);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.facility-card::before{
    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:#d71920;

    transform:scaleX(0);

    transform-origin:center;

    transition:.35s ease;
}

.facility-card:hover{
    transform:translateY(-8px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.10);
}

.facility-card:hover::before{
    transform:scaleX(1);
}

.facility-icon{
    display:flex;

    align-items:center;
    justify-content:center;

    width:72px;
    height:72px;

    margin:0 auto 22px;

    background:#fff1f2;

    color:#d71920;

    border-radius:22px;

    font-size:28px;

    transition:.35s ease;
}

.facility-card:hover .facility-icon{
    background:#d71920;

    color:#fff;

    transform:rotate(-5deg) scale(1.05);
}

.facility-card h3{
    margin:0 0 12px;

    color:#111;

    font-family:"Montserrat", sans-serif;

    font-size:19px;

    font-weight:800;
}

.facility-card p{
    margin:0;

    color:#737b86;

    font-size:14px;

    line-height:1.8;
}


/* =========================================================
   VALUES
========================================================= */

.story-values{
    position:relative;

    padding:120px 0;

    background:
        linear-gradient(
            135deg,
            #101216,
            #1b1d23
        );

    color:#fff;

    overflow:hidden;
}


/* Decorative circles */

.story-values::before{
    content:"";

    position:absolute;

    width:400px;
    height:400px;

    left:-200px;
    top:-200px;

    background:#d71920;

    border-radius:50%;

    opacity:.08;
}

.story-values::after{
    content:"";

    position:absolute;

    width:350px;
    height:350px;

    right:-180px;
    bottom:-180px;

    background:#d71920;

    border-radius:50%;

    opacity:.08;
}

.values-wrapper{
    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap:80px;

    align-items:center;
}

.values-wrapper .section-tag{
    color:#ff4b52;
}

.values-wrapper h2{
    margin:0 0 25px;

    color:#fff;

    font-family:"Montserrat", sans-serif;

    font-size:50px;

    line-height:1.15;

    font-weight:800;
}

.values-wrapper h2 span{
    color:#ff4b52;
}

.values-wrapper > div:first-child p{
    max-width:570px;

    margin:0;

    color:#c5c8ce;

    font-size:16px;

    line-height:1.9;
}


/* Values list */

.values-list{
    display:grid;

    gap:15px;
}

.value-item{
    display:flex;

    align-items:flex-start;

    gap:18px;

    padding:22px;

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    backdrop-filter:blur(10px);

    transition:.35s ease;
}

.value-item:hover{
    background:rgba(255,255,255,.10);

    transform:translateX(8px);
}

.value-item > i{
    display:flex;

    align-items:center;
    justify-content:center;

    width:48px;
    min-width:48px;
    height:48px;

    background:#d71920;

    color:#fff;

    border-radius:14px;

    font-size:18px;
}

.value-item h4{
    margin:2px 0 6px;

    color:#fff;

    font-family:"Montserrat", sans-serif;

    font-size:17px;

    font-weight:700;
}

.value-item p{
    margin:0;

    color:#b8bdc5;

    font-size:13px;

    line-height:1.7;
}


/* =========================================================
   CALL TO ACTION
========================================================= */

.story-cta{
    position:relative;

    padding:100px 0;

    background:
        linear-gradient(
            135deg,
            #d71920,
            #a70f15
        );

    color:#fff;

    overflow:hidden;

    text-align:center;
}


/* Decorative circles */

.story-cta::before{
    content:"";

    position:absolute;

    width:350px;
    height:350px;

    left:-170px;
    top:-180px;

    border:70px solid rgba(255,255,255,.08);

    border-radius:50%;
}

.story-cta::after{
    content:"";

    position:absolute;

    width:300px;
    height:300px;

    right:-150px;
    bottom:-150px;

    border:60px solid rgba(255,255,255,.07);

    border-radius:50%;
}

.cta-content{
    position:relative;

    z-index:2;

    max-width:800px;

    margin:auto;
}

.cta-content > span{
    display:inline-block;

    margin-bottom:15px;

    color:rgba(255,255,255,.75);

    font-size:12px;

    font-weight:800;

    letter-spacing:3px;
}

.cta-content h2{
    margin:0 0 20px;

    color:#fff;

    font-family:"Montserrat", sans-serif;

    font-size:44px;

    line-height:1.2;

    font-weight:800;
}

.cta-content h2 strong{
    color:#fff;
}

.cta-content > p{
    max-width:650px;

    margin:0 auto 35px;

    color:rgba(255,255,255,.85);

    font-size:16px;

    line-height:1.8;
}


/* CTA buttons */

.cta-buttons{
    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:15px;
}

.story-btn-light{
    background:#fff !important;

    color:#d71920 !important;

    border-color:#fff !important;

    box-shadow:none;
}

.story-btn-light:hover{
    background:#f5f5f5 !important;

    color:#b9141a !important;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media(max-width:1100px){

    .story-grid,
    .development-grid,
    .values-wrapper{
        gap:45px;
    }

    .story-content h2{
        font-size:39px;
    }

    .development-content h2{
        font-size:39px;
    }

    .story-image > img{
        height:540px;
    }

    .development-image > img{
        height:500px;
    }

    .experience-box{
        right:-15px;
    }

}


/* =========================================================
   RESPONSIVE — 991px
========================================================= */

@media(max-width:991px){

    /*
       Fixed navigation compensation
    */

    .our-story{
        padding-top:150px;
    }


    /* Main story */

    .story-grid{
        grid-template-columns:1fr;

        gap:60px;
    }

    .story-image{
        max-width:750px;

        margin:auto;
    }

    .story-image > img{
        height:520px;
    }

    .experience-box{
        right:25px;
        bottom:25px;
    }


    /* History */

    .history-grid{
        grid-template-columns:1fr;

        gap:25px;
    }

    .history-grid::before{
        display:none;
    }


    /* Development */

    .development-grid{
        grid-template-columns:1fr;

        gap:55px;
    }

    .development-image{
        order:-1;

        max-width:750px;

        margin:auto;
    }

    .development-image > img{
        height:500px;
    }


    /* Facilities */

    .facility-grid{
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* Values */

    .values-wrapper{
        grid-template-columns:1fr;

        gap:50px;
    }

    .values-wrapper h2{
        font-size:42px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media(max-width:767px){

    .container{
        width:92%;
    }


    /* Sections */

    .our-story,
    .story-history,
    .story-development,
    .story-facilities,
    .story-values{
        padding-top:80px;
        padding-bottom:80px;
    }

    .our-story{
        padding-top:130px;
    }

    .story-cta{
        padding:75px 0;
    }


    /* Headings */

    .story-section-heading{
        margin-bottom:45px;
    }

    .story-section-heading h2{
        font-size:32px;
    }

    .story-section-heading p{
        font-size:14px;
    }

    .story-content h2{
        font-size:34px;
    }

    .development-content h2{
        font-size:34px;
    }

    .values-wrapper h2{
        font-size:36px;
    }

    .cta-content h2{
        font-size:32px;
    }


    /* First image */

    .story-image{
        width:100%;
    }

    .story-image > img{
        height:420px;

        border-radius:24px;
    }

    .story-image::before{
        top:-10px;
        left:-10px;

        border-radius:27px;
    }

    .experience-box{
        right:15px;
        bottom:15px;

        width:175px;

        padding:20px 15px;

        border-radius:20px;
    }

    .experience-box h2{
        font-size:36px;
    }

    .experience-box span{
        font-size:12px;
    }


    /* Features */

    .feature{
        gap:13px;
    }

    .feature i{
        width:50px;
        min-width:50px;
        height:50px;

        border-radius:15px;

        font-size:18px;
    }


    /* Development image */

    .development-image > img{
        height:400px;

        border-radius:24px;
    }

    .development-image::before{
        top:-10px;
        right:-10px;

        width:100px;
        height:100px;

        border-radius:20px;
    }

    .image-label{
        left:15px;
        bottom:15px;

        padding:12px 15px;

        border-radius:15px;
    }

    .image-label > i{
        width:38px;
        height:38px;
    }


    /* Highlights */

    .development-highlights{
        grid-template-columns:1fr;
    }


    /* Facilities */

    .facility-grid{
        grid-template-columns:1fr;
    }

    .facility-card{
        padding:30px 25px;
    }


    /* Values */

    .value-item{
        padding:18px;
    }


    /* CTA */

    .cta-buttons{
        flex-direction:column;
    }

    .cta-buttons .story-btn{
        width:100%;
        max-width:280px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media(max-width:480px){

    .our-story{
        padding-top:120px;
    }

    .story-image > img{
        height:350px;

        border-radius:20px;
    }

    .experience-box{
        width:150px;

        padding:17px 12px;
    }

    .experience-box h2{
        font-size:30px;
    }

    .experience-box span{
        font-size:11px;
    }

    .story-content h2{
        font-size:30px;
    }

    .development-content h2{
        font-size:30px;
    }

    .development-image > img{
        height:330px;

        border-radius:20px;
    }

    .story-section-heading h2{
        font-size:29px;
    }

    .values-wrapper h2{
        font-size:32px;
    }

    .cta-content h2{
        font-size:29px;
    }

}


/* =========================================================
   ACCESSIBILITY / TOUCH
========================================================= */

.story-btn,
.history-card,
.facility-card,
.value-item,
.feature,
.development-highlights > div{
    -webkit-tap-highlight-color:transparent;
}


/* =========================================================
   PREVENT BOOTSTRAP / OLD CSS IMAGE CONFLICTS
========================================================= */

.story-image img,
.development-image img{
    float:none !important;

    margin:0 !important;

    display:block !important;

    max-width:100% !important;

    height:auto;
}


/*
   Restore the intended heights after max-width/Bootstrap rules.
*/

.story-image > img{
    height:600px !important;
}

.development-image > img{
    height:560px !important;
}


/* Mobile override */

@media(max-width:991px){

    .story-image > img{
        height:520px !important;
    }

    .development-image > img{
        height:500px !important;
    }

}

@media(max-width:767px){

    .story-image > img{
        height:420px !important;
    }

    .development-image > img{
        height:400px !important;
    }

}

@media(max-width:480px){

    .story-image > img{
        height:350px !important;
    }

    .development-image > img{
        height:330px !important;
    }

}

/* =========================================================
   MODERN PHOTOSPEAK GALLERY
========================================================= */

:root{
    --gallery-red:#d71920;
    --gallery-red-dark:#b51218;
    --gallery-dark:#111827;
    --gallery-text:#374151;
    --gallery-muted:#6b7280;
    --gallery-light:#f8fafc;
    --gallery-white:#ffffff;
}


/* =========================================================
   HERO
========================================================= */

.photospeak-hero{

    position:relative;

    min-height:430px;

    display:flex;

    align-items:center;

    background:

        linear-gradient(
            120deg,
            rgba(0,0,0,.85),
            rgba(0,0,0,.45)
        ),

        url("../assets/images/slider/1.jpg");

    background-size:cover;

    background-position:center;

    overflow:hidden;

}


/* decorative circle */

.photospeak-hero::before{

    content:"";

    position:absolute;

    width:400px;

    height:400px;

    border:1px solid rgba(255,255,255,.12);

    border-radius:50%;

    right:-100px;

    top:-120px;

}


/* another decorative shape */

.photospeak-hero::after{

    content:"";

    position:absolute;

    width:250px;

    height:250px;

    background:rgba(215,25,32,.15);

    border-radius:50%;

    left:-100px;

    bottom:-120px;

    filter:blur(10px);

}


.photospeak-hero-overlay{

    position:absolute;

    inset:0;

    background:

        linear-gradient(
            90deg,
            rgba(0,0,0,.8),
            transparent
        );

}


.photospeak-hero-content{

    position:relative;

    z-index:5;

    max-width:750px;

    padding-top:80px;

}


.photospeak-label{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:#fff;

    background:rgba(215,25,32,.9);

    padding:10px 18px;

    border-radius:50px;

    font-size:13px;

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:25px;

}


.photospeak-hero h1{

    margin:0;

    color:#fff;

    font-size:64px;

    line-height:1.05;

    font-weight:800;

}


.photospeak-hero h1 span{

    color:#ff3b43;

}


.photospeak-hero p{

    max-width:650px;

    margin-top:25px;

    color:rgba(255,255,255,.85);

    font-size:18px;

    line-height:1.8;

}


/* =========================================================
   MAIN GALLERY
========================================================= */

.modern-gallery{

    padding:110px 0;

    background:#f8fafc;

}


/* =========================================================
   HEADING
========================================================= */

.gallery-heading{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:end;

    margin-bottom:55px;

}


.gallery-tag{

    display:inline-block;

    color:var(--gallery-red);

    font-size:13px;

    font-weight:800;

    letter-spacing:3px;

    margin-bottom:15px;

}


.gallery-heading h2{

    margin:0;

    color:var(--gallery-dark);

    font-size:48px;

    line-height:1.15;

    font-weight:800;

}


.gallery-heading h2 span{

    color:var(--gallery-red);

}


.gallery-heading > p{

    color:var(--gallery-muted);

    font-size:16px;

    line-height:1.9;

    margin:0;

}


/* =========================================================
   CATEGORY FILTERS
========================================================= */

.gallery-filters{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-bottom:45px;

    padding:10px;

    background:#fff;

    border:1px solid #edf0f4;

    border-radius:18px;

    box-shadow:0 10px 35px rgba(0,0,0,.04);

}


.gallery-filters a{

    display:inline-flex;

    align-items:center;

    gap:9px;

    padding:13px 20px;

    border-radius:12px;

    text-decoration:none;

    color:#555;

    font-size:14px;

    font-weight:600;

    background:transparent;

    transition:.3s ease;

}


.gallery-filters a i{

    font-size:14px;

}


.gallery-filters a:hover{

    color:var(--gallery-red);

    background:#fff3f3;

}


.gallery-filters a.active{

    color:#fff;

    background:var(--gallery-red);

    box-shadow:0 8px 25px rgba(215,25,32,.25);

}


/* =========================================================
   SELECTED CATEGORY
========================================================= */

.selected-category{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 30px;

    margin-bottom:35px;

    background:#fff;

    border-radius:20px;

    border-left:5px solid var(--gallery-red);

    box-shadow:0 10px 35px rgba(0,0,0,.05);

}


.selected-category span{

    color:var(--gallery-red);

    font-size:11px;

    font-weight:800;

    letter-spacing:2px;

}


.selected-category h3{

    margin:7px 0 0;

    color:var(--gallery-dark);

    font-size:26px;

}


.category-count{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    min-width:90px;

    height:75px;

    border-radius:16px;

    background:#fff3f3;

}


.category-count strong{

    color:var(--gallery-red);

    font-size:25px;

}


.category-count small{

    color:#777;

    font-size:11px;

}


/* =========================================================
   GALLERY GRID
========================================================= */

.modern-gallery-grid{

    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:25px;

}


/* =========================================================
   GALLERY ITEM
========================================================= */

.modern-gallery-item{

    position:relative;

    min-width:0;

    border-radius:24px;

    overflow:hidden;

    background:#fff;

    box-shadow:

        0 12px 40px rgba(0,0,0,.07);

    transition:

        transform .45s ease,

        box-shadow .45s ease;

}


.modern-gallery-item:hover{

    transform:translateY(-10px);

    box-shadow:

        0 25px 65px rgba(0,0,0,.15);

}


/* =========================================================
   IMAGE
========================================================= */

.gallery-image{

    position:relative;

    width:100%;

    height:390px;

    overflow:hidden;

    background:#eee;

}


.gallery-image img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

    transition:

        transform .8s cubic-bezier(.2,.8,.2,1);

}


.modern-gallery-item:hover .gallery-image img{

    transform:scale(1.08);

}


/* =========================================================
   IMAGE GRADIENT
========================================================= */

.gallery-gradient{

    position:absolute;

    inset:0;

    background:

        linear-gradient(
            to top,
            rgba(0,0,0,.85),
            rgba(0,0,0,.15) 55%,
            transparent
        );

    opacity:.85;

    pointer-events:none;

}


/* =========================================================
   EXPAND BUTTON
========================================================= */

.gallery-expand{

    position:absolute;

    top:20px;

    right:20px;

    width:48px;

    height:48px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.95);

    color:var(--gallery-red);

    border-radius:50%;

    font-size:16px;

    box-shadow:0 8px 25px rgba(0,0,0,.18);

    transform:scale(.8);

    opacity:0;

    transition:.4s;

}


.modern-gallery-item:hover .gallery-expand{

    transform:scale(1);

    opacity:1;

}


/* =========================================================
   IMAGE DETAILS
========================================================= */

.gallery-details{

    position:absolute;

    left:25px;

    right:25px;

    bottom:23px;

    z-index:3;

    color:#fff;

}


.gallery-category{

    display:inline-flex;

    align-items:center;

    gap:7px;

    padding:7px 12px;

    background:rgba(215,25,32,.9);

    border-radius:30px;

    color:#fff;

    font-size:11px;

    font-weight:700;

    letter-spacing:.5px;

}


.gallery-details p{

    margin:12px 0 0;

    color:rgba(255,255,255,.85);

    font-size:13px;

    line-height:1.6;

}


/* =========================================================
   VIDEO
========================================================= */

.video-wrapper{

    position:relative;

    height:390px;

    background:#111;

}


.video-wrapper video{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

}


.video-badge{

    position:absolute;

    top:18px;

    left:18px;

    display:flex;

    align-items:center;

    gap:7px;

    padding:8px 13px;

    background:var(--gallery-red);

    color:#fff;

    border-radius:30px;

    font-size:11px;

    font-weight:700;

    letter-spacing:1px;

}


.video-info{

    padding:22px 24px 25px;

}


.video-info > span{

    display:flex;

    align-items:center;

    gap:8px;

    color:var(--gallery-dark);

    font-size:16px;

    font-weight:700;

}


.video-info > span i{

    color:var(--gallery-red);

}


.video-info p{

    color:var(--gallery-muted);

    line-height:1.7;

    font-size:14px;

    margin:10px 0 0;

}


/* =========================================================
   EMPTY STATE
========================================================= */

.gallery-empty{

    text-align:center;

    padding:90px 20px;

    background:#fff;

    border-radius:25px;

    box-shadow:0 10px 40px rgba(0,0,0,.05);

}


.empty-icon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#fff1f1;

    color:var(--gallery-red);

    border-radius:50%;

    font-size:35px;

}


.gallery-empty h3{

    color:var(--gallery-dark);

    font-size:25px;

}


.gallery-empty p{

    color:#777;

}


.gallery-empty a{

    display:inline-block;

    margin-top:15px;

    padding:13px 25px;

    color:#fff;

    background:var(--gallery-red);

    border-radius:30px;

    text-decoration:none;

    font-weight:600;

}


/* =========================================================
   CTA
========================================================= */

.gallery-cta{

    padding:80px 0;

    background:

        linear-gradient(
            120deg,
            #151515,
            #242424
        );

}


.gallery-cta-content{

    display:grid;

    grid-template-columns:auto 1fr auto;

    align-items:center;

    gap:30px;

}


.cta-icon{

    width:75px;

    height:75px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:22px;

    background:var(--gallery-red);

    color:#fff;

    font-size:27px;

    box-shadow:

        0 15px 35px rgba(215,25,32,.3);

}


.gallery-cta-content span{

    color:#ff4a4f;

    font-size:11px;

    font-weight:800;

    letter-spacing:2px;

}


.gallery-cta-content h2{

    color:#fff;

    margin:8px 0;

    font-size:30px;

}


.gallery-cta-content p{

    color:rgba(255,255,255,.65);

    margin:0;

    line-height:1.7;

}


.gallery-cta-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:15px 25px;

    border-radius:40px;

    background:#fff;

    color:#111;

    text-decoration:none;

    font-weight:700;

    white-space:nowrap;

    transition:.3s;

}


.gallery-cta-btn:hover{

    color:#fff;

    background:var(--gallery-red);

    transform:translateY(-3px);

}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1100px){

    .modern-gallery-grid{

        grid-template-columns:
            repeat(2,minmax(0,1fr));

    }

    .gallery-heading{

        grid-template-columns:1fr;

        gap:20px;

    }

    .photospeak-hero h1{

        font-size:52px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:767px){

    .photospeak-hero{

        min-height:400px;

    }

    .photospeak-hero-content{

        padding-top:90px;

    }

    .photospeak-hero h1{

        font-size:40px;

    }

    .photospeak-hero p{

        font-size:15px;

    }


    .modern-gallery{

        padding:75px 0;

    }


    .gallery-heading h2{

        font-size:35px;

    }


    .gallery-filters{

        padding:8px;

        gap:6px;

    }


    .gallery-filters a{

        padding:11px 13px;

        font-size:12px;

    }


    .modern-gallery-grid{

        grid-template-columns:1fr;

        gap:20px;

    }


    .gallery-image,
    .video-wrapper{

        height:320px;

    }


    .selected-category{

        padding:20px;

    }


    .selected-category h3{

        font-size:21px;

    }


    .gallery-cta{

        padding:60px 0;

    }


    .gallery-cta-content{

        grid-template-columns:1fr;

        text-align:center;

    }


    .cta-icon{

        margin:auto;

    }


    .gallery-cta-btn{

        justify-content:center;

    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media(max-width:480px){

    .photospeak-hero h1{

        font-size:34px;

    }


    .gallery-heading h2{

        font-size:30px;

    }


    .gallery-filters{

        display:grid;

        grid-template-columns:1fr 1fr;

    }


    .gallery-filters a{

        justify-content:center;

    }


    .gallery-image,
    .video-wrapper{

        height:280px;

    }


    .gallery-details{

        left:18px;

        right:18px;

        bottom:18px;

    }

}

/* Team */

/*==========================
TEAM HERO
==========================*/

.team-hero{

    padding:180px 0 100px;

    text-align:center;

    background:
    linear-gradient(rgba(5,15,35,.82),rgba(5,15,35,.88)),
    url("../assets/images/team-bg.jpg");

    background-size:cover;
    background-position:center;
}

.team-hero .section-tag{

    display:inline-block;

    color:#d71920;

    text-transform:uppercase;

    letter-spacing:3px;

    font-weight:700;

    margin-bottom:20px;
}

.team-hero h1{

    color:#fff;

    font-size:58px;

    line-height:1.2;

    margin-bottom:25px;
}

.team-hero p{

    color:rgba(255,255,255,.8);

    max-width:760px;

    margin:auto;

    font-size:18px;

    line-height:1.9;
}


/*==========================
Leadership
==========================*/

.team-section{

    padding:100px 0;

    background:#f7f9fc;
}

.team-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;
}

.team-card{

    background:#fff;

    border-radius:25px;

    overflow:hidden;

    box-shadow:0 20px 50px rgba(0,0,0,.08);

    transition:.4s;
}

.team-card:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 60px rgba(0,0,0,.15);
}

.team-image{

    height:340px;

    overflow:hidden;
}

.team-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;
}

.team-card:hover img{

    transform:scale(1.08);
}

.team-info{

    padding:35px;
}

.team-info h3{

    font-size:24px;

    margin-bottom:8px;
}

.team-info span{

    color:#d71920;

    font-weight:600;

    display:block;

    margin-bottom:18px;
}

.team-info p{

    color:#666;

    line-height:1.8;
}

.team-social{

    display:flex;

    gap:15px;

    margin-top:25px;
}

.team-social a{

    width:42px;

    height:42px;

    border-radius:50%;

    background:#f1f1f1;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#444;

    transition:.3s;
}

.team-social a:hover{

    background:#d71920;

    color:#fff;
}


/*==========================
Teachers
==========================*/

.teachers{

    padding:100px 0;
}

.section-title{

    text-align:center;

    margin-bottom:60px;
}

.section-title span{

    color:#d71920;

    text-transform:uppercase;

    letter-spacing:3px;

    font-weight:700;
}

.section-title h2{

    font-size:42px;

    margin-top:15px;
}

.teachers-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;
}

.teacher-card{

    text-align:center;

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.4s;
}

.teacher-card:hover{

    transform:translateY(-8px);
}

.teacher-card img{

    width:100%;

    height:300px;

    object-fit:cover;
}

.teacher-card h4{

    margin-top:20px;
}

.teacher-card span{

    display:block;

    color:#777;

    margin-bottom:25px;
}


/*==========================
Responsive
==========================*/

@media(max-width:991px){

.team-grid{

grid-template-columns:1fr;

}

.teachers-grid{

grid-template-columns:repeat(2,1fr);

}

.team-hero h1{

font-size:42px;

}

}

@media(max-width:600px){

.teachers-grid{

grid-template-columns:1fr;

}

.team-hero h1{

font-size:34px;

}

}

/* =========================================================
   ST. AMBROSE - MODERN ADMISSION POLICY
   ========================================================= */


/* =========================================================
   PAGE BASE
   ========================================================= */

.inner-page{
    padding-top:0;
    background:#fff;
}

.inner-page .container{
    width:90%;
    max-width:1250px;
    margin:0 auto;
}


/* =========================================================
   ADMISSION HERO
   ========================================================= */

.admission-hero{
    position:relative;

    min-height:480px;

    display:flex;
    align-items:center;

    padding:140px 0 100px;

    color:#fff;

    background:
        linear-gradient(
            120deg,
            rgba(7,18,42,.96),
            rgba(7,18,42,.82)
        ),
        url("../assets/images/admission-bg.jpg");

    background-size:cover;
    background-position:center;

    overflow:hidden;
}


/* decorative glow */

.admission-hero::before{
    content:"";

    position:absolute;

    width:420px;
    height:420px;

    right:-150px;
    top:-150px;

    border-radius:50%;

    background:rgba(215,25,32,.20);

    filter:blur(10px);
}


/* second decorative element */

.admission-hero::after{
    content:"";

    position:absolute;

    width:250px;
    height:250px;

    left:-120px;
    bottom:-100px;

    border-radius:50%;

    border:50px solid rgba(255,255,255,.04);
}


.admission-hero .container{
    position:relative;
    z-index:2;
}


.page-tag{
    display:inline-flex;
    align-items:center;

    padding:9px 18px;

    margin-bottom:22px;

    border:1px solid rgba(255,255,255,.25);

    border-radius:50px;

    color:#fff;

    font-size:13px;
    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(10px);
}


.admission-hero h1{
    max-width:800px;

    margin:0 0 25px;

    font-size:clamp(42px,6vw,72px);

    line-height:1.05;

    font-weight:800;

    letter-spacing:-2px;
}


.admission-hero h1::after{
    content:"";

    display:block;

    width:70px;
    height:5px;

    margin-top:25px;

    background:#d71920;

    border-radius:10px;
}


.admission-hero p{
    max-width:760px;

    margin:25px 0 0;

    color:rgba(255,255,255,.82);

    font-size:18px;

    line-height:1.9;
}


/* =========================================================
   QUICK INFORMATION
   ========================================================= */

.admission-info{
    position:relative;

    margin-top:-55px;

    padding:0 0 100px;

    background:#fff;

    z-index:5;
}


.info-grid{
    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:22px;
}


.info-card{
    position:relative;

    min-height:190px;

    padding:32px 26px;

    background:#fff;

    border:1px solid #edf0f5;

    border-radius:24px;

    box-shadow:
        0 20px 60px rgba(9,27,60,.10);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    overflow:hidden;
}


.info-card::before{
    content:"";

    position:absolute;

    left:0;
    top:0;

    width:100%;
    height:4px;

    background:#d71920;

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;
}


.info-card:hover{
    transform:translateY(-10px);

    border-color:rgba(215,25,32,.15);

    box-shadow:
        0 30px 70px rgba(9,27,60,.15);
}


.info-card:hover::before{
    transform:scaleX(1);
}


.info-icon{
    width:58px;
    height:58px;

    margin-bottom:20px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:18px;

    background:
        linear-gradient(
            135deg,
            #d71920,
            #ef4444
        );

    color:#fff;

    font-size:22px;

    box-shadow:
        0 12px 30px rgba(215,25,32,.25);
}


.info-card h3{
    margin:0 0 10px;

    color:#091b3c;

    font-size:18px;

    font-weight:700;
}


.info-card p{
    margin:0;

    color:#6b7280;

    font-size:14px;

    line-height:1.7;
}


/* =========================================================
   POLICY SECTION
   ========================================================= */

.policy-section{
    padding:110px 0 120px;

    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 100%
        );
}


/* TWO COLUMN LAYOUT */

.policy-layout{
    display:grid;

    grid-template-columns:
        320px minmax(0,1fr);

    gap:70px;

    align-items:start;
}


/* =========================================================
   POLICY SIDEBAR
   ========================================================= */

.policy-sidebar{
    position:sticky;

    top:110px;
}


.policy-sidebar-card{
    position:relative;

    padding:38px 30px;

    color:#fff;

    border-radius:28px;

    background:
        linear-gradient(
            145deg,
            #091b3c,
            #102b59
        );

    box-shadow:
        0 25px 65px rgba(9,27,60,.18);

    overflow:hidden;
}


.policy-sidebar-card::before{
    content:"";

    position:absolute;

    width:180px;
    height:180px;

    right:-80px;
    top:-80px;

    border-radius:50%;

    background:rgba(215,25,32,.25);
}


.policy-sidebar-card::after{
    content:"";

    position:absolute;

    width:120px;
    height:120px;

    left:-70px;
    bottom:-70px;

    border-radius:50%;

    border:25px solid rgba(255,255,255,.04);
}


.sidebar-label{
    position:relative;
    z-index:2;

    display:inline-block;

    margin-bottom:20px;

    color:#ff6066;

    font-size:12px;

    font-weight:800;

    letter-spacing:2px;
}


.policy-sidebar-card h3{
    position:relative;
    z-index:2;

    margin:0 0 20px;

    color:#fff;

    font-size:26px;

    line-height:1.3;
}


.policy-sidebar-card p{
    position:relative;
    z-index:2;

    margin:0 0 28px;

    color:rgba(255,255,255,.72);

    line-height:1.8;

    font-size:14px;
}


.sidebar-btn{
    position:relative;
    z-index:2;

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:13px 20px;

    background:#d71920;

    color:#fff;

    border-radius:50px;

    text-decoration:none;

    font-size:14px;

    font-weight:700;

    transition:.3s;
}


.sidebar-btn:hover{
    color:#fff;

    transform:translateY(-3px);

    box-shadow:
        0 12px 30px rgba(215,25,32,.35);
}


.sidebar-btn i{
    transition:.3s;
}


.sidebar-btn:hover i{
    transform:translateX(5px);
}


/* =========================================================
   POLICY CONTENT
   ========================================================= */

.policy-content{
    min-width:0;

    background:#fff;

    border-radius:32px;

    padding:55px 60px;

    box-shadow:
        0 20px 70px rgba(9,27,60,.07);

    border:1px solid #edf0f5;
}


/* =========================================================
   POLICY BLOCK
   ========================================================= */

.policy-block{
    display:grid;

    grid-template-columns:65px minmax(0,1fr);

    gap:25px;

    padding-bottom:55px;

    margin-bottom:55px;

    border-bottom:1px solid #edf0f5;
}


.policy-block:last-child{
    padding-bottom:0;
    margin-bottom:0;

    border-bottom:none;
}


.policy-number{
    width:52px;
    height:52px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:16px;

    background:#fff1f2;

    color:#d71920;

    font-size:14px;

    font-weight:800;

    letter-spacing:1px;
}


.policy-block h2{
    margin:0 0 20px;

    color:#091b3c;

    font-size:32px;

    line-height:1.25;

    font-weight:800;
}


.policy-block p{
    margin:0 0 18px;

    color:#5f6b7a;

    font-size:16px;

    line-height:1.9;
}


.policy-block p:last-child{
    margin-bottom:0;
}


/* =========================================================
   POLICY LIST
   ========================================================= */

.policy-list{
    list-style:none;

    padding:0;
    margin:30px 0 0;
}


.policy-list li{
    display:flex;

    align-items:flex-start;

    gap:15px;

    margin-bottom:20px;

    color:#5f6b7a;

    font-size:15px;

    line-height:1.8;
}


.policy-list li:last-child{
    margin-bottom:0;
}


.policy-list li i{
    flex-shrink:0;

    width:27px;
    height:27px;

    display:flex;

    align-items:center;
    justify-content:center;

    margin-top:2px;

    border-radius:50%;

    background:#fff1f2;

    color:#d71920;

    font-size:11px;
}


/* =========================================================
   HIGHLIGHT BOX
   ========================================================= */

.highlight-box{
    display:flex;

    align-items:flex-start;

    gap:20px;

    margin-top:30px;

    padding:25px;

    background:#f8fafc;

    border:1px solid #edf0f5;

    border-left:4px solid #d71920;

    border-radius:18px;
}


.highlight-icon{
    width:52px;
    height:52px;

    flex-shrink:0;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:15px;

    background:#d71920;

    color:#fff;

    font-size:20px;
}


.highlight-box h4{
    margin:0 0 7px;

    color:#091b3c;

    font-size:17px;
}


.highlight-box p{
    margin:0;

    font-size:14px;

    line-height:1.7;
}


/* =========================================================
   ADMISSION PROCEDURES
   ========================================================= */

.procedure-list{
    display:grid;

    grid-template-columns:1fr;

    gap:18px;

    margin-top:30px;
}


.procedure-item{
    display:flex;

    align-items:flex-start;

    gap:20px;

    padding:25px;

    border:1px solid #edf0f5;

    border-radius:20px;

    background:#fff;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.procedure-item:hover{
    transform:translateX(7px);

    border-color:rgba(215,25,32,.2);

    box-shadow:
        0 15px 40px rgba(9,27,60,.08);
}


.procedure-icon{
    width:55px;
    height:55px;

    flex-shrink:0;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:16px;

    background:#fff1f2;

    color:#d71920;

    font-size:20px;
}


.procedure-item h4{
    margin:2px 0 8px;

    color:#091b3c;

    font-size:18px;
}


.procedure-item p{
    margin:0;

    color:#6b7280;

    font-size:14px;

    line-height:1.7;
}


/* =========================================================
   CTA
   ========================================================= */

.admission-cta{
    position:relative;

    padding:90px 0;

    color:#fff;

    background:
        linear-gradient(
            110deg,
            rgba(7,18,42,.97),
            rgba(7,18,42,.88)
        ),
        url("../assets/images/admission-bg.jpg");

    background-size:cover;

    background-position:center;

    overflow:hidden;
}


.admission-cta::before{
    content:"";

    position:absolute;

    width:350px;
    height:350px;

    right:-120px;
    top:-180px;

    border-radius:50%;

    background:rgba(215,25,32,.20);
}


.cta-content{
    position:relative;
    z-index:2;

    display:grid;

    grid-template-columns:80px minmax(0,1fr) auto;

    align-items:center;

    gap:30px;
}


.cta-icon{
    width:72px;
    height:72px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:22px;

    background:#d71920;

    color:#fff;

    font-size:28px;

    box-shadow:
        0 15px 35px rgba(215,25,32,.3);
}


.cta-content span{
    display:block;

    margin-bottom:8px;

    color:#ff666b;

    font-size:12px;

    font-weight:800;

    letter-spacing:3px;
}


.cta-content h2{
    margin:0 0 10px;

    color:#fff;

    font-size:34px;

    line-height:1.2;
}


.cta-content p{
    max-width:650px;

    margin:0;

    color:rgba(255,255,255,.7);

    line-height:1.7;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.cta-buttons{
    display:flex;

    align-items:center;

    gap:12px;

    flex-wrap:wrap;
}


.btn-primary,
.btn-outline{
    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    min-height:50px;

    padding:14px 25px;

    border-radius:50px;

    text-decoration:none;

    font-size:14px;

    font-weight:700;

    white-space:nowrap;

    transition:.35s;
}


.btn-primary{
    background:#d71920;

    color:#fff;

    box-shadow:
        0 12px 30px rgba(215,25,32,.25);
}


.btn-primary:hover{
    color:#fff;

    transform:translateY(-4px);

    box-shadow:
        0 18px 40px rgba(215,25,32,.4);
}


.btn-primary i{
    transition:.3s;
}


.btn-primary:hover i{
    transform:translateX(5px);
}


.btn-outline{
    color:#fff;

    border:1px solid rgba(255,255,255,.4);

    background:rgba(255,255,255,.05);
}


.btn-outline:hover{
    color:#091b3c;

    background:#fff;

    border-color:#fff;

    transform:translateY(-4px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1100px){

    .info-grid{
        grid-template-columns:
            repeat(2,1fr);
    }


    .policy-layout{
        grid-template-columns:280px minmax(0,1fr);

        gap:40px;
    }


    .policy-content{
        padding:45px;
    }


    .cta-content{
        grid-template-columns:70px minmax(0,1fr);
    }


    .cta-buttons{
        grid-column:2;

        margin-top:5px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:768px){

    .inner-page{
        overflow:hidden;
    }


    .admission-hero{
        min-height:430px;

        padding:130px 0 80px;
    }


    .admission-hero h1{
        font-size:43px;

        letter-spacing:-1px;
    }


    .admission-hero p{
        font-size:15px;

        line-height:1.8;
    }


    .admission-info{
        margin-top:0;

        padding:50px 0 70px;
    }


    .info-grid{
        grid-template-columns:1fr;

        gap:18px;
    }


    .info-card{
        min-height:auto;

        display:flex;

        align-items:flex-start;

        gap:18px;

        text-align:left;

        padding:25px;
    }


    .info-icon{
        flex-shrink:0;

        margin-bottom:0;
    }


    .policy-section{
        padding:70px 0 80px;
    }


    .policy-layout{
        grid-template-columns:1fr;

        gap:30px;
    }


    .policy-sidebar{
        position:relative;

        top:auto;
    }


    .policy-sidebar-card{
        padding:30px;
    }


    .policy-content{
        padding:35px 25px;

        border-radius:24px;
    }


    .policy-block{
        grid-template-columns:1fr;

        gap:18px;

        padding-bottom:40px;

        margin-bottom:40px;
    }


    .policy-number{
        width:45px;
        height:45px;

        border-radius:14px;
    }


    .policy-block h2{
        font-size:27px;
    }


    .policy-block p{
        font-size:15px;

        line-height:1.8;
    }


    .policy-list li{
        font-size:14px;

        gap:12px;
    }


    .highlight-box{
        padding:20px;

        gap:15px;
    }


    .procedure-item{
        padding:20px;

        gap:15px;
    }


    .procedure-icon{
        width:48px;
        height:48px;

        font-size:17px;
    }


    .procedure-item h4{
        font-size:16px;
    }


    .admission-cta{
        padding:70px 0;
    }


    .cta-content{
        grid-template-columns:1fr;

        text-align:center;

        justify-items:center;
    }


    .cta-content p{
        font-size:14px;
    }


    .cta-buttons{
        grid-column:auto;

        justify-content:center;

        width:100%;
    }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media(max-width:480px){

    .inner-page .container{
        width:92%;
    }


    .admission-hero{
        padding:120px 0 70px;
    }


    .admission-hero h1{
        font-size:36px;
    }


    .page-tag{
        font-size:11px;

        letter-spacing:2px;
    }


    .policy-content{
        padding:30px 20px;
    }


    .policy-block h2{
        font-size:25px;
    }


    .policy-list li{
        align-items:flex-start;
    }


    .highlight-box{
        flex-direction:column;
    }


    .cta-content h2{
        font-size:28px;
    }


    .cta-buttons{
        flex-direction:column;

        align-items:stretch;
    }


    .btn-primary,
    .btn-outline{
        width:100%;
    }

}

/* Admission form */

.admission-form-section{
padding:100px 0;
background:#f7f9fc;
}

.form-wrapper{
display:grid;
grid-template-columns:2fr 1fr;
gap:40px;
}

.form-left{
background:#fff;
padding:50px;
border-radius:25px;
box-shadow:0 15px 50px rgba(0,0,0,.08);
}

.form-right{
display:flex;
flex-direction:column;
gap:25px;
}

.section-title{
margin-bottom:35px;
}

.section-title h2{
font-size:2rem;
margin-bottom:10px;
}

.form-row{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
}

.form-group{
margin-bottom:22px;
}

.form-group label{
display:block;
font-weight:600;
margin-bottom:8px;
}

.form-group input,
.form-group select,
.form-group textarea{
width:100%;
padding:15px 18px;
border:1px solid #ddd;
border-radius:12px;
font-size:15px;
transition:.3s;
}

.form-group textarea{
height:130px;
resize:none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
border-color:#d71920;
box-shadow:0 0 0 4px rgba(215,25,32,.1);
outline:none;
}

.submit-btn{
background:#d71920;
color:#fff;
padding:16px 40px;
border:none;
border-radius:50px;
font-size:17px;
font-weight:600;
cursor:pointer;
transition:.3s;
}

.submit-btn:hover{
transform:translateY(-3px);
box-shadow:0 15px 35px rgba(215,25,32,.3);
}

.info-box{
background:#fff;
padding:35px;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.info-box i{
font-size:35px;
color:#d71920;
margin-bottom:20px;
}

.info-box h3{
margin-bottom:18px;
}

.info-box ul{
padding-left:20px;
}

.info-box ul li{
margin-bottom:12px;
}

.contact{
background:#d71920;
color:#fff;
}

.contact h3{
color:#fff;
}

.contact i{
color:#fff;
}

@media(max-width:991px){

.form-wrapper{
grid-template-columns:1fr;
}

.form-row{
grid-template-columns:1fr;
}

.form-left{
padding:30px;
}

}


/* CONTACT */

   /* =========================================
           CONTACT PAGE
        ========================================= */

        .contact-page {
            background: #f7f8fa;
            padding-top: 115px;
        }


        /* =========================================
           CONTACT HERO
        ========================================= */

        .contact-hero {
            position: relative;
            padding: 90px 20px 110px;
            overflow: hidden;

            background:
                linear-gradient(
                    135deg,
                    rgba(12, 12, 12, .94),
                    rgba(30, 30, 30, .82)
                ),
                url("<?= BASE_URL . 'assets/images/slider/1.jpg' ?>")
                center/cover no-repeat;

            color: #fff;
        }

        .contact-hero::before {
            content: "";
            position: absolute;

            width: 350px;
            height: 350px;

            border-radius: 50%;

            background: rgba(215, 25, 32, .18);

            top: -150px;
            right: -100px;

            filter: blur(5px);
        }

        .contact-hero::after {
            content: "";

            position: absolute;

            width: 250px;
            height: 250px;

            border-radius: 50%;

            background: rgba(255,255,255,.04);

            bottom: -130px;
            left: -80px;
        }

        .contact-hero-content {
            position: relative;
            z-index: 2;

            max-width: 850px;
            margin: auto;

            text-align: center;
        }

        .contact-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;

            padding: 8px 18px;

            border-radius: 50px;

            background: rgba(255,255,255,.1);

            border: 1px solid rgba(255,255,255,.15);

            color: #fff;

            font-size: 12px;
            font-weight: 700;

            letter-spacing: 2px;
            text-transform: uppercase;

            margin-bottom: 20px;
        }

        .contact-hero h1 {
            margin: 0 0 20px;

            font-family: "Playfair Display", serif;

            font-size: clamp(42px, 6vw, 72px);

            font-weight: 700;

            line-height: 1.1;
        }

        .contact-hero h1 span {
            color: #d71920;
        }

        .contact-hero p {
            max-width: 680px;

            margin: auto;

            color: rgba(255,255,255,.75);

            font-size: 17px;

            line-height: 1.8;
        }


        /* =========================================
           CONTACT CONTENT
        ========================================= */

        .contact-main {
            position: relative;

            margin-top: -55px;

            padding-bottom: 90px;

            z-index: 5;
        }

        .contact-grid {
            display: grid;

            grid-template-columns: .9fr 1.4fr;

            gap: 30px;

            max-width: 1200px;

            margin: auto;
        }


        /* =========================================
           CONTACT INFORMATION
        ========================================= */

        .contact-info {
            padding: 35px;

            border-radius: 25px;

            background: #111;

            color: #fff;

            box-shadow:
                0 25px 70px rgba(0,0,0,.18);
        }

        .contact-info-heading {
            margin-bottom: 30px;
        }

        .contact-info-heading span {
            color: #d71920;

            font-size: 12px;

            font-weight: 700;

            text-transform: uppercase;

            letter-spacing: 2px;
        }

        .contact-info-heading h2 {
            color: #fff;

            font-family: "Playfair Display", serif;

            font-size: 32px;

            margin: 10px 0 12px;
        }

        .contact-info-heading p {
            color: rgba(255,255,255,.6);

            line-height: 1.7;

            margin: 0;
        }


        /* =========================================
           INFO ITEMS
        ========================================= */

        .contact-item {
            display: flex;

            gap: 16px;

            padding: 18px 0;

            border-bottom: 1px solid rgba(255,255,255,.08);
        }

        .contact-item:last-child {
            border-bottom: 0;
        }

        .contact-icon {
            width: 48px;
            height: 48px;

            min-width: 48px;

            display: flex;

            align-items: center;
            justify-content: center;

            border-radius: 14px;

            background: rgba(215,25,32,.12);

            color: #d71920;

            font-size: 18px;
        }

        .contact-item h4 {
            margin: 0 0 5px;

            color: #fff;

            font-size: 15px;

            font-weight: 700;
        }

        .contact-item p,
        .contact-item a {
            margin: 0;

            color: rgba(255,255,255,.62);

            font-size: 14px;

            line-height: 1.6;

            text-decoration: none;
        }

        .contact-item a:hover {
            color: #d71920;
        }


        /* =========================================
           SOCIAL MEDIA
        ========================================= */

        .contact-socials {
            display: flex;

            gap: 10px;

            margin-top: 28px;
        }

        .contact-socials a {
            width: 42px;
            height: 42px;

            display: flex;

            align-items: center;
            justify-content: center;

            border-radius: 50%;

            color: #fff;

            background: rgba(255,255,255,.07);

            border: 1px solid rgba(255,255,255,.08);

            text-decoration: none;

            transition: .3s ease;
        }

        .contact-socials a:hover {
            background: #d71920;

            border-color: #d71920;

            transform: translateY(-4px);
        }


        /* =========================================
           CONTACT FORM
        ========================================= */

        .contact-form-card {
            background: #fff;

            padding: 40px;

            border-radius: 25px;

            box-shadow:
                0 25px 70px rgba(0,0,0,.10);
        }

        .contact-form-heading {
            margin-bottom: 30px;
        }

        .contact-form-heading span {
            color: #d71920;

            font-size: 12px;

            font-weight: 700;

            letter-spacing: 2px;

            text-transform: uppercase;
        }

        .contact-form-heading h2 {
            margin: 8px 0;

            color: #111;

            font-family: "Playfair Display", serif;

            font-size: 32px;
        }

        .contact-form-heading p {
            color: #777;

            margin: 0;

            line-height: 1.7;
        }

        .contact-form-grid {
            display: grid;

            grid-template-columns: 1fr 1fr;

            gap: 20px;
        }

        .form-group {
            position: relative;
        }

        .form-group.full {
            grid-column: 1 / -1;
        }

        .form-group label {
            display: block;

            margin-bottom: 8px;

            color: #333;

            font-size: 13px;

            font-weight: 700;
        }

        .form-control-modern {
            width: 100%;

            min-height: 52px;

            padding: 13px 16px;

            border: 1px solid #e5e5e5;

            border-radius: 12px;

            outline: none;

            background: #fafafa;

            color: #222;

            font-size: 14px;

            transition: .3s;
        }

        textarea.form-control-modern {
            min-height: 150px;

            resize: vertical;
        }

        .form-control-modern:focus {
            background: #fff;

            border-color: #d71920;

            box-shadow:
                0 0 0 4px rgba(215,25,32,.08);
        }

        .contact-submit {
            display: inline-flex;

            align-items: center;

            justify-content: center;

            gap: 10px;

            margin-top: 22px;

            padding: 14px 28px;

            border: 0;

            border-radius: 50px;

            background: #d71920;

            color: #fff;

            font-size: 14px;

            font-weight: 700;

            cursor: pointer;

            transition: .3s;
        }

        .contact-submit:hover {
            background: #111;

            transform: translateY(-3px);

            box-shadow:
                0 12px 30px rgba(0,0,0,.18);
        }


        /* =========================================
           QUICK CONTACT CARDS
        ========================================= */

        .contact-services {
            padding: 20px 0 90px;
        }

        .contact-services-title {
            text-align: center;

            max-width: 700px;

            margin: 0 auto 40px;
        }

        .contact-services-title span {
            color: #d71920;

            font-size: 12px;

            font-weight: 700;

            letter-spacing: 2px;

            text-transform: uppercase;
        }

        .contact-services-title h2 {
            margin: 10px 0;

            color: #111;

            font-family: "Playfair Display", serif;

            font-size: 38px;
        }

        .contact-services-title p {
            color: #777;

            line-height: 1.7;
        }

        .service-grid {
            display: grid;

            grid-template-columns:
                repeat(4, 1fr);

            gap: 20px;
        }

        .service-card {
            text-align: center;

            padding: 30px 20px;

            background: #fff;

            border-radius: 20px;

            border: 1px solid #eee;

            transition: .35s;
        }

        .service-card:hover {
            transform: translateY(-8px);

            border-color: rgba(215,25,32,.2);

            box-shadow:
                0 20px 50px rgba(0,0,0,.08);
        }

        .service-card i {
            width: 58px;
            height: 58px;

            display: flex;

            align-items: center;
            justify-content: center;

            margin: 0 auto 18px;

            border-radius: 18px;

            background: rgba(215,25,32,.08);

            color: #d71920;

            font-size: 21px;
        }

        .service-card h3 {
            margin: 0 0 8px;

            color: #222;

            font-size: 17px;
        }

        .service-card p {
            margin: 0;

            color: #777;

            font-size: 13px;

            line-height: 1.6;
        }


        /* =========================================
           MAP
        ========================================= */

        .contact-map {
            width: 80%;

            margin: 0 auto 90px;

            overflow: hidden;

            border-radius: 25px;

            background: #fff;

            box-shadow:
                0 20px 60px rgba(0,0,0,.10);
        }

        .contact-map iframe {
            display: block;

            width: 100%;

            height: 430px;

            border: 0;
        }


        /* =========================================
           RESPONSIVE
        ========================================= */

        @media(max-width: 991px){

            .contact-page {
                padding-top: 100px;
            }

            .contact-grid {
                grid-template-columns: 1fr;
            }

            .service-grid {
                grid-template-columns:
                    repeat(2, 1fr);
            }

        }


        @media(max-width: 600px){

            .contact-page {
                padding-top: 90px;
            }

            .contact-hero {
                padding: 70px 20px 90px;
            }

            .contact-hero h1 {
                font-size: 42px;
            }

            .contact-hero p {
                font-size: 15px;
            }

            .contact-main {
                margin-top: -35px;
            }

            .contact-info,
            .contact-form-card {
                padding: 25px;
            }

            .contact-form-grid {
                grid-template-columns: 1fr;
            }

            .form-group.full {
                grid-column: auto;
            }

            .service-grid {
                grid-template-columns: 1fr;
            }

            .contact-map iframe {
                height: 320px;
            }

        }


/* DROP DOWN*/

