/* ========================================= */
/* GLOBAL STYLES & TRANSITIONS               */
/* ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    color: #333;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    background-color: #F5F5F5;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* SINGLE PAGE APP VIEWS TRANSITION */
.page-section {
    display: none;
    opacity: 0;
}

.page-section.active {
    display: block;
    animation: fadeInContent 0.5s ease-out forwards;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================= */
/* NAVBAR SETUP                              */
/* ========================================= */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #F5F5F5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav .active {
    color: #000;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-btn {
    padding: 12px 28px;
    border-radius: 30px;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s, transform 0.2s;
    font-size: 0.95rem;
}

.header-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* ========================================= */
/* HOMEPAGE : HERO                           */
/* ========================================= */
.hero {
    min-height: calc(100vh - 120px);
    margin: 100px auto 40px;
    width: 96%;
    max-width: 1440px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 0;
    transform-origin: center center;
    will-change: transform, opacity;
}

.hero-bg-1 {
    background-image: url("https://i.ibb.co/PzZbPsPf/image1.jpg");
    animation: zoomFade1 18s linear infinite;
}

.hero-bg-2 {
    background-image: url("https://i.ibb.co/HDqXBNSr/IMG-5757.jpg");
    animation: zoomFade2 18s linear infinite;
}

.hero-bg-3 {
    background-image: url("https://i.ibb.co/78KTHwj/DSC09577.jpg");
    animation: zoomFade3 18s linear infinite;
}

@keyframes zoomFade1 {
    0% {
        transform: scale(1.137);
        opacity: 1;
    }

    28% {
        transform: scale(1.063);
        opacity: 1;
    }

    33% {
        transform: scale(1.05);
        opacity: 0;
    }

    33.1% {
        transform: scale(1.15);
        opacity: 0;
    }

    95% {
        transform: scale(1.15);
        opacity: 0;
    }

    100% {
        transform: scale(1.137);
        opacity: 1;
    }
}

@keyframes zoomFade2 {
    0% {
        transform: scale(1.05);
        opacity: 0;
    }

    0.1% {
        transform: scale(1.15);
        opacity: 0;
    }

    28% {
        transform: scale(1.15);
        opacity: 0;
    }

    33% {
        transform: scale(1.137);
        opacity: 1;
    }

    61% {
        transform: scale(1.063);
        opacity: 1;
    }

    66% {
        transform: scale(1.05);
        opacity: 0;
    }

    100% {
        transform: scale(1.05);
        opacity: 0;
    }
}

@keyframes zoomFade3 {
    0% {
        transform: scale(1.05);
        opacity: 0;
    }

    0.1% {
        transform: scale(1.15);
        opacity: 0;
    }

    61% {
        transform: scale(1.15);
        opacity: 0;
    }

    66% {
        transform: scale(1.137);
        opacity: 1;
    }

    95% {
        transform: scale(1.063);
        opacity: 1;
    }

    100% {
        transform: scale(1.05);
        opacity: 0;
    }
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin-left: 5%;
    margin-right: 20px;
    align-self: flex-end;
    margin-bottom: 80px;
}

.hero-content h4 {
    font-size: clamp(14px, 2vw, 18px);
    letter-spacing: 4px;
    color: #FF8A65;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(32px, 6vw, 56px);
    margin: 10px 0;
    line-height: 1.15;
    color: #FFFFFF;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    margin: 20px 0;
    line-height: 1.6;
    font-size: clamp(14px, 2vw, 18px);
    color: #E5E7EB;
    font-weight: 300;
}

.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    min-width: 140px;
}

.primary {
    background: #ff4d30;
    color: white;
}

.secondary {
    border: 2px solid white;
    color: white;
}

/* HOMEPAGE RESPONSIVENESS */
@media (min-width: 1400px) {
    .main-header {
        padding: 20px 80px;
    }

    .hero-content {
        margin-left: 80px;
        max-width: 700px;
    }

    .hero-content h1 {
        font-size: 64px;
    }

    .hero-content p {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .main-header {
        padding: 15px 30px;
    }

    .header-left {
        gap: 30px;
    }

    .main-nav ul {
        gap: 20px;
    }

    .hero-content {
        margin-left: 30px;
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    .header-right {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .logo img {
        height: 38px;
    }

    .main-nav ul {
        justify-content: flex-start;
        gap: 10px 14px;
    }

    .main-nav a {
        font-size: 14px;
    }

    .hero {
        margin-top: 160px;
        min-height: calc(100vh - 180px);
        padding: 0 20px;
    }

    .hero-bg {
        inset: -12% -10% -8% -10%;
        background-size: cover;
        background-position: 56% 18%;
        transform-origin: 56% 18%;
    }

    .hero-bg-1 {
        animation: zoomFade1Mobile 18s linear infinite;
    }

    .hero-bg-2 {
        animation: zoomFade2Mobile 18s linear infinite;
    }

    .hero-bg-3 {
        animation: zoomFade3Mobile 18s linear infinite;
    }

    .overlay {
        background: rgba(0, 0, 0, 0.32);
    }

    .hero-content {
        margin: 0;
        max-width: 100%;
        padding-top: 155px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content h4 {
        font-size: 14px;
    }

    .hero-content p {
        font-size: 15px;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 12px 15px;
    }

    .logo img {
        height: 32px;
    }

    .main-nav ul {
        gap: 8px 10px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .hero-bg {
        inset: -14% -12% -10% -12%;
        background-size: cover;
        background-position: 58% 16%;
        transform-origin: 58% 16%;
    }

    .hero-bg-1 {
        animation: zoomFade1MobileSmall 18s linear infinite;
    }

    .hero-bg-2 {
        animation: zoomFade2MobileSmall 18s linear infinite;
    }

    .hero-bg-3 {
        animation: zoomFade3MobileSmall 18s linear infinite;
    }

    .hero-content {
        padding-top: 160px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@keyframes zoomFade1Mobile {
    0% {
        transform: scale(1.018);
        opacity: 1;
    }

    28% {
        transform: scale(0.951);
        opacity: 1;
    }

    33% {
        transform: scale(0.94);
        opacity: 0;
    }

    33.1% {
        transform: scale(1.03);
        opacity: 0;
    }

    95% {
        transform: scale(1.03);
        opacity: 0;
    }

    100% {
        transform: scale(1.018);
        opacity: 1;
    }
}

@keyframes zoomFade2Mobile {
    0% {
        transform: scale(0.94);
        opacity: 0;
    }

    0.1% {
        transform: scale(1.03);
        opacity: 0;
    }

    28% {
        transform: scale(1.03);
        opacity: 0;
    }

    33% {
        transform: scale(1.018);
        opacity: 1;
    }

    61% {
        transform: scale(0.951);
        opacity: 1;
    }

    66% {
        transform: scale(0.94);
        opacity: 0;
    }

    100% {
        transform: scale(0.94);
        opacity: 0;
    }
}

@keyframes zoomFade3Mobile {
    0% {
        transform: scale(0.94);
        opacity: 0;
    }

    0.1% {
        transform: scale(1.03);
        opacity: 0;
    }

    61% {
        transform: scale(1.03);
        opacity: 0;
    }

    66% {
        transform: scale(1.018);
        opacity: 1;
    }

    95% {
        transform: scale(0.951);
        opacity: 1;
    }

    100% {
        transform: scale(0.94);
        opacity: 0;
    }
}

@keyframes zoomFade1MobileSmall {
    0% {
        transform: scale(1.008);
        opacity: 1;
    }

    28% {
        transform: scale(0.941);
        opacity: 1;
    }

    33% {
        transform: scale(0.93);
        opacity: 0;
    }

    33.1% {
        transform: scale(1.02);
        opacity: 0;
    }

    95% {
        transform: scale(1.02);
        opacity: 0;
    }

    100% {
        transform: scale(1.008);
        opacity: 1;
    }
}

@keyframes zoomFade2MobileSmall {
    0% {
        transform: scale(0.93);
        opacity: 0;
    }

    0.1% {
        transform: scale(1.02);
        opacity: 0;
    }

    28% {
        transform: scale(1.02);
        opacity: 0;
    }

    33% {
        transform: scale(1.008);
        opacity: 1;
    }

    61% {
        transform: scale(0.941);
        opacity: 1;
    }

    66% {
        transform: scale(0.93);
        opacity: 0;
    }

    100% {
        transform: scale(0.93);
        opacity: 0;
    }
}

@keyframes zoomFade3MobileSmall {
    0% {
        transform: scale(0.93);
        opacity: 0;
    }

    0.1% {
        transform: scale(1.02);
        opacity: 0;
    }

    61% {
        transform: scale(1.02);
        opacity: 0;
    }

    66% {
        transform: scale(1.008);
        opacity: 1;
    }

    95% {
        transform: scale(0.941);
        opacity: 1;
    }

    100% {
        transform: scale(0.93);
        opacity: 0;
    }
}

/* ========================================= */
/* SECTION 2 - ABOUT                         */
/* ========================================= */
.about {
    padding: 100px 8%;
    background: transparent;
    color: #444;
}

.about h2 {
    color: #1a1a1a;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h2 {
    font-size: 2.5rem;
}

.underline {
    width: 60px;
    height: 4px;
    background: orange;
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text .intro {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.03);
}

@media (max-width: 400px) {
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
        max-width: 300px;
    }
}

/* ========================================= */
/* SECTION 3 - SPONSORS SECTIONS             */
/* ========================================= */
.platinum-sponsors {
    padding: 90px 8%;
    background: transparent;
    color: #555;
}

.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-title h2 {
    font-size: 2.3rem;
    color: #1e1e1e;
    margin-bottom: 10px;
    font-weight: 700;
}

.title-line {
    width: 70px;
    height: 4px;
    background: #f7941d;
    margin: 0 auto 18px;
    border-radius: 10px;
}

.section-title p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

.sponsor-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsor-box {
    background: #ffffff;
    border: 1.5px solid #f7941d;
    border-radius: 18px;
    padding: 28px 20px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.sponsor-image-wrap {
    width: 100%;
    height: 350px;
    background: #fafafa;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    margin-bottom: 18px;
}

.sponsor-image-wrap img {
    max-width: 120%;
    max-height: 120%;
    object-fit: cover;
    display: block;
}

.sponsor-box h3 {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 10px;
    font-weight: 700;
}

.sponsor-box a {
    display: inline-block;
    margin-top: 5px;
    color: #f7941d;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
    border-bottom: 1px solid transparent;
}

.sponsor-box a:hover {
    color: #d97800;
    border-bottom: 1px solid #d97800;
}

.sponsor-tier {
    padding: 90px 8%;
    background: transparent;
}

.gold-sponsors,
.silver-sponsors {
    padding-top: 40px;
}

.sponsor-boxes-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 850px;
    margin: 0 auto;
}

.sponsor-boxes-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsor-box-gold {
    padding: 24px 18px 20px;
}

.sponsor-image-wrap-gold {
    height: 210px;
    padding: 18px;
}

.sponsor-box-silver {
    padding: 20px 16px 18px;
}

.sponsor-image-wrap-silver {
    height: 170px;
    padding: 16px;
}

.sponsor-box-gold h3 {
    font-size: 1.12rem;
    margin-bottom: 10px;
}

.sponsor-box-silver h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.sponsor-box-silver a {
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .sponsor-boxes-4 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {

    .platinum-sponsors,
    .sponsor-tier {
        padding: 70px 6%;
    }

    .sponsor-boxes,
    .sponsor-boxes-2,
    .sponsor-boxes-4 {
        grid-template-columns: 1fr;
        max-width: 1000px;
    }

    .sponsor-image-wrap {
        height: 220px;
    }

    .sponsor-image-wrap-gold {
        height: 200px;
    }

    .sponsor-image-wrap-silver {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .sponsor-box {
        padding: 22px 16px 20px;
    }

    .sponsor-box-gold,
    .sponsor-box-silver {
        padding: 18px 14px 16px;
    }

    .sponsor-image-wrap {
        height: 190px;
        padding: 16px;
    }

    .sponsor-image-wrap-gold {
        height: 180px;
        padding: 14px;
    }

    .sponsor-image-wrap-silver {
        height: 160px;
        padding: 12px;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }
}

/* ========================================= */
/* CONTACT POPUP MODAL                       */
/* ========================================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 650px;
    background: #fff;
    color: #222;
    margin: 5% auto;
    padding: 35px;
    border-radius: 14px;
    z-index: 2;
    animation: popupFade 0.3s ease;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #111;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    line-height: 1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: #222;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #ff4d30;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-form textarea {
    height: 110px;
    resize: vertical;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

.contact-form button {
    width: 100%;
    background: #ff4d30;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    opacity: 0.92;
}

@keyframes popupFade {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 24px;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 92%;
        margin: 14% auto;
        padding: 20px;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    .close-btn {
        font-size: 24px;
        top: 12px;
        right: 16px;
    }
}

/* ========================================= */
/* ACHIEVEMENTS PAGE LOGIC                   */
/* ========================================= */
.achievements-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(rgba(17, 75, 95, 0.72), rgba(17, 75, 95, 0.72)), url("https://i.ibb.co/PzZbPsPf/image1.jpg") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: #e4fde1;
}

.back-btn {
    display: inline-block;
    margin-bottom: 22px;
    padding: 10px 18px;
    border: 1px solid rgba(228, 253, 225, 0.5);
    border-radius: 999px;
    color: #e4fde1;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: 0.3s ease;
}

.back-btn:hover {
    background: rgba(244, 91, 105, 0.16);
    border-color: #f45b69;
}

.hero-inner h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 12px;
}

.hero-inner p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
}

.year-section {
    padding: 70px 8%;
    background: #e4fde1;
}

.alt-bg {
    background: #dff6dc;
}

.section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 10px;
    color: #114b5f;
}

.section-heading p {
    font-size: 1rem;
    color: #456990;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

.premium-slider {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(17, 75, 95, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.slider-viewport {
    overflow: hidden;
    border-radius: 22px;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.55s ease;
}

.slide {
    min-width: 100%;
    position: relative;
    user-select: none;
}

.slide img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
    border-radius: 22px;
}

.slide-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(17, 75, 95, 0.72);
    color: #e4fde1;
    font-size: 0.98rem;
    line-height: 1.5;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #114b5f;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 8px 18px rgba(17, 75, 95, 0.18);
    transition: 0.28s ease;
}

.nav-btn:hover {
    background: #f45b69;
    color: #ffffff;
}

.prev-btn {
    left: 26px;
}

.next-btn {
    right: 26px;
}

.slider-footer {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.dots {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(69, 105, 144, 0.35);
    cursor: pointer;
    transition: 0.28s ease;
}

.dot.active {
    width: 26px;
    border-radius: 999px;
    background: #f45b69;
}

@media (max-width: 992px) {
    .slide img {
        height: 460px;
    }
}

@media (max-width: 768px) {
    .year-section {
        padding: 55px 6%;
    }

    .premium-slider {
        padding: 12px;
        border-radius: 20px;
    }

    .slide img {
        height: 320px;
        border-radius: 16px;
    }

    .slide-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .prev-btn {
        left: 14px;
    }

    .next-btn {
        right: 14px;
    }
}

@media (max-width: 480px) {
    .achievements-hero {
        min-height: 42vh;
        padding: 50px 16px;
    }

    .slide img {
        height: 250px;
    }

    .section-heading p {
        font-size: 0.95rem;
    }

    .nav-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .dot {
        width: 9px;
        height: 9px;
    }

    .dot.active {
        width: 22px;
    }
}

/* ========================================= */
/* JOURNEY / MEMORY LANE SECTION             */
/* ========================================= */
.journey {
    position: relative;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.timeline-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 0.8s ease-in-out;
    z-index: 0;
}

.journey-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 75, 95, 0.4);
    z-index: 1;
}

.journey-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.journey-header {
    text-align: center;
    margin-bottom: 60px;
}

.journey-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.journey-header p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #e4fde1;
}

.timeline-wrapper {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.timeline-years {
    position: relative;
    list-style: none;
    padding-left: 20px;
    margin-right: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-years::before {
    content: '';
    position: absolute;
    left: 26px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: 0.3s ease;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0);
}

.timeline-item.active .timeline-dot,
.timeline-item:hover .timeline-dot {
    background: #ff4d30;
    box-shadow: 0 0 0 6px rgba(255, 77, 48, 0.3);
}

.timeline-label {
    margin-left: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    transition: 0.3s;
}

.timeline-item.active .timeline-label,
.timeline-item:hover .timeline-label {
    color: white;
    font-size: 2.2rem;
}

.timeline-content {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInContent 0.5s ease-in-out;
}

.timeline-content h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 12px;
    color: #E6C76A;
}

.timeline-content p {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .journey {
        padding: 60px 0;
    }

    .timeline-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-years {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 20px;
        margin-right: 0;
        margin-bottom: 30px;
        gap: 30px;
        padding-left: 0;
        scrollbar-width: none;
    }

    .timeline-years::-webkit-scrollbar {
        display: none;
    }

    .timeline-years::before {
        left: 0;
        right: 0;
        top: 6px;
        bottom: auto;
        height: 2px;
        width: auto;
    }

    .timeline-item {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .timeline-label {
        margin-left: 0;
        font-size: 1.2rem;
    }

    .timeline-item.active .timeline-label {
        font-size: 1.4rem;
    }

    .timeline-content {
        padding: 25px;
    }
}

/* ========================================= */
/* TIMELINE SUBNAV                           */
/* ========================================= */
.timeline-subnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.subnav-dots {
    display: flex;
    gap: 8px;
}

.subnav-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
}

.subnav-dot.active {
    background: white;
    width: 10px;
    height: 10px;
}

.subnav-arrows {
    display: flex;
    gap: 15px;
}

.subnav-arrows button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subnav-arrows button:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #114b5f;
    border-color: white;
}

/* ========================================= */
/* TEAM PAGE                                 */
/* ========================================= */
.team-hero-bg {
    background-image: url("https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?auto=format&fit=crop&w=1920&q=80");
}

.team-section {
    padding: 80px 8%;
    background: #542C00;
    color: #fff;
    min-height: 100vh;
}

.team-description-blocks {
    max-width: 900px;
    margin: 0;
    padding-bottom: 30px;
}

.intro-p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.team-highlights {
    margin-bottom: 50px;
    padding: 20px;
    background: #fdfdfd;
    border-left: 4px solid #ff4d30;
    border-radius: 4px;
}

.team-highlights h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: #222;
}

.team-highlights ul {
    list-style-type: none;
    margin-left: 0;
}

.team-highlights ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: #444;
}

.team-highlights ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff4d30;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

.team-member {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    /* GRAYSCALE FILTER REMOVED SO PHOTOS SHOW TRUE COLORS! */
}

.team-member::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
    /* OPACITY SET TO 0 SO RAINBOW COLORS DON'T DISTORT PHOTOS! */
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Gradients are still here if you ever want to turn opacity back on! */
.team-member.tall::after {
    background: linear-gradient(135deg, #ef1a32 0%, #1a75ff 100%);
}

.team-member.square-top::after {
    background: linear-gradient(135deg, #ffcc00 0%, #00ffff 100%);
}

.team-member.square-bottom::after {
    background: linear-gradient(135deg, #ef7a1a 0%, #9933ff 100%);
}

.team-member.bottom-left::after {
    background: linear-gradient(135deg, #aaff00 0%, #00ccff 100%);
}

.team-member.bottom-right::after {
    background: linear-gradient(135deg, #ff1a66 0%, #1a75ff 100%);
}

.team-member.tall-2::after {
    background: linear-gradient(135deg, #aaff00 0%, #00ccff 100%);
}

.team-member.square-top-2::after {
    background: linear-gradient(135deg, #ef1a32 0%, #1a75ff 100%);
}

.team-member.square-bottom-2::after {
    background: linear-gradient(135deg, #ffcc00 0%, #00ffff 100%);
}

.team-member.bottom-left-2::after {
    background: linear-gradient(135deg, #ff1a66 0%, #1a75ff 100%);
}

.team-member.bottom-right-2::after {
    background: linear-gradient(135deg, #ef7a1a 0%, #9933ff 100%);
}

.team-member:hover img {
    transform: scale(1.06);
}

.team-member:hover::after {
    opacity: 0.6;
    /* Adds a nice hover effect! */
}

.member-info {
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: white;
    transition: bottom 0.3s ease;
    z-index: 2;
}

.team-member:hover .member-info {
    bottom: 0;
}

.member-info h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-info p {
    font-size: 0.95rem;
    color: #f1f1f1;
}

/* ================================================== */
/* MAIN GRID & HEIGHT UPDATE                          */
/* ================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 350px;
    gap: 15px;
    margin-top: 30px;
}

/* ================================================== */
/* FIRST 5 TEAM MEMBERS                               */
/* ================================================== */
/* 1. Founder (The absolute biggest block) */
.team-member.tall {
    grid-column: 1 / 8;
    grid-row: span 2;
}

/* 2. Co-Founder (Narrower than Founder, but big!) */
.team-member.square-top {
    grid-column: 8 / 13;
    grid-row: span 2;
}

/* 3. Manager, Captain, Vice-Captain (Underneath, equal sizes) */
.team-member.square-bottom {
    /* Manager */
    grid-column: 1 / 4;
    grid-row: span 1;
}

.team-member.bottom-left {
    /* Captain */
    grid-column: 4/ 7;
    grid-row: span 1;
}

.team-member.bottom-right {
    /* Vice Captain */
    grid-column: 7/ 10;
    grid-row: span 1;
}

/* ================================================== */
/* SECOND 5 TEAM MEMBERS                              */
/* ================================================== */
/* Sarah (Decreased to regular size!) */
.team-member.tall-2 {
    grid-column: 10/ 13;
    grid-row: span 1;
}

.team-member.square-top-2 {
    grid-column: 1 / 4;
    grid-row: span 1;
}

.team-member.square-bottom-2 {
    grid-column: 4 / 7;
    grid-row: span 1;
}

/* Bottom 2 row */
.team-member.bottom-left-2 {
    grid-column: 7/ 10;
    grid-row: span 1;
}

.team-member.bottom-right-2 {
    grid-column: 10 / 13;
    grid-row: span 1;
}

/* ================================================== */
/* RESPONSIVE ADJUSTMENTS (Mobiles & Tablets)         */
/* ================================================== */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 350px;
    }

    /* Standard squares on tablets to prevent heads chopping! */
    .team-member.tall,
    .team-member.square-top,
    .team-member.square-bottom,
    .team-member.bottom-left,
    .team-member.bottom-right,
    .team-member.tall-2,
    .team-member.square-top-2,
    .team-member.square-bottom-2,
    .team-member.bottom-left-2,
    .team-member.bottom-right-2 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 350px;
    }

    .team-member {
        grid-column: 1 / -1 !important;
        grid-row: span 1 !important;
    }

    .member-info {
        bottom: 0;
    }
}

/* ========================================= */
/* GLOBAL FOOTER STYLES                      */
/* ========================================= */
.site-footer {
    background-color: #111111;
    color: #ffffff;
    padding-top: 60px;
    margin-top: 50px;
    clear: both;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 5% 50px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #FF8A65;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.footer-contact-item {
    margin-bottom: 20px;
}

.footer-contact-item h4 {
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-item p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.social-icon {
    font-size: 1.2rem;
    margin-right: 10px;
}

.footer-bottom {
    background-color: #000000;
    padding: 25px 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #666666;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
/* ========================================= */
/* LAUNCH OVERLAY STYLES                     */
/* ========================================= */
#launch-overlay {
    position: fixed;
    inset: 0;
    background-color: #000000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s ease-out, visibility 1.5s ease-out;
}

#launch-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.launch-content {
    text-align: center;
    color: #ffffff;
}

#start-launch-btn {
    background-color: transparent;
    border: 2px solid #FF4D30;
    color: #FF4D30;
    padding: 15px 40px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 77, 48, 0.2);
}

#start-launch-btn:hover {
    background-color: #FF4D30;
    color: #ffffff;
    box-shadow: 0 0 30px rgba(255, 77, 48, 0.5);
    transform: scale(1.05);
}

#launch-countdown {
    font-size: 12rem;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    animation: pulseNumber 1s infinite alternate;
}

@keyframes pulseNumber {
    from {
        transform: scale(1);
        opacity: 0.8;
    }
    to {
        transform: scale(1.1);
        opacity: 1;
        text-shadow: 0 0 50px rgba(255, 77, 48, 0.8);
        color: #FF4D30;
    }
}

.shake-screen {
    animation: shake 0.3s cubic-bezier(.36,.07,.19,.97) both infinite;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-2px, 0, 0); }
    20%, 80% { transform: translate3d(4px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-8px, 0, 0); }
    40%, 60% { transform: translate3d(8px, 0, 0); }
}

.flash-screen {
    position: fixed;
    inset: 0;
    background-color: #ffffff;
    z-index: 100000;
    animation: flashFade 2s ease-out forwards;
    pointer-events: none;
}

@keyframes flashFade {
    0% { opacity: 1; }
    100% { opacity: 0; }
}
