/*
 * Edu‑GArD3n Stylesheet
 *
 * This stylesheet defines the layout and visual appearance for the
 * Edu‑GArD3n homepage. The palette centres around three core colours:
 *   1. Dark green (#0F6356) – used for primary accents such as headers and buttons.
 *   2. Mint cream (#F5FFF3) – a pale background tint to soften the design.
 *   3. Spring green (#6BE188) – a vibrant highlight for icons and call‑to‑action elements.
 * Additional neutral greys are used for text to ensure readability against the light
 * backgrounds. The design takes inspiration from CVL4OT while incorporating
 * modern touches like subtle gradients, smooth hover effects and responsive
 * layouts.
 */

/* Reset and basic typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F5FFF3;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header */
.header {
    background-color: #ffffff;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    overflow-anchor: none;
    will-change: transform;
    transform: translateZ(0);
}
.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0F6356;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo img {
    height: 65px;
    width: auto;
    transition: height 0.3s ease;
}
.header.scrolled .logo img {
    height: 55px;
}
/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #0F6356;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.nav-menu li {
    position: relative;
}
.nav-menu a {
    color: #0F6356;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
    display: block;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
}
.nav-menu > li > a.active {
    color: #6BE188;
    border-bottom: 2px solid #6BE188;
}
.nav-menu > li:hover > a {
    color: #6BE188;
}
/* Dropdown indicator for items with submenus */
.has-submenu > a {
    position: relative;
    padding-right: 1.5rem;
}
.has-submenu > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 0.5rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
}
.has-submenu:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
}
.has-submenu.open > a::after {
    transform: translateY(-50%) rotate(180deg);
}
/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    border-radius: 0 0 8px 8px;
    list-style: none;
    padding: 0.5rem 0;
    min-width: 200px;
    display: none;
    box-shadow: 0 4px 12px rgba(15, 99, 86, 0.15);
    border: 1px solid #E0F7E0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.submenu li a {
    padding: 0.5rem 1rem;
    white-space: nowrap;
    color: #0F6356;
}
.submenu li a.active {
    color: #6BE188;
    background-color: #F5FFF3;
    font-weight: 600;
}
.submenu li a:hover {
    color: #6BE188;
    background-color: #F5FFF3;
}
.has-submenu:hover .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.has-submenu.open .submenu {
    /* for mobile toggle */
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #0F6356 0%, #7ac38c 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #F5FFF3;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero-content{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap: 3rem;
  max-width: 1200px;
  width: 90%;
}

.hero-animation{
  display:flex;
  justify-content:center;
  flex-shrink: 0;
  width: 450px;
  height: 450px;
}
.hero-animation dotlottie-wc {
  width: 100% !important;
  height: 100% !important;
}

.hero-text{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0;
}
.hero .tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    padding: 0;
    max-width: 600px;
    margin-bottom: 2rem;
}
.btn-discover {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 255, 243, 0.95) 100%);
    color: #0F6356;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 
                0 4px 8px rgba(107, 225, 136, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.btn-discover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #6BE188 0%, #4DD173 100%);
    transform: translate(-50%, -50%);
    transition: width 1s ease, height 1s ease;
    z-index: -1;
}
.btn-discover:hover::before {
    width: 400px;
    height: 400px;
}
.btn-discover:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 
                0 6px 16px rgba(107, 225, 136, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-discover:active {
    transform: translateY(-1px) scale(1.01);
}

/* Objectives Section */
.objectives {
    padding: 4rem 0;
    background-color: #fff;
    color: #6e876c;
    text-align: center;
}
.objectives h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1rem;
    color: #0F6356;
}
.objectives .intro-text {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    color: #555;
}
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.objective {
    background-color: #fff;
    border: 1px solid #e0f7e0;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.objective:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.objective-gif {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.25rem;
}
.objective-icon {
    font-size: 2.5rem;
    color: #6BE188;
    margin-bottom: 0.25rem;
}
.objective h3 {
    font-size: 1.2rem;
    color: #0F6356;
    margin-bottom: 0.5rem;
}
.objective p {
    font-size: 0.9rem;
    color: #555;
}
.apply-wrap {
    text-align: center;
    margin-top: 2rem;
}
.apply-text {
    font-size: 1.4rem;
    color: #0F6356;
    margin-bottom: 1.5rem;
    font-weight: 800;
}
.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #0F6356 0%, #0d5149 100%);
    color: #F5FFF3;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    border-radius: 50px;
    border: 2px solid rgba(15, 99, 86, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 
                0 4px 8px rgba(15, 99, 86, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}
.btn-apply::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #6BE188 0%, #4DD173 100%);
    transform: translate(-50%, -50%);
    transition: width 1s ease, height 1s ease;
    z-index: -1;
}
.btn-apply:hover::before {
    width: 400px;
    height: 400px;
}
.btn-apply:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 
                0 6px 16px rgba(107, 225, 136, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(107, 225, 136, 0.5);
}
.btn-apply:active {
    transform: translateY(-1px) scale(1.01);
}

/* People Section */
.people {
    padding: 4rem 0;
    background-color: #e0f7e0;
    color: #333;
    text-align: center;
}
.people h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #0F6356;
    margin-bottom: 2rem;
}
.people-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
.person {
    width: 100%;
    max-width: 300px;
    flex: 0 0 calc(33.333% - 1rem);
}

@media (max-width: 1024px) {
    .person {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 640px) {
    .person {
        flex: 0 0 100%;
    }
}
.photo-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
}
.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.photo-wrapper:hover {
    transform: scale(1.05);
}
.bio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15,99,86,0.9);
    color: #F5FFF3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.photo-wrapper:hover .bio {
    opacity: 1;
}
.bio h4 {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.bio p {
    font-size: 0.65rem;
    line-height: 1.3;
}
.person-details {
    margin-top: 1rem;
}
.person-details h4 {
    font-size: 1.1rem;
    color: #0F6356;
    margin-bottom: 0.25rem;
}
.person-details .role {
    font-size: 0.9rem;
    color: #6BE188;
    font-weight: 500;
}
.person-details .affiliation {
    font-size: 0.8rem;
    color: #555;
}

/* Partners Section */
.partners {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
}
.partners h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #0F6356;
    margin-bottom: 2rem;
}
.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-items: center;
}
.partner-logo {
    width: 180px;
    text-align: center;
}
.partner-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 180px;
}
.partner-name {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #0F6356;
    font-weight: 500;
    line-height: 1.3;
    min-height: 3em;
}
.partner-logo img {
    height: 100px;
    width: 160px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.partner-logo img:hover {
    transform: scale(1.15);
    filter: grayscale(0%);
}

/* Project Page Styles */
.page-header {
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
    color: #F5FFF3;
    padding: 4rem 0 3rem;
    text-align: center;
}
.page-header h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}
.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
}
.content-section {
    padding: 4rem 0;
}
.white-bg {
    background-color: #fff;
}
.green-bg {
    background-color: #e0f7e0;
}
.section-intro {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}
.intro-icon {
    font-size: 3.5rem;
    color: #6BE188;
    flex-shrink: 0;
}
.intro-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #0F6356;
    margin-bottom: 1rem;
}
.intro-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}
.content-grid {
    display: grid;
    gap: 2rem;
}
.two-col {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.three-col {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.content-box {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #6BE188;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.content-box-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}
.content-box-text {
    flex: 1;
}
.content-box h3 {
    color: #0F6356;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.content-box p {
    color: #555;
    line-height: 1.6;
}
.content-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #0F6356;
    margin-bottom: 1.5rem;
    text-align: center;
}
.section-lead {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}
.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.feature-icon {
    font-size: 3rem;
    color: #6BE188;
    margin-bottom: 0rem;
}
.feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: -1.5rem;
}
.feature-card h3 {
    color: #0F6356;
    margin-bottom: 0.5rem;
    margin-top: 0;
    font-size: 1.2rem;
}
.feature-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}
.section-note {
    text-align: center;
    font-style: italic;
    color: #0F6356;
    margin-top: 2rem;
    font-size: 1.05rem;
}
.benefits-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.benefit-item:hover {
    transform: translateX(5px);
}
.benefit-number {
    font-size: 2rem;
    font-weight: 600;
    color: #6BE188;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.benefit-content h3 {
    color: #0F6356;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}
.benefit-content p {
    color: #555;
    line-height: 1.6;
}
.highlight-box {
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}
.highlight-box p {
    font-size: 1.15rem;
    margin: 0;
}
.apply-section {
    text-align: center;
}
.apply-section h2 {
    margin-bottom: 1rem;
}
.split-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}
.split-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}
.split-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.visual-placeholder {
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    color: #fff;
}
.visual-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
}
.visual-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}
.content-overview-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.content-overview-box p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.info-banner {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: #f0f9f4;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #6BE188;
    margin-top: 1.5rem;
}
.info-banner i {
    font-size: 1.5rem;
    color: #6BE188;
    flex-shrink: 0;
}
.info-banner p {
    margin: 0;
    color: #0F6356;
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
    color: #F5FFF3;
    padding: 2rem 0;
    font-size: 0.9rem;
}
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}
.social-links {
    display: flex;
    gap: 1.5rem;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #6BE188 0%, #4DD173 100%);
    transform: translate(-50%, -50%);
    transition: width 0.75s ease, height 0.75s ease;
    z-index: -1;
}
.social-links a:hover::before {
    width: 100px;
    height: 100px;
}
.social-links a img {
    height: 28px;
    width: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}
.social-links a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 12px rgba(107, 225, 136, 0.4);
}
.funded {
    max-width: 1000px;
    line-height: 1.4;
}

/* EU Disclaimer Container */
.eu-disclaimer-container {
    display: flex;
    gap: 25px;
    align-items: center;
    background-color: transparent;
    padding: 15px 20px;
    color: #333;
    border-radius: 4px;
    margin-bottom: 1rem;
    min-height: 120px;
    max-height: 120px;
}

.eu-disclaimer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.disclaimer-text {
    font-size: 0.68rem;
    line-height: 1.18;
    margin-bottom: 4px;
    color: white;
    text-align: justify;
}

.disclaimer-text:last-child {
    margin-bottom: 0;
}

.grant-number {
    font-size: 0.8rem;
    margin: 0;
    color: white;
    text-align: left;
}

.grant-number strong {
    font-weight: 600;
}

.eu-disclaimer-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.eu-funded-image {
    height: 90px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Responsive EU Disclaimer */
@media (max-width: 768px) {
    .eu-disclaimer-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        min-height: auto;
        max-height: none;
    }
    
    .eu-disclaimer-left {
        width: 100%;
    }
    
    .disclaimer-text {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .grant-number {
        font-size: 0.8rem;
    }
    
    .eu-disclaimer-right {
        width: 100%;
        justify-content: center;
    }
    
    .eu-funded-image {
        height: auto;
        max-width: 250px;
        width: 100%;
    }
}

/* Legacy styles (can be removed if not used elsewhere) */
.eu-band {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.eu-flag {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.funded .eu-text {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #6BE188;
}
.funded .disclaimer {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}
.funded .grant {
    font-style: italic;
    font-size: 0.8rem;
}
.footer-bottom {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
}
.developer-link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}
.developer-link:hover {
    color: #6BE188;
}

/* Partners Page Styles */
.partners-hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #F5FFF3;
    position: relative;
}
.partners-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    width: 90%;
    text-align: center;
}
.partners-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.partners-hero-text h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.partners-hero-text .page-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    margin-bottom: 0;
}
.partners-hero-map {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
.europe-map {
    width: 100%;
    max-width: 700px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 99, 86, 0.2);
    opacity: 1;
    position: relative;
}
#partners-map {
    width: 100%;
    height: 450px;
    min-height: 450px;
    z-index: 1;
}
/* Custom Leaflet Map Styling */
.leaflet-container {
    background: #f8fdf8;
}
.leaflet-control-zoom {
    border: 2px solid #e0f7e0 !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 99, 86, 0.15) !important;
}
.leaflet-control-zoom a {
    background: white !important;
    color: #0F6356 !important;
    border: none !important;
    width: 35px !important;
    height: 35px !important;
    line-height: 35px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}
.leaflet-control-zoom a:hover {
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%) !important;
    color: white !important;
}
.leaflet-control-zoom-in {
    border-bottom: 1px solid #e0f7e0 !important;
}
/* Custom Marker Styling */
.custom-marker {
    background: transparent;
    border: none;
}
.marker-pin {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.marker-pin i {
    font-size: 30px;
    color: #0F6356;
    filter: drop-shadow(0 4px 8px rgba(15, 99, 86, 0.3));
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}
.marker-pin:hover i {
    color: #6BE188;
    transform: scale(1.15);
}
.pin-effect {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(107, 225, 136, 0.4) 0%, rgba(107, 225, 136, 0) 70%);
    border-radius: 50%;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50%) scale(1.3);
        opacity: 0.3;
    }
}
/* Custom Popup Styling */
.leaflet-popup-content-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 99, 86, 0.25);
    border: 2px solid #e0f7e0;
    padding: 0;
}
.leaflet-popup-tip {
    background: white;
    border: 2px solid #e0f7e0;
    border-top: none;
    border-left: none;
}
.map-popup {
    padding: 0.75rem 1rem;
    text-align: center;
}
.popup-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 99, 86, 0.05) 0%, rgba(107, 225, 136, 0.05) 100%);
    border-radius: 10px;
    padding: 0.5rem;
    border: 2px solid #e0f7e0;
}
.popup-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.popup-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0F6356;
    line-height: 1.3;
}
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.partners-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.partner-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.partner-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
}
.partner-card-logo {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.partner-card-title {
    flex: 1;
}
.partner-card-title h3 {
    color: #0F6356;
    font-size: 1.0rem;
    margin-bottom: 0.5rem;
}
.partner-link {
    color: #6BE188;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
}
.partner-link:hover {
    color: #0F6356;
}
.expand-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #0F6356;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.expand-btn i {
    transition: transform 0.3s ease;
}
.partner-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.partner-card.expanded .partner-card-content {
    border-top: 1px solid #e0f7e0;
}
.partner-description {
    padding: 1.5rem;
    background: #f9f9f9;
}
.partner-description p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.partner-description p:last-child {
    margin-bottom: 0;
}
.partner-team {
    padding: 2rem 1.5rem;
}
.partner-team h4 {
    color: #0F6356;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.team-member {
    text-align: center;
    position: relative;
}
.member-photo-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: visible;
    transition: transform 0.3s ease;
}
.member-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
}
.member-photo-wrapper:hover img {
    transform: scale(1.05);
}
.member-bio {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 330px;
    max-width: 390px;
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
    color: #F5FFF3;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2), 0 4px 12px rgba(15, 99, 86, 0.3);
    z-index: 10;
    pointer-events: none;
    margin-bottom: 15px;
}
.member-bio::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #6BE188;
}
.member-photo-wrapper:hover .member-bio {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
    pointer-events: auto;
}
.member-bio:hover {
    opacity: 1;
    visibility: visible;
}
.member-bio h5 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #F5FFF3;
}
.member-bio p {
    font-size: 0.75rem;
    line-height: 1.38;
    font-weight: 500;
    margin: 0;
    color: rgba(245, 255, 243, 0.95);
}
.member-details h5 {
    font-size: 1.05rem;
    color: #0F6356;
    margin-bottom: 0.5rem;
}
.member-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.member-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    text-decoration: none;
    font-size: 1.3rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.scholar-btn {
    background-color: #fff;
    color: #0F6356;
    border: 2px solid #0F6356;
}
.scholar-btn:hover {
    background-color: #0F6356;
    color: #fff;
    transform: scale(1.1);
}
.linkedin-btn {
    background-color: #fff;
    color: #0F6356;
    border: 2px solid #0F6356;
}
.linkedin-btn:hover {
    background-color: #0F6356;
    color: #fff;
    transform: scale(1.1);
}
.member-role {
    font-size: 0.9rem;
    color: #6BE188;
    font-weight: 500;
    margin-bottom: 0.2rem;
}
.member-affiliation {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: #ffffff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 999;
        padding-top: 80px;
    }
    .nav.active {
        right: 0;
    }
    .header {
        z-index: 1001;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }
    body {
        padding-top: 90px;
    }
    .nav {
        padding-top: 90px;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .nav-menu a {
        padding: 1rem 1.5rem;
        width: 100%;
        border-bottom: none;
    }
    
    .nav-menu > li > a.active {
        background-color: #f0f9f4;
        border-left: 4px solid #6BE188;
        border-bottom: none;
        color: #0F6356;
    }
    
    /* Prevent hover styles on mobile */
    .nav-menu > li:hover > a {
        color: inherit;
    }
    
    /* Keep submenu parent normal color when open */
    .has-submenu.open > a {
        color: #0F6356 !important;
        background-color: transparent;
    }
    
    .submenu {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e0f7e0;
        background: linear-gradient(135deg, rgba(15, 99, 86, 0.03) 0%, rgba(107, 225, 136, 0.03) 100%);
        min-width: auto;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(0);
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
        padding: 0;
    }
    
    .submenu li a {
        padding: 0.75rem 2rem;
    }
    
    .has-submenu.open .submenu {
        display: block;
        max-height: 500px;
        opacity: 1;
        padding: 0.5rem 0;
    }
    
    .has-submenu > a::after {
        right: 1.5rem;
    }
    
    /* Disable hover effect on mobile for arrow */
    .has-submenu:hover > a::after {
        transform: translateY(-50%) rotate(0deg);
    }
    
    /* Only rotate arrow when explicitly opened via .open class on mobile */
    .has-submenu.open > a::after {
        transform: translateY(-50%) rotate(180deg) !important;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-animation {
        order: -1;
        width: min(90vw, 300px);
        height: min(90vw, 300px);
    }
    
    .hero {
        min-height: 500px;
    }
}

/* Apply Page Styles */
.apply-status-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(15, 99, 86, 0.05) 0%, rgba(107, 225, 136, 0.05) 100%);
    border-radius: 16px;
    border: 2px solid #e0f7e0;
}
.status-icon {
    font-size: 4rem;
    color: #6BE188;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}
.apply-status-box h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: #0F6356;
    margin-bottom: 1.5rem;
}
.status-message {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.status-message:last-of-type {
    margin-bottom: 0;
}
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.form-container h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: #0F6356;
    margin-bottom: 1rem;
    text-align: center;
}
.form-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}
.interest-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-weight: 500;
    color: #0F6356;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.form-group label i {
    color: #6BE188;
    font-size: 1.1rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e0f7e0;
    border-radius: 8px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6BE188;
    box-shadow: 0 0 0 3px rgba(107, 225, 136, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.checkbox-group {
    margin-top: 0.5rem;
}
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
    color: #555;
}
.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #6BE188;
}
.checkbox-label span {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: linear-gradient(135deg, #0F6356 0%, #0d5149 100%);
    color: #F5FFF3;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    border-radius: 50px;
    border: 2px solid rgba(15, 99, 86, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 
                0 4px 8px rgba(15, 99, 86, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}
.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #6BE188 0%, #4DD173 100%);
    transform: translate(-50%, -50%);
    transition: width 1s ease, height 1s ease;
    z-index: -1;
}
.btn-submit:hover::before {
    width: 620px;
    height: 620px;
}
.btn-submit:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 
                0 6px 16px rgba(107, 225, 136, 0.4);
    border-color: rgba(107, 225, 136, 0.5);
}
.btn-submit:active {
    transform: translateY(-1px) scale(1.01);
}
.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: #777;
    margin-top: 1rem;
    font-style: italic;
}
.success-message {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(107, 225, 136, 0.1) 0%, rgba(15, 99, 86, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid #6BE188;
}
.success-message i {
    font-size: 4rem;
    color: #6BE188;
    margin-bottom: 1rem;
}
.success-message h3 {
    font-size: 1.75rem;
    color: #0F6356;
    margin-bottom: 0.75rem;
}
.success-message p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .form-container {
        padding: 2rem 1.5rem;
    }
    .apply-status-box {
        padding: 2rem 1.5rem;
    }
}

/* Member Area Status Page Styles */
.member-area-status {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
}
.status-icon-large {
    font-size: 5rem;
    color: #6BE188;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.member-area-status h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #0F6356;
    margin-bottom: 2rem;
    line-height: 1.3;
}
.status-content {
    background: linear-gradient(135deg, rgba(15, 99, 86, 0.05) 0%, rgba(107, 225, 136, 0.05) 100%);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    border: 2px solid #e0f7e0;
}
.status-content > p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: left;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.875rem 0;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}
.feature-list li i {
    color: #6BE188;
    font-size: 1.25rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.cta-text {
    font-size: 1.15rem;
    color: #0F6356;
    font-weight: 500;
    margin: 2.5rem 0 2rem;
    text-align: center;
}
.member-area-status .btn-discover {
    display: inline-flex;
    margin-top: 1rem;
}
@media (max-width: 768px) {
    .member-area-status {
        padding: 3rem 1.5rem;
    }
    .status-content {
        padding: 2rem 1.5rem;
    }
    .status-icon-large {
        font-size: 4rem;
    }
}

/* Contact Page Styles */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}
.contact-intro h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: #0F6356;
    font-weight: 600;
    margin-bottom: 1rem;
}
.contact-profiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto 4rem;
}
.contact-person {
    background: linear-gradient(135deg, rgba(15, 99, 86, 0.05) 0%, rgba(107, 225, 136, 0.05) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid #e0f7e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-person:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 99, 86, 0.15);
}
.contact-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #6BE188;
    box-shadow: 0 4px 15px rgba(107, 225, 136, 0.3);
}
.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contact-info h3 {
    font-size: 1.5rem;
    color: #0F6356;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.contact-role {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    word-break: break-all;
}
.contact-email:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(15, 99, 86, 0.3);
}
.contact-email i {
    font-size: 1.1rem;
}

/* Location Section */
.location-section {
    background: #e0f7e0;
}
.location-section .section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #0F6356;
    margin-bottom: 1rem;
}
.location-address {
    text-align: center;
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.location-address i {
    color: #6BE188;
    font-size: 1.5rem;
}
.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 99, 86, 0.15);
    border: 3px solid #e0f7e0;
}
.map-container iframe {
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    .contact-profiles {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-person {
        padding: 2rem 1.5rem;
    }
    .contact-email {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }
    .location-address {
        flex-direction: column;
        gap: 0.5rem;
    }
    .map-container {
        border-radius: 12px;
    }
}

/* Events Page Styles */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}
.event-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 99, 86, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(15, 99, 86, 0.2);
}
.event-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}
.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.event-image img[src^="images/"],
.event-image img[src^="./images/"],
.event-image img[src^="../images/"] {
    object-fit: contain;
    background: linear-gradient(135deg, rgba(15, 99, 86, 0.05) 0%, rgba(107, 225, 136, 0.05) 100%);
    padding: 1rem;
}
.event-image-gradient {
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
    position: relative;
}
.event-card:hover .event-image img {
    transform: scale(1.1);
}
.event-card:hover .event-image img[src^="images/"],
.event-card:hover .event-image img[src^="./images/"],
.event-card:hover .event-image img[src^="../images/"] {
    transform: scale(1.05);
}
.event-date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 99, 86, 0.3);
    display: flex;
    flex-direction: column;
    min-width: 60px;
}
.badge-day {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
}
.badge-month {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 0.25rem;
}
.badge-year {
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 0.15rem;
    opacity: 0.9;
}
.event-content {
    padding: 1.75rem;
}
.event-content h3 {
    font-size: 1.35rem;
    color: #0F6356;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}
.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #666;
}
.event-location,
.event-date,
.event-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.event-location i,
.event-date i,
.event-time i {
    color: #6BE188;
    font-size: 0.9rem;
}
.event-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}
.event-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0F6356;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}
.event-link:hover {
    color: #6BE188;
    gap: 0.75rem;
}
.event-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}
.event-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .event-image {
        height: 200px;
    }
    .event-content {
        padding: 1.5rem;
    }
}

/* News Page Styles - Similar to events but with subtle differences */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}
.news-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 99, 86, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(15, 99, 86, 0.2);
}
.news-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-image-gradient {
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
    position: relative;
}
.news-card:hover .news-image img {
    transform: scale(1.1);
}
.news-date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #0F6356 0%, #6BE188 100%);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 99, 86, 0.3);
    display: flex;
    flex-direction: column;
    min-width: 60px;
}
.news-content {
    padding: 1.75rem;
}
.news-category {
    display: inline-block;
    background: rgba(107, 225, 136, 0.2);
    color: #0F6356;
    padding: 0.3rem 0.75rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}
.news-title {
    font-size: 1.35rem;
    color: #0F6356;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}
.news-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}
.news-date,
.news-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.news-date i,
.news-author i {
    color: #6BE188;
    font-size: 0.85rem;
}
.news-summary {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}
.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0F6356;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}
.news-link:hover {
    color: #6BE188;
    gap: 0.75rem;
}
.news-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}
.news-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .news-image {
        height: 200px;
    }
    .news-content {
        padding: 1.5rem;
    }
}