@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #064e3b;
    /* Elite Emerald */
    --brand-green: #00b84a;
    /* Logo Green */
    --primary-light: #00d45a;
    --primary-dark: #012a20;
    --accent: #d4af37;
    /* Champagne Gold */
    --accent-light: #f59e0b;
    --slate: #1e293b;
    --dark: #0f172a;
    --gray-light: #f1f5f9;
    --gray-dark: #64748b;
    --gray-border: #e2e8f0;
    --white: #ffffff;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.85);
    --secondary: #00b84a;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--slate);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* CUSTOM SELECTION COLOR */
::selection {
    background: var(--accent);
    color: var(--white);
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-green);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.col-1 {
    width: 8.33%;
}

.col-2 {
    width: 16.66%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.33%;
}

.col-5 {
    width: 41.66%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.33%;
}

.col-8 {
    width: 66.66%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.33%;
}

.col-11 {
    width: 91.66%;
}

.col-12 {
    width: 100%;
}

.align-center {
    align-items: center;
}

/* PRELOADER: SVG DRAWING */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.svg-loader-wrap {
    width: 300px;
    height: 100px;
}

.svg-logo-draw text {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 800;
    letter-spacing: 5px;
    fill: transparent;
    stroke: var(--accent);
    stroke-width: 1.5;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLogo 2s cubic-bezier(0.5, 0, 0.5, 1) forwards, fillLogo 0.5s 2s forwards;
}

@keyframes drawLogo {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fillLogo {
    to {
        fill: var(--accent);
    }
}

/* HEADER */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
    background: transparent;
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 55px;
    width: auto;
    background: var(--white);
    border-radius: 50%;
    padding: 3px;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: -0.5px;
    font-weight: 800;
}

#main-header.scrolled .logo-text {
    color: var(--primary);
}

#navbar>ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

#navbar>ul>li>a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

#main-header.scrolled #navbar>ul>li>a {
    color: var(--slate);
}

#navbar>ul>li>a:hover,
#navbar>ul>li>a.active {
    color: var(--accent);
}

#navbar>ul>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

#navbar>ul>li>a:hover::after,
#navbar>ul>li>a.active::after {
    width: 100%;
}

/* DROPDOWN NAVIGATION */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 320px;
    width: max-content;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    z-index: 1000;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    margin: 0 !important;
    width: 100%;
}

.dropdown-menu li a {
    color: var(--slate) !important;
    padding: 12px 25px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: var(--transition);
    border-bottom: none !important;
}

.dropdown-menu li a::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    display: inline-block !important;
}

.dropdown-menu li a:hover {
    background: var(--gray-light);
    color: var(--primary) !important;
    padding-left: 30px !important;
}

.dropdown-menu li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* For Scrolled Header */
#main-header.scrolled .dropdown-menu {
    background: var(--white);
}

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

.lang-toggle {
    margin-left: 20px;
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
}

#main-header.scrolled .lang-toggle {
    color: var(--primary);
}

.lang-btn {
    cursor: pointer;
    padding: 2px 5px;
    opacity: 0.6;
}

.lang-btn.active {
    opacity: 1;
    color: var(--accent);
}

.lang-divider {
    margin: 0 5px;
}

/* RESPONSIVE HEADER FIXES */
@media (max-width: 1200px) {
    #navbar>ul {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .header-right {
        gap: 15px;
    }

    #navbar {
        display: none !important;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    [class*="col-"] {
        width: 100% !important;
    }

    .chairman-text {
        padding-left: 0 !important;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.1rem;
        /* Shrinks text to fit */
    }

    .nav-wrapper {
        padding: 0 10px;
    }

    /* Ensure the mobile toggle is always visible on the far right */
    .header-right {
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .logo-text {
        display: none;
    }

    .logo-img {
        height: 45px;
    }

    .header-right {
        gap: 10px;
    }
}

/* HERO */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 44, 34, 0.9) 30%, rgba(2, 44, 34, 0.4) 100%);
    z-index: 2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    animation: slowZoom 20s linear infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    color: var(--white);
    padding-left: 20px;
}

.hero-content .sub-title {
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-content h1 .accent {
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* BUTTONS */
.btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

/* SECTION HEADERS */
.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    letter-spacing: -1.5px;
}

.sub-title {
    color: var(--accent);
    letter-spacing: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.section-padding {
    padding: 120px 0;
}

.bg-light {
    background-color: var(--light);
}

.text-center {
    text-align: center;
}

/* ABOUT & VISIONS */
.vision-mission-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.vm-card {
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--gray-border);
    transition: var(--transition);
}

.vm-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    transform: translateY(-10px);
}

.vm-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
    display: inline-block;
}

.vm-card h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary);
}

/* ABOUT & CHAIRMAN */
.align-center {
    display: flex;
    align-items: center;
}

.chairman-img {
    border: 15px solid var(--white);
    box-shadow: var(--shadow);
    border-radius: 4px;
}

.chairman-img img {
    width: 100%;
    display: block;
}

.chairman-text p {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--gray-dark);
    line-height: 1.8;
}

.about-img {
    border: 10px solid var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
}

.about-img img {
    width: 100%;
    display: block;
}

/* STATS SECTION */
.stats {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item .count {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Playfair Display';
}

.stat-item p {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.7;
}


/* HQ STATUS WIDGET */
.hq-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.widget-body {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 25px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
}

.widget-body:hover {
    transform: translateY(-5px);
}

@media (max-width: 576px) {
    .hq-widget {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }

    .widget-body {
        justify-content: center;
        width: 100%;
    }
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dot-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.widget-time {
    font-weight: 600;
    color: var(--primary);
    border-left: 1px solid var(--gray-border);
    padding-left: 15px;
}

/* STRATEGIC POWERHOUSE GRID */
.powerhouse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.ph-card {
    height: 500px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
}

.ph-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.ph-card:hover .ph-img {
    transform: scale(1.1);
}

.ph-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(6, 78, 59, 0.95));
    color: var(--white);
    transform: translateY(100px);
    transition: var(--transition);
}

.ph-card:hover .ph-overlay {
    transform: translateY(0);
}

.ph-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.ph-overlay h4 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.ph-stats {
    list-style: none;
    margin-top: 20px;
    display: flex;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.ph-stats span {
    display: block;
    color: var(--accent);
    font-weight: 800;
}

/* COMMAND CENTER */
.command-center {
    background: #011611;
    height: 100vh;
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.command-center::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 184, 74, 0.05) 0%, transparent 70%);
    top: -50%;
    left: -50%;
    animation: slowRotate 30s linear infinite;
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ticker-box {
    margin-top: 50px;
}

.ticker-item {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid var(--accent);
}

.t-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

.t-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: 'Playfair Display';
}

.central-core {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-ring {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
}

.core-ring-1 {
    width: 100%;
    height: 100%;
    animation: spin 10s linear infinite;
    border-top-color: var(--accent);
}

.core-ring-2 {
    width: 80%;
    height: 80%;
    animation: spin 15s linear reverse infinite;
    border-bottom-color: var(--brand-green);
}

.core-ring-3 {
    width: 60%;
    height: 60%;
    animation: spin 8s linear infinite;
    border-left-color: var(--accent);
}

.core-icon {
    font-size: 4rem;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

/* PANORAMIC SCROLLER */
.journey-scroller {
    height: 300vh;
    /* Set height for scroll depth */
    position: relative;
    background: var(--primary-dark);
}

.journey-track {
    display: flex;
    width: 300vw;
    height: 100vh;
    position: sticky;
    top: 0;
    transition: transform 0.1s linear;
}

.journey-slide {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.4;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: var(--white);
}

.slide-year {
    font-size: 8rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    line-height: 1;
    display: block;
    margin-bottom: -20px;
}

.slide-content h3 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Micro-animations */
.venture-card:hover .v-content i::before {
    animation: iconShake 0.5s ease;
}

@keyframes iconShake {

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

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

/* Add some spacing for the new sections */
.exp-badge {
    padding: 20px;
    background: var(--primary);
    color: var(--white);
    margin-top: 20px;
    text-align: center;
    border-radius: 4px;
}

.exp-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

/* VENTURES */
.ventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.venture-card {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid var(--gray-border);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.venture-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent);
    transition: var(--transition);
}

.venture-card:hover::after {
    width: 100%;
}

.venture-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.v-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.v-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.venture-card:hover .v-img img {
    transform: scale(1.1);
}

.v-content {
    padding: 35px;
}

.v-content i {
    width: 50px;
    height: 50px;
    background: var(--gray-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition);
}

.venture-card:hover .v-content i {
    background: var(--primary);
    color: var(--white);
}

.v-content h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* MANAGEMENT */
/* MANAGEMENT */
.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.member-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
    border-radius: 20px;
    /* Softened the corners of the card */
    overflow: hidden;
    padding-top: 40px;
    /* Pushes the avatar down from the ceiling */
}

/* Centers the image container */
.member-img {
    display: flex;
    justify-content: center;
}

/* The new circular avatar styling */
.member-img img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gray-light);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

/* Adds a slight zoom effect on hover just like the main chart */
.member-card:hover .member-img img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px 20px 40px 20px;
    text-align: center;
}

.member-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.member-info p {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* CAREERS */
.career-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    margin-bottom: 15px;
    border-radius: 4px;
}

/* DOWNLOADS */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.download-item {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    text-align: center;
    border-radius: 4px;
}

.download-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

/* CONTACT */
.contact-box {
    background: var(--primary-dark);
    color: var(--white);
    padding: 100px 80px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--white);
}

.info-list i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 18px 25px;
    border-radius: 12px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

/* FOOTER */
.footer {
    background: #011611;
    color: var(--white);
    padding: 100px 0 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    /* Stacks items vertically */
    align-items: flex-start;
    /* Keeps them aligned to the left of the column */
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 250px;
    /* Slightly larger for the stacked layout */
    width: 250px;
    object-fit: cover;
    border-radius: 50%;
    /* Maintains the circular shape */
    background: var(--white);
    padding: 5px;
    box-shadow: var(--shadow-sm);
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.8rem;
    /* Adjusted for better proportions when stacked */
    color: var(--white);
    letter-spacing: 1px;
    display: block;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #d4af37;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
    color: var(--primary);
}

/* RESPONSIVE */
.mobile-toggle {
    display: none;
}

@media (max-width: 991px) {
    .contact-info {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    #navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(2, 44, 34, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: right 0.6s cubic-bezier(0.8, 0, 0.2, 1);
        z-index: 2000;
    }

    #navbar.show {
        right: 0;
    }

    #navbar ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    #navbar ul li {
        transform: translateY(30px);
        opacity: 0;
        transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.6s;
    }

    #navbar.show ul li {
        transform: translateY(0);
        opacity: 1;
    }

    /* Staggered delay */
    #navbar.show ul li:nth-child(1) {
        transition-delay: 0.1s;
    }

    #navbar.show ul li:nth-child(2) {
        transition-delay: 0.2s;
    }

    #navbar.show ul li:nth-child(3) {
        transition-delay: 0.3s;
    }

    #navbar.show ul li:nth-child(4) {
        transition-delay: 0.4s;
    }

    #navbar ul li a {
        color: var(--white) !important;
        font-size: 2.2rem;
        font-family: 'Playfair Display', serif;
        font-weight: 700;
        letter-spacing: 2px;
    }

    #navbar ul .dropdown-menu {
        position: relative;
        background: rgba(255, 255, 255, 0.98);
        margin-top: 0;
        min-width: unset;
        width: 100%;
        padding: 0;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
    }

    #navbar ul .dropdown.active .dropdown-menu {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        margin-top: 15px;
        padding: 10px 0;
    }

    #navbar ul .dropdown-menu li {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #navbar ul .dropdown-menu li a {
        color: var(--slate) !important;
        font-size: 1.1rem !important;
        font-family: 'Outfit', sans-serif !important;
        font-weight: 500 !important;
        letter-spacing: normal !important;
        justify-content: center !important;
        padding: 10px 15px !important;
    }

    #navbar ul .dropdown-menu li a::after {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 2100;
    }

    .mobile-toggle span {
        width: 100%;
        height: 3px;
        background: var(--white);
        transition: var(--transition);
    }

    #main-header.scrolled .mobile-toggle span {
        background: var(--primary);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
        background: var(--white) !important;
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
        background: var(--white) !important;
    }
}

/* =========================================================================
   ELITE ENHANCEMENTS & EXTENSIONS
   ========================================================================= */

/* DARK MODE THEME */
body.dark-mode {
    --primary: #1e3a2f;
    /* Darker muted emerald */
    --primary-dark: #0f241a;
    /* Deepest green variant */
    --slate: #e2e8f0;
    /* Soft white text */
    --gray-light: #162a22;
    /* Dark panel backgrounds */
    --gray-dark: #94a3b8;
    /* Subtle text */
    --gray-border: #1e3f31;
    /* Dark green borders */
    --border: #334155;
    --white: #0a1711;
    /* Deep almost-black base */
    --light: #0d1e16;
    /* Slightly lighter section base */
    --glass: rgba(10, 23, 17, 0.85);
}

/* Let images and other specific items maintain original appearance when possible */
body.dark-mode img {
    filter: brightness(0.9) contrast(1.1);
}

/* Adjust header in dark mode to not be overwhelmingly white */
body.dark-mode #main-header.scrolled {
    background: rgba(10, 23, 17, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ELITE DARK MODE CONTRAST FIXES */
body.dark-mode .section-header h2,
body.dark-mode .member-info h4,
body.dark-mode .vm-card h4,
body.dark-mode .chairman-info h4,
body.dark-mode .timeline-year,
body.dark-mode .widget-time,
body.dark-mode #hq-status,
body.dark-mode .logo-text {
    color: var(--slate) !important;
}

body.dark-mode .member-card,
body.dark-mode .vm-card,
body.dark-mode .career-item,
body.dark-mode .download-item,
body.dark-mode .timeline-content {
    background: var(--gray-light);
    border-color: var(--border);
}

body.dark-mode .widget-body {
    background: rgba(10, 23, 17, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .chairman-text p {
    color: var(--slate);
}

/* THEME TOGGLE BUTTON */
.theme-toggle {
    margin-left: 20px;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.8;
}

.theme-toggle:hover {
    color: var(--accent);
    transform: scale(1.1);
    opacity: 1;
}

#main-header.scrolled .theme-toggle {
    color: var(--slate);
}

#main-header.scrolled .theme-toggle:hover {
    color: var(--accent);
}

/* SCROLL PROGRESS INDICATOR */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--accent);
    z-index: 9999;
    transition: width 0.1s;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

/* PARTNERS INFINITE MARQUEE */
.partners-marquee {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15vw;
    height: 100%;
    z-index: 2;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.marquee-track {
    display: inline-block;
}

.marquee-content {
    display: inline-block;
    padding-left: 50px;
    animation: marqueeScroll 20s linear infinite;
}

.marquee-content img {
    height: 50px;
    margin-right: 80px;
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition);
    vertical-align: middle;
}

.marquee-content img:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* NEWS & ANNOUNCEMENTS CAROUSEL */
.news-swiper {
    padding-bottom: 60px !important;
    /* Space for pagination */
}

.news-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
}

.news-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.news-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.news-content p {
    font-size: 0.95rem;
    color: var(--gray-dark);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    color: var(--accent-light);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent);
    gap: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) !important;
    background: var(--white);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--accent);
    color: var(--white) !important;
    border-color: var(--accent);
}

/* ELITE CONTACT FORM (Floating Labels) */
.contact-form-wrapper {
    position: relative;
    min-height: 480px;
}

.modern-form {
    transition: opacity 0.4s ease, visibility 0.4s;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-form.hidden {
    opacity: 0;
    visibility: hidden;
}

.floating-label {
    position: relative;
    margin-bottom: 30px;
}

.floating-label input,
.floating-label textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 16px 20px;
    font-size: 1rem;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    outline: none;
}

.floating-label input:focus,
.floating-label textarea:focus,
.floating-label input:not(:placeholder-shown),
.floating-label textarea:not(:placeholder-shown) {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.floating-label label {
    position: absolute;
    left: 20px;
    top: 16px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    pointer-events: none;
    font-size: 1rem;
    background: var(--primary-dark);
    padding: 0 5px;
}

.floating-label input:focus~label,
.floating-label textarea:focus~label,
.floating-label input:not(:placeholder-shown)~label,
.floating-label textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    color: var(--accent);
}

/* Inline Validation Checkmark */
.validation-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #4ade80;
    opacity: 0;
    transition: var(--transition);
    transform: scale(0.5);
}

.floating-label input:valid:not(:placeholder-shown)~.validation-icon,
.floating-label textarea:valid:not(:placeholder-shown)~.validation-icon {
    opacity: 1;
    transform: scale(1);
}

/* SUCCESS STATE ANIMATION */
.form-success-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.form-success-state.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 0 0 15px rgba(0, 184, 74, 0.2);
    animation: checkmarkPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transform: scale(0);
}

.check-icon {
    width: 25px;
    height: 40px;
    border-right: 5px solid var(--white);
    border-bottom: 5px solid var(--white);
    transform: rotate(45deg) translate(-5px, -10px);
    opacity: 0;
    animation: checkDraw 0.4s 0.3s forwards;
}

.form-success-state h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s 0.5s forwards;
}

.form-success-state p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s 0.6s forwards;
}

/* Magnetic Button Base */
.magnetic-btn {
    position: relative;
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.magnetic-btn>* {
    display: inline-block;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.magnetic-btn:hover {
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
}

.magnetic-btn.submitting {
    opacity: 0.8;
    cursor: wait;
}

.magnetic-btn.submitted {
    background: #4ade80 !important;
    color: white !important;
    border-color: #4ade80 !important;
    transform: scale(1.05) !important;
}

.magnetic-btn.submitted i {
    margin-right: 8px;
}

@keyframes checkmarkPop {
    to {
        transform: scale(1);
    }
}

@keyframes checkDraw {
    to {
        opacity: 1;
    }
}

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

/* =========================================================================
   ELITE ENHANCEMENTS 2.0
   ========================================================================= */

/* HIDE DEFAULT CURSOR & ADD LIQUID CURSOR */
@media (pointer: fine) {
    body {
        cursor: none;
    }

    a,
    button,
    input,
    textarea,
    select {
        cursor: none !important;
    }
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.1s ease-out;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.4);
    mix-blend-mode: normal;
}

.custom-cursor.drag::after {
    content: "DRAG";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8px;
    font-weight: bold;
    color: var(--primary-dark);
}

.cursor-follower.hover {
    opacity: 0;
}

/* HERO IMAGE STYLES */
.hero.relative-overflow {
    position: relative;
    overflow: hidden;
    height: 100vh;
    /* Ensures the section takes full screen height */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* This makes the image act like a background-cover */
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6) contrast(1.1);
    /* Slightly darker for better text readability */
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 44, 34, 0.95) 0%, rgba(2, 44, 34, 0.4) 100%);
    z-index: 1;
}

/* Rest of your existing Z-index and layout classes */
.relative-z {
    position: relative;
    z-index: 10;
}

/* HERO IMAGE STYLES */
.hero.relative-overflow {
    position: relative;
    overflow: hidden;
    height: 100vh;
    /* Ensures the section takes full screen height */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* This makes the image act like a background-cover */
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6) contrast(1.1);
    /* Slightly darker for better text readability */
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 44, 34, 0.95) 0%, rgba(2, 44, 34, 0.4) 100%);
    z-index: 1;
}

/* Rest of your existing Z-index and layout classes */
.relative-z {
    position: relative;
    z-index: 10;
}

/* OVERSIZED WATERMARKS  */
.huge-watermark {
    position: absolute;
    top: 10%;
    left: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: 900;
    color: var(--accent);
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
    min-width: 100%;
    overflow: hidden;
}

.watermark-light {
    color: var(--white);
    opacity: 0.03;
    left: auto;
    right: 0;
}

/* MESH ORBS */
.mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    min-width: 100vw;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 184, 74, 0.15);
    top: 10%;
    right: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: rgba(212, 175, 55, 0.1);
    bottom: -100px;
    left: -200px;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: rgba(0, 184, 74, 0.1);
    top: 30%;
    right: 10%;
}

@media (max-width: 768px) {
    .huge-watermark {
        display: none;
        /* These rarely work well on small screens */
    }

    .mesh-orb {
        max-width: 100%;
        /* Prevents orbs from stretching the screen */
        left: 0 !important;
        right: 0 !important;
    }

    /* 3. Fix the Hero Content */
    .hero-content {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        text-align: center;
        /* Centers text to make it feel more "balanced" */
    }

    .hero-btns {
        flex-direction: column;
        /* Stacks buttons so they don't overflow */
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
}

/* SVG STATS RINGS */
.stat-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.stat-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%) rotate(-90deg);
    z-index: 1;
    pointer-events: none;
}

.stat-svg circle {
    fill: transparent;
    stroke-width: 4;
    stroke-linecap: round;
}

.stat-svg .bg {
    stroke: rgba(255, 255, 255, 0.05);
    /* very subtle background ring */
}

.stat-svg .progress {
    stroke: var(--accent);
    stroke-dasharray: 283;
    /* 2 * pi * r (r=45) */
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 2s cubic-bezier(0.1, 0.5, 0.2, 1);
}

.stat-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.stat-content .count {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    margin-bottom: 5px;
}

/* VENTURES ACCORDION GALLERY */
.ventures-accordion {
    display: flex;
    height: 500px;
    gap: 15px;
    width: 100%;
    margin-top: 40px;
}

.vacc-item {
    position: relative;
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.vacc-item.active {
    flex: 4;
}

.vacc-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vacc-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: var(--transition);
}

.vacc-item.active .vacc-bg img {
    filter: brightness(0.9);
}

.vacc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    width: 100%;
    color: var(--white);
    display: flex;
    align-items: flex-end;
    gap: 20px;
    background: linear-gradient(transparent, rgba(2, 44, 34, 0.95));
}

body.dark-mode .vacc-content {
    background: linear-gradient(transparent, rgba(10, 23, 17, 0.95));
}

.vacc-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-dark);
    font-size: 1.5rem;
    transition: var(--transition);
}

.vacc-item:hover .vacc-icon {
    transform: scale(1.1);
}

.vacc-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.4s 0.2s, width 0s 0.6s;
    /* Hide logic */
}

.vacc-item.active .vacc-text {
    opacity: 1;
    width: auto;
    white-space: normal;
    transition: opacity 0.4s 0.2s, width 0s;
}

.vacc-text h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    white-space: nowrap;
}

.vacc-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .ventures-accordion {
        flex-direction: column;
        height: 800px;
    }

    .vacc-content {
        padding: 20px;
    }

    .vacc-text h3 {
        font-size: 1.2rem;
    }

    .vacc-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* MEGA FOOTER */
.mega-footer {
    background: #011611;
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .mega-footer {
    background: var(--light);
}

.footer-watermark {
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: clamp(8rem, 25vw, 22rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 80px;
}

@media (max-width: 991px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: -10px;
    opacity: 0;
    font-size: 0.8rem;
    color: var(--accent);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 15px;
}

.footer-links a:hover::before {
    margin-right: 8px;
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* ELITE 3.0: MASKED TEXT REVEAL */
.masked-header {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.reveal-text {
    display: block;
    transform: translateY(100%);
    transition: transform 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-text.is-revealed {
    transform: translateY(0);
}

/* ELITE 3.0: TILT CARDS */
.tilt-card {
    will-change: transform;
    transform-style: preserve-3d;
}

.tilt-card .member-img {
    transform: translateZ(30px);
}

.tilt-card .member-info {
    transform: translateZ(50px);
}

/* ELITE 3.0: PARALLAX IMAGES */
.parallax-wrap {
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.parallax-img {
    height: 120%;
    width: 100%;
    object-fit: cover;
    transform: translateY(-10%);
    will-change: transform;
}

/* INTERNAL SUB-PAGES */
.internal-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.internal-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 44, 34, 0.8) 0%, rgba(2, 44, 34, 0.4) 100%);
    z-index: 1;
}

.internal-hero .container {
    position: relative;
    z-index: 2;
}

.internal-hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.internal-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.9;
}

.feature-list {
    margin-top: 40px;
}

.feature-item h4 {
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.feature-item i {
    transition: var(--transition);
}

.feature-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

@media (max-width: 768px) {
    .internal-hero {
        height: 50vh;
    }

    .internal-hero h1 {
        font-size: 2.2rem;
    }

    .about-text .masked-header h2 {
        font-size: 2.2rem;
    }

    /* Fixed Timeline Multi-fix */
    .timeline-line {
        left: 20px !important;
        transform: none !important;
    }

    .timeline-item {
        width: 100% !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-bottom: 50px !important;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0 !important;
    }

    .timeline-dot {
        left: 10px !important;
        right: auto !important;
        top: 15px !important;
    }

    .timeline-year {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }

    /* Fix detail page features - Stack vertically on small screens */
    .feature-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        text-align: left;
        margin-bottom: 30px !important;
    }

    .feature-item>div {
        width: 100%;
    }

    /* Fix Contact Box & Form */
    .contact-box {
        padding: 50px 20px !important;
        border-radius: 20px !important;
    }

    .modern-form {
        padding: 40px 20px !important;
        margin-top: 30px;
    }

    .floating-label label {
        font-size: 0.8rem !important;
        left: 15px !important;
    }

    .floating-label input,
    .floating-label textarea {
        font-size: 0.95rem !important;
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 2rem !important;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem !important;
    }

    .internal-hero h1 {
        font-size: 1.8rem !important;
    }
}

/* =========================================================================
   BLOG & NEWS GRID STYLING
   ========================================================================= */

#activity-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-border);
    transition: var(--transition);
    position: relative;
}

/* Hover Effect: Lift and Glow */
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* Image Container */
.blog-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.blog-card:hover .blog-img {
    transform: scale(1.1);
}

/* Category Badge (Using Gold Accent) */
.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 1px;
}

/* Content Area */
.blog-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--gray-dark);
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
}

.blog-meta i {
    color: var(--accent);
    margin-right: 5px;
}

.blog-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
    /* Matching your logo/header font */
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--gray-dark);
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Link Styling */
.blog-link {
    margin-top: auto;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--accent);
    gap: 15px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .col-4 {
        width: 50% !important;
        /* 2 cards per row on tablets */
    }
}

@media (max-width: 768px) {
    .col-4 {
        width: 100% !important;
        /* 1 card per row on mobile */
    }

    .blog-img-wrap {
        height: 200px;
    }
}

/* ==========================================
   OFFICE MANAGEMENT CHART (STANDARD TREE)
   ========================================== */
.management-tree {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    overflow-x: auto;
    /* Allows swiping on mobile */
    padding-bottom: 20px;
}

.management-tree ul {
    padding-top: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-left: 0;
}

.management-tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 10px 0 10px;
}

/* We will use the exact same card style as the Main Chart */
.management-tree li a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 16px;
    border: 1px solid var(--gray-border);
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 220px;
}

.management-tree li a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* Connecting Lines Logic */
.management-tree li::before,
.management-tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid var(--gray-border);
    width: 50%;
    height: 20px;
}

.management-tree li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid var(--gray-border);
}

/* Remove lines from only children */
.management-tree li:only-child::after,
.management-tree li:only-child::before {
    display: none;
}

.management-tree li:only-child {
    padding-top: 0;
}

/* First and Last Child logic for horizontal lines */
.management-tree li:first-child::before,
.management-tree li:last-child::after {
    border: 0 none;
}

.management-tree li:last-child::before {
    border-right: 2px solid var(--gray-border);
    border-radius: 0 5px 0 0;
}

.management-tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

/* Downward vertical lines from parents */
.management-tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid var(--gray-border);
    width: 0;
    height: 20px;
    transform: translateX(-50%);
}

/* VISIT & HOURS */
.hours-card {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 30px;
    position: relative;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.hours-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-light);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hours-row {
    margin-bottom: 30px;
}

.hours-row h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.hours-row span {
    opacity: 0.7;
    font-size: 0.9rem;
}


.btn-outline-dark {
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark);
    padding: 12px 30px;
    margin-top: 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition);
}

.btn-outline-dark:hover {
    background: var(--primary-dark);
    color: var(--white);
}


/* FAQ STYLES */
#faq {
    background-color: var(--light);
}

/* FAQ SECTION STYLING */
.faq-item {
    border-bottom: 1px solid var(--gray-border);
    padding: 5px 0;
    transition: var(--transition);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
    user-select: none;
}

.faq-question i {
    color: var(--accent);
    transition: transform 0.4s ease, color 0.4s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    color: var(--gray-dark);
    font-size: 0.95rem;
}

/* Active State */
.faq-item.active .faq-answer {
    max-height: 500px;
    /* Large enough for content */
    padding-bottom: 20px;
    transition: max-height 1s ease-in-out;
}

.faq-item.active .faq-question i {
    transform: rotate(135deg);
    /* Rotates plus to look like an X or minus */
    color: var(--primary);
}

/* LINE FORM STYLING */
.line-input-group {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary-dark);
}

.line-input-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.line-input-group input,
.line-input-group textarea {
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 0;
    font-family: 'Outfit', sans-serif;
    outline: none;
    color: var(--slate);
}

/* AESTHETIC CENTERED MAP */
.section-padding-small {
    padding: 60px 0;
    background: var(--light);
}

.map-card-frame {
    max-width: 900px;
    /* "Just enough" width */
    margin: 0 auto;
    /* Centers the map */
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    border: 8px solid var(--white);
    /* White border creates a 'frame' effect */
    box-shadow: var(--shadow-lg);
    line-height: 0;
}

.map-card-frame iframe {
    filter: grayscale(0.3) contrast(1.1) brightness(0.9);
    transition: var(--transition);
}

.map-card-frame:hover iframe {
    filter: grayscale(0) contrast(1) brightness(1);
}

.map-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--glass);
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.map-tag i {
    color: var(--accent);
}

/* Mobile responsive height */
@media (max-width: 768px) {
    .map-card-frame {
        max-width: 100%;
        border-width: 4px;
    }

    .map-card-frame iframe {
        height: 300px;
    }
}