:root {
    /* DEFAULT: LIGHT THEME */
    --primary: #0077b6;
    --secondary: #023e8a;
    --accent: #d00000;
    --bg-dark: #f8f9fa;
    /* Keeps name bg-dark for compatibility but holds light color */
    --bg-card: #ffffff;
    --text-light: #1e293b;
    /* Dark text for light mode */
    --text-gray: #475569;
    --hex-size: 150px;
    --hex-gap: 20px;
    --card-shadow: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    /* OVERRIDE: DARK THEME */
    --primary: #4cc9f0;
    --secondary: #4361ee;
    --accent: #f72585;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-light: #f8fafc;
    --text-gray: #94a3b8;
    --card-shadow: rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    /* DEFAULT: Light Mode Gradient */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(76, 201, 240, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(247, 37, 133, 0.10) 0%, transparent 20%);
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
    /* OVERRIDE: Dark Mode Gradient */
    background-image:
        radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(76, 201, 240, 0.15), transparent 40%),
        radial-gradient(circle at 10% 20%, rgba(76, 201, 240, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(247, 37, 133, 0.05) 0%, transparent 20%);
}

/* Entrance Animation States */
.hero>*,
.hex-item,
.info-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero>*.visible,
.hex-item.visible,
.info-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-hidden.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 40px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    /* Default Light */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease;
}

[data-theme="dark"] .main-header {
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 60px;
    width: auto;
    mix-blend-mode: normal;
    /* Default light */
    transition: all 0.3s ease;
}

/* [data-theme="dark"] .nav-logo { } - Removed */

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(15deg);
}

/* Language Dropdown Container */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1002;
}

[data-theme="dark"] .lang-btn {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dropdown Menu */
.lang-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: var(--bg-card);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .lang-menu {
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.lang-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: var(--text-light);
    gap: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-option:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--primary);
}

[data-theme="dark"] .lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.lang-option img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tooltip (Simple CSS implementation for hover on button if desired, but native 'title' is robust) */
/* We will rely on native title for simplicity and accessibility as requested "add tooltip" usually refers to the function. */

/* Main Navigation */
.main-nav {
    flex: 1;
    margin-left: 40px;
}

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

.main-nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

[data-theme="dark"] .main-nav a {
    color: var(--text-light);
    /* Ensure visibility in dark mode */
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Scroll To Top */
/* Scroll To Top */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    /* Moved slightly */
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
    /* Ensure it doesn't overlap with the potentially large logo */
    margin-bottom: 70px;
    /* Push it up above the logo area roughly */
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Fixed Tagline Logo */
.fixed-tagline-logo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    /* Below scroll-to-top or modal but above content */
    opacity: 0.9;
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* Let clicks pass through if it covers something, but usually logo is clickable? */
}

.fixed-tagline-logo img {
    height: 50px;
    /* Adjust size */
    width: auto;
    display: block;
}

/* Hero Image Override */
.hero-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-image {
    max-width: 120%;
    /* Increased to allow it to go slightly beyond container if needed, or fill it better */
    height: auto;
    max-height: 650px;
    /* Increased from 450px */
    border-radius: 0;
    /* Removed border radius */
    box-shadow: none;
    /* Removed shadow */
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: scale(1.05);
    /* Zoom instead of move up */
}

/* Remove old toggle and hero logo styles */

/* Hero Section Wrapper */
.hero-wrapper {
    display: flex;
    align-items: center;
    /* Center vertically */
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    /* Top padding accounts for absolute logo */
    gap: 50px;
}

.hero-content {
    flex: 1;
    text-align: left;
    /* Explicitly left aligned */
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Partners Card Side */
.hero-partners {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Modern Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 35px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect for card */
.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

[data-theme="dark"] .glass-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}

.glass-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.glass-card .subtitle {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-items: center;
    justify-items: center;
    margin-bottom: 25px;
}

/* Partner Styles - Bright & Clean */
.partner-logo {
    background: #ffffff;
    border-radius: 18px;
    padding: 15px;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border: 1px solid rgba(0, 0, 0, 0.02);
    /* No grayscale, full color always */
    filter: none;
    cursor: default;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .partner-logo {
    background: rgba(255, 255, 255, 0.95);
}

/* Video Gallery Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    /* 4 Columns with min-width to ensure proportionality */
    gap: 30px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    /* Ensure scrollbar doesn't overlap or look cramped */
}

.video-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    /* Essential for absolute positioning of .video-info */
    box-shadow: 0 10px 30px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .video-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    width: 100%;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6), transparent);
    z-index: 2;
    pointer-events: none;
    /* Allows clicking the video PLAY button through the text overlay */
}

.video-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .video-card {
        min-width: 280px;
        max-width: 85vw;
    }

    .video-grid {
        gap: 20px;
        scroll-padding: 20px;
        /* Center snap alignment visually */
    }
}

/* Removed card-link section */

/* Update responsive for 2-column */
@media (max-width: 900px) {
    .hero-wrapper {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
        align-items: center;
    }

    .feature-card:nth-child(1),
    .feature-card:nth-child(2),
    .feature-card:nth-child(3) {
        margin-left: 0;
        width: 100%;
        max-width: 350px;
    }
}

/* Old Logo Styles Removed */

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(67, 97, 238, 0.2);
    border: 1px solid rgba(67, 97, 238, 0.4);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Honeycomb Grid */
.honeycomb-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px 50px;
}

.hex-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.hex-item {
    width: 180px;
    height: 200px;
    margin: -30px 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hexagon {
    background-color: var(--bg-card);
    width: 180px;
    height: 104px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.1s ease-out;
    cursor: pointer;
    z-index: 1;
    transform-style: preserve-3d;
    box-shadow: 0 0 10px var(--card-shadow);
}

.hexagon:before,
.hexagon:after {
    content: "";
    position: absolute;
    background-color: inherit;
    width: 180px;
    height: 104px;
    transition: all 0.3s ease;
    z-index: -1;
}

.hexagon:before {
    transform: rotate(60deg);
}

.hexagon:after {
    transform: rotate(-60deg);
}

.hex-item:hover .hexagon,
.hex-item:hover .hexagon:before,
.hex-item:hover .hexagon:after {
    /* Gradasi Biru ke Kuning */
    background: linear-gradient(135deg, var(--secondary), #fcc200);
    z-index: 10;
}

.hexagon-content {
    position: absolute;
    z-index: 20;
    /* Ensure higher than :after on hover (z-index 10) */
    text-align: center;
    pointer-events: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.hex-item:hover .hexagon-content {
    color: #ffffff;
}

.hexagon-content h3 {
    font-size: 1rem;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.hex-item:hover .icon {
    color: #fff;
}

/* Hero Visual Styling */
.hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    /* Increased from 400px */
    position: relative;
    /* staggered animation handled by JS or CSS keyframes roughly */
}

.feature-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    background: rgba(255, 255, 255, 0.7);
    /* Lighter glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .feature-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateX(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Specific alignments for floating feel */
.feature-card:nth-child(1) {
    margin-left: 0;
}

.feature-card:nth-child(2) {
    margin-left: 50px;
}

.feature-card:nth-child(3) {
    margin-left: 100px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}

[data-theme="dark"] .feature-icon {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.feature-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-light);
    line-height: 1;
}

.feature-text p {
    font-size: 0.9rem;
    margin: 5px 0 0;
    color: var(--text-gray);
    line-height: 1.2;
}

/* Image Styling */
.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
}

.shadow-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.shadow-card:hover {
    transform: translateY(-5px);
}

/* Detail Sections */
.content-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
}

#video-gallery {
    max-width: 1200px;
    /* Wider for video gallery to match honeycomb width visual */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Marquee / Slider Styles */
/* Marquee / Slider Styles */
.marquee-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    /* Fade mask at edges */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    /* Important: The animation moves by -50% of the track width. 
       For this to work seamlessly, the track must contain exactly 2 copies of the content.
       The HTML currently has 2 copies. */
    animation: scroll 30s linear infinite;
    padding-left: 30px;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
        /* -50% moves exactly half the total width (one full set of items). 
           The -15px accounts for half the gap (30px) to align perfectly. */
    }
}

.info-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Default Light border */
    position: relative;
    overflow: hidden;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    opacity: 1 !important;
    transform: none !important;
}

/* On hover of individual card, lift it up */
.info-card:hover {
    transform: translateY(-10px) !important;
    z-index: 10;
    border-color: var(--primary);
}

[data-theme="dark"] .info-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 3;
}

/* Modern Footer */
.modern-footer {
    background: var(--bg-card);
    padding: 80px 40px 30px;
    margin-top: 100px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Default Light */
    font-size: 0.9rem;
}

[data-theme="dark"] .modern-footer {
    background-color: var(--bg-card);
    /* No change, but explicit */
    border-top-color: rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    height: 50px;
    width: auto;
    align-self: flex-start;
    margin-bottom: 10px;
    mix-blend-mode: normal;
}

/* [data-theme="dark"] .footer-logo { } - Removed empty rule */

.branding p {
    color: var(--text-gray);
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.links ul {
    list-style: none;
}

.links li {
    margin-bottom: 10px;
}

.links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.links a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.contact-list {
    list-style: none;
    margin-top: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-list li i {
    color: var(--primary);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.contact-list li:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

.contact-list li:hover i {
    color: var(--secondary);
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Response Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Stack Header on Mobile */
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav {
        margin-left: 0;
        width: 100%;
        order: 2;
        /* Put nav below logo */
        margin-bottom: 10px;
    }

    .main-nav ul {
        justify-content: center;
        gap: 15px;
        padding: 0;
    }

    .header-controls {
        position: absolute;
        top: 20px;
        right: 20px;
    }


    .footer-logo {
        align-self: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .hex-item {
        margin: 10px auto;
    }
}

/* Partner Marquee Styles */
.partner-marquee-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
    padding: 30px 0 60px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partner-marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    padding-left: 30px;
    animation: scroll-partners 60s linear infinite;
}

.partner-marquee-container:hover .partner-marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

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

.partner-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 15px;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.partner-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.partner-card img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .partner-card {
    background: rgba(255, 255, 255, 0.9);
}