/* =========================================
   ABOUT PAGE CSS
========================================= */

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; overflow-x: hidden; width: 100%; }
main { overflow-x: hidden; }
.hidden { display: none !important; }
.text-gradient { background-image: linear-gradient(to right, #fb923c, #facc15); -webkit-background-clip: text; color: transparent; }


/* =========================================
   MISSING LAYOUT & SPACING UTILITIES
========================================= */

/* Pushes the main content down below the fixed navbar */
.pt-40 { padding-top: 4rem; } 
@media (max-width: 768px) {
    .pt-40 { padding-top: 2.5rem; }
}
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 2rem; }
@media (max-width: 768px) {
    .pb-24 { padding-bottom: 1rem; }
}
.mb-32 { margin-bottom: 8rem; }
@media (max-width: 768px) {
    .mb-32 { margin-bottom: 4rem; }
}
.items-center { align-items: center; }

/* Container & Alignment */
.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 768px) { 
    .md\:px-12 { padding-left: 3rem; padding-right: 3rem; } 
}

/* Backgrounds & Positioning */
html, body {
    overflow-x: hidden; /* Globally clips elements shifting past screen boundaries */
    width: 100%;
}

.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-900 { background-color: #0f172a; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* FIXED: Added definition for the class used on your body tag */
.overflow-x-hidden { overflow-x: hidden; } 
.z-10 { z-index: 10; }

/* --- FIX FOR THE BACK BUTTON --- */
.btn-back { 
    position: relative; 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.6rem 1.25rem; 
    background: white; 
    border: 1px solid #e2e8f0; 
    border-radius: 9999px; 
    color: #334155; 
    font-weight: 700; 
    text-decoration: none; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); 
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s; 
    animation: slideInLeft 0.5s ease-out; 
}
.btn-back:hover { 
    border-color: #fb923c; 
    color: #ea580c; 
}
@media (max-width: 768px) {
    .btn-back { 
        margin-left: 1rem;
        margin-bottom: 1rem;
        padding: 0.5rem 1rem; 
        font-size: 0.875rem; 
    }
}

/* Grid Utilities */
.grid-2-col { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .grid-2-col { grid-template-columns: repeat(2, 1fr); gap: 5rem; } }
.grid-3-col { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-3-col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3-col { grid-template-columns: repeat(3, 1fr); } }

@keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }

/* =========================================
   SECTION 0: OVERVIEW
========================================= */
.overview-hero { position: relative; min-height: 90vh; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #0f172a; color: white; border-radius: 0 0 4rem 4rem; padding: 5rem 1rem 5rem; overflow: hidden; text-align: center; }
.bg-animations { position: absolute; inset: 0; pointer-events: none; }
.bg-fan { position: absolute; top: -10%; left: -10%; font-size: 800px; color: #1e293b; opacity: 0.4; animation: spin 40s linear infinite; }
.bg-sun { position: absolute; top: 10%; right: -5%; font-size: 500px; color: rgba(249,115,22,0.2); filter: blur(64px); animation: pulseSpin 10s ease-in-out infinite; }
.bg-stardust { position: absolute; inset: 0; background-image: url('https://www.transparenttextures.com/patterns/stardust.png'); opacity: 0.2; }
.hero-content { position: relative; z-index: 10; max-width: 64rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.5rem; border-radius: 9999px; border: 1px solid rgba(249,115,22,0.3); background: rgba(249,115,22,0.1); backdrop-filter: blur(12px); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #fb923c; margin-bottom: 2rem; }
.spin-slow { animation: spin 4s linear infinite; }
.hero-title { font-size: 3rem; font-weight: 900; line-height: 1.1; margin: 0 0 2rem; }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
.hero-desc { font-size: 1.25rem; color: #94a3b8; font-weight: 300; line-height: 1.6; }

.overview-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .overview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .overview-grid { grid-template-columns: repeat(3, 1fr); } }
.overview-card { background: white; padding: 2.5rem; border-radius: 2.5rem; display: flex; flex-direction: column; items-center; text-align: center; gap: 1rem; border: 1px solid #f1f5f9; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); text-decoration: none; transition: all 0.3s; }
.overview-card:hover { background: #f97316; color: white; transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(249,115,22,0.3); border-color: transparent; }
.card-icon { width: 4rem; height: 4rem; background: #fff7ed; color: #f97316; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto; transition: all 0.3s; }
.overview-card:hover .card-icon { background: rgba(255,255,255,0.2); color: white; }
.overview-card h3 { font-size: 1.5rem; font-weight: 700; margin: 0; color: #0f172a; transition: color 0.3s; }
.overview-card:hover h3 { color: white; }
.overview-card p { font-size: 0.875rem; color: #64748b; font-weight: 500; margin: 0; transition: color 0.3s; }
.overview-card:hover p { color: rgba(255,255,255,0.9); }
.click-explore { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: white; opacity: 0; transform: translateY(10px); transition: all 0.3s; margin-top: 0.5rem; }
.overview-card:hover .click-explore { opacity: 1; transform: translateY(0); }

/* =========================================
   SECTION 1: WE SOLARICA
========================================= */
.sec-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; }
.sec-title { font-size: 1.85rem; font-weight: 900; line-height: 1.2; margin: 0 0 1.5rem; color: #0f172a; }
@media (min-width: 768px) { .sec-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .sec-title { white-space: nowrap; } }
.sec-text { font-size: 1.125rem; color: #475569; line-height: 1.7; display: flex; flex-direction: column; gap: 1.5rem; }

.shutter-img-wrapper { position: relative; width: 100%; border-radius: 2.5rem; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); border: 4px solid rgba(255,255,255,0.1); }
.h-600 { height: 300px; } @media (min-width: 1024px) { .h-600 { height: 600px; } }
.h-400 { height: 300px; } @media (min-width: 1024px) { .h-400 { height: 400px; } }
.shutter-img-wrapper img { width: 100%; height: 100%; object-fit: fill; transition: transform 0.7s; }
.shutter-img-wrapper:hover img { transform: scale(1.1); }
.shutter-overlay { position: absolute; inset: 0; display: flex; pointer-events: none; }
.strip { width: 20%; height: 0%; background: linear-gradient(to bottom, rgba(249,115,22,0.3), rgba(234,179,8,0.2)); backdrop-filter: blur(2px); border-right: 1px solid rgba(255,255,255,0.1); transition: height 0.4s ease-out; }
.shutter-img-wrapper:hover .strip { height: 100%; }

.value-card { display: flex; align-items: center; gap: 1.5rem; padding: 1.75rem; border-radius: 2rem; border: 1px solid; backdrop-filter: blur(12px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transition: all 0.3s; cursor: pointer; }
.value-card:hover { transform: translateY(-10px) scale(1.03); box-shadow: 0 20px 40px -8px rgba(0,0,0,0.15); }
.val-icon { flex-shrink: 0; width: 4rem; height: 4rem; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.value-text-box { display: flex; flex-direction: column; text-align: left; }
.value-card h3 { font-size: 1.25rem; font-weight: 900; margin: 0 0 0.5rem; color: #0f172a; }
.value-card p { font-size: 0.95rem; color: #475569; font-weight: 500; margin: 0; line-height: 1.5; }
.border-blue { border-color: #bfdbfe; } .bg-blue-light { background-color: rgba(239,246,255,0.5); }
.border-orange { border-color: #fed7aa; } .bg-orange-light { background-color: rgba(255,247,237,0.5); }
.border-green { border-color: #bbf7d0; } .bg-green-light { background-color: rgba(240,253,244,0.5); }

.dark-box { background: #0a192f; }
.dark-box-bg-icon { position: absolute; top: -5rem; right: -5rem; font-size: 400px; color: rgba(255,255,255,0.05); }
.check-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 0.75rem; border: 1px solid transparent; color: white; font-weight: 700; font-size: 1.125rem; transition: all 0.3s; }
.check-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); transform: translateX(10px); }
.check-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: linear-gradient(to bottom right, #f97316, #eab308); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 15px -3px rgba(249,115,22,0.3); }
.border-white-10 { border-color: rgba(255,255,255,0.1); }
.btn-gradient-red { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2.5rem; background: linear-gradient(to right, #ea580c, #ef4444); color: white; border-radius: 9999px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 15px -3px rgba(234,88,12,0.4); transition: all 0.3s; }
.btn-gradient-red:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(234,88,12,0.5); }
.btn-white-solid { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2.5rem; background: white; color: #0f172a; border-radius: 9999px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 15px -3px rgba(255,255,255,0.2); transition: all 0.3s; }
.btn-white-solid:hover { background: #f1f5f9; transform: translateY(-4px); }

/* =========================================
   SECTION 2: OUR JOURNEY (Vertical Timeline)
========================================= */
.journey-bg-fan { position: absolute; top: 20%; left: -10%; font-size: 500px; color: #e2e8f0; opacity: 0.5; animation: spin 30s linear infinite; pointer-events: none; }
.timeline-container { position: relative; max-width: 1000px; margin: 0 auto; padding: 2rem 0; }
.timeline-line { position: absolute; left: 1rem; top: 0; bottom: 0; width: 4px; background: #cbd5e1; border-radius: 9999px; }
@media (min-width: 1024px) { .timeline-line { left: 50%; transform: translateX(-50%); } }

.timeline-item { position: relative; display: flex; align-items: center; margin-bottom: 4rem; width: 100%; padding-left: 4rem; }
@media (min-width: 1024px) { 
    .timeline-item { width: 50%; padding-left: 0; }
    .timeline-item.left { justify-content: flex-end; padding-right: 4rem; }
    .timeline-item.right { margin-left: 50%; padding-left: 4rem; }
}

.timeline-dot { position: absolute; left: 0; top: 0; width: 3rem; height: 3rem; background: #fff7ed; border: 4px solid #f97316; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.75rem; color: #0f172a; box-shadow: 0 4px 6px rgba(0,0,0,0.1); z-index: 10; }
@media (min-width: 1024px) { 
    .timeline-item.left .timeline-dot { left: auto; right: -1.5rem; }
    .timeline-item.right .timeline-dot { left: -1.5rem; }
}

.timeline-content { background: white; padding: 2rem; border-radius: 2rem; border: 1px solid #f1f5f9; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transition: transform 0.3s; width: 100%; }
.timeline-content:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15); }
.timeline-content h3 { font-size: 1.25rem; font-weight: 800; margin: 0 0 0.5rem; color: #0f172a; }
.timeline-content p { margin: 0; color: #64748b; font-size: 0.875rem; line-height: 1.6; font-weight: 500; }

/* =========================================
   SECTION 3: LEADERSHIP
========================================= */
.leader-card { display: flex; flex-direction: column; gap: 2.5rem; align-items: center; background: white; padding: 2rem; border-radius: 3rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); border: 1px solid #f1f5f9; transition: border-color 0.3s; }
.leader-card:hover { border-color: #ffedd5; }
@media (min-width: 1024px) { 
    .leader-card { padding: 3rem; }
    .flex-row { flex-direction: row; } 
    .flex-row-reverse { flex-direction: row-reverse; } 
    .w-1-3 { width: 33.333%; } 
    .w-2-3 { width: 66.666%; } 
}
.role-badge { display: inline-block; padding: 0.25rem 1rem; background: #fff7ed; color: #c2410c; border-radius: 9999px; font-size: 0.875rem; font-weight: 700; margin-bottom: 1rem; }
.leader-name { font-size: 2.25rem; font-weight: 800; color: #0f172a; margin: 0 0 1.5rem; }
.quote-box { padding-left: 2rem; border-left: 4px solid #fb923c; }
.quote-box p { font-size: 1.125rem; color: #475569; font-style: italic; line-height: 1.7; margin: 0; }
.regards { display: flex; align-items: center; gap: 0.5rem; color: #94a3b8; font-weight: 500; margin-top: 1.5rem; }
.regards .line { height: 1px; width: 2.5rem; background: #cbd5e1; }

.step-card { padding: 2rem; border-radius: 2rem; border: 1px solid; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); transition: transform 0.3s; cursor: default; }
.step-card:hover { transform: translateY(-5px); }
.border-slate { border-color: #e2e8f0; }
.step-num { width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.step-card p { font-weight: 500; color: #334155; line-height: 1.6; margin: 0; }

/* =========================================
   SECTION 4: OUR COMPANIES (Tree)
========================================= */
.bg-watermark { position: absolute; top: 25%; left: 0; font-size: 15vw; font-weight: 900; color: #0f172a; opacity: 0.02; white-space: nowrap; animation: slideText 30s linear infinite; pointer-events: none; margin: 0; line-height: 1; }
@keyframes slideText { from { transform: translateX(0%); } to { transform: translateX(-100%); } }

.dark-badge { display: inline-block; padding: 0.25rem 1rem; border-radius: 9999px; border: 1px solid rgba(249,115,22,0.3); background: rgba(249,115,22,0.1); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #fb923c; margin-bottom: 1rem; }

.company-cards-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.comp-card { background: white; border: 1px solid #e2e8f0; padding: 2rem; border-radius: 2rem; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; transition: all 0.3s; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); }
@media (min-width: 768px) { .comp-card { width: 350px; } }
.comp-card:hover { background: white; border-color: #fb923c; transform: translateY(-10px); box-shadow: 0 20px 25px -5px rgba(249,115,22,0.15); }
.comp-icon { width: 4rem; height: 4rem; background: linear-gradient(to bottom right, #f97316, #eab308); border-radius: 1rem; display: flex; align-items: center; justify-content: center; color: white; font-size: 2rem; margin-bottom: 1.5rem; box-shadow: 0 10px 15px -3px rgba(249,115,22,0.3); transition: transform 0.3s; }
.comp-card:hover .comp-icon { transform: scale(1.1); }
.comp-card h3 { font-size: 1.25rem; font-weight: 700; color: #0f172a; border-bottom: 1px solid #f1f5f9; padding-bottom: 1rem; margin: 0 0 1rem; width: 100%; }
.comp-card p { font-size: 0.875rem; color: #64748b; line-height: 1.6; margin: 0 0 1.5rem; height: 4.5rem; overflow: hidden; }
.comp-link { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #fb923c; transition: color 0.3s; display: flex; align-items: center; gap: 0.25rem; }
.comp-card:hover .comp-link { color: #ea580c; }

/* Hierarchy Tree */
.hierarchy-wrapper { width: 100%; overflow-x: auto; padding-bottom: 1rem; }
.custom-scrollbar::-webkit-scrollbar { height: 8px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.hierarchy-tree { min-width: 1000px; display: flex; flex-direction: column; align-items: center; }

.tree-root { background: linear-gradient(to right, #2563eb, #1e40af); padding: 1.5rem; border-radius: 1rem; border: 1px solid rgba(96,165,250,0.3); text-align: center; width: 400px; position: relative; z-index: 20; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2); color: white; }
.tree-root h3 { font-size: 1.25rem; font-weight: 900; text-transform: uppercase; margin: 0 0 0.5rem; }
.stake { background: rgba(255,255,255,0.2); display: inline-block; padding: 0.25rem 1rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; }

.tree-line-v { width: 4px; height: 2.5rem; background: #64748b; }
.tree-line-h { width: 80%; height: 4px; background: #64748b; position: relative; margin: 0 auto 2.5rem auto; }
.drop-line { position: absolute; top: 0; width: 4px; height: 2.5rem; background: #64748b; }

.tree-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; width: 100%; }
.tree-node { background: white; border: 1px solid #cbd5e1; padding: 1rem; border-radius: 0.75rem; text-align: center; position: relative; transition: all 0.3s; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); color: #0f172a; }
.tree-node:hover { transform: translateY(-8px); border-color: #fb923c; box-shadow: 0 10px 15px -3px rgba(249,115,22,0.15); }
.tree-node h4 { font-size: 0.875rem; font-weight: 700; margin: 0 0 0.5rem; color: #0f172a; }
.node-stake { background: rgba(59,130,246,0.1); color: #2563eb; font-size: 0.625rem; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 0.25rem; margin-bottom: 0.75rem; line-height: 1.2; display: inline-block; }
.node-person { background: #f8fafc; padding: 0.5rem; border-radius: 0.25rem; font-size: 0.75rem; color: #64748b; margin-bottom: 0.5rem; }
.node-person strong { display: block; color: #0f172a; }
.manager-tooltip { position: absolute; bottom: -2.5rem; left: 50%; transform: translateX(-50%); background: #ea580c; color: white; font-size: 0.625rem; padding: 0.5rem; border-radius: 0.25rem; white-space: nowrap; display: none; z-index: 50; }
.tree-node.group:hover .manager-tooltip { display: block; }

@media (max-width: 1023px) {
    .hierarchy-tree {
        min-width: auto;
        width: 100%;
    }
    .tree-root {
        width: 100%;
        max-width: 350px;
    }
    .tree-line-h, .drop-line {
        display: none;
    }
    .tree-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        max-width: 350px;
        align-items: stretch;
        margin: 0 auto;
    }
    .tree-node {
        width: 100%;
    }
}

/* =========================================
   SECTION 5: AWARDS
========================================= */
.awards-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-gradient-sky { position: absolute; inset: 0; background: linear-gradient(to bottom, #eff6ff, white, white); opacity: 0.8; }
.awards-sun { position: absolute; top: 2.5rem; right: 2.5rem; font-size: 200px; color: #fb923c; opacity: 0.2; animation: spin 100s linear infinite; }
.awards-windmills { position: absolute; bottom: 0; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 2.5rem; opacity: 0.1; color: #1e293b; }
.w1 { font-size: 180px; animation: spin 8s linear infinite; }
.w2 { font-size: 120px; animation: spin 12s linear reverse infinite; margin-bottom: 2.5rem; }
.w3 { font-size: 220px; animation: spin 10s linear infinite; }
.solar-farm-grid { position: absolute; bottom: 0; left: 0; width: 100%; height: 8rem; background-image: linear-gradient(45deg, transparent 48%, #cbd5e1 49%, #cbd5e1 51%, transparent 52%), linear-gradient(-45deg, transparent 48%, #cbd5e1 49%, #cbd5e1 51%, transparent 52%); background-size: 40px 40px; opacity: 0.1; transform: perspective(1000px) rotateX(60deg); }

.slider-btn { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid #e2e8f0; background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.slider-btn:hover { background: #f97316; color: white; border-color: transparent; }

.awards-slider { display: flex; gap: 2rem; overflow-x: auto; padding-bottom: 3rem; scroll-snap-type: x mandatory; scroll-behavior: smooth; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.award-card { min-width: 350px; background: white; border-radius: 2.5rem; border: 1px solid #f1f5f9; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.1); overflow: hidden; cursor: pointer; transition: all 0.3s; scroll-snap-align: center; }
@media (min-width: 768px) { .award-card { min-width: 400px; } }
.award-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 30px 60px -10px rgba(34,197,94,0.15); }
.award-img-box { position: relative; height: 16rem; background: #f8fafc; display: flex; align-items: center; justify-content: center; padding: 1.5rem; overflow: hidden; }
.award-img-box img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s; }
.award-card:hover .award-img-box img { transform: scale(1.05); }
.award-date { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); padding: 0.25rem 1rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; gap: 0.25rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); z-index: 20; }
.award-text { padding: 2rem; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 1.5rem; font-weight: 700; margin: 0 0 0.75rem; transition: color 0.3s; }
.award-card:hover .line-clamp-2 { color: #16a34a; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.875rem; color: #64748b; line-height: 1.6; margin: 0 0 1.5rem; }
.tap-expand { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #94a3b8; display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s; }
.award-card:hover .tap-expand { color: #f97316; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(12px); z-index: 100; display: flex; items-center; justify-content: center; padding: 1rem; opacity: 0; transition: opacity 0.3s; }
.modal-overlay:not(.hidden) { opacity: 1; }
.modal-content { background: white; width: 100%; max-width: 56rem; border-radius: 3rem; overflow: hidden; display: flex; flex-direction: column; position: relative; max-height: 90vh; transform: scale(0.95); transition: transform 0.3s; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.modal-overlay:not(.hidden) .modal-content { transform: scale(1); }
@media (min-width: 768px) { .modal-content { flex-direction: row; } }
.btn-close-modal { position: absolute; top: 1rem; right: 1rem; z-index: 50; width: 3rem; height: 3rem; border-radius: 50%; border: none; background: rgba(255,255,255,0.5); backdrop-filter: blur(12px); font-size: 1.25rem; cursor: pointer; transition: all 0.3s; }
.btn-close-modal:hover { background: #0f172a; color: white; }
.modal-img-col { width: 100%; height: 16rem; background: #f8fafc; display: flex; align-items: center; justify-content: center; padding: 2rem; }
@media (min-width: 768px) { .modal-img-col { width: 50%; height: auto; } }
.modal-img-col img { width: 100%; height: 100%; object-fit: contain; }
.modal-text-col { width: 100%; padding: 2.5rem; display: flex; flex-direction: column; overflow-y: auto; }
@media (min-width: 768px) { .modal-text-col { width: 50%; padding: 4rem; } }
.modal-date { display: inline-block; padding: 0.25rem 1rem; background: #dcfce7; color: #15803d; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; width: fit-content; }
.modal-title { font-size: 1.875rem; font-weight: 900; line-height: 1.2; margin: 0 0 1.5rem; }
@media (min-width: 768px) { .modal-title { font-size: 2.25rem; } }
.modal-divider { width: 5rem; height: 4px; background: linear-gradient(to right, #f97316, #22c55e); border-radius: 9999px; margin-bottom: 1.5rem; }
.modal-desc { font-size: 1.125rem; color: #475569; line-height: 1.7; margin-bottom: 2rem; }
.modal-footer { margin-top: auto; padding-top: 2rem; border-top: 1px solid #f1f5f9; font-size: 0.875rem; color: #94a3b8; font-weight: 600; }

/* =========================================
   SCROLL REVEAL ANIMATIONS (Triggered by JS)
========================================= */
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s ease-out; }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s ease-out; }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

.is-visible { opacity: 1; transform: translate(0); }



