/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;500;700&family=Roboto+Slab:wght@400;500;600&display=swap');

:root {
    --primary-color: #17e6e6;
    --background-color: #242a33;
    --secondary-bg: #1a1f26;
    --text-color: #ffffff;
    --secondary-color: #333a44;
    --accent-color: #ff4d4d;
    --main-font: 'Play', sans-serif;
    --nav-font: 'Roboto Slab', serif;
    --max-width: 1200px;
    --content-max-width: 1000px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--main-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.content-container {
    width: 90%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: var(--secondary-bg);
    padding: 1.2rem 0;
    /* Slightly more padding than before (using 1rem instead of 8px) */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    /* Deeper shadow from new design */
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 60px;
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    /* Added more horizontal padding for breathing room */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 44px;
    width: auto;
    margin-right: 1rem;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Navigation styles */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    /* Using gap instead of margin-left for more consistent spacing */
}

nav ul li {
    margin-left: 0;
    /* Reset the margin since we're using gap now */
}

nav ul li a {
    font-family: var(--nav-font);
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    /* Added font weight from new design */
    padding: 0.5rem 0;
    /* Changed padding to match new header */
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Main content styles */
main {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--main-font);
    font-weight: 500;
    /* Reduced from 700 to 500 as requested */
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    /* color: var(--primary-color); */
    color: white;
    position: relative;
    padding-bottom: 10px;
}

h1::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

h2,
h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

section p {
    font-size: 18px;
    margin-bottom: 30px;
}




/* Footer styles */
footer {
    background-color: var(--secondary-bg);
    padding: 40px 0;
    border-top: 1px solid var(--primary-color);
}

/* Footer EU logo addition */
footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.erasmus-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 20px;
}

.erasmus-logo img {
    max-width: 296px;
    height: auto;
    max-height: 171px;
}

/* Responsive adjustments for footer */
@media (max-width: 992px) {
    footer .container {
        flex-direction: column;
    }

    .erasmus-logo {
        margin-left: 0;
        margin-top: 30px;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .erasmus-logo img {
        max-width: 100%;
    }

    .copyright {
        margin-top: 20px;
        padding-top: 15px;
    }

}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-info a:hover {
    opacity: 0.8;
}

.copyright {
    width: 100%;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Very subtle light gray line */
}


/* Deliverables page styles */
/* .deliverables-list {
    list-style: none;
    margin-top: 30px;
}

.deliverables-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.deliverables-list .file-icon {
    margin-right: 15px;
    width: 24px;
    height: 24px;
}

.deliverables-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 18px;
}

.deliverables-list a:hover {
    color: var(--primary-color);
}

.deliverables-list .file-size {
    font-size: 14px;
    color: #aaaaaa;
    margin-left: 5px;
} */

.deliverables {
    padding: 20px 0 60px;
}

.deliverables h1 {
    margin-bottom: 15px;
    position: relative;
}

.deliverables h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.deliverables>p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 800px;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.deliverable-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.group-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.group-title::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.deliverable-card {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    gap: 20px;
    position: relative;
}

.deliverable-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.deliverable-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.deliverable-icon.pdf {
    background-color: rgba(224, 67, 54, 0.6);
    color: #e04336;
}

.deliverable-icon.pdf i {
    color: white; /* Change icon color to white */
}

.deliverable-icon.doc {
    background-color: rgba(47, 85, 212, 0.6);
    color: #2f55d4;
}

.deliverable-icon.doc i {
    color: white; /* Change icon color to white */
}


.deliverable-info {
    flex: 1;
}

.deliverable-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.deliverable-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.file-type {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.file-size::before {
    content: '(';
}

.file-size::after {
    content: ')';
}

.download-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(23, 230, 230, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.download-btn:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .deliverable-card {
        padding: 15px;
        gap: 15px;
    }

    .deliverable-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .deliverable-title {
        font-size: 1rem;
    }

    .deliverable-meta {
        flex-direction: column;
        gap: 3px;
        font-size: 0.8rem;
    }

    .download-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .deliverable-card {
        flex-wrap: wrap;
    }

    .deliverable-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .deliverable-info {
        width: calc(100% - 100px);
    }

    .deliverable-title {
        font-size: 0.95rem;
    }
}

/* Partners page styles */
.eu-info {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 4px 4px 0;
}

.eu-info p {
    margin-bottom: 10px;
}

.eu-info p:last-child {
    margin-bottom: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lead-partner {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: center;
    padding-bottom: 70px;
}

.lead-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--background-color);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 0 0 0 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 999;
}

.partner-logo {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
}

.lead-partner .partner-logo {
    grid-row: span 2;
    border-bottom: none;
    border-right: 2px solid var(--primary-color);
    height: 100%;
    position: relative;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

.lead-partner .partner-logo img {
    max-height: 200px;
}

.partner-card h3 {
    color: var(--primary-color);
    padding: 20px 20px 10px 20px;
    font-size: 1.3rem;
}

.partner-card p {
    padding: 0 20px 20px 20px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: auto;
}

.website-link {
    display: inline-block;
    margin: 0px 0px 0px auto;
    padding: 8px 15px;
    background-color: rgba(23, 230, 230, 0.15);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-end;
    border: 2px solid rgba(23, 230, 230, 0.3);
}

.lead-partner .website-link {
    position: absolute;
    bottom: 0;
    right: 0;
    /* grid-column: 2;  */

}

@media (max-width: 992px) {
    .lead-partner {
        grid-template-columns: 1fr;
        padding-bottom: 60px;
    }

    .lead-partner .partner-logo {
        border-right: none;
        border-bottom: 2px solid var(--primary-color);
        height: auto;
    }

    .lead-partner h3,
    .lead-partner p {
        grid-column: 1;
        /* Ensure text is in the first column when collapsed */
    }

    .lead-partner .website-link {
        position: absolute;
        bottom: 0;
        right: 0;
        width: auto;
        /* Prevent full-width button */
    }
}

/* Further adjustments for very small screens */
@media (max-width: 480px) {

    .partner-card,
    .lead-partner {
        padding-bottom: 50px;
        /* Slightly less space on mobile */
    }
}


.website-link i {
    margin-left: 5px;
    font-size: 12px;
}

.website-link:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}




/* Objectives page specific styles */
.objectives {
    max-width: var(--max-width);
    margin: 0 auto;
}

.subtitle {
    /* color: rgba(255, 255, 255, 0.8); */
    color: white;
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.objectives-content {
    line-height: 1.8;
}

.lead-paragraph {
    font-size: 1.2rem;
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 30px;
}

.objectives-content p {
    margin-bottom: 25px;
}

.highlight-section {
    background-color: rgba(23, 230, 230, 0.05);
    border-radius: 8px;
    padding: 25px;
    margin: 35px 0;
    border-left: 3px solid var(--primary-color);
}

.highlight-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.highlight-section p {
    margin-bottom: 0;
}

/* Responsive adjustments */



/* Responsive styles */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--secondary-color);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease-in-out;
        padding-top: 70px;
        overflow-y: auto;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 18px;
    }

    nav ul li a::after {
        display: none;
    }

    /* Animated hamburger to X transition */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    section p {
        font-size: 16px;
    }

    .deliverables-list a {
        font-size: 16px;
    }

    .deliverables-list li {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .deliverables-list a {
        font-size: 15px;
    }

    .logo img {
        width: 180px;
        height: 36px;
    }

    main {
        padding: 40px 0;
    }

    footer {
        padding: 30px 0;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }
}


/* Responsive adjustments for partners page */
@media (max-width: 992px) {
    .lead-partner {
        grid-template-columns: 1fr;
    }

    .lead-partner .partner-logo {
        border-right: none;
        border-bottom: 2px solid var(--primary-color);
        height: auto;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .partner-card h3 {
        font-size: 1.2rem;
    }

    .partner-card p {
        font-size: 15px;
    }

    .eu-info {
        padding: 15px;
    }

    .website-link {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-logo img {
        max-height: 120px;
    }
}


@media (max-width: 768px) {
    .subtitle {
        font-size: 1.2rem;
    }

    .lead-paragraph {
        font-size: 1.1rem;
        padding-left: 15px;
    }

    .highlight-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .subtitle {
        font-size: 1.1rem;
    }

    .lead-paragraph {
        font-size: 1rem;
        padding-left: 12px;
    }

    .highlight-section {
        padding: 15px;
    }
}



/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 24px;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top i {
        font-size: 20px;
    }
}




/* News page specific styles */
.news-section {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background-color: var(--secondary-color);
    border-radius: 4px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid var(--primary-color);
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.news-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.news-category {
    background-color: rgba(23, 230, 230, 0.15);
    color: var(--primary-color);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.news-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.3;
}

.news-excerpt {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
}

.news-link:hover {
    transform: translateX(5px);
}

.news-link i {
    margin-left: 8px;
    font-size: 14px;
}

.news-load-more {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-family: var(--main-font);
    font-size: 16px;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.loading {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Animation for new items being loaded */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card.new-item {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-card {
        padding: 20px;
    }

    .news-title {
        font-size: 1.4rem;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .news-card {
        padding: 15px;
    }

    .news-title {
        font-size: 1.2rem;
    }
}




/* Single News Post Styles */

/* Hero section with background pattern */
.news-hero {
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
    padding: 50px 0;
    margin-bottom: 40px;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M59 0L29.5 29.5 0 59V0h59z' fill='%2317e6e6' fill-opacity='0.05'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    opacity: 0.5;
    z-index: 1;
}

.news-hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.news-hero-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.news-hero-category {
    background-color: rgba(23, 230, 230, 0.15);
    color: var(--primary-color);
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.news-hero-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.news-hero-title {
    font-size: 2.5rem;
    color: var(--text-color);
    line-height: 1.3;
    margin: 0;
    padding: 0;
}

.news-hero-title::after {
    display: none;
    /* Remove the default underline that h1 elements have */
}

/* News post content */
.news-post {
    margin-bottom: 60px;
}

.news-post-subtitle {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.news-post-content {
    line-height: 1.8;
}

.news-post-content p {
    margin-bottom: 25px;
}

.news-post-image {
    margin: 30px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    /* Center the image container */
    max-width: 1366px;
    /* Maximum width as requested */
}

.news-post-image img {
    width: 100%;
    /* Fill the container width */
    height: auto;
    /* Maintain aspect ratio */
    max-width: 1366px;
    /* Maximum width limit */
    display: block;
    /* Remove any extra space */
    margin: 0 auto;
    /* Center the image */
}

.news-post-image.portrait {
    max-width: 400px;
    /* More reasonable width for portrait images */
    height: auto;
}

.news-post-image.portrait img {
    /* max-height: 600px;  */
    object-fit: contain;
    /* Ensure image isn't cropped */
}

.news-post-image figcaption {
    background-color: var(--secondary-color);
    padding: 12px 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-style: italic;
}

/* Post navigation */
.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.news-nav-prev,
.news-nav-next {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    max-width: 45%;
}

.news-nav-prev:hover,
.news-nav-next:hover {
    color: var(--primary-color);
}

.news-nav-prev {
    margin-right: auto;
}

.news-nav-next {
    margin-left: auto;
    text-align: right;
}

.news-nav-info {
    display: flex;
    flex-direction: column;
}

.news-nav-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.6);
}

.news-nav-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-nav-prev:hover .news-nav-title,
.news-nav-next:hover .news-nav-title {
    color: var(--primary-color);
}

.news-nav-prev i,
.news-nav-next i {
    font-size: 20px;
    color: var(--primary-color);
}

.news-nav-prev i {
    margin-right: 15px;
}

.news-nav-next i {
    margin-left: 15px;
}

/* Back to news button */
.back-to-news {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    /* Using the text color (white) */
    border: 2px solid var(--text-color);
    /* Border matching text */
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-secondary i {
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-hero {
        padding: 40px 0;
    }

    .news-hero-title {
        font-size: 2rem;
    }

    .news-post-subtitle {
        font-size: 1.5rem;
    }

    .news-navigation {
        flex-direction: column;
        gap: 20px;
    }

    .news-nav-prev,
    .news-nav-next {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .news-hero {
        padding: 30px 0;
    }

    .news-hero-title {
        font-size: 1.6rem;
    }

    .news-hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-post-subtitle {
        font-size: 1.3rem;
    }
}



/* Highlighted quote styling */
.highlight-quote {
    background-color: rgba(23, 230, 230, 0.07);
    margin: 35px 0;
    padding: 30px;
    border-radius: 4px;
    position: relative;
    text-align: left;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.highlight-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.highlight-quote::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.highlight-quote p {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.8;
    color: var(--primary-color);
    font-size: 1.15rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .highlight-quote {
        padding: 25px 20px;
        margin: 30px 0;
    }

    .highlight-quote p {
        font-size: 1rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .highlight-quote {
        padding: 20px 15px;
    }

    .highlight-quote p {
        font-size: 0.9rem;
        letter-spacing: 0.2px;
    }
}



/* YouTube Video Responsive Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Download Box Styling */
.download-box {
    display: flex;
    align-items: center;
    background-color: rgba(23, 230, 230, 0.07);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    border: 1px solid rgba(23, 230, 230, 0.2);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.download-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.download-box i {
    font-size: 30px;
    color: var(--primary-color);
    margin-right: 15px;
}

.download-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.download-link:hover {
    color: var(--primary-color);
}

/* Bullet List Styling */
.objectives-list,
.meeting-list {
    list-style-type: none;
    padding-left: 5px;
    margin: 20px 0 30px 0;
}

.objectives-list li,
.meeting-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.objectives-list li::before,
.meeting-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transform: rotate(45deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .download-box {
        padding: 15px;
    }

    .download-box i {
        font-size: 24px;
    }

    .objectives-list li,
    .meeting-list li {
        padding-left: 20px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .download-box {
        flex-direction: column;
        text-align: center;
    }

    .download-box i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}






/* Homepage Specific Styles */


/* Homepage Specific Styles */

/* Hero Section */
/* .hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
} */

/* Full viewport hero accounting for fixed header */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    /* Subtract header height */
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;

}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-subtitle {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.title-line {
    display: block;
}

.hero-title .highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
    padding-top: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--main-font);
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
    /* color: var(--primary-color);
    border: 2px solid var(--primary-color); */
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

.btn-dark {
    background-color: var(--background-color);
    color: var(--text-color);
    border: 2px solid var(--background-color);
}

.btn-dark:hover {
    background-color: transparent;
    color: var(--background-color);
}

/* Section Common Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
    opacity: 0.8;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 0;
}

.about-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}



/* CSS Changes for the About Section */
.intro-badge-container {
    text-align: center;
    margin: 0 0 30px 0;
}

.intro-badge {
    background-color: rgba(23, 230, 230, 0.15);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.intro-badge::before,
.intro-badge::after {
    content: '';
    height: 1px;
    background-color: rgba(23, 230, 230, 0.3);
    position: absolute;
    top: 50%;
    width: 30px;
}

.intro-badge::before {
    right: 100%;
    margin-right: 15px;
}

.intro-badge::after {
    left: 100%;
    margin-left: 15px;
}

.about-content-redesign {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text-full {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-text-full p {
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-color);
}

.about-text-full p:first-of-type {
    font-size: 1.15rem;
    font-weight: 500;
}

.about-video-full {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}

.about-video-full iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .intro-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .intro-badge::before,
    .intro-badge::after {
        width: 20px;
    }

    .about-text-full p:first-of-type {
        font-size: 1.05rem;
    }
}



.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.read-more i {
    margin-left: 8px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
    opacity: 0.8;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Features Section */
.features-section {
    background-color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(23, 230, 230, 0.1);
    border-radius: 50%;
}

.feature-icon i {
    font-size: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-description {
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.6;
}

/* Home News Grid */
.home-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.home-news-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.home-news-image {
    height: 100%;
    overflow: hidden;
}

.home-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-news-card:hover .home-news-image img {
    transform: scale(1.05);
}

.home-news-content {
    padding: 25px;
}

.home-news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.home-news-date {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.7;
}

.home-news-category {
    background-color: rgba(23, 230, 230, 0.15);
    color: var(--primary-color);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.home-news-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--text-color);
}

.home-news-excerpt {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-all-news {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}



/* Partners PAge */





/* Partners page styles */
.eu-info {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 4px 4px 0;
}

.eu-info p {
    margin-bottom: 10px;
}

.eu-info p:last-child {
    margin-bottom: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lead-partner {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: center;
    padding-bottom: 70px;
}

.lead-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--background-color);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 0 0 0 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 999;
}

.partner-logo {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid var(--primary-color);
}

.lead-partner .partner-logo {
    grid-row: span 2;
    border-bottom: none;
    border-right: 2px solid var(--primary-color);
    height: 100%;
    position: relative;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

.lead-partner .partner-logo img {
    max-height: 200px;
}

.partner-card h3 {
    color: var(--primary-color);
    padding: 20px 20px 10px 20px;
    font-size: 1.3rem;
}

.partner-card p {
    padding: 0 20px 20px 20px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: auto;
}

.website-link {
    display: inline-block;
    margin: 0px 0px 0px auto;
    padding: 8px 15px;
    background-color: rgba(23, 230, 230, 0.15);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-end;
    border: 2px solid rgba(23, 230, 230, 0.3);
}

.lead-partner .website-link {
    position: absolute;
    bottom: 0;
    right: 0;
    /* grid-column: 2;  */

}

@media (max-width: 992px) {
    .lead-partner {
        grid-template-columns: 1fr;
        padding-bottom: 60px;
    }

    .lead-partner .partner-logo {
        border-right: none;
        border-bottom: 2px solid var(--primary-color);
        height: auto;
    }

    .lead-partner h3,
    .lead-partner p {
        grid-column: 1;
        /* Ensure text is in the first column when collapsed */
    }

    .lead-partner .website-link {
        position: absolute;
        bottom: 0;
        right: 0;
        width: auto;
        /* Prevent full-width button */
    }
}

/* Further adjustments for very small screens */
@media (max-width: 480px) {

    .partner-card,
    .lead-partner {
        padding-bottom: 50px;
        /* Slightly less space on mobile */
    }
}


.website-link i {
    margin-left: 5px;
    font-size: 12px;
}

.website-link:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}




.view-all-partners {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* CTA Section */

/* Increase horizontal gap between buttons on large screens */
.cta-buttons {
    display: flex;
    gap: 25px;
    /* Increased from var(--spacing-md) to a larger value */
}

/* Increase vertical gap when buttons collapse on smaller screens */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 20px;
        /* Add specific gap for collapsed buttons */
    }
}


.cta-section {
    /* background-color: var(--primary-color); */
    background-color: rgba(23, 230, 230, 0.8);
    color: var(--background-color);
    text-align: center;
    padding: 80px 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--background-color);
}

.cta-description {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .home-news-card {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-video {
        order: -1;
        margin-bottom: 30px;
    }

    .home-news-card {
        grid-template-columns: 1fr;
    }

    .home-news-image {
        height: 250px;
    }

    .partners-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: auto;
        /* padding: 100px 0; */
    }

    .hero-subtitle {
        margin-bottom: 15px;
    }


    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 35px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card {
        padding: 20px;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        /* padding: 80px 0; */
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .home-news-image {
        height: 200px;
    }

    .partner-logo {
        max-width: 140px;
        height: 80px;
    }
}


.scroll-down-arrow {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    z-index: 10;
}

.tech-arrow {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--background-color);
    border-radius: 4px;
    transform: rotate(45deg);
    box-shadow: 0 0 15px rgba(23, 230, 230, 0.3);
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
}

.tech-arrow i {
    transform: rotate(-45deg);
    font-size: 22px;
}

.tech-arrow:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    opacity: 0.5;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

.scroll-down-arrow:hover .tech-arrow {
    transform: rotate(45deg) scale(1.1);
    box-shadow: 0 0 20px rgba(23, 230, 230, 0.5);
}

.scroll-down-arrow:hover .tech-arrow:before {
    transform: rotate(45deg);
    opacity: 0.8;
}

/* Pulse animation for the arrow */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(23, 230, 230, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(23, 230, 230, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(23, 230, 230, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: calc(100vh - 70px);
        /* Adjust for smaller header on mobile */
        /* margin-top: 70px; */
        /* padding: 80px 0 100px; */
    }
}


/* Hide scroll arrow on viewports shorter than 800px */
@media (max-height: 800px) {
    .scroll-down-arrow {
        display: none;
    }
}



/* CSS for Partners Section with Updated Class Names */
.homepage-partners-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

/* Lead Partner Styling */
.homepage-lead-partner {
    background-color: rgba(23, 230, 230, 0.05);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(23, 230, 230, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.homepage-lead-partner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
}

.homepage-lead-partner-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.homepage-lead-partner-logo {
    flex: 0 0 250px;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-lead-partner-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.homepage-lead-partner-info {
    flex: 1;
}

.homepage-lead-partner-info .homepage-partner-name {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.homepage-lead-partner-info .homepage-partner-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.homepage-lead-partner-info .homepage-partner-location {
    color: var(--text-color);
    opacity: 0.7;
}

/* Other Partners Grid */
.homepage-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.homepage-partner-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.homepage-partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
}

.homepage-partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.homepage-partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(50%);
    transition: all 0.3s ease;
}

.homepage-partner-card:hover .homepage-partner-logo img {
    filter: grayscale(0%);
}

.homepage-partner-name {
    font-size: 1.1rem;
    /* text-align: center; */
    color: var(--text-color);
}

.homepage-view-all-partners {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .homepage-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .homepage-lead-partner-content {
        flex-direction: column;
        text-align: center;
    }

    .homepage-lead-partner-logo {
        flex: 0 0 auto;
        width: 180px;
        margin: 0 auto;
    }

    .homepage-partner-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .homepage-partners-grid {
        grid-template-columns: 1fr;
    }

    .homepage-lead-partner {
        padding: 20px;
    }
}

.back-to-news i {
    padding-right: 5px;
}