/* Modern Corporate Design 2026 - Premium Edition */
:root {
    /* Color Palette - Premium Dark */
    --bg-primary: #11141d;
    /* Slightly lighter than #0a0c10 */
    --bg-secondary: #1a1e29;
    --text-primary: #ffffff;
    --text-secondary: #b0b3c0;

    /* Vibrant Accents */
    --accent-primary: #3AAA35;
    --accent-secondary: #0B8E36;
    --accent-glow: #4ade80;
    /* Brighter green for glow effects */

    /* Premium Gradients */
    --accent-gradient: linear-gradient(135deg, #0B8E36 0%, #3AAA35 50%, #4ade80 100%);
    --glass-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);

    /* Advanced Glassmorphism */
    --glass-bg: rgba(20, 25, 35, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 30px;
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 120px 0;
    --header-top: 40px;
    /* Default top for fixed header */

    /* Animations - Ultra Smooth */
    --transition-fast: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-mode {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);

    background: radial-gradient(at 0% 0%, rgba(58, 170, 53, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(11, 142, 54, 0.05) 0px, transparent 50%),
        linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    background-size: 200% 200%;
    background-size: 200% 200%;
    /* animation: meshGradient 20s ease infinite; Removed for performance */
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-primary);
    background: radial-gradient(at 0% 0%, rgba(58, 170, 53, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(11, 142, 54, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(58, 170, 53, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(11, 142, 54, 0.15) 0px, transparent 50%),
        var(--bg-primary);
    background-size: 200% 200%;
    background-size: 200% 200%;
    /* animation: meshGradient 20s ease infinite; Removed for performance */
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

@keyframes meshGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Animations & Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(58, 170, 53, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(58, 170, 53, 0.6);
    }
}

/* Animation Utilities */
.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Layout Utilities */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 40px;
}

.section-padding {
    padding: var(--section-padding);
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.text-secondary {
    color: var(--text-secondary);
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Premium Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(to right, #3AAA35, #4ade80, #2ea043, #3AAA35);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(58, 170, 53, 0.2));
}

@keyframes textShine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 300% center;
    }
}

/* Contrast enhancement for Light Mode on Home Hero with Image Background */
body.light-mode .home-hero h2 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    background: none !important;
    -webkit-text-fill-color: var(--accent-primary) !important;
    color: var(--accent-primary) !important;
}

body.light-mode .home-hero p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    color: white !important;
}

body.light-mode .home-hero .hero-content h2 span.text-gradient {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
    color: white !important;
}

/* Fix visibility for standard heroes (no background image) in light mode */
body.light-mode .hero h2 {
    /* Use standard text color or specific light mode gradient if needed */
    background: none;
    -webkit-text-fill-color: var(--text-primary);
    color: var(--text-primary);
}

body.light-mode .hero p {
    color: var(--text-secondary);
    text-shadow: none;
}

/* Fix Glass Buttons in Light Mode */
body.light-mode .btn-glass {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: rgba(58, 170, 53, 0.1);
}

body.light-mode .btn-glass:hover {
    background: var(--accent-primary);
    color: white;
}

/* Enhanced Glass Cards with Glowing Borders */
.glass-card {
    background: rgba(20, 25, 35, 0.4);
    /* Darker, more transparent base */
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* The Glowing Border Effect */
.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    /* Border width */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.5s ease;
}

.glass-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(58, 170, 53, 0.4) 0%, transparent 50%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.glass-card:hover::before {
    background: linear-gradient(135deg, #3AAA35, #4ade80);
    opacity: 1;
}

.glass-card:hover::after {
    opacity: 0.3;
    transform: scale(1);
    animation: rotateGradient 4s linear infinite;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg) scale(1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    font-size: 16px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 25px rgba(58, 170, 53, 0.4);
    border: none;
    position: relative;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(45deg, #fff, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(58, 170, 53, 0.6);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Header & Navigation */
header {
    position: fixed;
    top: var(--header-top, 40px);
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 12, 16, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: background-color var(--transition-smooth), padding var(--transition-smooth), border-color var(--transition-smooth), backdrop-filter var(--transition-smooth), top 0.3s ease;
}

header.scrolled {
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .nav-links {
        gap: 8px;
        padding: 6px 10px;
    }

    .nav-links a {
        padding: 5px 10px;
        font-size: 13px;
    }
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    background: var(--accent-gradient);
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--header-top, 40px) + 160px);
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--header-top, 40px) + 120px);
        padding-bottom: 60px;
        min-height: 50vh;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero h1,
.hero h2 {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #ffffff, #a0aec0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 50px;
}

/* Blobs & Floating Shapes */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    opacity: 0.3;
    z-index: -1;
    animation: blob 20s infinite alternate;
    will-change: transform;
    /* Hint to browser for optimization */
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    animation-direction: alternate-reverse;
}

/* Floating Tech Illustrations (Icons) */
.floating-shape {
    position: absolute;
    color: rgba(255, 255, 255, 0.03);
    font-size: 80px;
    z-index: -1;
    pointer-events: none;
    filter: blur(1px);
    transition: all 0.5s ease;
}

/* Specific Icon Positions & Animations */
.shape-code {
    top: 15%;
    right: 10%;
    font-size: 120px;
    color: rgba(58, 170, 53, 0.05);
    animation: float-rotate 10s ease-in-out infinite;
}

.shape-chip {
    bottom: 20%;
    left: 5%;
    font-size: 150px;
    color: rgba(255, 255, 255, 0.02);
    animation: float 8s ease-in-out infinite reverse;
}

.shape-network {
    top: 40%;
    left: 15%;
    font-size: 90px;
    animation: float 12s ease-in-out infinite 1s;
}

.shape-lock {
    bottom: 10%;
    right: 20%;
    font-size: 100px;
    animation: float-rotate 15s linear infinite reverse;
}

.shape-rocket {
    top: 10%;
    left: 10%;
    font-size: 60px;
    color: rgba(58, 170, 53, 0.08);
    animation: float-surging 20s ease-in-out infinite;
}

/* Advanced Keyframes */
@keyframes float-rotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes float-surging {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.05;
    }

    50% {
        transform: translate(20px, -40px) rotate(5deg);
        opacity: 0.15;
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.05;
    }
}

/* Enhanced 3D Card Hover */
.glass-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    /* Bouncy transition */
}

.glass-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(58, 170, 53, 0.2) inset;
    border-color: rgba(58, 170, 53, 0.5);
    z-index: 10;
}

/* Dynamic Text Shine */
.text-gradient {
    background-size: 200% auto;
    animation: textShine 3s linear infinite;
    /* Faster shine */
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

/* Forms */
.form-input {
    width: 100%;
    padding: 18px 25px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(58, 170, 53, 0.1);
}

.newsletter-input {
    border-radius: 50px;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(to top, #050510, #0a0c10);
    padding: 100px 0 40px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(58, 170, 53, 0.3);
}

/* Responsive Flex Utilities */
.responsive-flex-row {
    display: flex;
    gap: 40px;
    align-items: center;
}

.responsive-flex-row-reverse {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-direction: row-reverse;
}

@media (max-width: 992px) {

    .responsive-flex-row,
    .responsive-flex-row-reverse {
        flex-direction: column !important;
        text-align: center;
    }

    .responsive-flex-row>div,
    .responsive-flex-row-reverse>div {
        width: 100%;
    }
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Light Mode Overrides --- */
body.light-mode .form-input {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
}

body.light-mode .form-input:focus {
    background: #fff;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(58, 170, 53, 0.1);
}

body.light-mode footer {
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .glass-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-mode .social-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #4a4a5a;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .social-btn:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

body.light-mode .footer-link {
    color: #4a4a5a;
}

body.light-mode .footer-link:hover {
    color: var(--accent-primary);
}

/* Light Mode Hovers & Interactables */
body.light-mode .glass-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

body.light-mode .btn-glass:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.light-mode .nav-links {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .nav-links a {
    color: #4a4a5a;
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
    color: var(--accent-primary);
    background: rgba(58, 170, 53, 0.08);
    /* Green tint */
}

body.light-mode .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.1) !important;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .glass-card {
        padding: 30px;
    }

    .hero h1,
    .hero h2 {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 14, 21, 0.98);
        /* Deeper, solid background for readability */
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        height: 100vh;
        /* Full screen menu */
        justify-content: center;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        animation: fadeInUp 0.3s ease;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        font-size: 18px;
    }

    .mobile-menu-btn {
        display: block !important;
        color: white;
        margin-left: auto;
        padding: 10px;
        transition: transform 0.3s ease;
    }

    .mobile-menu-btn:active {
        transform: scale(0.9);
    }

    body.light-mode .mobile-menu-btn {
        color: #1a1a2e;
    }

    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero h1,
    .hero h2 {
        font-size: 42px;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        /* 2 columns on tablets */
        gap: 40px !important;
    }
}

/* Very Small Screens (Mobile Portrait) */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero h1,
    .hero h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .glass-card {
        padding: 25px;
        border-radius: 20px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    /* Adjust floating icons size */
    .floating-shape {
        font-size: 50px;
    }

    .logo-area img {
        height: 40px;
        /* Smaller logo */
    }

    /* Better spacing for stacked grids */
    div[style*="grid-template-columns"],
    .footer-main-grid,
    .grid-2-cols,
    .grid-auto-fit {
        gap: 25px !important;
        grid-template-columns: 1fr !important;
        /* Force single column */
        text-align: center;
        /* Center align footer content */
    }

    .footer-main-grid>div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-main-grid ul li {
        justify-content: center;
    }

    /* Newsletter Box on Mobile */
    .glass-card.footer-newsletter-card {
        flex-direction: column !important;
        text-align: center;
        padding: 30px 20px !important;
        gap: 20px;
    }

    .newsletter-input {
        width: 100% !important;
        margin-bottom: 10px;
    }

    form[action*="newsletter"] {
        flex-direction: column;
        width: 100%;
    }

    /* Footer Bottom */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px !important;
        padding-bottom: 40px;
    }

    /* Stat Banner on Mobile */
    .stats-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* --- Ultra Small Screens (e.g. iPhone SE, etc.) --- */
@media (max-width: 380px) {
    .container {
        padding: 0 15px;
    }

    .hero h1,
    .hero h2 {
        font-size: 32px !important;
    }

    .hero p {
        font-size: 16px;
    }

    .glass-card {
        padding: 20px 15px !important;
    }

    .logo-area img {
        height: 35px !important;
    }

    .badge-premium {
        font-size: 10px;
        padding: 6px 12px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    /* Shrink lang switcher */
    .lang-switcher a {
        font-size: 11px;
        padding: 3px 6px;
    }

    /* Reduce vertical padding for sections */
    .section-padding {
        padding: 40px 0;
    }
}

/* Header & Top Bar Responsive */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(17, 20, 29, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .top-bar-info {
        display: none !important;
    }
}

/* Infinite Image Carousel */
/* Infinite Image Carousel - Premium Design */
.carousel-section {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    /* Optional: Add a subtle background pattern or gradient if desired */
}

.carousel-track-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    /* Increased padding for hover expansion space */
}

.carousel-track {
    display: flex;
    gap: 30px;
    /* Increased gap */
    width: max-content;
    animation: scrollLeft 60s linear infinite;
    /* Slower, smoother scroll */
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    width: 320px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    flex-shrink: 0;
    background: var(--bg-secondary);
    /* Loading fallback */
}

.carousel-item::after {
    content: '\f00e';
    /* FontAwesome search-plus icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 24px;
    z-index: 5;
    transition: transform 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
    pointer-events: none;
}

.carousel-item:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(58, 170, 53, 0.3);
    /* Glow effect */
    z-index: 10;
    border-color: var(--accent-primary);
}

.carousel-item:hover::before {
    opacity: 1;
}

.carousel-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-item:hover img {
    transform: scale(1.1);
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Gradient Overlay for Carousel edges */
.carousel-track-container::before,
.carousel-track-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.carousel-track-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.carousel-track-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

body.light-mode .carousel-track-container::before {
    background: linear-gradient(to right, #f8fafc, transparent);
}

body.light-mode .carousel-track-container::after {
    background: linear-gradient(to left, #f8fafc, transparent);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-primary);
    text-decoration: none;
    cursor: pointer;
}

/* Add cursor pointer to carousel items to indicate they are clickable */
.carousel-item {
    cursor: pointer;
    will-change: transform;
    /* Performance optimization */
}

/* Mobile Responsive Adjustments for Carousel & Lightbox */
@media (max-width: 768px) {
    .carousel-item {
        width: 250px;
        /* Slightly smaller items on tablet/mobile */
        height: 160px;
    }

    .lightbox-content {
        max-width: 95%;
        /* Use more width on mobile */
        margin-top: 20%;
        /* Center vertically better */
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
        background: rgba(0, 0, 0, 0.5);
        /* Background for better visibility on images */
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        width: 200px;
        /* Even smaller for small phones */
        height: 140px;
    }
}

/* Strategic Card Styles */
/* Light Mode: Green Background, White Text */
body.light-mode .strategic-card {
    background: var(--accent-primary) !important;
    color: white !important;
    border: none;
    box-shadow: 0 10px 30px rgba(58, 170, 53, 0.3);
}

body.light-mode .strategic-card li {
    color: white !important;
}

/* Dark Mode: "Vice Versa" -> Default Background (Dark), Green Text */
body:not(.light-mode) .strategic-card {
    color: var(--accent-primary) !important;
    border: 1px solid var(--accent-primary);
}

body:not(.light-mode) .strategic-card li {
    color: var(--accent-primary) !important;
}


/* Footer Illustrations & Transitions */

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: -1;
    pointer-events: none;
}

.circle-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation: float 10s ease-in-out infinite;
}

.circle-2 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    right: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

.footer-wave {
    animation: waveFade 5s ease-in-out infinite alternate;
}

@keyframes waveFade {
    0% {
        opacity: 0.03;
        transform: scaleY(0.5) translateY(0);
    }

    100% {
        opacity: 0.06;
        transform: scaleY(0.55) translateY(-10px);
    }
}

/* Enhanced Footer Links */
.footer-link {
    position: relative;
    padding-left: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Utility & Component Classes (Refactored from Inline) --- */

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(4px) brightness(0.7);
}

.hero-bg-overlay.extended {
    height: 115%;
    /* Extend background for about page */
}

/* Brighten specifically these heroes for black text visibility */
.home-hero .hero-bg-overlay,
.about-hero .hero-bg-overlay {
    filter: blur(2px) brightness(1.1);
}

/* Hero text visibility improvements - TITLES are Green/White (Vert Blanc) */
.home-hero h2,
.about-hero h2 {
    color: var(--accent-primary) !important;
    -webkit-text-fill-color: var(--accent-primary) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.home-hero h2 .text-gradient,
.about-hero h2 .text-gradient {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Hero descriptions stay black as requested previously for visibility */
.home-hero p,
.about-hero p {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    text-shadow: none !important;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
}

.glass-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.glass-card-logo-box {
    height: 100px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 10px;
}

.glass-card-logo-img {
    max-height: 100%;
    object-fit: contain;
}

.glass-card-title {
    margin-bottom: 15px;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.glass-card-subtitle {
    font-size: 14px;
    color: var(--accent-secondary);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.glass-card-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.learn-more-link {
    color: var(--accent-primary);
    font-weight: 600;
}

.glass-card-icon-large {
    font-size: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.view-projects-btn-container {
    text-align: center;
    margin-top: 50px;
}

/* Header & Footer Layouts */
.top-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-actions {
    display: flex;
    gap: 12px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    align-items: center;
}

@media (max-width: 480px) {
    .top-bar-container {
        justify-content: center;
    }

    .top-bar-actions {
        gap: 8px;
    }
}

.footer-newsletter-card {
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

/* About Page Classes */
.about-hero {
    min-height: 50vh;
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 40vh;
    }
}

.about-hero-content {
    text-align: center;
    margin: 0 auto;
}

.about-quote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 20px;
    font-style: italic;
}

.about-image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--accent-secondary));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .about-image-placeholder {
        height: 300px;
    }
}

.about-icon-placeholder {
    font-size: 80px;
    opacity: 0.1;
    color: white;
}

.about-mission-section {
    position: relative;
    overflow: hidden;
}

.about-mission-container {
    position: relative;
    z-index: 1;
}

.about-vision-card {
    margin-top: 40px;
    text-align: center;
}

.about-vision-quote {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
}

@media (max-width: 768px) {
    .about-vision-quote {
        font-size: 16px;
    }
}

.stats-banner {
    background: rgba(255, 255, 255, 0.02);
    padding: 50px 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stats-number {
    font-size: 40px;
    margin-bottom: 5px;
}

.actions-list {
    list-style: none;
    padding: 0;
}

.actions-item {
    display: flex;
    gap: 15px;
}

.actions-icon {
    color: var(--accent-primary);
    font-size: 24px;
}

.actions-text {
    font-size: 14px;
}

.strat-list {
    list-style: none;
    padding: 0;
}

.strat-icon {
    margin-right: 10px;
}

/* Helper classes */
.centered-mb-60 {
    text-align: center;
    margin-bottom: 60px;
}

.full-height {
    height: 100%;
}

.relative-overflow-hidden {
    position: relative;
    overflow: hidden;
}

/* --- Unified Responsive System --- */

/* Global Horizontal Scroll Prevention */
html,
body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    width: 100%;
}

/* 1. Large Tablets (992px) */
@media (max-width: 992px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1,
    .hero h2 {
        font-size: 56px;
    }

    .glass-card {
        padding: 30px;
    }

    .responsive-flex-row,
    .responsive-flex-row-reverse {
        flex-direction: column !important;
        text-align: center;
    }

    .responsive-flex-row>div,
    .responsive-flex-row-reverse>div {
        width: 100%;
    }
}

/* 2. Small Tablets & Phones (768px) */
@media (max-width: 768px) {

    .hero h1,
    .hero h2 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .glass-card-logo-box {
        height: 80px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 14, 21, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
        height: 100vh;
        overflow-y: auto;
        padding-bottom: 100px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        margin-top: 20px;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: block !important;
        margin-left: auto;
    }

    .footer-newsletter-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .footer-newsletter-card form {
        width: 100%;
        flex-direction: column;
    }

    .footer-newsletter-card input {
        width: 100% !important;
        margin-bottom: 15px;
    }

    .footer-newsletter-card button {
        width: 100%;
    }

    .top-bar-info {
        display: none !important;
    }

    .top-bar-container {
        justify-content: center;
    }

    header {
        top: 40px !important;
    }

    .logo-area img {
        height: 40px;
    }

    .about-image-placeholder {
        height: 300px;
    }

    .stats-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* 3. Small Mobile (480px) */
@media (max-width: 480px) {

    .hero h1,
    .hero h2 {
        font-size: 34px !important;
    }

    .section-title h2 {
        font-size: 26px !important;
    }

    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .grid-2-cols,
    .grid-auto-fit {
        grid-template-columns: 1fr !important;
    }

    .carousel-item {
        width: 220px;
        height: 150px;
    }
}

/* 4. Mini Mobile (360px & below) */
@media (max-width: 360px) {

    .hero h1,
    .hero h2 {
        font-size: 30px !important;
    }

    .hero p {
        font-size: 15px !important;
    }

    .container {
        padding: 0 12px;
    }

    .logo-area img {
        height: 35px;
    }

    .top-bar-actions {
        gap: 8px;
        font-size: 12px;
    }

    .btn {
        padding: 12px 15px;
        font-size: 13px;
    }

    .glass-card {
        padding: 20px;
        border-radius: 15px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .footer-main-grid {
        gap: 30px;
    }
}

/* Global Cleanups & Fixes */

/* 1. Global Grid Fixes for Inline Styles */
[style*="display: grid"],
[style*="display:grid"] {
    @media (max-width: 900px) {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* Specific fix for News sidebar and Main Content */
.container[style*="grid-template-columns: 2fr 1fr"] {
    @media (max-width: 992px) {
        grid-template-columns: 1fr !important;
    }
}

/* 2. Card and Image Adjustments */
@media (max-width: 768px) {
    .glass-card {
        padding: 25px !important;
    }

    [style*="height: 300px"],
    .about-image-placeholder {
        height: 250px !important;
    }

    [style*="height: 100px"] {
        height: 80px !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-bottom: 60px;
    }

    .section-padding {
        padding: 50px 0 !important;
    }

    /* Prevent text wrapping issues in titles */
    h1,
    h2 {
        word-wrap: break-word;
        hyphens: auto;
    }
}

/* 3. Mobile Menu Polish */
@media (max-width: 768px) {
    .nav-links {
        padding-top: 80px !important;
        padding-bottom: 120px !important;
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.4s ease forwards;
    }

    /* Staggered animation for menu items */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.4s;
    }
}

/* 4. Smooth Background Scroll Fix */
body {
    -webkit-overflow-scrolling: touch;
    width: 100%;
    overflow-x: hidden;
}

/* 5. Fix for Carousel on Mini-Mobile */
@media (max-width: 360px) {
    .carousel-item {
        width: 180px;
        height: 120px;
    }
}

/* --- Improved Top Bar & Navigation --- */
.top-bar {
    background: rgba(10, 12, 16, 0.4);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    height: var(--header-top, 40px);
    display: flex;
    align-items: center;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-info {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-bar-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-link:hover {
    color: var(--accent-primary);
}

.top-bar-item {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    display: flex;
    gap: 12px;
}

.lang-switcher a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition-fast);
    font-size: 12px;
    opacity: 0.6;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--accent-primary);
    opacity: 1;
}

.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.theme-btn:hover {
    transform: rotate(30deg);
    color: var(--accent-primary);
}

/* --- Footer Contact Links --- */
.footer-contact-link {
    text-decoration: none;
    color: var(--text-secondary);
    display: flex;
    gap: 15px;
    transition: var(--transition-fast);
}

.footer-contact-link:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.contact-icon {
    color: var(--accent-primary);
    width: 20px;
    text-align: center;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 800px);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: bottom 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.show {
    bottom: 30px;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cookie-icon {
    font-size: 50px;
    flex-shrink: 0;
}

.cookie-text {
    flex-grow: 1;
}

.cookie-text h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .top-bar-info {
        display: none;
        /* Hide top bar info on mobile for cleaner look */
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cookie-icon {
        font-size: 40px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions button {
        flex: 1;
    }
}

/* --- Sector Page Improvements --- */
.sector-card {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 60px !important;
}

.sector-card.rev {
    flex-direction: row-reverse;
}

@media (max-width: 992px) {

    .sector-card,
    .sector-card.rev {
        flex-direction: column;
        padding: 40px !important;
        text-align: center;
    }
}

.sector-content {
    flex: 1;
}

.sector-title {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.sector-description {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.sector-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.sector-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 16px;
}

@media (max-width: 992px) {
    .sector-list li {
        justify-content: center;
    }
}

.sector-list li i {
    color: var(--accent-primary);
    font-size: 18px;
}

.sector-visual {
    flex: 0.8;
    height: 350px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .sector-visual {
        width: 100%;
        height: 300px;
    }
}

.agro-bg {
    background: linear-gradient(135deg, #27ae60 0%, #3AAA35 100%);
}

.edu-bg {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

.ind-bg {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
}

.sector-logo {
    max-width: 80%;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.sector-icon {
    font-size: 100px;
    color: white;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.floating-animation {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- News Page Improvements --- */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding: 80px 0;
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }
}

.video-main-card {
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    animation: fadeInUp 0.8s ease backwards;
}

.video-main-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 40px;
}

@media (max-width: 992px) {
    .video-main-content {
        grid-template-columns: 1fr;
        padding: 25px;
    }
}

.video-featured-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-featured-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.video-main-card:hover .video-featured-img {
    transform: scale(1.05);
}

.video-main-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.video-main-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.youtube-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
}

.youtube-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.youtube-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.youtube-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.youtube-card:hover .youtube-thumbnail img {
    transform: scale(1.1);
}

.youtube-info {
    padding: 25px;
}

.youtube-info h4 {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.4;
    color: var(--text-primary);
}

.youtube-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
}

.fact-item {
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.fact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    transform: translateX(10px);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(58, 170, 53, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 14px;
}

.stats-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 10px 25px rgba(58, 170, 53, 0.3);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.glass-card:hover .stats-icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* --- Premium News Components --- */
.badge-premium {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent-gradient);
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(58, 170, 53, 0.3);
}

.play-button-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 2;
}

.play-button-overlay i {
    font-size: 60px;
    color: white;
    z-index: 3;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.play-pulse {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid white;
    border-radius: 50%;
    animation: playPulse 2s linear infinite;
    opacity: 0;
}

@keyframes playPulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.play-button-overlay:hover i {
    transform: scale(1.2);
}

.play-button-overlay:hover {
    background: rgba(58, 170, 53, 0.2);
}

.distinguished-presence {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    margin-top: 10px;
}

.presence-title {
    font-size: 14px;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.presence-grid {
    display: grid;
    gap: 15px;
}

.presence-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.presence-item:hover {
    transform: translateX(10px);
}

.presence-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.presence-icon.accent {
    background: rgba(58, 170, 53, 0.1);
    color: var(--accent-primary);
}

.presence-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Mobile responsive for news cards */
@media (max-width: 992px) {
    .video-main-content {
        grid-template-columns: 1fr !important;
    }

    .video-featured-visual {
        height: 250px !important;
    }

    .video-main-info {
        padding: 30px !important;
    }
}


/* --- Stats Icons --- */
.stats-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(58, 170, 53, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--accent-primary);
    border: 1px solid rgba(58, 170, 53, 0.2);
    transition: all 0.3s ease;
}

.animate-fade-in-up:hover .stats-icon-box {
    transform: translateY(-5px) rotate(10deg);
    background: var(--accent-gradient);
    color: white;
}

/* --- Light Mode Visibility Fixes --- */
body.light-mode .top-bar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.light-mode .top-bar-link,
body.light-mode .top-bar-item,
body.light-mode .top-bar-info,
body.light-mode .lang-switcher a {
    color: #2d3748 !important;
    /* Darker gray for better contrast */
    font-weight: 500;
}

body.light-mode .top-bar-link:hover,
body.light-mode .lang-switcher a:hover,
body.light-mode .lang-switcher a.active {
    color: var(--accent-primary) !important;
    opacity: 1;
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.light-mode .nav-links a:not(.active) {
    color: #4a5568 !important;
}

body.light-mode .theme-btn {
    color: #2d3748 !important;
}

body.light-mode .footer-contact-link {
    color: #2d3748 !important;
}