/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    /* Color Palette - Vibrant and Engaging */
    --clr-primary: #0A192F; /* Deep Dark Blue */
    --clr-primary-light: #1A365D; /* Vibrant Navy */
    --clr-accent: #FDE68A; /* Soft Yellow - Hope */
    --clr-accent-hover: #FBBF24;
    --clr-cyan: #06B6D4; /* Vibrant Cyan for highlights */
    --clr-cyan-light: rgba(6, 182, 212, 0.1);
    --clr-white: #FFFFFF;
    --clr-light: #F8FAFC; 
    --clr-gray-light: #E2E8F0;
    --clr-gray-dark: #334155; 
    --clr-text: #1E293B;
    --clr-text-muted: #64748B;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout & Effects */
    --container-width: 1200px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background-color: var(--clr-light);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle background pattern */
    background-image: radial-gradient(var(--clr-cyan-light) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: 4rem; font-weight: 800; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }

/* ==========================================================================
   Layout & Utility
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 6rem 0; position: relative; }
.bg-light { background-color: var(--clr-white); }
.bg-dark { 
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
    color: var(--clr-white); 
}
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--clr-white); }
.text-white { color: var(--clr-white); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.divider {
    height: 6px;
    width: 60px;
    background: linear-gradient(90deg, var(--clr-cyan), var(--clr-primary));
    margin: 1.5rem 0 2.5rem;
    border-radius: 3px;
}
.divider-light { background: linear-gradient(90deg, var(--clr-accent), var(--clr-white)); }
.divider-yellow { background-color: var(--clr-accent); }
.divider-center { margin: 1.5rem auto 2.5rem; }

.icon-large { font-size: 3.5rem; color: var(--clr-cyan); margin-bottom: 1rem; }
.bg-dark .icon-large { color: var(--clr-accent); }
.text-center { text-align: center; }

/* ==========================================================================
   Components
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--clr-cyan), #0284C7);
    color: var(--clr-white);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.4);
    color: var(--clr-white);
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: var(--glass-border);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--clr-cyan), var(--clr-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}
.card:hover::before { transform: scaleX(1); }

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}
.navbar.scrolled { padding: 0.8rem 0; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.nav-logos { display: flex; gap: 1.5rem; align-items: center; }
.nav-logo-img { height: 45px; width: auto; object-fit: contain; }

/* Enhanced Placeholders */
.logo-placeholder {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: var(--clr-primary);
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.5), 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--clr-text); }
.nav-links a:hover { color: var(--clr-cyan); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh; min-height: 700px;
    background-color: var(--clr-primary);
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%230A192F"/></svg>');
    background-size: cover; background-position: center; background-attachment: fixed;
    position: relative; display: flex; align-items: center;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.7) 100%);
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2; color: var(--clr-white); max-width: 900px; margin-top: 4rem;
}
.hero-subtitle {
    font-size: 1.5rem; font-weight: 400; color: var(--clr-accent);
    margin-bottom: 1rem; font-family: var(--font-heading);
    display: flex; align-items: center; gap: 0.5rem;
}
.hero-subtitle::before { content: ''; display: inline-block; width: 40px; height: 2px; background: var(--clr-accent); }
.hero-title { margin-bottom: 2rem; text-shadow: 0 10px 20px rgba(0,0,0,0.5); line-height: 1.1; }

.hero-quote {
    font-size: 1.25rem; font-style: italic; color: var(--clr-gray-light);
    border-left: 4px solid var(--clr-cyan); padding-left: 1.5rem; margin-bottom: 3rem;
}

/* ==========================================================================
   Sections & Elements
   ========================================================================== */
.lead { font-size: 1.3rem; color: var(--clr-primary); font-weight: 500; margin-bottom: 1.5rem; }
.content-text { max-width: 900px; font-size: 1.1rem; }
.content-text p { margin-bottom: 1.5rem; }

/* ODS Section */
.ods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ods-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem; border-radius: var(--radius-md); transition: var(--transition-smooth);
    color: var(--clr-white); position: relative; overflow: hidden;
}
.ods-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.1); }
.ods-number { font-size: 3rem; font-weight: 800; opacity: 0.2; position: absolute; right: 10px; top: -10px; font-family: var(--font-heading); }
.ods-icon { font-size: 2.5rem; margin-bottom: 1rem; color: var(--clr-accent); }
.ods-1 { border-bottom: 4px solid #E5243B; }
.ods-4 { border-bottom: 4px solid #C5192D; }
.ods-10 { border-bottom: 4px solid #DD1367; }
.ods-11 { border-bottom: 4px solid #FD9D24; }

/* Ethnography Day/Night */
.ethno-card {
    border-radius: var(--radius-lg); padding: 3rem; color: var(--clr-white);
    position: relative; overflow: hidden;
}
.ethno-day { background: linear-gradient(135deg, #38BDF8, #0284C7); box-shadow: 0 15px 30px rgba(2, 132, 199, 0.2); }
.ethno-night { background: linear-gradient(135deg, #1E1B4B, #312E81); box-shadow: 0 15px 30px rgba(30, 27, 75, 0.2); }
.ethno-card ul { list-style: none; margin-top: 1.5rem; }
.ethno-card li { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; font-size: 1.1rem; }
.ethno-card i { font-size: 1.5rem; color: var(--clr-accent); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery-item {
    border-radius: var(--radius-md); overflow: hidden; position: relative;
    box-shadow: var(--shadow-soft);
}
.gallery-img-real { transition: transform 0.6s ease; width: 100%; height: 300px; object-fit: cover; display: block; }
.gallery-item:hover .gallery-img-real { transform: scale(1.1); }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.95) 40%, var(--clr-primary));
    color: var(--clr-white); transform: translateY(60%); transition: var(--transition-smooth);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-caption h4 { color: var(--clr-accent); margin-bottom: 0.5rem; font-size: 1.1rem; }
.gallery-caption p { font-size: 0.9rem; margin: 0; color: var(--clr-gray-light); }

/* SWOT */
.swot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.swot-card { padding: 2rem; border-radius: var(--radius-lg); background: var(--clr-white); box-shadow: var(--shadow-soft); }
.swot-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.swot-header i { font-size: 2.5rem; padding: 1rem; border-radius: 50%; }
.swot-strength .swot-header i { background: rgba(16, 185, 129, 0.1); color: #10B981; }
.swot-opportunity .swot-header i { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.swot-weakness .swot-header i { background: rgba(239, 68, 68, 0.1); color: #EF4444; }
.swot-threat .swot-header i { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }
.swot-card ul { list-style: none; }
.swot-card li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.8rem; }
.swot-card li::before { content: '•'; color: var(--clr-gray-dark); font-weight: bold; }

/* Stakeholders Matrix */
.matrix-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
    background: var(--clr-white); padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
}
.matrix-quadrant { padding: 2rem; border-radius: var(--radius-md); border: 2px dashed var(--clr-gray-light); }
.matrix-quadrant h4 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; margin-bottom: 1rem; }
.matrix-q1 { background: rgba(239, 68, 68, 0.05); border-color: rgba(239, 68, 68, 0.3); } /* High Power, High Interest */
.matrix-q2 { background: rgba(245, 158, 11, 0.05); border-color: rgba(245, 158, 11, 0.3); } /* High Power, Low Interest */
.matrix-q3 { background: rgba(16, 185, 129, 0.05); border-color: rgba(16, 185, 129, 0.3); } /* Low Power, High Interest */
.matrix-q4 { background: rgba(100, 116, 139, 0.05); border-color: rgba(100, 116, 139, 0.3); } /* Low Power, Low Interest */

/* Footer */
.footer { background: var(--clr-primary); color: var(--clr-white); padding: 5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer h3, .footer h4 { color: var(--clr-white); margin-bottom: 1.5rem; }
.footer-logos { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.footer-logo-img { height: 55px; width: auto; object-fit: contain; background: white; padding: 8px; border-radius: 8px; }
.footer-links a { display: flex; align-items: center; gap: 0.5rem; color: var(--clr-gray-light); margin-bottom: 0.8rem; transition: var(--transition-fast); }
.footer-links a:hover { color: var(--clr-cyan); transform: translateX(5px); }
.footer-bottom { background: #050d1a; padding: 2rem 0; text-align: center; color: var(--clr-text-muted); }

/* QR Placeholder */
.qr-box {
    padding: 1.5rem; background: var(--clr-white); color: var(--clr-primary);
    border-radius: var(--radius-sm); display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem;
    font-weight: bold; box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    .grid-4, .ods-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .grid-2, .grid-3, .gallery, .matrix-grid, .swot-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-content { margin-top: 0; }
}
