/* =========================
   GLOBAL STYLES
========================= */

:root {

    --bg: #070b18;
    --bg2: #0b1230;

    --surface: rgba(18, 20, 45, .72);

    --white: #ffffff;
    --text: #eef0ff;
    --muted: #c9ccff;

    /* 🔵 PRIMARY BLUE (MAIN IDENTITY) */
    --blue: #2563EB;
    --blue2: #60A5FA;
    --blueGlow: rgba(37, 99, 235, .35);

    /* 🟣 PURPLE (MINIMAL ACCENT ONLY) */
    --purple: #7C3AED;
    --purpleGlow: rgba(124, 58, 237, .15);

    /* 🩷 MAGENTA (ACCENT) */
    --magenta: #FF5EA7;

    --border: rgba(37, 99, 235, .25);
}

.space{
    width: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body{

    background:
    radial-gradient(circle at 10% 10%,rgba(37,99,235,.18),transparent 35%),
    radial-gradient(circle at 90% 20%,rgba(96,165,250,.12),transparent 35%),
    radial-gradient(circle at 50% 100%,rgba(37,99,235,.10),transparent 45%),

    linear-gradient(180deg,#070b18,#0b1230);

    color:var(--text)!important;

    overflow-x:hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0d1020;
}

::-webkit-scrollbar-thumb {

    background: linear-gradient(180deg,
            var(--blue),
            var(--purple),
            var(--magenta));

    border-radius: 20px;

}

/* =========================
   GLOBAL PARTICLES
========================= */

#particleCanvas {

    position: fixed;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: -3;

    pointer-events: none;

}

#auroraCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    display: block;
}

/* =========================================
   NAVBAR
========================================= */

.navbar {

    position: fixed !important;

    top: 18px;

    left: 50%;

    transform: translateX(-50%);

    width: 92%;

    max-width: 1220px;

    padding: 12px 50px !important;

    border-radius: 20px;

    background: rgba(13, 16, 33, .72);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(120, 75, 255, .22);

    box-shadow:

        0 10px 45px rgba(0, 0, 0, .45),

        0 0 35px rgba(123, 74, 255, .12);

    transition: .35s;

    z-index: 9999;

}

.navbar:hover {

    border-color: rgba(255, 94, 167, .35);

    box-shadow:

        0 14px 50px rgba(0, 0, 0, .55),

        0 0 40px rgba(255, 94, 167, .16);

}

.navbar {
    box-shadow:
        0 10px 45px rgba(0, 0, 0, .45),
        0 0 35px rgba(37, 99, 235, .18);
}

.navbar:hover {
    box-shadow:
        0 14px 50px rgba(0, 0, 0, .55),
        0 0 40px rgba(37, 99, 235, .28);
}

.navbar .container {

    padding: 0;

}

.logo {

    gap: 16px !important;

}

.logo img {

    transition: .35s;

}

.digi-logo {

    height: 50px;

    filter: drop-shadow(0 0 14px rgba(77, 109, 255, .45));

}

.schl-logo {

    height: 46px;

    filter: drop-shadow(0 0 18px rgba(255, 94, 167, .35));

}

.logo img:hover {

    transform: translateY(-2px) scale(1.05);

}

.navbar-nav {

    gap: 10px;

}

.navbar-nav .nav-link {

    color: #f5f5ff !important;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: .5px;

    border-radius: 10px;

    padding: 10px 18px !important;

    transition: .35s;

}

.navbar-nav .nav-link:hover {

    color: #fff !important;

    background: linear-gradient(90deg,
            rgba(77, 109, 255, .18),
            rgba(123, 58, 255, .22),
            rgba(255, 94, 167, .18));

    text-shadow: 0 0 10px rgba(255, 94, 167, .35);

}

.navbar-toggler {

    border: 1px solid rgba(255, 255, 255, .6) !important;

}

.navbar-toggler:focus {

    box-shadow: none !important;

}

.navbar-toggler-icon {

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");

}

/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    z-index: 5;
    background:
        radial-gradient(circle at 50% 20%, rgba(111, 77, 255, .22), transparent 35%),
        radial-gradient(circle at 20% 80%, rgba(79, 109, 255, .15), transparent 40%),
        radial-gradient(circle at 80% 75%, rgba(255, 96, 170, .12), transparent 35%),
        linear-gradient(180deg, #050712 0%, #0d1430 45%, #050915 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center,
            transparent 18%,
            rgba(6, 10, 25, .18) 55%,
            rgba(4, 7, 18, .75));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 20px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-logo {
    width: 160px;
    margin-bottom: 30px;
    filter:
        drop-shadow(0 0 25px rgba(117, 82, 255, .5)) drop-shadow(0 0 60px rgba(255, 90, 170, .28));
    animation: logoFloat 5s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-top {
    font-size: 22px;
    color: #d7dcff;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-title {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 6px 0px;
    margin: 0;
    font-size: clamp(30px, 7.5vw, 92px);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    color: #ffffff;
}

.hero-gradient {
    background: linear-gradient(90deg,
            #2563EB,
            #b760fa,
            #3a3aed);

    background-size: 200%;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-number {
    margin-left: 0;
}

@keyframes gradientMove {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 250%;
    }
}

.hero-subtitle {
    margin-top: 26px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    width: 100%;
    max-width: 100%;
}



/* =========================
   TRIBUTE SECTION
========================= */

.tribute {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 120px 8%;

    position: relative;

    background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, .15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(96, 165, 250, .10), transparent 45%),
    linear-gradient(180deg, #070b18, #0b1230);

}

.tribute-container {

    width: 100%;

    max-width: 1250px;

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 70px;

    padding: 70px;

    border-radius: 28px;

    background: rgba(17, 20, 45, .72);

    backdrop-filter: blur(20px);

    border: 1px solid rgba(123, 74, 255, .22);

    box-shadow:

        0 25px 70px rgba(0, 0, 0, .45),

        inset 0 1px rgba(255, 255, 255, .05);

    overflow: hidden;

    position: relative;

}

.tribute-container::before {
    display: none;
}

.tribute-text {
    position: relative;
    z-index: 2;
}

.tribute-text h2 {

    font-size: 52px;

    font-weight: 900;

    margin-bottom: 20px;

    line-height: 1.2;

    background: linear-gradient(90deg,
            #0e86c2,
            #8b7cff,
            #ff78bc);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}

.tribute-text h4 {

    color: #d5d8ff;

    font-size: 22px;

    font-weight: 500;

    margin-bottom: 30px;

    line-height: 1.6;

}

.tribute-text p {

    color: #bfc5f8;

    font-size: 16px;

    line-height: 2;

    text-align: justify;

    overflow-wrap: break-word;
    word-wrap: break-word;

}

.tribute-image {

    display: flex;

    justify-content: center;

    align-items: center;

    position: relative;

}

/* rotating glow */

.tribute-image::before {

    position: absolute;

    width: 430px;

    height: 430px;

    background: linear-gradient(
        #779200,
        #4D6DFF);

    filter: blur(125px);

    opacity: .55;

}


.tribute-image::after {

    content: "";

    position: absolute;

    width: 340px;

    height: 340px;

    border-radius: 50%;

    background: #11162f;

    z-index: 1;

}

.tribute-image img {

    position: relative;

    z-index: 2;

    width: 310px;

    border-radius: 18px;

    padding: 10px;

    background: #1a1133;

    border: 2px solid rgba(124, 58, 237, 0.6);

    box-shadow:

        0 25px 60px rgba(0, 0, 0, .45),

        0 0 35px rgba(124, 58, 237, .4);

    transition: .45s;

}

.tribute-image img:hover {

    transform:

        translateY(-8px) rotate(-1deg) scale(1.03);

    box-shadow:

        0 35px 80px rgba(0, 0, 0, .55),

        0 0 45px rgba(124, 58, 237, .6);

}

/* Tablet */

@media(max-width:992px) {

    .tribute-container {

        grid-template-columns: 1fr;

        text-align: center;

        padding: 45px;

        gap: 45px;

    }

    .tribute-text p {

        text-align: center;

    }

}

/* Mobile */

@media(max-width:768px) {

    .tribute {

        padding: 90px 20px;

    }

    .tribute-container {

        padding: 35px 24px;

        border-radius: 22px;

    }

    .tribute-text h2 {

        font-size: 36px;

    }

    .tribute-text h4 {

        font-size: 18px;

    }

    .tribute-text p {

        font-size: 15px;

        line-height: 1.9;

    }

    .tribute-image::before {

        width: 280px;

        height: 280px;

    }

    .tribute-image::after {

        width: 220px;

        height: 220px;

    }

    .tribute-image img {

        width: 210px;

    }

}

/* =========================
   CHAMPIONS / GUESTS / MOMENTS
========================= */

.champions-section {

    padding: 120px 8%;

    text-align: center;

    position: relative;

}

.memorial-title {

    font-size: 56px;

    font-weight: 900;

    margin-bottom: 70px;

    letter-spacing: 1px;

    background: linear-gradient(90deg,
            #4d65a6,
            #9a8dff,
            #ff81c6);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.champions-row {

    display: flex;

    justify-content: space-evenly;

    gap: 40px;

    flex-wrap: wrap;

    margin-bottom: 45px;

    align-items: center;

}

/* =========================
   TECH CHAMPIONS — RESPONSIVE GRID
========================= */

.champions-section:not(.guests-section) .champions-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

.champions-section:not(.guests-section) .champions-row img {
    width: 100%;
    max-width: 280px;
    height: 220px;
    object-fit: cover;
}

/* =========================
   IMAGE CARD
========================= */

.champions-section .champions-row img {
    object-fit: cover;
    border-radius: 22px;
    cursor: pointer;
    transition: .45s;
    background: #171c38;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, .45),
        0 0 18px rgba(37, 99, 235, .18);
}

/* =========================
   GUESTS & MOMENTS — 4 IMAGES PER ROW
========================= */

.guests-section .guests-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.guests-section .guests-row img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 22px;
    cursor: pointer;
    transition: .45s;
    background: #171c38;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, .45),
        0 0 18px rgba(37, 99, 235, .18);
}

.guests-section .guests-row img:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 24px 55px rgba(0, 0, 0, .55),
        0 0 26px rgba(37, 99, 235, .30);
}

/* Champions section should show 3 images per row like the original layout */
.champions-section .guests-row {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .guests-section .guests-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .guests-section .guests-row img {
        height: 160px;
    }

    .champions-section:not(.guests-section) .champions-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .champions-section:not(.guests-section) .champions-row img {
        width: 100%;
        max-width: 180px;
        height: auto;
        max-height: 200px;
    }

    .wave-footer {
        min-height: 200px;
    }

    .waves {
        height: 200px;
    }

    .wave-footer::before {
        height: 160px;
    }

    .waves svg {
        width: 200%;
    }
}

@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        width: 94%;
        top: 10px;
        padding: 10px 14px !important;
        border-radius: 14px;
    }

    .navbar-collapse {
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(10, 20, 40, 0.95);
        border-radius: 12px;
        padding: 20px;
    }

    .navbar-nav {
        gap: 8px;
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        font-size: 1rem;
    }

    .logo img {
        height: 34px !important;
    }

    /* Hero */
    .hero {
        padding: 90px 20px 50px;
        min-height: 100dvh;
    }

    .hero-logo {
        width: 100px;
        margin-bottom: 20px;
    }

    .hero-top {
        font-size: 14px;
        letter-spacing: 2px;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 18px;
        letter-spacing: 2px;
    }

    /* Tribute */
    .tribute {
        padding: 80px 20px;
        min-height: auto;
    }

    .tribute-container {
        padding: 30px 20px;
        gap: 30px;
        border-radius: 20px;
    }

    .tribute-text h2 {
        font-size: 30px;
    }

    .tribute-text h4 {
        font-size: 17px;
    }

    .tribute-text p {
        font-size: 15px;
        line-height: 1.7;
        text-align: center;
    }

    .tribute-image::before {
        width: 240px;
        height: 240px;
    }

    .tribute-image img {
        width: 180px;
    }

    /* Champions */
    .champions-section {
        padding: 70px 20px;
    }

    .memorial-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .champions-row {
        gap: 20px;
    }

    .champions-section .champions-row img {
        width: 140px;
        height: 180px;
    }

    .guests-section .guests-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .guests-section .guests-row img {
        height: 140px;
    }

    /* Parallax */
    .parallax-section {
        height: auto;
        padding: 80px 20px;
        background-attachment: scroll;
    }

    .parallax-content {
        width: 100%;
        padding: 25px 20px;
        border-radius: 20px;
    }

    .parallax-content h2 {
        font-size: 30px;
    }

    .parallax-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    /* Instructions */
    .instructions-section {
        padding: 80px 20px;
    }

    .instructions-box {
        padding: 40px 25px;
        border-radius: 20px;
    }

    .instructions-box h2 {
        font-size: 30px;
    }

    .instructions-box p {
        font-size: 15px;
    }

    .instructions-btn {
        padding: 14px 30px;
        font-size: 16px;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 80px 0;
    }

    .testimonial-header {
        margin-bottom: 40px;
        padding: 0 5%;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .testimonial-card {
        width: 250px;
        min-width: 250px;
        padding: 16px;
    }

    .testimonial-card img {
        width: 170px;
        height: auto;
    }

    /* Contact */
    .contact-section {
        padding: 70px 20px;
    }

    .contact-box {
        padding: 25px 20px;
    }

    .contact-box h2 {
        font-size: 30px;
    }

    .contact-info p {
        font-size: 14px;
    }

    .contact-info i {
        font-size: 1.2rem;
    }

    iframe {
        height: auto;
        min-height: 250px;
    }

    .wave-footer {
        min-height: 180px;
    }

    .waves {
        height: 180px;
    }

    .wave-footer::before {
        height: 140px;
    }

    .waves svg {
        width: 250%;
    }

    .wave-footer .footer-content {
        font-size: 12px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero {
        padding: 80px 15px 40px;
        min-height: 100dvh;
    }

    .hero-logo {
        width: 80px;
    }

    .hero-top {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .tribute-container {
        padding: 25px 15px;
    }

    .tribute-text h2 {
        font-size: 26px;
    }

    .tribute-text h4 {
        font-size: 15px;
    }

    .tribute-text p {
        font-size: 14px;
    }

    .tribute-image::before {
        width: 200px;
        height: 200px;
    }

    .tribute-image img {
        width: 150px;
    }

    .memorial-title {
        font-size: 1.6rem;
    }

    .champions-section:not(.guests-section) .champions-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .champions-section:not(.guests-section) .champions-row img {
        width: 100%;
        max-width: 180px;
        height: auto;
        max-height: 200px;
    }

    .guests-section .guests-row img {
        height: 130px;
    }

    .moments-section .moments-row img {
        height: 130px;
    }

    .parallax-content h2 {
        font-size: 24px;
    }

    .parallax-content p {
        font-size: 14px;
    }

    .instructions-box h2 {
        font-size: 24px;
    }

    .instructions-box p {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .testimonial-card {
        width: 220px;
        min-width: 220px;
        padding: 12px;
    }

    .testimonial-card img {
        width: 150px;
        height: auto;
    }

    .contact-box h2 {
        font-size: 26px;
    }

    .contact-info p {
        font-size: 13px;
    }

    iframe {
        height: auto;
        min-height: 200px;
    }

    .wave-footer {
        min-height: 200px;
    }

    .wave-footer .footer-content {
        font-size: 11px;
    }

    .waves {
        height: 160px;
    }

    .wave-footer::before {
        height: 160px;
    }

    .waves svg {
        width: 300%;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero {
        padding: 70px 10px 30px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-logo {
        width: 65px;
        margin-bottom: 14px;
    }

    .hero-top {
        font-size: 11px;
        padding: 0 5px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
        margin-top: 16px;
    }

    .hero-title {
        gap: 4px 3px;
    }

    .memorial-title {
        font-size: 1.4rem;
    }

    .champions-section:not(.guests-section) .champions-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .champions-section:not(.guests-section) .champions-row img {
        width: 100%;
        max-width: 150px;
        height: auto;
        max-height: 200px;
    }

    .guests-section .guests-row {
        grid-template-columns: 1fr;
    }

    .guests-section .guests-row img {
        height: auto;
        max-height: 200px;
    }

    .moments-section .moments-row {
        grid-template-columns: 1fr;
    }

    .moments-section .moments-row img {
        height: auto;
        max-height: 220px;
    }

    .wave-footer {
        min-height: 130px;
    }

    .wave-footer .footer-content {
        font-size: 10px;
    }

    .waves {
        height: 130px;
    }

    .wave-footer::before {
        height: 130px;
    }

    .waves svg {
        width: 400%;
    }
}

/* =========================
   GUESTS & MOMENTS — 4 IMAGES PER ROW
   ========================= */

.moments-section .moments-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.moments-section .moments-row img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 22px;
    cursor: pointer;
    transition: .45s;
    background: #171c38;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, .45),
        0 0 18px rgba(37, 99, 235, .18);
}

.moments-section .moments-row img:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow:
        0 24px 55px rgba(0, 0, 0, .55),
        0 0 26px rgba(37, 99, 235, .30);
}

@media (max-width: 992px) {
    .moments-section .moments-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .moments-section .moments-row img {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .moments-section .moments-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .moments-section .moments-row img {
        height: 130px;
    }
}

@media (max-width: 360px) {
    .moments-section .moments-row {
        grid-template-columns: 1fr;
    }

    .moments-section .moments-row img {
        height: auto;
        max-height: 220px;
    }
}

/* =========================
   PARALLAX SECTION
   ========================= */

.parallax-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #070b18 0%, #0e1a3a 50%, #0a0f2e 100%);
    background-attachment: fixed;
    padding: 120px 8%;
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    background-image: url('images/background_dark.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(123, 74, 255, 0.2);
    border-radius: 28px;
    padding: 50px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.parallax-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17, 20, 45, 0.75);
    border-radius: 28px;
    z-index: -1;
}

.parallax-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #2563EB, #9a8dff, #ff81c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.parallax-content p {
    color: #bfc5f8;
    font-size: 17px;
    line-height: 1.9;
    max-width: 850px;
    margin: 0 auto;
}

/* =========================
   INSTRUCTIONS SECTION
   ========================= */

.instructions-section {
    padding: 120px 8%;
    text-align: center;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.08), transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(124, 58, 237, 0.06), transparent 50%),
                linear-gradient(180deg, #070b18, #0b1230);
}

.instructions-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(17, 20, 45, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(123, 74, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.instructions-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: #60A5FA;
}

.instructions-box h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #2563EB, #b760fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.instructions-box p {
    color: #bfc5f8;
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.instructions-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.instructions-btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    border-radius: 14px;
    text-decoration: none;
    transition: 0.35s;
    background: linear-gradient(90deg, #2563EB, #7C3AED);
    border: none;
    cursor: pointer;
}

.instructions-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.35);
    color: #fff;
}

/* =========================
   TESTIMONIALS SECTION
   ========================= */

.testimonials-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 80%, rgba(124, 58, 237, 0.06), transparent 50%),
                linear-gradient(180deg, #0b1230, #070b18);
}

.testimonial-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 8%;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 18px;
    background: linear-gradient(90deg, #2563EB, #9a8dff, #ff81c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: #c9ccff;
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-wrapper {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    padding: 10px 0;
    animation: scrollTestimonials 30s linear infinite;
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    flex: 0 0 300px;
    min-width: 300px;
    background: rgba(17, 20, 45, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(123, 74, 255, 0.18);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    transition: 0.35s;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(123, 74, 255, 0.4);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.4);
}

.testimonial-card img {
    width: 220px;
    height: auto;
    border-radius: 14px;
    display: block;
    margin: 0 auto;
}

/* =========================
   CONTACT SECTION
   ========================= */

.contact-section {
    padding: 120px 8%;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.08), transparent 45%),
                linear-gradient(180deg, #070b18, #0b1230);
}

.contact-box {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(17, 20, 45, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(123, 74, 255, 0.18);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.contact-box h2 {
    font-size: 42px;
    font-weight: 800;
}

.text-cyan {
    color: #60A5FA;
}

.text-white {
    color: #ffffff;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #7C3AED);
    border: none;
    margin: 0 auto 30px;
    opacity: 1;
}

.contact-info p {
    color: #c9ccff;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.contact-info i {
    font-size: 1.5rem;
    color: #60A5FA;
    margin-bottom: 8px;
}

.contact-info a {
    text-decoration: none;
    transition: 0.3s;
}

.contact-info a:hover {
    color: #60A5FA !important;
}

.contact-section iframe {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 250px;
}

.footer-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    width: 100%;
    color: #a0a8d0;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.footer-content p {
    margin: 0;
}

/* =========================
   LIGHTBOX
   ========================= */

#gp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#gp-overlay.active {
    display: flex;
}

#gp-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    cursor: default;
}

#gp-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gp-close:hover {
    background: rgba(255, 80, 80, 0.25);
    border-color: rgba(255, 80, 80, 0.4);
    transform: scale(1.1);
}

#gp-prev,
#gp-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gp-prev { left: 20px; }
#gp-next { right: 20px; }

#gp-prev:hover,
#gp-next:hover {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-50%) scale(1.1);
}

/* =========================
   ULTRA RESPONSIVE ENHANCEMENTS
   ========================= */

/* 576px – bridge gap between 480 and 768 */
@media (max-width: 576px) {
    .hero-logo {
        width: 90px;
    }

    .hero-top {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .parallax-content {
        padding: 20px 15px;
    }
}

/* 1024px – iPad / landscape tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        min-height: 90vh;
        padding-top: 130px;
    }

    .hero-logo {
        width: 130px;
    }

    .hero-top {
        font-size: 16px;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .tribute-container {
        gap: 40px;
        padding: 50px 40px;
    }

    .tribute-text h2 {
        font-size: 40px;
    }

    .champions-section {
        padding: 90px 6%;
    }

    .memorial-title {
        font-size: 42px;
    }

    .guests-section .guests-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .guests-section .guests-row img {
        height: 200px;
    }

    .moments-section .moments-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .moments-section .moments-row img {
        height: 200px;
    }

    .parallax-content {
        padding: 40px 30px;
    }

    .parallax-content h2 {
        font-size: 40px;
    }

    .instructions-box {
        padding: 50px 30px;
    }

    .instructions-box h2 {
        font-size: 34px;
    }

    .testimonial-card {
        width: 280px;
        min-width: 280px;
    }

    .contact-box {
        padding: 30px;
    }

    .contact-box h2 {
        font-size: 36px;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 70px 15px 30px;
    }

    .hero-logo {
        width: 60px;
        margin-bottom: 8px;
    }

    .hero-top {
        font-size: 10px;
        letter-spacing: 1px;
        margin-bottom: 6px;
    }

    .hero-title {
        gap: 4px 10px;
    }

    .hero-subtitle {
        margin-top: 8px;
        font-size: 14px;
        letter-spacing: 1px;
    }
}

/* Lightbox improvements for mobile */
@media (max-width: 480px) {
    #gp-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    #gp-prev {
        left: 10px;
    }

    #gp-next {
        right: 10px;
    }

    #gp-close,
    #gp-prev,
    #gp-next {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    #gp-prev,
    #gp-next {
        top: auto;
        bottom: 20px;
        transform: none;
    }
}

/* Prevent horizontal scroll on testimonial track */
@media (max-width: 768px) {
    .testimonial-track {
        padding-left: 5%;
        padding-right: 5%;
        gap: 24px;
    }
}

@media (min-width: 768px) {
    .contact-section iframe {
        min-height: 300px;
    }
}

/* Smooth responsive transitions */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Navbar collapse: ensure proper z-index stacking on mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Improved focus/active states for touch */
.navbar-toggler:active {
    transform: scale(0.95);
}

.instructions-btn:active,
.gallery-nav:active,
#closeBtn:active,
#gp-close:active,
#gp-prev:active,
#gp-next:active {
    transform: scale(0.92);
}
/* =========================
   ULTRA SMOOTH OCEAN FOOTER
========================= */

.wave-footer{
    position:relative;
    width:100%;
    height:100px;
    overflow:hidden;

    background:linear-gradient(180deg,#050712,#0a1024);
    border-top:1px solid rgba(96,165,250,.25);
}

/* TEXT */
.wave-footer .footer-content{
    position:relative;
    z-index:5;
    text-align:center;
    color:#cbdcff;
    font-size:14px;

    padding-top:50px;
}

/* WAVES WRAPPER */
.waves{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:140px;
    overflow:hidden;
}

/* SVG scaling */
.waves svg{
    position:absolute;
    bottom:0;
    width:200%;
    height:100%;
}

/* BASE WAVE STYLE */
.wave{
    fill:rgba(59,130,246,0.35);
    transform-origin:center;
}

/* SMOOTHER LAYERS (REAL FEEL) */
.wave1{
    animation:waveMove1 10s ease-in-out infinite;
    opacity:0.45;
}

.wave2{
    animation:waveMove2 14s ease-in-out infinite;
    opacity:0.3;
    fill:rgba(37,99,235,0.35);
}

.wave3{
    animation:waveMove3 18s ease-in-out infinite;
    opacity:0.18;
    fill:rgba(96,165,250,0.35);
}

/* SMOOTH FLOAT + DRIFT */
@keyframes waveMove1{
    0%{
        transform:translateX(0) translateY(0);
    }
    50%{
        transform:translateX(-25%) translateY(-6px);
    }
    100%{
        transform:translateX(-50%) translateY(0);
    }
}

@keyframes waveMove2{
    0%{
        transform:translateX(0) translateY(0);
    }
    50%{
        transform:translateX(-18%) translateY(-4px);
    }
    100%{
        transform:translateX(-35%) translateY(0);
    }
}

@keyframes waveMove3{
    0%{
        transform:translateX(0) translateY(0);
    }
    50%{
        transform:translateX(-12%) translateY(-3px);
    }
    100%{
        transform:translateX(-25%) translateY(0);
    }
}

/* SOFT WATER GLOW */
.wave-footer::before{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:140px;
    background:radial-gradient(circle at 50% 20%, rgba(96,165,250,0.18), transparent 70%);
    z-index:2;
}

/* MOBILE */
@media(max-width:768px){
    .wave-footer{
        height:140px;
    }

    .wave-footer .footer-content{
        font-size:12px;
        padding-top:80px;
    }
}

