/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html {
    scroll-behavior: smooth;
}

body {
    background: #1C1C1C; /* Dark Gray background /
color: #F5F5F5; / Light gray text */
}

header {
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    background: transparent;   /* transparent on top */
    transition: background 0.3s ease, padding 0.3s ease;
    backdrop-filter: none;
    z-index: 1000;
}



header.scrolled {
    background: rgba(28,28,28,0.55);
    backdrop-filter: blur(10px);
    padding: 12px 50px;            /* slight shrink (optional) */
}

header .logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #61C2A2;
}

header .logo img {
    width: 100px;
}

header .logo a {
    color: #61C2A2;
    text-decoration: none;
}

header nav a {
    position: relative;
    margin-left: 30px;
    color: #F5F5F5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 6px;
}


header nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #61C2A2;
    border-radius: 10px;
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 60%;   /* adjust thickness of underline */
}

/* ------------------------- */
/* MOBILE MENU BUTTON (F1)  */
/* ------------------------- */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2000;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: #61C2A2;
    border-radius: 5px;
    transition: 0.3s ease;
    box-shadow: 0 0 6px rgba(97,194,162,0.7);
}

/* X Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}



/* ------------------------- */
/* MOBILE NAV MENU (F1)      */
/* ------------------------- */

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 65%;
    height: 100%;
    background: rgba(15,15,15,0.92);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    padding-top: 120px;
    padding-left: 30px;
    transition: right 0.35s ease;
    z-index: 1500;
    border-left: 2px solid rgba(97,194,162,0.3);
}

/* Slide-in */
.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    color: #F5F5F5;
    text-decoration: none;
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-left: 10px;
    transition: 0.3s ease;
}

/* F1 hover line */
.mobile-nav a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 0%;
    background: #61C2A2;
    transition: 0.3s ease;
}

.mobile-nav a:hover::before {
    height: 100%;
}

.mobile-nav a:hover {
    color: #61C2A2;
}



/* ------------------------- */
/* RESPONSIVE BREAKPOINT     */
/* ------------------------- */

@media (max-width: 850px) {
    nav {
        display: none; /* hides desktop nav */
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 150px 60px 80px;
}

.hero-text h1 {
    font-size: 80px;
    line-height: 130px;
    font-weight: 900;
}

.hero-text h1 span {
    color: #61C2A2;
}

.hero-text p {
    font-size: 20px;
    margin: 20px 0;
    color: white;
}

.hero-car img {
    width: 650px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ================================
   HERO RESPONSIVE DESIGN
================================ */

/* Tablets (max-width: 1103px) */
@media (max-width: 1103px) {
    .hero {
        padding: 120px 40px 60px;
    }

    .hero-text h1 {
        font-size: 60px;
        line-height: 105px;
    }

    .hero-car img {
        width: 520px;
    }
}

@media (max-width: 497px) {
    .hero-text h1 {
        font-size: 10vw;
    }
}

/* Mobile Landscape / Small Tablets (max-width: 768px) */
@media (max-width: 870px) {
    .hero {
        margin-top: 50px;
        flex-direction: column;
        text-align: center;
        padding: 100px 30px 60px;
    }

    .hero-text h1 {
        font-size: 90px;
        line-height: 85px;
    }

    .hero-text p {
        font-size: 18px;
        margin: 15px 0 25px;
    }

    .hero-car img {
        width: 420px;
        margin-top: 20px;
    }
}

/* Mobile Portrait (max-width: 480px) */
@media (max-width: 480px) {
    .hero {
        padding: 80px 20px 50px;
    }

    .hero-text h1 {
        font-size: 65px;
        line-height: 60px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 16px;
    }

    .hero-car img {
        width: 320px;
    }
}

/* Extra-small screens (max-width: 360px) */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 55px;
        line-height: 50px;
    }

    .hero-car img {
        width: 270px;
    }
}

.btn {
    padding: 12px 25px;
    background: #61C2A2;
    color: #1C1C1C;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #6D8B85;
}

/* Mission Section */
.mission {
    padding: 120px 60px;
    color: #fff;
    position: relative;
}

.mission-container {
    max-width: 1100px;
    margin: auto;
}

.mission-text {
    text-align: center;
    margin-bottom: 40px;
}

.mission h2 {
    font-size: 3.2rem;
    color: #61C2A2;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mission p {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 900px;
    margin: auto;
}

.highlight {
    color: #61C2A2;
    font-weight: bold;
}

/* Stats Section */
.mission-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.stat-box {
    background: rgba(97,194,162,0.08);
    padding: 30px 40px;
    border-radius: 12px;
    border-left: 4px solid #61C2A2;
    width: 220px;
    transition: 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
    background: rgba(97,194,162,0.14);
    box-shadow: 0 0 20px rgba(97,194,162,0.3);
}

.stat-box h3 {
    font-size: 2.6rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #61C2A2;
    letter-spacing: 1px;
}

.stat-box p {
    margin: 0;
    color: #ddd;
}

.stat-icon {
    font-size: 2.8rem;
    color: #61C2A2;
    margin-bottom: 15px;
    display: block;
    transition: 0.3s ease;
}

.stat-box:hover .stat-icon {
    transform: scale(1.15);
}

.icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 12px;
    background: 
        repeating-linear-gradient(
            45deg,
            #111 0px,
            #111 4px,
            #0d0d0d 4px,
            #0d0d0d 8px
        ); /* carbon fiber pattern */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 2px solid #1d1d1d;
    transition: 0.3s ease;
}

/* F1 diagonal angle cut */
.icon-wrap::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: linear-gradient(
        135deg,
        rgba(97, 194, 162, 0.25),
        transparent 70%
    );
    transform: rotate(15deg);
    transition: 0.4s ease;
    opacity: 0;
}

.stat-icon {
    font-size: 2.2rem;
    color: #61C2A2;
    z-index: 2;
    transition: 0.3s ease;
    filter: drop-shadow(0 0 4px #61C2A2);
}

/* Hover Effects — Telemetry Pulse */
.stat-box:hover .icon-wrap {
    transform: scale(1.08);
    border-color: #61C2A2;
    box-shadow: 0 0 15px rgba(97, 194, 162, 0.6);
}

.stat-box:hover .icon-wrap::before {
    opacity: 1;
}

.stat-box:hover .stat-icon {
    transform: scale(1.18);
    filter: drop-shadow(0 0 8px #61C2A2);
}

@media (max-width: 1024px) {
    .mission {
        padding: 100px 40px;
    }

    .mission-stats {
        gap: 35px;
    }

    .stat-box {
        width: 200px;
        padding: 25px 30px;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .icon-wrap {
        width: 70px;
        height: 70px;
    }

    .stat-box h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .mission {
        padding: 80px 30px;
    }

    .mission p {
        font-size: 1rem;
    }

    .mission-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-box {
        width: 100%;
        padding: 22px 28px;
        text-align: center;
    }

    .icon-wrap {
        width: 65px;
        height: 65px;
    }

    .stat-box h3 {
        font-size: 2rem;
    }

    .stat-box p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .mission {
        padding: 70px 20px;
    }

    .mission h2 {
        font-size: 2.3rem;
    }

    .mission p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .mission-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-box {
        width: 100%;
        padding: 20px 24px;
    }

    .icon-wrap {
        width: 60px;
        height: 60px;
    }

    .stat-icon {
        font-size: 1.8rem;
    }

    .stat-box h3 {
        font-size: 1.8rem;
    }

    .stat-box p {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .mission h2 {
        font-size: 2rem;
    }

    .icon-wrap {
        width: 55px;
        height: 55px;
    }

    .stat-box h3 {
        font-size: 1.6rem;
    }
}

/* CAR SECTION */
.car-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 60px;
    gap: 60px;
}

.car-info {
    flex: 1;
    max-width: 550px;
}

.car-info h2 {
    color: #61C2A2;
    font-size: 48px;
    margin-bottom: 20px;
}



.car-info p {
    line-height: 1.7;
    color: white;
    margin-bottom: 30px;
    font-size: 17px;
}

/* Car Details Grid */
.car-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.car-details h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #61C2A2;
}

/* Car Image */
.car-image img {
    width: 650px;
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    animation: float 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1000px) {
    .car-section {
        flex-direction: column;
        text-align: center;
    }

    .car-details {
        grid-template-columns: 1fr;
    }
}

/* WHO WE ARE */
.who-we-are {
    padding: 140px 60px;
    background: #1C1C1C; /* Keep dark muted theme */
}

.who-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.who-text {
    flex: 1;
    color: white;
}

.who-text h2 {
    font-size: 55px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #61C2A2;
}

.who-text p {
    line-height: 1.8;
    font-size: 17px;
    margin-bottom: 18px;
    max-width: 650px;
}

.who-image {
    flex: 1;
}

.who-image img {
    width: 100%;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

/* --- WHO WE ARE SLIDER --- */

/* SLIDER WRAPPER */
.who-slider {
    position: relative;
    width: 90%;
    max-width: 520px;    /* 💚 Perfect balanced width */
    margin: 0 auto;
}

/* WINDOW SHOWING ONE CARD */
.slider-window {
    overflow: hidden;
    width: 100%;
    border-radius: 20px;
}

/* FLEX TRACK MOVING HORIZONTALLY */
.slider-track {
    display: flex;
    transition: transform 0.6s ease;
}

/* MEMBER CARD INSIDE SLIDER */
.slider-track .member-card {
    min-width: 100%;
    background: #2A2A2A;
    padding: 25px;
    border-radius: 18px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.08);
}

.slider-track .member-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 14px;
    object-position: 50% 15%; /* <-- ADJUST THIS VALUE */

}

/* LEFT/RIGHT BUTTONS */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1DCFA5;
    border: none;
    color: white;
    font-size: 22px;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s ease;
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.left-btn { left: -18px; }
.right-btn { right: -18px; }

/* Mobile */
@media (max-width: 1000px) {
    .who-slider {
        max-width: 100%;
    }
}


/* Responsive */
@media (max-width: 1000px) {
    .who-container {
        flex-direction: column;
        text-align: center;
    }

    .who-text p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* TEAM SECTION */
.team {
    padding: 120px 60px;
    text-align: center;
}

.team h2 {
    font-size: 55px;
    margin-bottom: 50px;
    font-weight: 800;
    color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

/* MEMBER CARD */
.member-card {
    background: #2A2A2A; / dark gray instead of blue */;
    padding: 25px;
    border-radius: 18px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.member-card:hover {
    transform: translateY(-10px);
    background: #3A3A3A;
    border: 1px solid #61C2A2;
}

.member-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 15px;
}

.member-card h3 {
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 700;
    color: white;
}

.member-card p {
    color: #61C2A2;
    font-size: 15px;
    font-weight: 500;
}

/* DriftX footer styles - add near bottom of your stylesheet */
/* Palette */
:root {
  --dx-bg: #1C1C1C;
  --dx-accent: #61C2A2;
  --dx-accent-2: #6D8B85;
  --dx-light: #F5F5F5;
  --dx-muted: #b8b8b8;
}

/* Separator above footer */
.footer-sep {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  margin: 40px 0 0;
}

/* Main footer wrapper */
.driftx-footer {
  background: var(--dx-bg);
  color: #fff;
  padding: 48px 32px 24px;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  border-top: 1px solid rgba(255,255,255,0.03);
}

/* Inner grid */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 380px 220px;
  gap: 32px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Columns */
.footer-col { color: var(--dx-light); }

.footer-left .footer-logo {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
}

/* Contact under logo */
.footer-contact h4 {
  font-size: 13px;
  color: var(--dx-accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-left .footer-logo {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
}

/* Footer logo safe sizing (scoped only to footer) */
.driftx-footer .footer-logo img {
  width: 180px;          /* perfect desktop size */
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(97,194,162,0.25));
}

/* Tablet */
@media (max-width: 1000px) {
  .driftx-footer .footer-logo img {
    width: 160px;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .driftx-footer .footer-logo img {
    width: 140px;
  }
}


.footer-contact address { font-style: normal; color: var(--dx-muted); font-size: 14px; line-height: 1.6; }
.footer-contact .contact-row a { color: var(--dx-light); text-decoration: none; transition: color .18s; }
.footer-contact .contact-row a:hover { color: var(--dx-accent); }

/* CENTER - quick links */
.footer-center h4 { display: none; } /* hidden heading above for accessibility if needed */
.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links ul li {
  margin: 10px 0;
  opacity: 0;
  transform: translateX(-24px);
  transition: transform .45s cubic-bezier(.2,.9,.2,1), opacity .45s ease;
}

/* stagger delays */
.quick-links.in-view ul li:nth-child(1){ transition-delay: 0.04s; }
.quick-links.in-view ul li:nth-child(2){ transition-delay: 0.08s; }
.quick-links.in-view ul li:nth-child(3){ transition-delay: 0.12s; }
.quick-links.in-view ul li:nth-child(4){ transition-delay: 0.16s; }
.quick-links.in-view ul li:nth-child(5){ transition-delay: 0.20s; }
.quick-links.in-view ul li:nth-child(6){ transition-delay: 0.24s; }
.quick-links.in-view ul li:nth-child(7){ transition-delay: 0.28s; }

/* When area becomes visible, slide them in */
.quick-links.in-view ul li {
  opacity: 1;
  transform: translateX(0);
}

/* link look */
.quick-links ul li a {
  color: var(--dx-light);
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  padding: 6px 0;
  transition: color .18s, transform .18s;
}

.quick-links ul li a:hover {
  color: var(--dx-accent);
  transform: translateX(6px);
}

/* RIGHT - socials */
.footer-right h4 {
  font-size: 13px;
  color: var(--dx-accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.social {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  color: var(--dx-light);
  text-decoration: none;
  transition: background .18s, color .18s, transform .12s;
}

.social svg { display:block; width:20px; height:20px; }

.social:hover {
  color: var(--dx-bg);
  transform: translateY(-3px);
}

/* Footer bottom row */
.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.03);
  text-align: center;
  color: var(--dx-muted);
  font-size: 13px;
}

/* small accessibility helper */
.visually-hidden { position: absolute !important; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Responsive */
@media (max-width: 1000px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-right { order: 3; grid-column: 1 / -1; margin-top: 18px; }
  .footer-bottom { margin-top: 20px; }
}

@media (max-width: 680px) {
  .footer-inner { grid-template-columns: 1fr; gap: 18px; padding: 0 12px; }
  .footer-right { grid-column: 1 / -1; }
  .footer-contact address { font-size: 15px; }
  .footer-contact, .footer-right, .footer-left { text-align: left; }
  .socials { justify-content: flex-start; }
}

.social img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: filter .2s ease;
}

.social:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(97,194,162,.6));
}

/* Make contact info more readable */
.footer-contact address {
  font-size: 15.5px;       /* was 14px */
  line-height: 1.8;
  letter-spacing: 0.2px;
}

.footer-contact .contact-row {
  margin-bottom: 6px;
}

/* Phone & email a bit bolder */
.footer-contact .contact-row a {
  font-weight: 500;
}

/* Mobile polish */
@media (max-width: 680px) {
  .footer-contact address {
    font-size: 16px;
  }
}

.events-page {
  --dx-light: #F5F5F5;
  --dx-turq:  #61C2A2;
  --dx-muted: #6D8B85;
  --dx-dark:  #1C1C1C;

  --card-radius: 12px;
  --glass-shadow: 0 8px 30px rgba(28,28,28,0.18);
  --ease: cubic-bezier(.2,.9,.26,1);
}

/* Section wrapper */
.events-page .events-wrap {
  margin: 0 auto;
  width: 100%;
  padding: 20px 50px;
  display: grid;
  gap: 36px;
}

@media (max-width: 475px) {
    .events-page .events-wrap {
        padding: 20px 15px;
    }
}

/* Cards row */
.events-page .cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Single card */
.events-page .event-card {
  background: var(--dx-dark);
  color: var(--dx-light);
  padding: 26px;
  border-radius: var(--card-radius);
  box-shadow: 0 18px 40px rgba(1,1,1,0.35);
  border-left: 6px solid #363D3D;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(0);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.events-page .event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(1,1,1,0.35);
}
.events-page .event-card h3 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.2px;
}
.events-page .event-card p {
  margin: 0;
  margin-top: 20px;
  color: var(--dx-light);
  line-height: 1.45;
  font-size: 1.2rem;
}

/* Buttons */
.events-page .row-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.events-page .btn-register {
  background: linear-gradient(180deg,var(--dx-turq),var(--dx-muted));
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 18px rgba(97,194,162,0.14);
  font-size: 1rem;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

@media (max-width: 475px) {
    .events-page .btn-register {
        font-size: 0.8rem;
    }

    .events-page .btn-go-karting {
        font-size: 0.7rem;
    }
}

.events-page .btn-outlined {
  background: transparent;
  color: var(--dx-dark);
  border: 2px solid rgba(28,28,28,0.06);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.events-page .btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(97,194,162,0.20);
}
.events-page .btn-outlined:hover {
  transform: translateY(-2px);
}

/* Forms container */
.events-page .forms {
  display: grid;
  gap: 20px;
}

/* Hidden utility */
.events-page .hidden {
  display: none !important;
}

/* Form panel */
.events-page .form-panel {
  background: rgba(255,255,255,0.02);
  border-radius: var(--card-radius);
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 12px 30px rgba(3,18,33,0.6);
  overflow: hidden;
  transition: transform 320ms var(--ease), opacity 300ms var(--ease);
}

.events-page .form-panel.active {
  display: block;
  animation: pop 320ms var(--ease);
  border-left: 6px solid var(--dx-turq);
}

@keyframes pop {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Form layout */
.events-page .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.events-page .form-grid.full {
  grid-template-columns: 1fr;
}

.events-page label {
  display: block;
  font-size: 13px;
  color: var(--dx-light);
  margin-bottom: 6px;
  font-weight: 600;
}

.events-page .input,
.events-page select,
.events-page textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  color: var(--dx-light);
  font-size: 14px;
  outline: none;
  transition: box-shadow 160ms var(--ease),
              border-color 160ms var(--ease),
              transform 160ms var(--ease);
}

.events-page .input:focus,
.events-page select:focus,
.events-page textarea:focus {
  box-shadow: 0 8px 20px rgba(97,194,162,0.12);
  border-color: var(--dx-turq);
  transform: translateY(-2px);
}

/* Helpers */
.events-page .small-help {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: -8px;
  margin-bottom: 8px;
}

.events-page .form-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

.events-page .btn-submit {
  background: var(--dx-turq);
  color: #07121a;
  padding: 10px 16px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(97,194,162,0.14);
}

.events-page .btn-close {
  background: transparent;
  color: var(--dx-light);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* Popup */
.events-page .popup {
  position: fixed;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  background: rgba(10,10,10,0.95);
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  font-weight: 600;
}

/* Notes */
.events-page .note {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}

/* Responsive */
@media (max-width:900px) {
  .events-page .cards {
    grid-template-columns: 1fr;
  }
  .events-page .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-content option {
    color: black;
}

:root{
  --dx-bg: #0e1214;
  --dx-card: #0f1314;
  --dx-turq: #61C2A2;
  --dx-mid: #6D8B85;
  --dx-light: #F5F5F5;
  --dx-dark: #1C1C1C;
  --accent: linear-gradient(135deg, #61C2A2 0%, #1C1C1C 100%);
  --radius: 14px;
}

:root{
  --tier-bronze: linear-gradient(135deg, #b08d57, #8a6a3d);
  --tier-silver: linear-gradient(135deg, #bfc7ce, #8f9aa5);
  --tier-gold: linear-gradient(135deg, #f5c76a, #c99a2e);
  --tier-platinum: linear-gradient(135deg, #7ae6c5, #3aa889);
}


/* sponsorship-container utility */
.sponsorship-container{ max-width: 1180px; margin: 0 auto; padding: 40px 20px; }

/* HERO */
.sponsors-hero{ 
    background: transparent;
    padding: 48px 0 24px; 
}

.sponsors-hero .sponsorship-container{ 
    display:flex; 
    gap: clamp(24px,3vw,48px); 
    font-size: 1.2rem;
    align-items:start; 
}

.hero-left{ 
    flex:1; 
    max-width:680px;
     }

.hero-right{ 
    width:360px; 
    display:flex; 
    align-items:flex-start; 
    justify-content:flex-end; 
}

/* Headline + lead */
.sponsors-hero h1{ 
    font-size: clamp(28px,3.2vw,40px); 
    margin-bottom:12px; 
    color:var(--dx-light); 
}

.lead{ color: #dbe9e4; 
    margin-bottom:18px; 
    line-height:1.45; 
}

/* benefits list */
.benefits-list{ list-style:none; 
    padding-left:0; 
    margin: 18px 0 20px; 
    display:grid; 
    gap:10px; 
    color:#d0e6de; 
}

.benefits-list li{ 
    background: rgba(255,255,255,0.02);
    padding:10px 12px;
    border-radius:8px;
    font-size:15px;
}

/* Buttons */
.btn{ 
    display:inline-block; 
    text-decoration:none; 
    padding:10px 16px; 
    border-radius:10px; 
    font-weight:600; 
}

.btn.primary{ 
    background:var(--dx-turq);
    color:var(--dx-dark); 
    box-shadow: 0 8px 20px rgba(97,194,162,0.09);
}

.btn.ghost{ 
    background:transparent; 
    color:var(--dx-light); 
    border:1px solid rgba(255,255,255,0.06); 
    margin-left:10px; 
}

.btn.ghost:hover {
    color: #1c1c1c;
    background: #6D8B85;
}

/* details expense — enhanced */
.expense-toggle{ 
    margin-top: 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.015);
    transition: background 260ms ease, box-shadow 260ms ease;
}

.expense-toggle[open]{ 
    background: rgba(97,194,162,0.04);
    box-shadow: 0 10px 28px rgba(2,6,8,0.6);
}

/* summary */
.expense-toggle summary{ 
    cursor: pointer; 
    color: #cfeee6; 
    font-weight: 600; 
    padding: 14px 16px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

/* remove default marker */
.expense-toggle summary::-webkit-details-marker{ 
    display: none; 
}

/* custom arrow */
.expense-toggle summary::after{ 
    content: "›";
    font-size: 20px;
    transform: rotate(0deg);
    transition: transform 300ms cubic-bezier(.2,.9,.2,1);
    opacity: 0.7;
}

/* rotate arrow when open */
.expense-toggle[open] summary::after{ 
    transform: rotate(90deg);
}

/* hover micro-interaction */
.expense-toggle summary:hover{ 
    color: #e6f7f2;
}

/* animated container trick */
.expense-summary{ 
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 380ms cubic-bezier(.2,.9,.2,1);
    padding: 0 16px;
}

/* expand */
.expense-toggle[open] .expense-summary{ 
    grid-template-rows: 1fr;
    padding-bottom: 16px;
}

/* inner content animation */
.expense-summary > *{ 
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 260ms ease, transform 260ms ease;
}

/* when open, reveal content */
.expense-toggle[open] .expense-summary > *{ 
    opacity: 1;
    transform: translateY(0);
}

/* actual content styling */
.expense-summary ul{ 
    margin-top: 12px;
    background: rgba(255,255,255,0.02);
    padding: 12px;
    border-radius: 8px;
    color: #d6eee8;
}

.expense-summary .small{ 
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.8;
    color: #f5f5f5;
}


/* Tier preview (right column small cards) */
.tier-preview{ 
    display:flex; 
    flex-direction:column; 
    gap:14px; 
    width:100%; 
}

.tier-card{ 
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-radius:12px; 
    overflow:hidden; 
    box-shadow: 0 10px 30px rgba(2,6,8,0.6); 
    padding:14px;
    display:flex; 
    flex-direction:column; 
    gap:12px; 
}

.tier-card .btn.primary{
    background: transparent;
    color: #061010;
    box-shadow: 0 10px 26px rgba(0,0,0,0.35);
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.tier-card .btn.primary:hover{
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 14px 32px rgba(0,0,0,0.45);
}


.tier-card .tier-flag{ 
    font-weight:700; 
    font-size:13px; 
    background: rgba(0,0,0,0.18); 
    padding:6px 8px; 
    border-radius:8px; 
    color: #f5f5f5; 
    display:inline-block; 
}

.tier-card .tier-price{ 
    font-weight:800; 
    margin-top:6px; 
    color:var(--dx-light); 
}

.tier-card ul{ 
    margin:8px 0 10px; 
    padding-left:18px; 
    color:#dfeee8; 
    font-size:14px; 
}

.btn.small{ 
    padding:8px 12px; 
    font-size:13px; 
}

.sponsorship-container h2 {
 color: #f5f5f5;
}

/* WHY PARTNER grid */
.sponsors-benefits{ 
    padding:46px 0; 
    border-top:1px solid rgba(255,255,255,0.03);
    font-size: 1.2rem;
}

.narrow{ 
    max-width:920px; 
    margin:0 auto; 
}

.benefits-grid{ 
    display:grid; 
    grid-template-columns:repeat(2,1fr); 
    gap:18px; 
    margin-top:18px; 
}

.benefit{ 
    background: rgba(255,255,255,0.02);
    padding:18px;
    border-radius:12px;
    color:#d8efe7;
}

.benefit h4{ 
    color:var(--dx-light); 
    margin-bottom:8px; 
}

/* TIERS grid (pricing cards) */
.sponsor-tiers{ 
    padding:48px 0; 
}

.section-title{ 
    color:var(--dx-light); 
    margin-bottom:18px; 
    font-size:28px; 
}

.tiers-grid{ 
    display:grid; 
    grid-template-columns:repeat(2,1fr); 
    gap:18px; 
}

/* full-sized tier card (like pricing cards from screenshot) */
.tier-card.full{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:18px; padding:22px; box-shadow: 0 18px 40px rgba(2,6,8,0.65);
  display:flex; flex-direction:column; gap:18px;
  border: 1px solid rgba(255,255,255,0.03);
}

.tier-card.full .tier-card-header{ 
    display:flex; 
    justify-content:space-between; 
    align-items:center; 
}

.tier-name{ 
    font-weight:800; 
    color:var(--dx-light);
}

.tier-price{ 
    background: linear-gradient(90deg,#61C2A2,#6D8B85); 
    color:#061010; 
    padding:6px 10px; 
    border-radius:10px; 
    font-weight:800; 
}

.tier-features{ 
    list-style:none; 
    padding:0; 
    margin:0; 
    color:#d7eee7; 
    display:grid; 
    gap:8px; 
}

.tier-features li::before{ 
    content:"✔";
     margin-right:8px; 
     color:var(--dx-turq); 
     font-weight:700; 
 }

/* card footer */
.tier-card.full .tier-card-footer{ 
    display:flex; 
    gap:12px; 
    align-items:center; 
}

.tier-bronze .btn.primary{
    background: var(--tier-bronze);
}

.tier-silver .btn.primary{
    background: var(--tier-silver);
}

.tier-gold .btn.primary{
    background: var(--tier-gold);
}

.tier-platinum .btn.primary{
    background: var(--tier-platinum);
}


/* Platinum highlight */
.tier-platinum{ 
    background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(97,194,162,0.03)); 
    border: 1px solid rgba(97,194,162,0.08);
     }


/* Reveal animation baseline (initially hidden) */
.reveal{ 
    opacity:0; 
    transform: translateY(18px) scale(0.995); 
    transition: opacity 520ms cubic-bezier(.2,.9,.2,1), transform 520ms cubic-bezier(.2,.9,.2,1); will-change: transform, opacity;
     }

/* When JS toggles 'visible' class */
.reveal.visible{ 
    opacity:1; 
    transform: translateY(0) scale(1); 
}

/* Contact CTA */
.sponsor-contact{ 
    padding:36px 0 80px; 
    background: linear-gradient(180deg, rgba(0,0,0,0.02), transparent);
     }

    @media (min-width: 767px) {
        .sponsor-contact {
            font-size: 1.2rem;
        }
    } 

.sponsor-contact h3{ 
    color:var(--dx-light); 
    margin-bottom:8px;
     }

     .sponsor-contact p{ 
    color:var(--dx-light); 
    margin-bottom:20px;
     }


    /* Responsiveness */
    @media (max-width: 900px){
      .sponsors-hero .sponsorship-container{ 
        flex-direction: column-reverse;
         }

      .hero-right{ 
        order: -1; 
        width:100%; 
        display:block; 
    }

      .tiers-grid{ 
        grid-template-columns:1fr; 
    }

      .benefits-grid{ 
        grid-template-columns:1fr; 
    }
}

/* Subtle vibration attention animation */
@keyframes vibrate {
  0%   { transform: translateX(0); }
  2%   { transform: translateX(-1px) rotate(-0.9deg); }
  4%   { transform: translateX(1px) rotate(0.9deg); }
  6%   { transform: translateX(-1px) rotate(-0.9deg); }
  8%   { transform: translateX(1px) rotate(0.9deg); }
  10%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}

.pulse-vibrate{
  animation: vibrate 5s ease-in-out infinite;
  will-change: transform;
}

/* Pause vibration on hover */
.pulse-vibrate:hover{
  animation-play-state: paused;
}

@keyframes glow {
  0%   { box-shadow: 0 0 0 rgba(161,188,169,0); }
  50%  { box-shadow: 0 0 18px rgba(161,188,169,0.35); }
  100% { box-shadow: 0 0 0 rgba(161,188,169,0); }
}

.pulse-vibrate{
  animation:
    vibrate 5s ease-in-out infinite,
    glow 5s ease-in-out infinite;
}

.dx-car-section {
  padding: 140px 10%;
  background: radial-gradient(circle at top, #0b0f1f, #05070f);
  color: white;
  overflow: hidden;
}

.dx-car-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dx-tag {
  color: #00ffd5;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.dx-car-text h2 {
  font-size: 72px;
  margin: 10px 0;
  letter-spacing: 2px;
}

.dx-sub {
  color: #00ffd5;
  margin-bottom: 20px;
}

.dx-desc {
  opacity: .8;
  max-width: 460px;
}

.dx-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.dx-stat {
  background: rgba(255,255,255,.05);
  padding: 16px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.dx-stat span {
  font-size: 12px;
  opacity: .7;
}

.dx-stat strong {
  display: block;
  font-size: 20px;
  margin-top: 6px;
}

.dx-car-visual {
  position: relative;
}

.dx-car-visual img {
  width: 100%;
  animation: floatCar 4s ease-in-out infinite;
  z-index: 2;
  position: relative;
}

.dx-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, #00ffd555, transparent 70%);
  filter: blur(60px);
  z-index: 1;
}

@keyframes floatCar {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@media(max-width:900px){
  .dx-car-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.dx-team-cinematic {
  background: #1C1C1C;
  color: #F5F5F5;
  padding: 120px 6%;
}

.dx-team-wrap { max-width: 1200px; margin: auto; }

.dx-team-main-title {
  font-size: 42px;
  text-align: center;
  margin-bottom: 10px;
}

.dx-team-main-sub {
  text-align: center;
  color: #bcbcbc;
  margin-bottom: 90px;
}

.dx-member-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin: 70px 0;
  opacity: 0;
  transform: translateY(60px);
  transition: 1s cubic-bezier(.16,.9,.3,1);
}

.dx-member-row.dx-inview { opacity: 1; transform: none; }

.dx-member-row img {
  width: 360px;
  height: 420px;              /* add a fixed height */
  object-fit: cover;          /* crop instead of stretch */
  object-position: 65% 20%;   /* move focus (X Y) */
  border-radius: 20px;
  filter: grayscale(.1);
  box-shadow: 0 30px 60px rgba(0,0,0,.7);
}


.dx-member-text h3 { font-size: 32px; margin-bottom: 8px; }
.dx-member-text span {
  color: #61C2A2;
  letter-spacing: 2px;
  font-size: 13px;
}

.dx-member-text p {
  max-width: 500px;
  line-height: 1.7;
  margin-top: 16px;
  color: #cfcfcf;
}

.dx-right { flex-direction: row-reverse; }

.team-hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #61C2A2, transparent);
  opacity: .35;
}

/* Mobile */
@media (max-width: 820px) {
  .dx-member-row, .dx-right {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .dx-member-text p { max-width: 100%; }
  .dx-team-main-title { font-size: 32px; }
}

.dx-mission {
  background: radial-gradient(circle at top, #1f1f1f, #121212);
  color: #f5f5f5;
  padding: 140px 6%;
}

.dx-mission-wrap {
  max-width: 900px;
  margin: auto;
}

.dx-mission-title {
  font-size: 42px;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

.dx-mission-text {
  font-size: 17px;
  line-height: 1.9;
  color: #cfcfcf;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
  animation-delay: .2s;
}

.dx-mission-text span {
  color: #61C2A2;
  font-weight: 500;
}

.dx-mission-highlight {
  margin-top: 70px;
  padding-left: 24px;
  border-left: 3px solid #61C2A2;
  font-size: 20px;
  color: #eaeaea;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: .4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .dx-mission-title { font-size: 32px; }
  .dx-mission-text { font-size: 16px; }
}

.dx-contact {
  background: radial-gradient(circle at top, #1e1e1e, #111);
  color: #f5f5f5;
  padding: 140px 6%;
}

.dx-contact-wrap {
  max-width: 1100px;
  margin: auto;
}

.dx-contact-header {
  text-align: center;
  margin-bottom: 90px;
}

.dx-contact-header h1 {
  font-size: 44px;
  margin-bottom: 14px;
}

.dx-contact-header p {
  color: #bcbcbc;
  max-width: 600px;
  margin: auto;
  line-height: 1.7;
}

.dx-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

/* Info panel */
.dx-contact-info h3,
.dx-contact-form h3 {
  font-size: 24px;
  margin-bottom: 30px;
}

.dx-contact-item {
  margin-bottom: 28px;
}

.dx-contact-item span {
  display: block;
  color: #61C2A2;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.dx-contact-item a,
.dx-contact-item p {
  color: #eaeaea;
  text-decoration: none;
}

.dx-socials a {
  margin-right: 16px;
  color: #eaeaea;
  text-decoration: none;
  position: relative;
}

.dx-socials a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #61C2A2;
  transition: .3s;
}

.dx-socials a:hover::after {
  width: 100%;
}

/* Form */
.dx-contact-form {
  background: rgba(255,255,255,.02);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,.6);
}

.dx-contact-form input,
.dx-contact-form select,
.dx-contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #333;
  padding: 14px 0;
  margin-bottom: 30px;
  color: #fff;
  font-size: 15px;
}

.dx-contact-form input:focus,
.dx-contact-form select:focus,
.dx-contact-form textarea:focus {
  outline: none;
  border-color: #61C2A2;
}

.dx-contact-form button {
  background: #61C2A2;
  color: #111;
  border: none;
  padding: 14px 32px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 30px;
  cursor: pointer;
  transition: .3s;
}

.dx-contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(97,194,162,.4);
}

/* Mobile */
@media (max-width: 900px) {
  .dx-contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .dx-contact-header h1 {
    font-size: 32px;
  }
}

/* Honeypot field – hidden from humans, visible to bots */
.hp-address {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#dx-toast {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.35s ease;
}

#dx-toast.show {
  opacity: 1;
}

#dx-toast .toast-box {
  background: rgba(20, 20, 20, 0.92);
  color: #f5f5f5;
  padding: 18px 26px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  font-weight: 500;
  max-width: 90%;
  text-align: center;
  transform: translateY(8px);
  transition: transform 0.35s ease;
}

#dx-toast.show .toast-box {
  transform: translateY(0);
}

.toast-success {
  border-left: 4px solid #61C2A2;
}

.toast-error {
  border-left: 4px solid #E76F51;
}
