/* ==========================================
   Sustainability School Pages Common CSS
   ========================================== */
/* ==========================================
   Page Layout
   ========================================== */

.ssp-page {
    overflow-x: hidden;
    width: 100%;
}

.ssp-background-container {
    position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      z-index: -2;
}

.ssp-page .container-fluid{
    max-width:1700px;
}
/* ==========================================
   Layout Helpers
   ========================================== */

.text-width {
    width: 100%;
}

/* ==========================================
   Typography
   ========================================== */

.ssp-main-title {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 0;
}

.ssp-highlight {
    color: rgb(22, 77, 182);
}

.ssp-panel-title {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
    text-align: center;
}

.ssp-session-title{
    font-size: 2rem;
    font-weight: 700;
    color: #164db6;
    text-align: center;
    margin-bottom: 18px;
}

.ssp-session-description{
    max-width: 1100px;
    margin: 0 auto 25px;
    text-align: center;

    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    font-weight: 400;
}

.ssp-session-description span{
    color: #164db6;
    font-weight: 700;
}

/* ==========================================
   Shared Cards
   ========================================== */

.ssp-content-card,
.ssp-feature-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:32px;
    box-shadow:none;
}

/* ==========================================
   Eco Learning Pillars
   ========================================== */

.eco-pillar-card{
    position: relative;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    text-align: center;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

/* top accent line */
.eco-pillar-card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        rgb(22,77,182),
        rgb(67,140,255)
    );
}

.eco-pillar-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(22,77,182,.12);
    border-color: rgba(22,77,182,.15);
}

.eco-pillar-icon{
    max-width: 90px;
    width: 90px;
    margin: 0 auto 20px;
    display: block;
    transition: transform .3s ease;
}

.eco-pillar-card:hover .eco-pillar-icon{
    transform: scale(1.08);
}

.eco-pillar-title{
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: rgb(22,77,182);
    margin-bottom: 15px;
    text-align: center;
}

.eco-pillar-text{
    font-family: Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
    text-align: justify;
    text-align-last: center;
    margin-bottom: 0;
}

/* subtle background shape */

.eco-pillar-card::after{
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -40px;
    bottom: -40px;
    border-radius: 50%;
    background: rgba(22,77,182,.04);
    pointer-events: none;
}

.eco-inline-link{
    color: rgb(22,77,182);
    font-weight: 700;
    text-decoration: none;
    transition: all .25s ease;
    border-bottom: 2px solid transparent;
}

.eco-inline-link:hover{
    color: rgb(14,55,145);
    border-bottom-color: rgb(22,77,182);
    text-decoration: none;
}


/* ==========================================
   Banner Section
   ========================================== */
/* ==========================================
   Banner
   ========================================== */

.banner-section .col-md-7,
.banner-section .col-md-5{
    min-height:100%;
}

.banner{
    width:100%;
    height:auto;
    display:block;
}

/* ==========================================
   Form
   ========================================== */

.form-section {
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0px 18px 18px 0px rgba(14, 187, 5, 1);
}

.responsive-alignment {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.img-fixed-left-lg {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: auto;
    max-width: 33%;
    object-fit: cover;
    border-radius: 0 10px 10px 0;
    z-index: 10;
}

.ps-lg-70 {
    padding-left: 90px !important;
}

.firstresponsive-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.custom-height {
    height: auto;
}

.eco-feature-item{
    display:flex;
    gap:20px;
    margin-bottom:30px;
}

.eco-feature-icon{
    width:58px;
    height:58px;
    min-width:58px;
    border-radius:14px;
    background:#eef5ff;
    color:#164db6;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.4rem;
}

.eco-feature-item h5{
    font-size:1.15rem;
    font-weight:700;
    margin-bottom:8px;
}

.eco-feature-text{
    font-size:1.05rem;
    line-height:1.9;
    color:#555;
    margin:0;
}

/* ==========================================
   Eco Benefits Section
   ========================================== */

.eco-benefit-card{
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(22,77,182,.08);
    border-radius: 18px;
    padding: 22px;
    height: 100%;

    display:flex;
    align-items:center;
    gap:18px;

    transition:all .3s ease;
}

.eco-benefit-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 30px rgba(22,77,182,.10);
}

.eco-benefit-icon{
    width:70px;
    min-width:70px;
    height:70px;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.3s ease;
}

.eco-benefit-icon i{
    font-size:3rem;
    color:rgb(22,77,182);
}

.eco-benefit-card:hover .eco-benefit-icon{
    transform:scale(1.08);
}

.eco-benefit-content h5{
    font-size:1.1rem;
    font-weight:700;
    color:rgb(22,77,182);
    margin-bottom:8px;
}

.eco-benefit-content p{
    margin:0;
    color:#555;
    line-height:1.7;
}

.eco-benefit-featured{
    background:linear-gradient(
        135deg,
        rgba(22,77,182,.05),
        rgba(255,255,255,.95)
    );
}

.ssp-outcome-list{
    margin-top:12px;
    margin-bottom:0;
    padding-left:20px;
}

.ssp-outcome-list li{
    margin-bottom:8px;
    color:#555;
    line-height:1.7;
}


/* ==========================================
   Carousel
   ========================================== */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 100%;
    overflow: visible;
}

.image-box {
    width: auto;
    aspect-ratio: 1/1;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: height 1s ease, opacity 0.6s ease;
}

.image-box.small {
    height: 40vh;
}

.image-box.large {
    height: 50vh;
    z-index: 2;
}

.indicators {
    position: absolute;
    bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.indicator-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#d1d5db;
    border:1px solid #9ca3af;
    opacity:1;
}

.indicator-dot.active{
    background:rgb(22,77,182);
    border-color:rgb(22,77,182);
}

/* ==========================================
   Animations
   ========================================== */

.fadein,
.fadeinleft,
.fadeinright {
    opacity: 0;
    transition: all 0.8s ease-out;
    will-change: opacity, transform;
}

.fadein {
    transform: translateY(20px);
}

.fadeinleft {
    transform: translateX(-30px);
}

.fadeinright {
    transform: translateX(30px);
}

.fadein.show {
    opacity: 1;
    transform: translateY(0);
}

.fadeinleft.show,
.fadeinright.show {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
   Responsive
   ========================================== */
/* ==========================================
   Decorative Lines
   ========================================== */

@media (max-width:1249px){
    .upperline{
        display:none !important;
    }
}

@media (min-width: 1250px) {
    .upperline {
        display: block !important;
    }
}

@media (max-width: 400px) {

    .carousel-track {
        width: 90vw;
        height: 40vh;
        justify-content: center;
    }

    .image-box {
        width: auto !important;
        height: 40vh !important;
        aspect-ratio: 1/1 !important;
        position: relative;
        top: 0;
        transform: none;
    }

    .image-box.small,
    .image-box.large {
        height: 40vh !important;
    }
}

@media (max-width: 768px) {


    .ssp-session-title{
        font-size:1.5rem;
    }

    .ssp-session-description{
        font-size:1rem;
        line-height:1.8;
        padding:0 10px;
    }

    .horizontal-split-box {
        flex-direction: column;
        height: auto;
        max-width: 100%;
    }

    .text-half,
    .img-half {
        width: 100%;
        height: auto;
    }

    .stack-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .stack-center > div {
        width: 100%;
    }

    .firstresponsive-image {
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 1024px) {

    .overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        padding: 20px;
        margin-top: 20px;
    }

    .image-container img {
        object-fit: cover;
        max-height: 90vh;
    }
}


@media (min-width: 992px) {

    .text-width {
        width: 70%;
    }

    .overlay {
        width: 40%;
        left: auto;
        right: 5%;
    }

    .content-wrapper {
        align-items: flex-start;
        text-align: left;
    }

    .form-section {
        width: 100%;
        padding: 0;
        box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    }

    .responsive-alignment {
        align-items: flex-end;
        text-align: right;
    }

    .custom-height {
        height: 85vh;
    }

}
