


.about-hero 
    {
    height: 40vh;
    background: url("waxback.jpg") center center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}







@keyframes slideShow {
    0% {
        opacity: 0;
        transform: translateX(-40px) scale(1.1);
    }
    10% {
        opacity: 1;
        transform: translateX(0) scale(1.05);
    }
    30% {
        opacity: 1;
        transform: translateX(0) scale(1.05);
    }
    40% {
        opacity: 0;
        transform: translateX(40px) scale(1);
    }
    100% {
        opacity: 0;
    }
}

/* OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.6) 60%,
        rgba(0,0,0,0.85) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;        /* anchor text to bottom — editorial feel */
    align-items: center;
    z-index: 5;
    text-align: center;
    padding: 0 20px 50px;             /* bottom padding keeps text off the edge */
}

/* ACCENT LINE above h1 */
.hero-overlay::before {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background: #f4c430;
    border-radius: 2px;
    margin-bottom: 16px;
    position: absolute;
    bottom: 160px;                    /* sits above the heading */
}

.hero-overlay h1 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 6px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.hero-overlay h2 {
    color: #f4c430;
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.6;
}


/* =========================
   TABLET
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

    .about-hero {
        height: 50vh;
    }

    .hero-overlay {
        padding: 0 20px 40px;
    }

    .hero-overlay::before {
        bottom: 130px;
    }

    .hero-overlay h1 {
        font-size: 2.6rem;
        letter-spacing: 4px;
    }

    .hero-overlay h2 {
        font-size: 1rem;
        letter-spacing: 3px;
    }
}


/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

    .about-hero {
        height: 45vh;
    }

    .hero-overlay {
        padding: 0 16px 30px;
    }

    .hero-overlay::before {
        bottom: 105px;
        width: 35px;
        height: 3px;
    }

    .hero-overlay h1 {
        font-size: 1.8rem;
        letter-spacing: 3px;
        margin-bottom: 8px;
    }

    .hero-overlay h2 {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
}



/* =========================
   SCROLL REVEAL - BASE STATE
========================= */

.about-section,
.trust-section,
.venom-section,
.invest-section,
.training-section,
.home-blog-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* REVEALED STATE */
.show-section {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   SECTION LAYOUT
========================= */

.about-section{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:70px 8%;
    margin-bottom:40px;
    background:transparent;
    min-height:auto;
    opacity:0;
    transform:translateY(70px);
    transition:opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.2, 0.8, 0.2);
}

.about-section.show-section{
    opacity:1;
    transform:translateY(0);
    transition-timing-function:cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================
   SUPPORT LINK
========================= */

.support{
    color:inherit;
    text-decoration:none;
    transition:color 0.3s ease;
}

.support:hover{
    color:rgb(36, 36, 62);
}

/* =========================
   SECTION CARD
========================= */

.section-overlay{
    max-width:1000px;
    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(12px);
    padding:50px;
    text-align:center;
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

/* =========================
   TAGS
========================= */

.section-tag{
    color:#f97203;
    display:inline-block;
    padding:5px 12px;
    border-radius:20px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:12px;
}

/* =========================
   TEXT
========================= */

.section-overlay h2{
    font-size:2.6rem;
    margin-bottom:20px;
    color:#222;
}

.section-overlay p{
    line-height:1.8;
    color:#444;
    font-size:1.05rem;
}

/* =========================
   ICONS
========================= */

.section-icon{
    font-size:4px;
    color:#ff8c1a;
    margin-bottom:10px;
}

.blue-title{
    color:#1e73ff;
}

/* =========================
   BUTTONS
========================= */

.learn-btn,
.partner-btn{
    display:inline-block;
    margin-top:20px;
    padding:12px 26px;
    background:#ff8c1a;
    color:#000;
    text-decoration:none;
    border-radius:8px;
    font-weight:600;
    transition:0.3s ease;
}

.learn-btn:hover,
.partner-btn:hover{
    background:#000;
    color:#fff;
    transform:scale(1.05);
}

/* =========================
   IMPACT COUNTERS
========================= */

.impact-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
    gap:20px;
    margin:30px 0;
}

.counter h3{
    font-size:2.2rem;
    color:#ff8c1a;
}

.counter p{
    font-size:0.95rem;
    color:#444;
}

/* =========================
   INFO BLOCKS
========================= */

.info-block{
    margin-top:25px;
}

.info-block h3{
    margin-bottom:5px;
    color:#222;
}

.info-block p{
    color:#555;
}








/* =========================
   TABLET - max 1024px
========================= */

@media (min-width: 769px) and (max-width: 1024px){

    .about-hero{
        height: 45vh;
    }

    .hero-overlay h1{
        font-size: 3rem;
        letter-spacing: 3px;
    }

    .hero-overlay h2{
        font-size: 1.4rem;
    }

    .about-section{
        padding: 50px 6%;
    }

    .section-overlay{
        padding: 35px;
    }

    .section-overlay h2{
        font-size: 2rem;
    }

    .section-overlay p{
        font-size: 1rem;
    }
}


/* =========================
   MOBILE - max 768px
========================= */

@media (max-width: 768px){

    /* HIDE ENTIRE TOP BAR ON MOBILE */
    .top-bar{
        display: none;              /* ← clean, no top bar on mobile */
    }

    /* HERO */
    .about-hero{
        height: 20vh;
    }

    .hero-overlay h1{
        font-size: 2rem;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .hero-overlay h2{
        font-size: 1rem;
        letter-spacing: 1px;
        line-height: 1.5;
    }

    /* SECTIONS */
    .about-section{
        padding: 35px 5%;
        margin-bottom: 20px;
    }

    .section-overlay{
        padding: 25px 18px;
    }

    .section-overlay h2{
        font-size: 1.5rem;
        line-height: 1.35;
        margin-bottom: 14px;
    }

    .section-overlay p{
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* IMPACT GRID */
    .impact-grid{
        grid-template-columns: repeat(2, 1fr);   /* 2 counters per row */
        gap: 15px;
    }

    .counter h3{
        font-size: 1.6rem;
    }

    .counter p{
        font-size: 0.85rem;
    }

    /* BUTTONS */
    .learn-btn,
    .partner-btn{
        padding: 10px 20px;
        font-size: 14px;
    }
}


/* =========================
   DROPDOWN - DESKTOP
========================= */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    padding: 8px 0;
    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f4c430;
    color: #000;
}


/* =========================
   HAMBURGER - DESKTOP HIDDEN
========================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.35s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}


/* =========================
   MOBILE — max 768px
========================= */
@media (max-width: 768px) {

    /* HIDE TOP BAR */
    .top-bar {
        display: none;
    }

    /* NAVBAR */
    .navbar {
        padding: 0 20px;
        height: 70px;
    }

    .logo img {
        height: 50px;
        width: auto;
    }
    .logo span {
    margin-bottom: 5px;

    font-size: 10px;
    color: #ffd501;
    font-style: italic;
}

    /* SHOW HAMBURGER */
    .menu-toggle {
        display: flex;
    }

    /* MOBILE MENU PANEL */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 50vh;

        background: rgba(0, 0, 0, 0.97);
        border-radius: 0 0 10px 10px;

        flex-direction: column;
        justify-content: flex-start;
        align-items: center;

        padding-top: 15px;
        padding-left: 0;
        padding-right: 0;
        gap: 2px;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0;
        margin: 0;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links li a {
        font-size: 16px;
        font-weight: 500;
        padding: 10px 18px;
        color: white;
        display: inline-block;
        border-radius: 8px;
        transition: all 0.25s ease;
    }

    .nav-links li a:hover {
        background: rgba(255,255,255,0.08);
        transform: scale(1.05);
    }

    /* STAGGERED ANIMATION */
    .nav-links.active li:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0.05s; }
    .nav-links.active li:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.10s; }
    .nav-links.active li:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.15s; }
    .nav-links.active li:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.20s; }
    .nav-links.active li:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.25s; }
    .nav-links.active li:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:0.30s; }
    .nav-links.active li:nth-child(7) { opacity:1; transform:translateY(0); transition-delay:0.35s; }

    /* DROPDOWN MOBILE */
    .nav-links li.dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links li.dropdown > a {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        padding-left: 0;
        min-width: 100%;
        text-align: center;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        color: #fff !important;
        display: block;
        text-align: center;
        padding: 6px 0;
    }

    .contact-btn {
        padding: 12px 24px !important;
        border-radius: 30px !important;
        font-size: 15px !important;
    }
}


/* ACTIVE line */
.nav-links a.active {
    color: #ffffff;           /* keep text white and visible */
    position: relative;
    padding: 7px 11px;
    border-radius: 20px;
    background: transparent;  /* ← no background */
}

/* ANIMATED OUTLINE ONLY */
.nav-links a.active::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 2px solid #f4c430;
    animation: cycleOutline 1.5s linear infinite;
}

@keyframes cycleOutline {
    0% {
        clip-path: inset(0 100% 0 0);        /* starts from left */
    }
    25% {
        clip-path: inset(0 0 0 0);           /* fully visible */
    }
    50% {
        clip-path: inset(0 0 0 0);           /* hold */
    }
    75% {
        clip-path: inset(0 0 0 100%);        /* disappears to right */
    }
    100% {
        clip-path: inset(0 100% 0 0);        /* resets */
    }
}

/* REMOVE OLD UNDERLINE ON ACTIVE */
.nav-links a.active::after {
    display: none;
}
