/*=========================================================
                SCPM EVENTS PAGE
=========================================================*/

/*---------------- HERO SECTION ----------------*/

.events-hero{
    position:relative;
    padding:100px 20px;
    text-align:center;
    background:
    linear-gradient(rgba(0,33,71,.82),rgba(0,33,71,.82)),
    url("../images/4.jpeg") center/cover no-repeat;
    color:#fff;
    overflow:hidden;
}

.events-hero::before{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    background:rgba(255,255,255,.08);

    border-radius:50%;

    top:-120px;

    left:-120px;

    filter:blur(20px);

}

.events-hero::after{

    content:"";

    position:absolute;

    width:250px;

    height:250px;

    background:rgba(255,103,31,.18);

    border-radius:50%;

    bottom:-80px;

    right:-80px;

    filter:blur(30px);

}

.events-logo{

    width:110px;

    margin-bottom:20px;

    animation:floatLogo 4s ease-in-out infinite;

}

@keyframes floatLogo{

0%,100%{transform:translateY(0);}

50%{transform:translateY(-8px);}

}

.events-hero h5{

    color:#ffb347;

    font-size:18px;

    letter-spacing:2px;

    margin-bottom:10px;

}

.events-hero h1{

    font-size:52px;

    font-weight:700;

    margin-bottom:20px;

}

.events-hero p{

    max-width:800px;

    margin:auto;

    line-height:1.9;

    font-size:18px;

    opacity:.95;

}


/*---------------- MAIN SECTION ----------------*/

.events-section{

    padding:90px 0;

    background:#f4f7fb;

}


/*---------------- CARD ----------------*/

.event-card{

    max-width:1000px;

    margin:auto;

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.4);

    border-radius:25px;

    overflow:hidden;

    box-shadow:0 20px 60px rgba(0,0,0,.12);

    transition:.45s;

}

.event-card:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 70px rgba(0,0,0,.18);

}


/*---------------- IMAGE ----------------*/

.event-image{

    position:relative;

    overflow:hidden;

}

.event-image img{

    width:100%;

    height:520px;

    object-fit:cover;

    transition:1s;

}

.event-card:hover img{

    transform:scale(1.08);

}


/*---------------- BADGE ----------------*/

.event-tag{

    position:absolute;

    top:25px;

    left:25px;

    background:#ff671f;

    color:#fff;

    padding:10px 20px;

    border-radius:50px;

    font-weight:600;

    box-shadow:0 8px 20px rgba(255,103,31,.35);

}


/*---------------- CONTENT ----------------*/

.event-content{

    padding:40px;

}

.event-date{

    display:inline-block;

    color:#ff671f;

    font-weight:700;

    margin-bottom:15px;

}

.event-content h2{

    font-size:38px;

    color:#002147;

    margin-bottom:20px;

}

.event-content p{

    color:#555;

    line-height:1.9;

    font-size:17px;

}


/*---------------- BUTTON ----------------*/

.gallery-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin-top:30px;

    padding:15px 35px;

    background:linear-gradient(135deg,#ff671f,#ff8c42);

    color:#fff;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.35s;

    box-shadow:0 12px 25px rgba(255,103,31,.30);

}

.gallery-btn:hover{

    transform:translateY(-4px);

    background:linear-gradient(135deg,#002147,#0c5db4);

    box-shadow:0 15px 35px rgba(0,33,71,.35);

}


/*---------------- UPCOMING ----------------*/

.coming-events{

    padding:90px 0;

    background:#fff;

}

.coming-events h2{

    text-align:center;

    color:#002147;

    margin-bottom:50px;

    font-size:38px;

}

.coming-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:25px;

}

.coming-box{

    background:#fff;

    padding:35px;

    text-align:center;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

    font-weight:600;

    font-size:18px;

}

.coming-box:hover{

    transform:translateY(-10px);

    background:#002147;

    color:#fff;

}


/*---------------- SCROLL ANIMATION ----------------*/

.event-card,
.coming-box{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(50px);

}

to{

opacity:1;

transform:translateY(0);

}

}


/*---------------- MOBILE ----------------*/

@media(max-width:992px){

.events-hero h1{

font-size:40px;

}

.event-image img{

height:380px;

}

.event-content{

padding:25px;

}

.event-content h2{

font-size:30px;

}

}

@media(max-width:768px){

.events-hero{

padding:70px 20px;

}

.events-logo{

width:80px;

}

.events-hero h1{

font-size:32px;

}

.events-hero p{

font-size:16px;

}

.event-image img{

height:250px;

}

.event-content{

padding:20px;

}

.event-content h2{

font-size:24px;

}

.gallery-btn{

width:100%;

justify-content:center;

}

.coming-events h2{

font-size:28px;

}

}


/* ==========================================================
                MOBILE RESPONSIVE
========================================================== */
/* ==========================================================
   EVENTS MOBILE RESPONSIVE
========================================================== */

@media (max-width:991px){

.events-section,
.coming-events{
    padding:60px 15px;
}

.events-hero{
    padding:70px 20px;
}

.events-logo{
    width:80px;
}

.events-hero h1{
    font-size:34px;
    line-height:1.3;
}

.events-hero h5{
    font-size:16px;
}

.events-hero p{
    font-size:15px;
}

.events-section .container,
.coming-events .container{
    width:95%;
    margin:auto;
}

.event-card{
    width:100%;
    max-width:100%;
    margin:0;
    border-radius:18px;
}

.event-image img{
    width:100%;
    height:auto;
    aspect-ratio:16/9;
    display:block;
}

.event-content{
    padding:25px;
}

.event-content h2{
    font-size:28px;
}

.gallery-btn{
    width:100%;
    justify-content:center;
}

.coming-grid{
    grid-template-columns:repeat(2,1fr);
}

}



@media (max-width:768px){

.events-hero{
    padding:55px 15px;
}

.events-logo{
    width:65px;
}

.events-hero h1{
    font-size:28px;
}

.events-hero p{
    font-size:14px;
}

.event-card{
    border-radius:15px;
}

.event-image img{
    aspect-ratio:16/10;
}

.event-content{
    padding:20px;
}

.event-content h2{
    font-size:24px;
}

.event-content p{
    font-size:15px;
}

.gallery-btn{
    width:100%;
    padding:14px;
    font-size:15px;
}

.coming-grid{
    grid-template-columns:1fr;
}

.coming-box{
    padding:20px;
}

}



@media (max-width:480px){

.events-section,
.coming-events{
    padding:40px 10px;
}

.events-logo{
    width:55px;
}

.events-hero h1{
    font-size:22px;
}

.events-hero h5{
    font-size:14px;
}

.events-hero p{
    font-size:13px;
}

.event-tag{
    font-size:11px;
    padding:6px 12px;
}

.event-content{
    padding:16px;
}

.event-content h2{
    font-size:20px;
}

.event-content p{
    font-size:14px;
}

.event-date{
    font-size:13px;
}

.gallery-btn{
    font-size:14px;
    padding:12px;
}

.coming-events h2{
    font-size:24px;
}
}

