/* beacon2.css - Custom Overrides & Planet Decorations */

/* Button overrides for Bepro and Benmax */
.card-bepro .btn-bepro {
    width: 100%;
    display: block;
    text-align: center;
    background: #4facfe;
    /* Bluish color matching BEPRO logo */
    color: white;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 12px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-bepro .btn-bepro:hover {
    background: #0088cc;
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
    transform: translateY(-2px);
    color: white;
}

.card-benmax .btn-benmax {
    width: 100%;
    display: block;
    text-align: center;
    background: #ff4785;
    /* Pinky color matching BENMAX logo */
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 133, 0.4);
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 12px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-benmax .btn-benmax:hover {
    background: #e60050;
    box-shadow: 0 6px 20px rgba(255, 71, 133, 0.6);
    transform: translateY(-2px);
    color: white;
}

/* Planet Decorations */
.planet {
    position: absolute;
    border-radius: 50%;
    animation: float-planet 15s infinite ease-in-out alternate;
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}

/* Hero Section Planets */
.planet-1 {
    top: 15%;
    left: 5%;
    width: 80px;
    filter: drop-shadow(0 0 25px rgba(126, 213, 111, 0.8));
    animation-delay: 0s;
}

.planet-2 {
    top: 65%;
    right: 8%;
    width: 110px;
    filter: drop-shadow(0 0 30px rgba(255, 118, 117, 0.8));
    animation-delay: -4s;
    animation-duration: 18s;
}

/* About Section Planets */
.planet-3 {
    top: 20%;
    left: 10%;
    width: 90px;
    filter: drop-shadow(0 0 25px rgba(9, 132, 227, 0.8));
    animation-delay: -7s;
    animation-duration: 14s;
}

.planet-4 {
    top: 70%;
    right: 15%;
    width: 65px;
    filter: drop-shadow(0 0 20px rgba(253, 203, 110, 0.8));
    animation-delay: -10s;
    animation-duration: 16s;
}

/* Competitions Section Planets */
.planet-5 {
    top: 15%;
    right: 5%;
    width: 100px;
    filter: drop-shadow(0 0 20px rgba(156, 39, 176, 0.8));
    animation-delay: -2s;
    animation-duration: 17s;
}

.planet-6 {
    top: 60%;
    left: 10%;
    width: 75px;
    filter: drop-shadow(0 0 20px rgba(233, 30, 99, 0.8));
    animation-delay: -5s;
    animation-duration: 15s;
}

/* Gallery/Impact Section Planets */
.planet-7 {
    top: 30%;
    left: 8%;
    width: 85px;
    filter: drop-shadow(0 0 25px rgba(244, 67, 54, 0.8));
    animation-delay: -8s;
    animation-duration: 19s;
}

.planet-8 {
    top: 50%;
    right: 12%;
    width: 120px;
    filter: drop-shadow(0 0 30px rgba(255, 235, 59, 0.6));
    animation-delay: -12s;
    animation-duration: 20s;
}

/* Floating animation for planets */
@keyframes float-planet {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-20px) rotate(10deg) scale(1.05);
    }

    100% {
        transform: translateY(10px) rotate(-5deg) scale(0.95);
    }
}

/* Make sections relative to contain absolute planets */
.landing-hero,
.landing-section,
.cta-section {
    position: relative;
}

/* Make Bepro and Benmax cards equal height */
.comp-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: stretch;
    /* This stretches both cards to match the tallest one */
    flex-wrap: wrap;
}

.card-bepro,
.card-benmax {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    /* Allow it to grow */
}

/* Keep text pushed up and button pushed down */
.card-bepro>p,
.card-benmax>p {
    flex-grow: 1;
    /* Pushes the button down to the bottom */
}

/* ===== Competition Card Styles ===== */
.card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 420px; /* Wider cards to fill screen width more */
    max-width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    cursor: pointer;
}

.comp-logo-wrap {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.comp-logo {
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-bepro .comp-logo {
    height: 120px;
    max-height: 120px;
    width: auto;
}

.card-benmax .comp-logo {
    height: 105px;
    max-height: 105px;
    width: auto;
}

.card:hover .comp-logo {
    transform: scale(1.08) translateZ(10px);
}

/* ===== Uniform Title ===== */
.comp-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: white;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Uniform Description ===== */
.comp-desc {
    color: #aaa;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
    /* Pushes the button down to the bottom */
}

/* Custom hover effects for each card type */
.comp-grid .card-bepro:hover {
    border-color: rgba(79, 172, 254, 0.5);
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.2), 0 0 30px rgba(79, 172, 254, 0.15);
}

.comp-grid .card-benmax:hover {
    border-color: rgba(255, 71, 133, 0.5);
    box-shadow: 0 15px 35px rgba(255, 71, 133, 0.2), 0 0 30px rgba(255, 71, 133, 0.15);
}

/* =========================================
   GALAXY SOLAR SYSTEM — Hero Decoration
========================================= */

.galaxy-system {
    position: absolute;
    top: -100px;
    right: -150px;
    width: 900px;
    height: 900px;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.3s ease-out;
    opacity: 0.85;
}

/* ===== SUN ===== */
.galaxy-sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.sun-img {
    width: 120px;
    height: 120px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(255, 200, 50, 0.8)) drop-shadow(0 0 40px rgba(255, 165, 0, 0.5));
    animation: sunPulse 4s ease-in-out infinite;
}

.sun-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 200, 50, 0.35) 0%,
            rgba(255, 165, 0, 0.15) 35%,
            rgba(255, 100, 0, 0.05) 60%,
            transparent 80%);
    z-index: 1;
    animation: sunGlowPulse 5s ease-in-out infinite alternate;
}

@keyframes sunPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 200, 50, 0.8)) drop-shadow(0 0 40px rgba(255, 165, 0, 0.5));
    }

    50% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 25px rgba(255, 200, 50, 1)) drop-shadow(0 0 60px rgba(255, 165, 0, 0.7));
    }
}

@keyframes sunGlowPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* ===== ORBIT RINGS ===== */
.galaxy-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(126, 250, 255, 0.08);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(65deg);
}

.orbit-1 {
    width: 200px;
    height: 200px;
    border-color: rgba(255, 200, 50, 0.12);
}

.orbit-2 {
    width: 320px;
    height: 320px;
    border-color: rgba(126, 250, 255, 0.1);
}

.orbit-3 {
    width: 460px;
    height: 460px;
    border-color: rgba(255, 0, 92, 0.08);
}

.orbit-4 {
    width: 620px;
    height: 620px;
    border-color: rgba(126, 250, 255, 0.06);
    border-style: dotted;
}

.orbit-5 {
    width: 780px;
    height: 780px;
    border-color: rgba(255, 255, 255, 0.04);
    border-style: dotted;
}

/* ===== PLANETS ===== */
.galaxy-planet {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
}

.gp-img {
    border-radius: 50%;
}

/* Planet 1 — Mercury-like (small, fast, close orbit) */
.gp-1 {
    animation: orbitPlanet1 8s linear infinite;
}

.gp-1 .gp-img {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 0 4px rgba(255, 165, 0, 0.6));
}

/* Planet 2 — Earth-like (medium) */
.gp-2 {
    animation: orbitPlanet2 14s linear infinite;
}

.gp-2 .gp-img {
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 0 6px rgba(100, 220, 100, 0.6));
}

/* Planet 3 — Mars-like (medium, pink) */
.gp-3 {
    animation: orbitPlanet3 20s linear infinite;
}
.gp-3 .gp-img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 6px rgba(255, 100, 120, 0.6));
}

/* Planet 4 — Jupiter-like (large, colorful) */
.gp-4 {
    animation: orbitPlanet4 30s linear infinite;
}

.gp-4 .gp-img {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 8px rgba(255, 0, 92, 0.6));
}

/* Planet 5 — Saturn-like (largest, slowest) */
.gp-5 {
    animation: orbitPlanet5 42s linear infinite;
}
.gp-5 .gp-img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 10px rgba(255, 120, 50, 0.5));
}

/* ===== ORBIT KEYFRAMES (elliptical 3D projection) ===== */
/* Each planet orbits in a tilted elliptical path around center */
@keyframes orbitPlanet1 {
    0% {
        transform: translate(-50%, -50%) rotateX(65deg) rotate(0deg) translateX(100px) rotate(0deg) rotateX(-65deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(65deg) rotate(360deg) translateX(100px) rotate(-360deg) rotateX(-65deg);
    }
}

@keyframes orbitPlanet2 {
    0% {
        transform: translate(-50%, -50%) rotateX(65deg) rotate(60deg) translateX(160px) rotate(-60deg) rotateX(-65deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(65deg) rotate(420deg) translateX(160px) rotate(-420deg) rotateX(-65deg);
    }
}

@keyframes orbitPlanet3 {
    0% {
        transform: translate(-50%, -50%) rotateX(65deg) rotate(140deg) translateX(230px) rotate(-140deg) rotateX(-65deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(65deg) rotate(500deg) translateX(230px) rotate(-500deg) rotateX(-65deg);
    }
}

@keyframes orbitPlanet4 {
    0% {
        transform: translate(-50%, -50%) rotateX(65deg) rotate(220deg) translateX(310px) rotate(-220deg) rotateX(-65deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(65deg) rotate(580deg) translateX(310px) rotate(-580deg) rotateX(-65deg);
    }
}

@keyframes orbitPlanet5 {
    0% {
        transform: translate(-50%, -50%) rotateX(65deg) rotate(300deg) translateX(390px) rotate(-300deg) rotateX(-65deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(65deg) rotate(660deg) translateX(390px) rotate(-660deg) rotateX(-65deg);
    }
}

/* ===== ASTEROID BELT ===== */
.asteroid-belt {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.asteroid {
    position: absolute;
    background: rgba(200, 200, 220, 0.8);
    border-radius: 50%;
    animation: asteroidTwinkle ease-in-out infinite alternate;
}

@keyframes asteroidTwinkle {
    0% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.3;
        transform: scale(0.9);
    }
}

.asteroid-rock {
    position: absolute;
    border-radius: 40%;
    opacity: 0.45;
    animation: rockFloat ease-in-out infinite alternate;
    filter: drop-shadow(0 0 3px rgba(126, 250, 255, 0.3));
}

@keyframes rockFloat {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.35;
    }

    50% {
        transform: rotate(15deg) scale(1.15);
        opacity: 0.55;
    }

    100% {
        transform: rotate(-10deg) scale(0.95);
        opacity: 0.4;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .galaxy-system {
        width: 500px;
        height: 500px;
        top: -40px;
        right: -120px;
        opacity: 0.6;
    }

    .sun-img {
        width: 60px;
        height: 60px;
    }

    .sun-glow {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 576px) {
    .galaxy-system {
        width: 350px;
        height: 350px;
        top: -30px;
        right: -100px;
        opacity: 0.4;
    }

    .sun-img {
        width: 45px;
        height: 45px;
    }

    .sun-glow {
        width: 90px;
        height: 90px;
    }

    .gp-1 .gp-img {
        width: 12px;
        height: 12px;
    }

    .gp-2 .gp-img {
        width: 18px;
        height: 18px;
    }

    .gp-3 .gp-img {
        width: 16px;
        height: 16px;
    }

    .gp-4 .gp-img {
        width: 24px;
        height: 24px;
    }

    .gp-5 .gp-img {
        width: 28px;
        height: 28px;
    }
}

/* =========================================
   LANDING PAGE BUTTON OVERRIDES & EFFECTS
   ========================================= */

/* Custom Red/Pink Buttons for Landing Page */
.btn-landing-primary {
    background: #ff1a40;
    color: white !important;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 26, 64, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.btn-landing-primary:hover {
    background: #ff3356; /* Slightly lighter neon red on hover */
    box-shadow: 0 6px 25px rgba(255, 26, 64, 0.6);
    transform: translateY(-2px);
}

.btn-landing-primary:active {
    transform: translateY(1px) scale(0.97) !important;
    box-shadow: 0 2px 10px rgba(255, 26, 64, 0.3);
}

.btn-landing-secondary {
    background: transparent;
    border: 1px solid var(--soft-blue);
    color: var(--soft-blue) !important;
    box-shadow: 0 0 10px rgba(126, 250, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.btn-landing-secondary:hover {
    background: rgba(126, 250, 255, 0.1);
    box-shadow: 0 0 20px rgba(126, 250, 255, 0.3);
    color: white !important;
    border-color: white;
    transform: translateY(-2px);
}

.btn-landing-secondary:active {
    transform: translateY(1px) scale(0.97) !important;
    box-shadow: 0 0 8px rgba(126, 250, 255, 0.2);
}

/* ===== Shooting Stars / Comets CSS ===== */
.comet-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.comet {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    transform-origin: center;
    mix-blend-mode: screen; /* Blends dark backgrounds flawlessly */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

@keyframes flyComet {
    0% {
        transform: translate(0, 0) scale(var(--comet-scale-x, 1), 1) rotate(var(--comet-rotation, 0deg)) scale(0);
        opacity: 0;
    }
    10% {
        opacity: var(--comet-opacity, 0.8);
        transform: translate(calc(var(--comet-dx) * 0.1), calc(var(--comet-dy) * 0.1)) scale(var(--comet-scale-x, 1), 1) rotate(var(--comet-rotation, 0deg)) scale(1);
    }
    90% {
        opacity: var(--comet-opacity, 0.8);
        transform: translate(calc(var(--comet-dx) * 0.9), calc(var(--comet-dy) * 0.9)) scale(var(--comet-scale-x, 1), 1) rotate(var(--comet-rotation, 0deg)) scale(1);
    }
    100% {
        transform: translate(var(--comet-dx), var(--comet-dy)) scale(var(--comet-scale-x, 1), 1) rotate(var(--comet-rotation, 0deg)) scale(0);
        opacity: 0;
    }
}

/* ===== Remodeled About Section ===== */
.about-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 80px 50px;
    max-width: 1100px;
    margin: 50px auto 0;
    text-align: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
    transition: all 0.4s ease;
}

.about-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-pink);
    transition: width 0.4s ease;
    border-radius: 3px;
}

.about-container:hover::after {
    width: 60%;
}

.about-container:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--primary-pink);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 0, 92, 0.25);
}

.about-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(54px, 10vw, 96px);
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 35px;
    text-shadow: 2px 2px 0px #000, 4px 4px 0px rgba(0, 0, 0, 0.4);
    position: relative;
    display: inline-block;
}

.about-beacon-text {
    color: var(--primary-pink);
    text-shadow: 2px 2px 0px #000, 4px 4px 0px rgba(255, 0, 92, 0.3);
}

.about-question-mark {
    position: relative;
    display: inline-block;
}

.about-astronaut {
    position: absolute;
    width: 4.0em;
    top: -2.8em;
    right: -2.8em;
    transform: rotate(15deg);
    animation: astronaut-float 4s infinite ease-in-out;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

@keyframes astronaut-float {
    0% {
        transform: translateY(0) rotate(15deg);
    }
    50% {
        transform: translateY(-8px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(15deg);
    }
}

.about-desc {
    color: #ddd;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20px, 3vw, 25px);
    line-height: 1.85;
    max-width: 950px;
    margin: 0 auto;
    font-weight: 300;
}

/* Extra decorative planets for About Section */
.planet-about-extra-1 {
    top: 15%;
    right: 8%;
    width: 80px;
    filter: drop-shadow(0 0 20px rgba(255, 71, 133, 0.5));
    animation: float-planet 18s infinite ease-in-out alternate;
}

.planet-about-extra-2 {
    bottom: 15%;
    left: 8%;
    width: 95px;
    filter: drop-shadow(0 0 25px rgba(253, 203, 110, 0.4));
    animation: float-planet 14s infinite ease-in-out alternate-reverse;
}

/* =========================================
   ABOUT BME ITS SECTION
   ========================================= */
.about-bme-section {
    padding: 120px 40px 80px;
}

.about-bme-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-bme-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(42px, 8vw, 72px);
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 60px;
    text-shadow: 2px 2px 0px #000, 4px 4px 0px rgba(0, 0, 0, 0.4);
}

.about-bme-heading span {
    color: var(--primary-pink);
    text-shadow: 2px 2px 0px #000, 4px 4px 0px rgba(255, 0, 92, 0.3);
}

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

.about-bme-text {
    flex: 1.2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px 45px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.about-bme-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 92, 0.03), transparent 60%);
    pointer-events: none;
}

.about-bme-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-pink);
    transition: width 0.4s ease;
    border-radius: 3px;
}

.about-bme-text:hover::after {
    width: 60%;
}

.about-bme-text:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--primary-pink);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 0, 92, 0.2);
}

.about-bme-text p {
    font-family: 'Poppins', sans-serif;
    color: #ccc;
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.9;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.about-bme-text p strong {
    color: var(--soft-blue);
    font-weight: 600;
}

.btn-about-bme {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: transparent;
    border: 1.5px solid var(--primary-pink);
    color: var(--primary-pink);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    position: relative;
    z-index: 1;
    margin-top: 10px;
}

.btn-about-bme:hover {
    background: var(--primary-pink);
    color: white;
    box-shadow: 0 6px 25px rgba(255, 0, 92, 0.4);
    transform: translateY(-2px);
}

.btn-about-bme:active {
    transform: translateY(1px) scale(0.97);
}

.btn-about-bme i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-about-bme:hover i {
    transform: translateX(3px);
}

/* BME Visual / Logo Side */
.about-bme-visual {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bme-logo-composite {
    position: relative;
    width: clamp(220px, 28vw, 360px);
    height: clamp(220px, 28vw, 360px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    animation: logoFloat 5s ease-in-out infinite;
}

.bme-logo-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.bme-logo-asteroid {
    --orbit-x: clamp(90px, 12vw, 140px);
    --orbit-y: clamp(25px, 3.5vw, 40px);
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(126, 250, 255, 0.5));
    animation: orbit3D 8s linear infinite;
    pointer-events: none;
}

@keyframes orbit3D {
    0% {
        transform: translate(calc(-50% + var(--orbit-x)), -50%) scale(1) rotate(0deg);
        z-index: 3;
    }
    8.33% {
        transform: translate(calc(-50% + (0.866 * var(--orbit-x))), calc(-50% + (0.5 * var(--orbit-y)))) scale(1.08) rotate(30deg);
        z-index: 3;
    }
    16.67% {
        transform: translate(calc(-50% + (0.5 * var(--orbit-x))), calc(-50% + (0.866 * var(--orbit-y)))) scale(1.18) rotate(60deg);
        z-index: 3;
    }
    25% {
        transform: translate(-50%, calc(-50% + var(--orbit-y))) scale(1.25) rotate(90deg);
        z-index: 3;
    }
    33.33% {
        transform: translate(calc(-50% - (0.5 * var(--orbit-x))), calc(-50% + (0.866 * var(--orbit-y)))) scale(1.18) rotate(120deg);
        z-index: 3;
    }
    41.67% {
        transform: translate(calc(-50% - (0.866 * var(--orbit-x))), calc(-50% + (0.5 * var(--orbit-y)))) scale(1.08) rotate(150deg);
        z-index: 3;
    }
    49.99% {
        z-index: 3;
    }
    50% {
        transform: translate(calc(-50% - var(--orbit-x)), -50%) scale(1) rotate(180deg);
        z-index: 1;
    }
    58.33% {
        transform: translate(calc(-50% - (0.866 * var(--orbit-x))), calc(-50% - (0.5 * var(--orbit-y)))) scale(0.92) rotate(210deg);
        z-index: 1;
    }
    66.67% {
        transform: translate(calc(-50% - (0.5 * var(--orbit-x))), calc(-50% - (0.866 * var(--orbit-y)))) scale(0.82) rotate(240deg);
        z-index: 1;
    }
    75% {
        transform: translate(-50%, calc(-50% - var(--orbit-y))) scale(0.75) rotate(270deg);
        z-index: 1;
    }
    83.33% {
        transform: translate(calc(-50% + (0.5 * var(--orbit-x))), calc(-50% - (0.866 * var(--orbit-y)))) scale(0.82) rotate(300deg);
        z-index: 1;
    }
    91.67% {
        transform: translate(calc(-50% + (0.866 * var(--orbit-x))), calc(-50% - (0.5 * var(--orbit-y)))) scale(0.92) rotate(330deg);
        z-index: 1;
    }
    99.99% {
        z-index: 1;
    }
    100% {
        transform: translate(calc(-50% + var(--orbit-x)), -50%) scale(1) rotate(360deg);
        z-index: 3;
    }
}


@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Planet decorations for About BME */
.planet-bme-1 {
    top: 12%;
    right: 6%;
    width: 75px;
    filter: drop-shadow(0 0 20px rgba(100, 200, 255, 0.5));
    animation: float-planet 16s infinite ease-in-out alternate;
}

.planet-bme-2 {
    bottom: 18%;
    left: 5%;
    width: 65px;
    filter: drop-shadow(0 0 18px rgba(255, 200, 50, 0.5));
    animation: float-planet 20s infinite ease-in-out alternate-reverse;
}

/* =========================================
   OUR FIELDS SECTION
   ========================================= */
.our-fields-section {
    padding: 80px 40px 120px;
}

.fields-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.fields-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(42px, 8vw, 72px);
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px #000, 4px 4px 0px rgba(0, 0, 0, 0.4);
}

.fields-heading span {
    color: var(--soft-blue);
    text-shadow: 2px 2px 0px #000, 4px 4px 0px rgba(126, 250, 255, 0.2);
}

.fields-subtitle {
    font-family: 'Poppins', sans-serif;
    color: #999;
    font-size: clamp(14px, 2vw, 18px);
    max-width: 650px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.field-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}

.field-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--field-glow, rgba(126,250,255,0.1)), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.field-card:hover::before {
    opacity: 1;
}

.field-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--field-color, var(--soft-blue));
    transition: width 0.4s ease;
    border-radius: 3px;
}

.field-card:hover::after {
    width: 50%;
}

.field-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--field-color, var(--soft-blue));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px var(--field-glow, rgba(126,250,255,0.15));
}

.field-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    position: relative;
}

.field-icon-wrap::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--field-color, var(--soft-blue));
    opacity: 0;
    transform: scale(1.3);
    transition: all 0.4s ease;
}

.field-card:hover .field-icon-wrap::after {
    opacity: 0.4;
    transform: scale(1.5);
    animation: iconRingPulse 2s ease-in-out infinite;
}

@keyframes iconRingPulse {
    0%, 100% {
        transform: scale(1.3);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.6);
        opacity: 0.1;
    }
}

.field-icon-wrap i {
    font-size: 32px;
    color: var(--field-color, var(--soft-blue));
    transition: all 0.4s ease;
}

.field-card:hover .field-icon-wrap {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border-color: var(--field-color, var(--soft-blue));
    box-shadow: 0 0 20px var(--field-glow, rgba(126,250,255,0.2));
}

.field-card:hover .field-icon-wrap i {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px var(--field-glow, rgba(126,250,255,0.5)));
}

.field-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(16px, 2vw, 20px);
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-card > p {
    font-family: 'Poppins', sans-serif;
    color: #aaa;
    font-size: clamp(13px, 1.5vw, 15px);
    line-height: 1.8;
}

/* Field Section Planets */
.planet-field-1 {
    top: 10%;
    left: 6%;
    width: 80px;
    filter: drop-shadow(0 0 20px rgba(255, 120, 50, 0.5));
    animation: float-planet 18s infinite ease-in-out alternate;
}

.planet-field-2 {
    bottom: 12%;
    right: 5%;
    width: 60px;
    filter: drop-shadow(0 0 18px rgba(126, 213, 111, 0.5));
    animation: float-planet 15s infinite ease-in-out alternate-reverse;
}

/* ===== RESPONSIVE — About BME & Fields ===== */
@media (max-width: 992px) {
    .about-bme-content {
        flex-direction: column;
        text-align: center;
    }

    .about-bme-text {
        padding: 40px 30px;
    }

    .about-bme-visual {
        order: -1;
    }

    .bme-logo-composite {
        width: 200px;
        height: 200px;
    }



    .fields-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .about-bme-section {
        padding: 80px 20px 60px;
    }

    .our-fields-section {
        padding: 60px 20px 80px;
    }

    .about-bme-heading,
    .fields-heading {
        font-size: clamp(32px, 8vw, 48px);
    }

    .about-bme-text {
        padding: 30px 22px;
    }

    .bme-logo-composite {
        width: 160px;
        height: 160px;
    }



    .field-card {
        padding: 35px 25px;
    }

    .field-icon-wrap {
        width: 65px;
        height: 65px;
    }

    .field-icon-wrap i {
        font-size: 26px;
    }
}

/* ===== EVENT HIGHLIGHTS IMAGE GRID ===== */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 10;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.highlight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    transition: all 0.4s ease;
}

.highlight-overlay h4 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    margin: 0;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 0, 92, 0.25), 0 10px 30px rgba(0, 0, 0, 0.4);
}

.highlight-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

.highlight-card:hover .highlight-overlay {
    background: linear-gradient(to top, rgba(255, 0, 92, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-pink), var(--soft-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.highlight-card:hover::before {
    opacity: 1;
}

/* ===== HIGHLIGHT POPUP MODAL ===== */
.highlight-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.highlight-popup-overlay.show {
    display: block;
}

.highlight-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    z-index: 10000;
    max-width: 750px;
    width: 90%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--space-dark, #020308);
    border: 2px solid rgba(126, 250, 255, 0.2);
    box-shadow: 0 0 60px rgba(126, 250, 255, 0.15), 0 0 100px rgba(255, 0, 92, 0.1);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.highlight-popup.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.highlight-popup img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.highlight-popup h3 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    padding: 20px;
    margin: 0;
    background: linear-gradient(135deg, rgba(255, 0, 92, 0.1), rgba(126, 250, 255, 0.05));
    text-shadow: 0 0 15px rgba(255, 0, 92, 0.3);
}

.highlight-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 26px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.highlight-popup-close:hover {
    background: rgba(255, 0, 92, 0.7);
    transform: rotate(90deg) scale(1.1);
}

/* ===== RESPONSIVE — Highlight Grid ===== */
@media (max-width: 768px) {
    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .highlight-overlay h4 {
        font-size: 17px;
    }

    .highlight-popup h3 {
        font-size: 18px;
        padding: 15px;
    }
}