/* --- Imports & Variables --- */
:root {
    /* PREMIUM LIGHT THEME BASE */
    --pa-bg: #f8fafc;       
    --pa-surface: #ffffff;  
    
    /* Dark Text for Readability */
    --pa-text-main: #0f172a;   
    --pa-text-muted: #475569;  
    
    /* Gradients (for icons) */
    --grad-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --grad-2: linear-gradient(135deg, #2af598 0%, #009efd 100%);
    --grad-3: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%);
    --grad-4: linear-gradient(135deg, #f6d365 0%, #fda085 100%);

    /* Neon Colors (Solid) */
    --neon-1: #8b5cf6; /* Violet */
    --neon-2: #0ea5e9; /* Sky Blue */
    --neon-3: #f43f5e; /* Rose */
    --neon-4: #f97316; /* Orange */

    /* Spacing */
    --sp-md: 4rem;
    --sp-lg: 6rem;
}

body {
    background-color: var(--pa-bg);
    color: var(--pa-text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; 
}

/* --- Hero Section --- */
.policy-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 40px;
    background: radial-gradient(circle at 50% 0%, #e0e7ff 0%, transparent 40%);
}
.policy-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: #1e293b; margin-bottom: 1rem; letter-spacing: -0.03em; }
.policy-hero p { color: var(--pa-text-muted); font-size: clamp(1.1rem, 1.5vw, 1.25rem); max-width: 700px; margin: 0 auto; font-weight: 400; }

/* --- Focus Section --- */
.focus-section { padding: var(--sp-md) 0; } 
.container { width: 90%; max-width: 1400px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.2rem; color: var(--pa-text-main); margin-bottom: 3rem; font-weight: 700; }

.focus-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;    
    flex-wrap: wrap;         
    gap: 30px; /* Slightly more gap for the glow */
    padding: 20px; 
}

.glass-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 5vw, 2rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-brand {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.5px;
    flex: 1 1 max-content;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1rem, 3vw, 1.5rem);
    list-style: none;
    margin: 0; 
    padding: 0;
    flex: 999 1 max-content;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-link:hover { color: var(--accent-color); }

.nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 0; left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.nav-btn {
    padding: clamp(0.4rem, 1vw, 0.6rem) clamp(1rem, 2vw, 1.5rem);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0; visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    list-style: none;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-link {
    display: block;
    padding: 10px 15px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: background 0.2s;
    text-align: center;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}


/* --- PERMANENT NEON CARD --- */
.focus-card {
    flex: 1 1 280px;         
    max-width: 320px;        
    
    /* Removed standard background and border to use pseudo-elements instead */
    background: transparent;
    border-radius: 24px;
    padding: 2.5rem;
    
    /* Essential for the animated border trick */
    position: relative;
    overflow: hidden;
    z-index: 1;
    
    box-shadow: 0 0 15px -3px var(--neon-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    display: flex;
    flex-direction: column;
    align-items: center;     
    text-align: center; 
}

/* Define Colors per Card */
.focus-card.color-1 { 
    --neon-color: var(--neon-1); 
    --neon-glow: rgba(139, 92, 246, 0.4); 
}
.focus-card.color-2 { 
    --neon-color: var(--neon-2); 
    --neon-glow: rgba(14, 165, 233, 0.4); 
}
.focus-card.color-3 { 
    --neon-color: var(--neon-3); 
    --neon-glow: rgba(244, 63, 94, 0.4); 
}
.focus-card.color-4 { 
    --neon-color: var(--neon-4); 
    --neon-glow: rgba(249, 115, 22, 0.4); 
}

/* Hover: Lift and Intensify Glow */
.focus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Creates a tail that fades out, with a bright head at the front */
    background: conic-gradient(from 0deg, transparent 60%, var(--neon-glow) 80%, var(--neon-color) 100%);
    animation: spinBorder 5s linear infinite;
    z-index: -2;
}

/* The Inner White Surface (Hides the middle of the beam, leaving only the border) */
.focus-card::after {
    content: '';
    position: absolute;
    inset: 2px; /* This defines the border thickness! (2px) */
    background: var(--pa-surface);
    border-radius: 22px; /* Parent is 24px minus 2px inset = 22px */
    z-index: -1;
}

/* The Spin Animation */
@keyframes spinBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Icon Gradients */
.focus-card.color-1 .icon-box { background: var(--grad-1); }
.focus-card.color-2 .icon-box { background: var(--grad-2); }
.focus-card.color-3 .icon-box { background: var(--grad-3); }
.focus-card.color-4 .icon-box { background: var(--grad-4); }

.focus-card h3 {
    color: var(--pa-text-main); 
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.focus-card p {
    color: var(--pa-text-muted); 
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* --- List Section (Clean & Simple) --- */
.list-section { padding-bottom: var(--sp-lg); }
.activity-list { display: flex; flex-direction: column; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.list-item { display: flex; align-items: center; gap: 2rem; background: var(--pa-surface); border: 1px solid #e2e8f0; border-radius: 16px; padding: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: 0.3s ease; }
.list-item:hover { box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); transform: translateX(5px); border-color: #cbd5e1; }
.date-box { background: #f1f5f9; padding: 15px 20px; border-radius: 12px; text-align: center; min-width: 70px; color: #334155; }
.date-box strong { display: block; font-size: 1.8rem; color: #0f172a; line-height: 1; }
.date-box span { font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; color: #64748b; }
.details h3 { color: #0f172a; font-size: 1.3rem; margin: 0 0 0.5rem 0; font-weight: 700; }
.details p { color: #475569; margin: 0; font-size: 1rem; }
.read-btn { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; background: #f1f5f9; color: #0f172a; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.list-item:hover .read-btn { background: #0f172a; color: #fff; }

@media (max-width: 768px) {
    .list-item { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .read-btn { display: none; } 
}

/* --- Entry Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Footer */
footer {
    text-align: center;
    padding: 10px 10px;
    background: #343d46;
    color: #94a3b8;
    font-size: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer2 {
    position: fixed;
    bottom: 0;
    right: 0;
    text-align: right; 
    width: auto;
}