/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
:root {
    --primary: #581F7E;
    --secondary: #0096D7;
    --accent: #E41E0A;
    --dark: #00597b;
    --white: #ffffff;
    --gray: #f1f5f9;
    --ilnas-blue: #00597b;
    --ilnas-gold: #fdb813;
    --ilnas-light-blue: #C9D5E0;
    --original-dark: #0a1929;
    --sector-ict: #0d9488;
    --sector-aero: #4f46e5;
    --sector-const: #d97706;
    --nav-offset: 120px;
    --section-spacing: clamp(4rem, 10vh, 8rem);
}

/*original colors:root {*/
/*    --primary: #581F7E;*/
/*    --secondary: #0096D7;*/
/*    --accent: #E41E0A;*/
/*    --dark: #0a1929;*/
/*    --white: #ffffff;*/
/*    --gray: #f1f5f9;*/
/*    --ilnas-blue: #00597b;*/
/*    --ilnas-gold: #fdb813;*/
/*    --nav-offset: 120px;*/
/*    --section-spacing: clamp(4rem, 10vh, 8rem);*/
/*}*/

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-offset);
}

body {
    font-family: 'Fira Sans', sans-serif;
    background: var(--gray);
    color: #333;
    line-height: 1.6;
}

.main-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

p {
    margin-bottom: 1.5rem;
}

/* This removes the extra margin from the very last paragraph in a section */
p:last-child {
    margin-bottom: 0;
}

/* =========================================
   2. NAVIGATION
   ========================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.0rem 0; /* Slightly slimmer padding for a professional look */
    background: var(--dark); /* Start with the dark background immediately */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10000;
    transition: all 0.3s ease;
}

nav.scrolled {
    /* opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: var(--dark);  */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 0.8rem 0;
}

nav.scrolled .nav-links a {
    color: white !important;
}

.nav-container {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

/* --- Dropdown visibility & Persistence fix --- */

/* --- Cohesive Dark Dropdown Style --- */

.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    
    /* Matches your navbar background and border */
    background: var(--dark); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    padding: 10px 0;
    list-style: none;
    z-index: 10001;
}

/* THE INVISIBLE BRIDGE: Bridges the hover gap */
.dropdown-content::before {
    content: "";
    position: absolute;
    top: -20px; 
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

/* Match navbar text color (White) */
.dropdown-content li a {
    color: var(--white) !important;
    opacity: 0.8;
    padding: 12px 20px;
    display: block;
    width: 100%;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    transition: 0.3s;
}

/* Hover persistence logic */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Link Hover inside the dropdown */
.dropdown-content li a:hover {
    opacity: 1;
    color: var(--secondary) !important;
    background: rgba(255, 255, 255, 0.05);
}

/* =========================================
   3. HERO & SECTIONS
   ========================================= */
section {
    padding: var(--section-spacing) 0;
    clear: both;
}

.hero {
    margin-top: 0;
    min-height: 70vh;
    padding: 120px 0 60px;
    /*background: var(--ilnas-light-blue);*/
    /*color: var(--white);*/
    background: var(--ilnas-light-blue);
    color: #0f172a;           /* strong readable dark */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content:'';
    position:absolute;
    inset:0;
    background: linear-gradient(-135deg, #ffffff 0%, rgba(0,89,123,0.10) 100%);
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    transition-delay: 0.2s;
    text-shadow: 0 10px 20px rgba(0,0,0,0.2);
    /* Restored to left-aligned as per your preference */
}

.hero-content p {
    color: #334155;
    transition-delay: 0.4s;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: #0E4C92;/*var(--original-dark);*?
    text-shadow: none;
    background: none; /*var(--primary);/*linear-gradient(to left, #fff, var(--primary));*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: initial;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content .badge {
    color: #BA8E23;/*var(--dark);       /* #00597b */
    font-weight: 900;
} /* or var(--secondary) */


@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* Staggered Entrance for the Hero Elements */

/* The badge appears immediately */
.hero-content .badge.active {
    transition-delay: 0.1s;
}

/* The H1 waits 0.3 seconds */
.hero-content h1.active {
    transition-delay: 0.3s;
}

/* The Paragraph waits 0.5 seconds */
.hero-content p.active {
    transition-delay: 0.5s;
}

/* Optional: Make the Hero reveal specifically slide up from further down */
.hero-content .reveal-on-scroll {
    transform: translateY(40px);
    filter: blur(5px); /* Adds a professional soft entry */
}

.hero-content .reveal-on-scroll.active {
    transform: translateY(0);
    filter: blur(0);
}

/* =========================================
   FIXED: CONTAINED PARTNER BOX
   ========================================= */
.partners-grid-section {
    background: #f1f5f9; /* Light grey background to make the white box pop */
    padding: 4rem 0;     /* Space before and after the partners section */
}

.partner-card-inner {
    background: #ffffff;
    padding: 2rem 3rem;  /* Tight padding so the box isn't "huge" */
    border-radius: 15px; /* Subtle rounded corners per image_5cd705 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Very light shadow */
    max-width: 1000px;   /* Constrains the box size around the logos */
    margin: 0 auto;
    text-align: center;
}

.partner-label {
    display: block;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.integrated-partners {
    background: #ffffff;
    padding: 2rem 0 1rem 0; /* Adjust top/bottom padding */
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 0; /* Force-remove bottom margin */
}

.partner-logos img {
    height: 60px;
    max-height: 100px;    /* Keeps logos uniform and reasonably sized */
    width: auto;
    filter: grayscale(20%); /*filter: none !important; */
    object-fit: contain;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.partner-logos a:hover img {
    filter: grayscale(0%);
    transform: translateY(-5px) scale(1.05);
}

.synergy-section {
    border-radius: 12px;
    padding: 2rem 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Very light shadow */
    margin: 0 auto;
    text-align: center;
}

/* 3. Animate the SVG colors on hover */
.synergy-visual svg rect {
    transition: fill 0.3s ease;
}

.synergy-visual svg:hover rect {
    filter: brightness(1.1);
}

.synergy-visual.reveal-on-scroll {
    transition-delay: 0.7s;
}

.collaboration-goals {
    text-align: left;
    font-size: 1.2em;
}
/* =========================================
   4. THE TEAM (THE CIRCLE FIX)
   ========================================= */
.team-flex-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    /* Centers items when zooming out */
}

.member-card {
    flex: 0 1 220px;
    /* Cards stay consistent sizes */
    text-align: center;
    margin-bottom: 2rem;
}

/* The Circle Wrapper */

.circle {
    position: relative;
    width: 180px;
    height: 180px; /* Use height instead of aspect-ratio for older browser support */
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden; /* This crops the pop-bio into a circle */
    z-index: 1; /* Creates a new stacking context */
}

.circle a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.circle:hover {
    transform: scale(1.05);
}

/* Circle Borders */
.snt-border {
    border: 6px solid var(--primary);
}

.ilnas-border {
    border: 6px solid var(--secondary);
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* The Pop-up Bio Overlay */
.pop-bio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Centering the text */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    
    /* Animation settings */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    z-index: 2;
}

/* Background colors for Pop-bios based on organization */
.snt-border .pop-bio {
    background: rgba(88, 31, 126, 0.9);
}

.ilnas-border .pop-bio {
    background: rgba(0, 150, 215, 0.9);
}

.circle:hover .pop-bio {
    opacity: 1;
    visibility: visible;
}

.circle:hover img {
    transform: scale(1.1);
}

/* Team Typography */
.name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark);
    margin-top: 10px;
}

.role {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

/* Bio Paragraph Styling */
#profile-bio p {
    margin-bottom: 1.5rem; /* The spacing you like */
    line-height: 1.8;      /* Keeps the text readable */
    color: #475569;        /* Your secondary dark gray */
    text-align: justify;
}

/* Remove margin from the last paragraph so it doesn't push the section too far down */
#profile-bio p:last-child {
    margin-bottom: 0;
}

/* =========================================
   5. RESEARCH PILLARS & CARDS
   ========================================= */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.sector-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Using more specificity to win the "priority war" */
section#sectors .sector-grid .sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary);
}

/* Subtle zoom effect on the image inside */
.sector-card:hover .pillar-image img {
    transform: scale(1.05);
}

.sector-card:hover .read-more {
    color: var(--secondary);
    padding-left: 5px; /* Slight push to the right */
}

.card-image img,
.pillar-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-text {
    padding: 2rem;
}

.pillar-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1) !important;
}

/* Make all 3 pillar cards equal height and keep CTA aligned */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pillar-link-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    background: white;
    text-decoration: none;
    color: inherit;
    /* Remove any forced white-space or overflow rules that cause the "..." */
    white-space: normal !important;
    overflow: visible !important;
}

.pillar-link-card ul {
    flex-grow: 1; /* Pushes the CTA to the bottom */
    margin-bottom: 2rem;
}

/* Push CTA to the bottom of the card */
.pillar-cta {
    margin-top: auto;
    display: inline-block;
    white-space: nowrap;     /* prevents "Explore ... →" wrapping */
}

.pillar-link-card p {
    min-height: 6em;            /* locks 4 lines */
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pillar-link-card h4 {
    min-height: 2.6em;            /* locks 2 lines */
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   7. RESPONSIVENESS (ZOOM SUPPORT)
   ========================================= */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .circle {
        width: 150px;
        height: 150px;
    }
}

/* =========================================
   7. CONTACT PAGE MAPS
   ========================================= */

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    /* Wraps to one column for zoom/mobile */
    gap: 4rem;
}

.form-section,
.info-section {
    flex: 1 1 450px;
    /* Minimum width before stacking */
}

.location-card {
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
}

.map-container iframe {
    filter: grayscale(100%) contrast(1.2) opacity(0.8);
    /* Modern research look */
    transition: 0.3s;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

.modern-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    display: flex;
    flex-direction: column;
    /* Forces label on top of input */
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: var(--dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 1rem;
    width: 100%;
}

/* NEWS AND IMPACT */
.impact-block {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.impact-block:hover {
    transform: translateY(-5px);
}

.news-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item h4 {
    color: var(--dark);
    font-size: 1.1rem;
    line-height: 1.3;
}

/* =========================================
   7. STATS
   ========================================= */

.stats-section div:hover div {
    transform: scale(1.1);
    transition: 0.3s ease;
}


/* =========================================
   7. DYNAMISM
   ========================================= */

/* Smooth Scroll for the whole page */
html {
    scroll-behavior: smooth;
}

/* Dynamism: Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Shared Layout Classes --- */
.section-padding {
    padding: 80px 0;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
}

/* --- Strategic Focus & Pillars --- */
/* --- Strategic Focus Section --- */
.strategic-focus-wrapper {
    padding: 100px 0;
    background-color: #f8fafc; /* Subtle off-white to define the area */
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.focus-header {
    text-align: center;
    margin-bottom: 3rem;
}

.focus-header h2 {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.focus-header h3 {
    font-size: 2.5rem;
    color: var(--dark);
}

/* The Smaller White Card */
.sustainability-card {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background: #ffffff; /* White card on gray background */
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.sustainability-card p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark);
}

/* Pillar Grid */
/* --- Sector Pillars --- */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.pillar-link-card {
    background: white;
    padding: 3rem;
    border-radius: 28px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.pillar-link-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.pillar-link-card h4 {
    margin: 1.5rem 0 1rem;
    font-size: 1.6rem;
    color: var(--dark);
    font-weight: 800;
}

/* Specific Sector Sub-topics */
.sector-topics {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
}

.sector-topics li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}

.sector-topics li::before {
    content: "→";
    color: var(--secondary);
    font-weight: 800;
}

/* --- Governance Section --- */
.governance-grid {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 2rem;
}

.gov-card {
    background: white; 
    padding: 2.5rem; 
    border-radius: 20px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.profile-item {
    display: flex; 
    gap: 1.2rem; 
    align-items: center; 
    margin-bottom: 1.5rem;
}

.profile-img {
    width: 65px; 
    height: 65px; 
    border-radius: 50%; 
    object-fit: cover;
}

/* --- Glassmorphism Archive --- */
.archive-glass-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 3.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.archive-icon-box {
    /*background: hsla(217, 89%, 74%, 0.544); */
    color: white; 
    width: 80px; 
    height: 80px; 
    border-radius: 15px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 2rem;
}

/* --- Umbrella Section Specifics --- */
.umbrella-description-box {
    max-width: 700px;              /* Makes the box narrower */
    margin: 2rem auto 0;           /* Centers the box and adds space above */
    padding: 2.5rem;               /* Inner spacing */
    background: rgba(255, 255, 255, 0.05); /* Subtle glass effect on dark background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;           /* Large rounded corners */
    line-height: 1.8;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);    /* Adds a modern frosted glass touch */
}

/* Ensure the text stays white and legible inside the box */
.umbrella-description-box p {
    margin: 0;
    opacity: 1;
    color: #f8fafc;
}

/* --- Feature Cards (Why Standardisation) --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* --- Stats Bar --- */
.stats-bar {
    background: var(--dark);
    padding: 4rem 0;
    color: var(--white);
    margin: 4rem 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

/* --- Governance Member Cards --- */
.group-label {
    text-align: center;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 700;
}

.people-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.member-card {
    text-decoration: none;
    color: inherit;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease;
}

.member-card:hover { transform: translateY(-10px); }

.member-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info strong { display: block; font-size: 1.2rem; color: var(--dark); }
.member-info span { font-size: 0.9rem; color: #64748b; }

/* --- CTA & Archive --- */
.team-cta-box {
    text-align: center;
    padding: 4rem;
    background: #f8fafc;
    border-radius: 30px;
    margin-top: 4rem;
}

.archive-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 4rem;
    border-radius: 30px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.btn-primary {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 1.5rem;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
}

 /* SECTOR PAGE TECHNICAL COMMITTEES*/
.committee-list a {
    text-decoration: none;
    color: #1e293b; /* Consistent dark slate */
    transition: all 0.2s ease;
    display: inline-block;
}

.committee-list a:hover {
    color: var(--sector-aero); /* Highlights with your theme color */
    transform: translateX(3px); /* Subtle dynamic "nudge" */
}

.committee-list li {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.committee-list li:last-child {
    border-bottom: none;
}

/* --- Student Highlights (News Page) --- */
.student-highlights-list {
    display: grid;
    gap: 1.5rem;
}

.student-highlight-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.student-highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.student-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 30%;
    min-height: 200px;
    border-right: 1px solid #e2e8f0;
}

.student-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.paper-title-link {
    color: var(--primary);
    text-decoration: none;
    display: block;
    margin-top: 0.8rem;
    font-weight: 600;
    font-style: italic;
    transition: color 0.2s ease;
}

.paper-title-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.pday-card .pday-image {
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pday-card .pday-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}