:root {
    --primary-color: #2596be;
    --text-dark: #333333;
    --text-muted: #7b7c7e;
    --bg-light: #f8f9fa;
    /* Soft 8% Primary background tint for visual section transitions */
    --bg-primary-light: rgba(110, 193, 228, 0.08); 
}

/* Enable smooth natively managed browser scrolling transitions */
html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

.text-gyco-primary {
    color: var(--primary-color) !important;
}

/* Smooth Fade/Slide Entry Transitions for Website Sections */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Background Variations */
.bg-primary-light {
    background-color: var(--bg-primary-light);
}

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

/* Modern Theme Footer using primary branding accent color */
.bg-theme-footer {
    background-color: var(--primary-color) !important;
}
.text-white-85 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Navbar Layout */
.navbar { box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.nav-link { color: var(--text-dark) !important; font-weight: 600; transition: color 0.3s; }
.nav-link:hover { color: var(--primary-color) !important; }

.btn-donate {
    background-color: var(--primary-color);
    color: white !important;
    font-weight: 600;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    transition: transform 0.2s, background-color 0.3s;
}
.btn-donate:hover { 
    background-color: #55a8cb; 
    transform: translateY(-2px); 
}

/* Hero Elements */
.hero-section { padding: 80px 0; background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%); }

/* Video Handling with Poster Interactivity */
.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    cursor: pointer;
}
.video-poster-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.gyco.eu/wp-content/uploads/2020/09/crowd-fundng-gyco-1.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.5s ease;
}
.video-poster-overlay::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0, 0, 0, 0.4);
}
.play-btn {
    position: relative;
    z-index: 3;
    font-size: 4rem;
    color: white;
    transition: transform 0.3s ease, color 0.3s;
}
.video-wrapper:hover .play-btn {
    transform: scale(1.15);
    color: var(--primary-color);
}

/* Global Grid Layout Typography */
.section-title { font-weight: 700; margin-bottom: 1rem; }
.accent-bar { width: 60px; height: 4px; background-color: var(--primary-color); margin-bottom: 2rem; }

/* Custom Adaptive Dynamic Cards */
.card-custom {
    border: none;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.img-story { height: 220px; object-fit: cover; }

/* Portrait Image Styles */
.founder-img {
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    max-width: 100%;
    height: auto;
}

/* Footer Interaction Micro-animations */
.hover-scale {
    transition: transform 0.2s ease, opacity 0.2s;
}
.hover-scale:hover {
    transform: scale(1.2);
    opacity: 1 !important;
}


/* Letter spacing for the tiny sub-header */
.letter-spacing-1 {
    letter-spacing: 1px;
}

/* Artistic structural separation for the header section */
.hero-border-bottom {
    border-bottom: 3px solid rgba(110, 193, 228, 0.3); /* Subtle primary color line */
    position: relative;
}

/* The tagline highlighting the core methodology */
.hero-tagline {
    color: var(--primary-color);
    text-shadow: 0px 4px 20px rgba(110, 193, 228, 0.1);
}

/* The President's Morphing Donate Button */
.btn-donate-morph {
    background-color: var(--primary-color);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px; /* Base capsule shape */
    box-shadow: 0 4px 15px rgba(110, 193, 228, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Snappy bounce effect */
    position: relative;
    overflow: hidden;
}

/* Morphing hover state changing shapes and depth */
.btn-donate-morph:hover {
    background-color: #55a8cb;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 25px rgba(85, 168, 203, 0.6);
    border-radius: 8px; /* Smoothly morphs from round capsule to sleek structural rectangle */
}

/* Dynamic active click press */
.btn-donate-morph:active {
    transform: translateY(-1px) scale(0.98);
}


/* Solid primary color block style override */
.bg-theme-primary {
    background-color: var(--primary-color) !important;
}

/* White accent bar to replace the default primary one on dark backgrounds */
.accent-bar-white {
    width: 40px;
    height: 3px;
    background-color: #ffffff;
}

/* Highly legible text classes for color inversion context */
.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}
.text-white-85 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Sleek semi-transparent background wrapper for the mini CTA */
.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.12);
}
.border-white-15 {
    border-color: rgba(255, 255, 255, 0.18) !important;
}

/* Dynamic Capsule Shape Layout */
.rounded-pill-custom {
    border-radius: 50px;
}
@media (max-width: 575.98px) {
    /* Responsive adjustment for small mobile stacked layout */
    .rounded-pill-custom {
        border-radius: 16px;
    }
}

/* Micro interaction adjustment for the mini button */
.btn-mini-action {
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-mini-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    background-color: #ffffff;
    color: #55a8cb !important;
}

/* --- GLOBAL NAVBAR STYLING --- */

/* Give the sticky navbar a high-end shadow line instead of a heavy border */
.navbar {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

/* Nav links basic & hover states */
.navbar-nav .nav-link {
    color: #616265 !important; /* var(--body-text) */
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color:   var(--primary-color) !important;
}

/* Nav Specific Morphing Donate Button */
.navbar-nav .btn-donate {
    background-color: #4072c4 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(64, 114, 196, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.navbar-nav .btn-donate:hover {
    background-color: #6ec1e4 !important; /* var(--accent-color) */
    box-shadow: 0 6px 15px rgba(110, 193, 228, 0.4);
    border-radius: 6px; /* Smooth morph on hover */
    transform: translateY(-1px);
}

/* Responsive fixes for Mobile Stack view */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    .navbar-nav .nav-item {
        width: 100%;
        text-align: center; /* Change to left if preferred */
        padding: 0.4rem 0;
    }
    .navbar-nav .btn-donate {
        display: inline-block;
        margin-top: 0.5rem;
        width: auto;
    }
}

        /* Apple-inspired asymmetric structural layout elements */
        .bento-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 24px;
        }
        @media (max-width: 991.98px) {
            .bento-grid { display: flex; flex-direction: column; gap: 24px; }
        }
        .bento-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 32px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.015);
            border: 1px solid rgba(0,0,0,0.05);
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow: hidden;
        }
        .bento-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
            border-color: rgba(37, 150, 190, 0.2);
        }
        .supporter-logo {
            font-weight: 700;
            color: #888888;
            letter-spacing: 2px;
            text-transform: uppercase;
            transition: color 0.3s;
        }
        .supporter-logo:hover {
            color: var(--text-dark);
        }

        /* Hero Immersive Background Base */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Linear Scrim Mask for Perfect Contrast */
.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 24, 33, 0.45) 0%, rgba(26, 37, 48, 0.05) 100%);
    z-index: 1;
}

/* Ensure foreground elements hover above background */
.position-relative.z-3 {
    z-index: 3;
}

/* High-contrast tweaks for text over dark media backgrounds */
.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}
.border-white-10 {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}
.card-custom:hover img {
    transform: scale(1.03);
}

/* Infinite Marquee Ticker */
.ticker-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0;
}

.ticker-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 3rem;
    will-change: transform;
    animation: marquee 8s linear infinite;
}

.ticker-item {
    flex: 0 0 auto;
}

.ticker-logo {
    display: block;
    max-height: 70px; /* adjust as needed */
    width: auto;
}

/* Pause on hover (optional) */
.ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.ticker-track:hover {
    animation-play-state: paused; /* Pauses ticker stream on hover for easy clicking/viewing */
}

.ticker-item {
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Keeps scaling logo from getting clipped by parent containers */
    overflow: visible; 
}

.ticker-logo {
    max-height: 55px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    /* Hardware-accelerated transitions for silky smooth animations */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease, opacity 0.3s ease;
    will-change: transform;
}

/* ENHANCED HOVER: Brings logo to full color and scales it smoothly up by 15% */
.ticker-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

