* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e5a9e;
    --primary-teal: #2d9b87;
    --light-blue: #4a90d9;
    --light-teal: #45c4a8;
    --dark-blue: #0d2f52;
    --dark-teal: #1a5647;
    --text-dark: #1a2332;
    --text-light: #ffffff;
    --bg-cream: #faf8f5;
    --accent-coral: #ff6b6b;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background: var(--bg-cream);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 90, 158, 0.1);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-teal));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(30, 90, 158, 0.1);
    padding: 0.3rem;
    border-radius: 50px;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(30, 90, 158, 0.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
}

/* Main Content */
main {
    padding-top: 80px;
    min-height: 100vh;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--light-blue) 50%,
        var(--primary-teal) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(45,155,135,0.2) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 3rem;
    z-index: 10;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-highlight {
    background: linear-gradient(90deg, var(--primary-teal), var(--light-teal));
    padding: 0 1rem;
    border-radius: 8px;
    display: inline-block;
}

.hero p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    font-weight: 400;
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: slideInLeft 0.8s ease-out 0.8s both;
    justify-content: center;
}

.btn-primary {
    padding: 1.2rem 3rem;
    background: white;
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
}

.btn-secondary {
    padding: 1.2rem 3rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Mission Section */
.mission-section {
    padding: 8rem 3rem;
    background: var(--bg-cream);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    color: var(--primary-teal);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Feature Cards */
.features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(30, 90, 158, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-teal));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(30, 90, 158, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* Partners Section */
.partners-section {
    padding: 6rem 3rem;
    background: white;
}

.partners-logos-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
    align-items: center;
    justify-items: center;
}

.partner-logo-item {
    background: white;
    border: 2px solid rgba(30, 90, 158, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 100px;
    width: 100%;
    max-width: 220px;
}

.partner-logo-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-teal);
    box-shadow: 0 15px 40px rgba(30, 90, 158, 0.15);
}

.partner-logo-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    opacity: 1;
    transition: all 0.3s ease;
}

/* About Page Specific Styles */
.about-hero {
    padding: 8rem 3rem 4rem;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45,155,135,0.3) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 6rem;
    align-items: center;
}

.content-image {
    background: linear-gradient(135deg, var(--light-blue), var(--light-teal));
    border-radius: 30px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 20px 60px rgba(30, 90, 158, 0.2);
}

.content-image-photo {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(30, 90, 158, 0.2);
    aspect-ratio: 1;
}

.content-image-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-image-photo:hover img {
    transform: scale(1.05);
}

.content-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.objective-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary-teal);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.objective-item h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Consortium Page Specific Styles */
.partners-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.partner-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(30, 90, 158, 0.08);
    position: relative;
}

.partner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-teal));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card:hover::after {
    opacity: 1;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(30, 90, 158, 0.15);
}

.partner-header {
    padding: 2.5rem 2.5rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(30, 90, 158, 0.05), 
        rgba(45, 155, 135, 0.05));
}

.partner-role {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.partner-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.partner-country {
    font-size: 1.1rem;
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 1rem;
}

.partner-body {
    padding: 0 2.5rem 2.5rem;
}

.partner-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.partner-grant {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.total-budget {
    margin-top: 5rem;
    padding: 4rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    border-radius: 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.total-budget::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}

.total-budget h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.95;
    position: relative;
}

.budget-amount {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
}

/* Contact Page Specific Styles */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    padding: 3rem;
    border-radius: 30px;
    color: white;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.info-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.info-item:last-child {
    border: none;
}

.info-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-text {
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: white;
    box-shadow: 0 0 0 4px rgba(45, 155, 135, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 160px;
}

.submit-btn {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(30, 90, 158, 0.3);
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: white;
    padding: 4rem 3rem 2rem;
    margin-top: 6rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-section h5 {
    color: var(--light-teal);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
    max-width: 1400px;
    margin: 0 auto;
}

.eu-disclaimer {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1200px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partners-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
        flex-wrap: wrap;
        padding: 1rem 1.5rem;
    }

    .logo-container {
        order: 1;
        flex: 1;
    }

    .language-switcher {
        order: 2;
        padding: 0.2rem;
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .menu-toggle {
        display: block;
        order: 3;
        font-size: 1.2rem;
        padding: 0.3rem 0.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 16px 16px;
        gap: 0;
        z-index: 1000;
        order: 4;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(30, 90, 158, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(30, 90, 158, 0.05);
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .features-container,
    .split-content,
    .objectives-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-section,
    .about-content,
    .contact-section {
        padding: 4rem 1.5rem;
    }

    .partners-section {
        padding: 4rem 1.5rem;
    }

    .partners-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .partner-logo-item {
        padding: 1.2rem;
        min-height: 90px;
        max-width: 100%;
    }
}

/* ============================================
   NEWS DROPDOWN STYLES - FIXED VERSION
   Add these styles to the END of your style.css file
   (Replace the previous dropdown CSS if you already added it)
   ============================================ */

/* Navigation dropdown positioning */
.nav-links li {
    position: relative;
}

.nav-links li.dropdown {
    position: relative;
}

/* Dropdown menu container - FIXED: No gap between menu and link */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;  /* Changed from calc(100% + 10px) to remove gap */
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    min-width: 300px;
    border-radius: 16px;
    padding: 1rem 0;
    padding-top: 1.5rem;  /* Add padding to top instead of gap */
    z-index: 1100;
    list-style: none;
    border: 1px solid rgba(30, 90, 158, 0.1);
    box-shadow: 0 20px 60px rgba(30, 90, 158, 0.15);
    animation: dropdownSlideIn 0.3s ease-out;
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show dropdown on hover */
.nav-links li.dropdown:hover .dropdown-menu {
    display: block;
}

/* Dropdown items */
.dropdown-menu li {
    padding: 0;
    border-bottom: none;
    width: 100%;
}

.dropdown-item {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: normal;
    line-height: 1.4;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    transition: height 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, 
        rgba(30, 90, 158, 0.05) 0%, 
        rgba(45, 155, 135, 0.03) 100%);
    color: var(--primary-blue);
    padding-left: 1.8rem;
}

.dropdown-item:hover::before {
    height: 70%;
}

/* "View All News" special styling */
.dropdown-item.view-all {
    border-top: 1px solid rgba(30, 90, 158, 0.1);
    margin-top: 0.5rem;
    padding-top: 1.2rem;
    font-weight: 700;
    color: var(--primary-teal);
}

.dropdown-item.view-all:hover {
    color: var(--primary-blue);
    background: linear-gradient(90deg, 
        rgba(45, 155, 135, 0.08) 0%, 
        rgba(30, 90, 158, 0.05) 100%);
}

/* Arrow indicator for dropdown */
.nav-links li.dropdown > a::after {
    content: ' ▾';
    font-size: 0.75em;
    margin-left: 4px;
    opacity: 0.7;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-links li.dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Ensure the main nav link still has its underline hover effect */
.nav-links li.dropdown > a:hover {
    color: var(--primary-blue);
}

/* ============================================
   MOBILE RESPONSIVE STYLES FOR NEWS DROPDOWN
   ============================================ */

@media (max-width: 768px) {
    /* In mobile, show dropdown as expanded list within the menu */
    .dropdown-menu {
        position: static;
        display: none;
        background: rgba(30, 90, 158, 0.03);
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--primary-teal);
        margin: 0;
        padding: 0;
        animation: none;
        min-width: 100%;
    }
    
    /* Toggle dropdown in mobile - add 'active' class via JavaScript */
    .nav-links li.dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Mobile dropdown items */
    .dropdown-item {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(30, 90, 158, 0.05);
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    /* Remove hover animations on mobile */
    .dropdown-item::before {
        display: none;
    }
    
    .dropdown-item:hover {
        padding-left: 2rem;
    }
    
    /* Make the main News link clickable to toggle dropdown on mobile */
    .nav-links li.dropdown > a {
        position: relative;
        padding-right: 2.5rem;
    }
    
    /* Arrow position for mobile */
    .nav-links li.dropdown > a::after {
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-links li.dropdown.active > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--light-teal);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}