/* HERO SECTION */

.hero-slider{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* EACH SLIDE */

.slide{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;

    animation: slideShow 25s infinite;
}

/* IMAGE */

.slide img{
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

/* =========================
   ANIMATION DELAYS
========================= */

.slide:nth-child(1){
    animation-delay: 0s;
}

.slide:nth-child(2){
    animation-delay: 5s;
}

.slide:nth-child(3){
    animation-delay: 10s;
}

.slide:nth-child(4){
    animation-delay: 15s;
}

.slide:nth-child(5){
    animation-delay: 20s;
}

/* =========================
   SLIDER ANIMATION
========================= */

@keyframes slideShow{

    0%{
        opacity: 0;
    }

    8%{
        opacity: 1;
    }

    28%{
        opacity: 1;
    }

    36%{
        opacity: 0;
    }

    100%{
        opacity: 0;
    }
}

/* =========================
   OVERLAY
========================= */

.hero-overlay{
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    text-align: center;

    color: white;

    z-index: 10;

    width: 90%;
}

/* HEADING */

.hero-overlay h2{
    font-size: 66px;

    margin-bottom: 20px;

    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* TEXT */

.hero-overlay p{
    font-size: 30px;

    line-height: 1.6;

    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}
/* MOBILE */

@media (max-width: 768px){

    .hero-slider{
        height: 450px;
    }

    .hero-overlay h2{
        font-size: 32px;
    }

    .hero-overlay p{
        font-size: 18px;
    }

}


/* =========================
   WELCOME SECTION
========================= */

.welcome-section{
    position: relative;
    overflow: hidden;

    background: linear-gradient(135deg, #f5f7fa, #e8eef7);

    padding: 120px 20px;
    text-align: center;
}

/* Decorative Circle Effect */

.welcome-section::before{
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(0, 51, 102, 0.06);
    border-radius: 50%;

    top: -100px;
    left: -100px;

    animation: floatCircle 8s ease-in-out infinite;
}

.welcome-section::after{
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 153, 0, 0.08);
    border-radius: 50%;

    bottom: -100px;
    right: -80px;

    animation: floatCircle 10s ease-in-out infinite;
}

/* Content */

.welcome-content{
    position: relative;
    z-index: 2;
}

/* Heading */

.welcome-section h2{
    font-size: 68px;
    color: #003366;
    margin-bottom: 25px;

    font-weight: 800;
    letter-spacing: 4px;

    opacity: 0;
    transform: translateY(40px);

    animation: fadeUp 1.2s ease forwards;
}

/* Decorative Line */

.welcome-line{
    width: 120px;
    height: 4px;

    background: #ff9900;

    margin: 0 auto 35px auto;
    border-radius: 10px;

    opacity: 0;

    animation: lineGrow 1s ease forwards;
    animation-delay: 0.6s;
}

/* Paragraph */

.welcome-section p{
    font-size: 32px;
    color: #444444;

    line-height: 1.8;
    font-weight: 500;

    opacity: 0;
    transform: translateY(30px);

    animation: fadeUp 1.2s ease forwards;
    animation-delay: 0.5s;
}

/* Small Hover Animation */

.welcome-content:hover h2{
    transform: scale(1.03);
    transition: 0.4s ease;
}

/* Fade Up Animation */

@keyframes fadeUp{
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* Decorative Line Animation */

@keyframes lineGrow{
    from{
        width: 0;
        opacity: 0;
    }

    to{
        width: 120px;
        opacity: 1;
    }
}

/* Floating Circle Animation */

@keyframes floatCircle{
    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(20px);
    }

    100%{
        transform: translateY(0px);
    }
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:768px){

    .welcome-section{
        padding: 90px 20px;
    }

    .welcome-section h2{
        font-size: 42px;
        letter-spacing: 2px;
    }

    .welcome-section p{
        font-size: 22px;
    }
}
/* =========================
   MANA SECTION
========================= */

.mana-section{
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eef5ff 0%, #dcecff 100%);
    padding: 120px 20px 60px;
}

/* FLOATING CIRCLES */

.mana-section::before,
.mana-section::after{
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    filter: blur(10px);
}

.mana-section::before{
    width: 300px;
    height: 300px;
    background: rgba(0, 59, 142, 0.12);
    top: -80px;
    left: -80px;
    animation: floatOne 8s ease-in-out infinite;
}

.mana-section::after{
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.4);
    bottom: -60px;
    right: -60px;
    animation: floatTwo 10s ease-in-out infinite;
}

/* MAIN BOX */

.mana-container{
    position: relative;
    z-index: 2;
    max-width: 1050px;
    margin: auto;
    padding: 90px 70px;
    border-radius: 30px;

    background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(135deg, #003b8e, #0057d9);

    backdrop-filter: blur(10px);

    box-shadow:
    0 20px 60px rgba(0,0,0,0.18),
    inset 0 1px 1px rgba(255,255,255,0.2);

    border: 1px solid rgba(255,255,255,0.15);

    transition: 0.5s ease;
}

.mana-container:hover{
    transform: translateY(-8px);
    box-shadow:
    0 30px 70px rgba(0,0,0,0.22),
    inset 0 1px 1px rgba(255,255,255,0.2);
}

/* TITLE */

.mana-container h2{
    position: relative;
    color: #ffffff;
    font-size: 58px;
    margin-bottom: 50px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* UNDERLINE EFFECT */

.mana-container h2::after{
    content: "";
    width: 120px;
    height: 5px;
    background: #ffffff;
    display: block;
    margin: 18px auto 0;
    border-radius: 50px;
}

/* TEXT */

.mana-container p{
    color: #ffffff;
    font-size: 30px;
    line-height: 2;
    font-weight: 400;
    letter-spacing: 0.4px;
    animation: fadeText 1.5s ease;
}

/* HIGHLIGHT LAST LINE */

.mana-container p strong{
    color: #ffd54a;
    font-size: 34px;
    font-weight: 700;
}

/* =========================
   WAVE DIVIDER
========================= */

.wave-divider{
    position: relative;
    line-height: 0;
    margin-top: -2px;
    overflow: hidden;
    background: #f5f9ff;
}

.wave-divider svg{
    display: block;
    width: 100%;
    height: 170px;
    animation: waveMove 8s ease-in-out infinite alternate;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes floatOne{
    0%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(20px);
    }
    100%{
        transform: translateY(0px);
    }
}

@keyframes floatTwo{
    0%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(-25px);
    }
    100%{
        transform: translateY(0px);
    }
}

@keyframes fadeText{
    from{
        opacity: 0;
        transform: translateY(20px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes waveMove{
    0%{
        transform: translateX(0px);
    }

    100%{
        transform: translateX(-20px);
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px){

    .mana-section{
        padding: 70px 20px 40px;
    }

    .mana-container{
        padding: 50px 25px;
        border-radius: 20px;
    }

    .mana-container h2{
        font-size: 36px;
        margin-bottom: 35px;
    }

    .mana-container h2::after{
        width: 80px;
        height: 4px;
    }

    .mana-container p{
        font-size: 21px;
        line-height: 1.9;
    }

    .mana-container p strong{
        font-size: 25px;
    }

    .wave-divider svg{
        height: 100px;
    }

}
/* =========================
   GALLERY SECTION
========================= */

.gallery-section{
    background: #f5f9ff;
    padding: 120px 40px;
    overflow: hidden;
}

/* HEADING */

.gallery-heading{
    text-align: center;
    margin-bottom: 70px;
}

.gallery-heading h2{
    font-size: 58px;
    color: #003366;
    margin-bottom: 20px;
    font-weight: 700;
}

.gallery-heading p{
    font-size: 22px;
    color: #666;
}

/* GRID */

.gallery-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 25px;
}

/* SPECIAL SIZES */

.gallery-item.tall{
    grid-row: span 2;
}

.gallery-item.wide{
    grid-column: span 2;
}

/* CARD */

.gallery-item{
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);

    animation: galleryFade 1s ease forwards;
    transform: translateY(40px);
    opacity: 0;
}

/* IMAGE */

.gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.7s ease;
}

/* OVERLAY */

.gallery-overlay{
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.15),
        transparent
    );

    display: flex;
    align-items: flex-end;
    padding: 30px;

    opacity: 0;
    transition: 0.5s;
}

/* TEXT */

.gallery-overlay h3{
    color: white;
    font-size: 28px;
    transform: translateY(20px);
    transition: 0.5s;
}

/* HOVER EFFECT */

.gallery-item:hover img{
    transform: scale(1.12) rotate(1deg);
}

.gallery-item:hover .gallery-overlay{
    opacity: 1;
}

.gallery-item:hover .gallery-overlay h3{
    transform: translateY(0);
}

/* FLOAT EFFECT */

.gallery-item:hover{
    transform: translateY(-10px);
}

/* ANIMATION */

@keyframes galleryFade{

    to{
        opacity: 1;
        transform: translateY(0);
    }

}

/* STAGGER EFFECT */

.gallery-item:nth-child(1){
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2){
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3){
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4){
    animation-delay: 0.4s;
}

.gallery-item:nth-child(5){
    animation-delay: 0.5s;
}

.gallery-item:nth-child(6){
    animation-delay: 0.6s;
}

/* MOBILE */

@media(max-width: 768px){

    .gallery-section{
        padding: 80px 20px;
    }

    .gallery-heading h2{
        font-size: 38px;
    }

    .gallery-heading p{
        font-size: 18px;
    }

    .gallery-grid{
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .gallery-item.tall,
    .gallery-item.wide{
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-overlay h3{
        font-size: 22px;
    }

}