@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/MyriadPro-Regular.woff2') format('woff2'),
         url('../fonts/MyriadPro-Regular.woff') format('woff'),
         url('../fonts/MyriadPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/MyriadPro-Medium.woff2') format('woff2'),
         url('../fonts/MyriadPro-Medium.woff') format('woff'),
         url('../fonts/MyriadPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/MyriadPro-Bold.woff2') format('woff2'),
         url('../fonts/MyriadPro-Bold.woff') format('woff'),
         url('../fonts/MyriadPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --health-icon-bg: #ff6b6b;
    --health-badge-bg: #ffecec;
    --health-text-color: #ff6b6b;
    --health-highlight-color: #ff6b6b; 

    --edu-icon-bg: #5cc16b;
    --edu-badge-bg: #e6f9ec;
    --edu-text-color: #5cc16b;
    --edu-highlight-color: #5cc16b; 

    --consult-icon-bg: #4a90e2;
    --consult-badge-bg: #eaf4ff;
    --consult-text-color: #4a90e2;
    --consult-highlight-color: #4a90e2; 

    --research-icon-bg: #805ad5;
    --research-badge-bg: rgba(128, 90, 213, 0.1);
    --research-text-color: #805ad5;
    --research-highlight-color: #805ad5;

    --supplies-icon-bg: #d69e2e;
    --supplies-badge-bg: rgba(214, 158, 46, 0.1);
    --supplies-text-color: #d69e2e;
    --supplies-highlight-color: #d69e2e; 

    --tech-icon-bg: #319795;
    --tech-badge-bg: rgba(49, 151, 149, 0.1);
    --tech-text-color: #319795;
    --tech-highlight-color: #319795;

    --awards-icon-bg: #dd6b20;
    --awards-badge-bg: rgba(221, 107, 32, 0.1);
    --awards-text-color: #dd6b20;
    --awards-highlight-color: #dd6b20;

    --events-icon-bg: #e53e3e;
    --events-badge-bg: rgba(229, 62, 62, 0.1);
    --events-text-color: #e53e3e;
    --events-highlight-color: #e53e3e;

    --accent-color-light: #ffc107;
    --accent-color-dark: #ffcd38;
    --white: #ffffff;
    --light-grey: #f8f9fa;
    --dark-text: #000000;
    --black-heading: #000000;

    --events-banner-height: 450px;
    --events-banner-blue: #3b6ba8;
    --events-banner-dark-blue: #1A2E44;
    --events-banner-gradient: linear-gradient(135deg, var(--events-banner-blue) 0%, var(--events-banner-dark-blue) 100%);
    --events-text-white: var(--white);
    --navbar-height: 50px;
    
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Myriad Pro';
    margin: 0;
    background: #ffffff;
    color: #000000;
    scroll-behavior: smooth;
    line-height: 1.6;
    font-size: 19px;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    width:1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky; 
    top: 0; 
    z-index: 999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%; 
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

#hero-banner {
    position: relative; 
    margin-top: 0; 
    overflow: hidden;
    padding: 0;
    background: var(--events-banner-blue); 
    color: var(--events-text-white); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: var(--events-banner-height); 
    min-height: var(--events-banner-height); 
    width: 100%; 
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: 100%; 
    display: flex; 
    align-items: stretch; 
}

.hero-layout-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 0;
    align-items: stretch;
    height: 100%; 
    width: 100%; 
}

@media (min-width: 768px) {
    .hero-layout-grid {
        grid-template-columns: 50% 50%; 
    }
}

.hero-image-left {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: var(--events-banner-blue); 
    height: 100%; 
    overflow: hidden; 
}

.hero-image-container-frame {
    width: 100%;
    height: 100%; 
    position: relative;
    border-radius: 0; 
    overflow: hidden; 
    box-shadow: none; 
    border: none; 
}

.hero-display-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover; 
    display: block;
}

.hero-text-right {
    text-align: left; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: flex-start; 
    padding: 40px; 
    background: var(--events-banner-gradient); 
    color: var(--events-text-white); 
    height: 100%; 
    min-height: unset; 
    box-sizing: border-box; 
}

.hero-title-group {
    margin-bottom: 25px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.1;
    color: var(--events-text-white);
    font-family: 'Myriad Pro';
}

.hero-title .highlight {
    color: #ffc107; 
    background: transparent;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    display: inline-block;
    position: relative;
}

.hero-title .highlight::after {
    content: none;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--events-text-white); 
    line-height: 1.6;
    margin: 0;
    font-family: 'Myriad Pro';
    max-width: 100%;
}

.scroll-down,
.scroll-indicator {
    display: none !important;
}

@media (max-width: 992px) {
    #hero-banner {
        height: auto;
        min-height: auto;
    }

    .hero-layout-grid {
        grid-template-columns: 1fr; 
        height: auto;
    }

    .hero-image-left {
        height: 300px; 
        min-height: unset;
        order: 1;
    }

    .hero-text-right {
        text-align: center;
        padding: 40px 20px;
        height: auto; 
        min-height: unset;
        order: 2; 
        align-items: center; 
    }

    .hero-title {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }

    .hero-subtitle {
        max-width: 100%;
        text-align: center;
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .hero-image-left {
        height: 250px; 
    }

    .hero-text-right {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .hero-image-left {
        height: 200px; 
    }

    .hero-text-right {
        padding: 20px 15px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
    }

    .hero-subtitle {
        font-size: 19px;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
.main-content {
    padding: 80px 0;
    background: #ffffff;
}

.events-section {
    padding: 40px 0;
}

.events-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.event-item {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    font-family: 'Myriad Pro';
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.event-item:nth-child(even) {
    animation-delay: 0.2s;
}

.event-item:nth-child(odd) {
    animation-delay: 0.1s;
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.event-heading {
    font-family: 'Myriad Pro';
    font-size: 19px;
    font-weight: 600;
    color: #000000;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.3;
}

.event-date {
    display: block;
    text-align: center;
    color: #000000;
    font-size: 19px;
    margin-bottom: 25px;
    font-weight: 500;
    font-family: 'Myriad Pro';
}

.event-images {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: center;
}

.event-images.four-images {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.event-images.landscape-image {
    grid-template-columns: 1fr;
    place-items: center;
}

.event-images.two-images {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.event-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0 3s ease, box-shadow 0 3s ease;
    display: block;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.event-images.landscape-image img {
    max-width: 100%;
    width: 100%;
    height: 250px;
    aspect-ratio: unset;
    object-fit: cover;
}

.event-images.single-image img {
    max-width: 100%;
    width: 100%;
    height: 250px;
    aspect-ratio: unset;
    object-fit: cover;
}

.ring-of-hope-images {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.ring-of-hope-images .left-image {
    flex: 1;
    min-width: 0;
}

.ring-of-hope-images .left-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}

.ring-of-hope-images .right-group {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ring-of-hope-images .right-group img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

.ring-of-hope-images .overlay-20-years {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 80px;
    height: auto;
    z-index: 10;
    box-shadow: none;
    border-radius: 0;
}

.event-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .ring-of-hope-images {
        flex-direction: column;
    }

    .ring-of-hope-images .right-group {
        flex-direction: row;
        gap: 10px;
    }

    .ring-of-hope-images .right-group img {
        height: 150px;
    }
}

.event-content p {
    font-family: 'Myriad Pro';
    font-size: 19px;
    font-weight: normal;
    line-height: 1.7;
    color: #000000;
    text-align: left;
    margin-bottom: 1rem;
}

footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #ffffff;
    padding: 60px 0 20px;
    position: relative;
    font-size: 19px;
    font-family: 'Myriad Pro';
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color-light) 0%, var(--accent-color-dark) 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Myriad Pro';
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color-light);
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent-color-light);
    margin-top: 2px;
    width: 20px;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--white);
    font-family: 'Myriad Pro';
    font-size: 19px;
    font-weight: 700;
}

.contact-item p {
    margin: 0;
    color: var(--white);
    line-height: 1.5;
    font-family: 'Myriad Pro';
    font-size: 19px;
}

.footer-links-grid {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 180px;
}

.footer-link,
.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    font-family: 'Myriad Pro';
    font-size: 19px;
    cursor: pointer;
}

.footer-link:hover,
.footer-links a:hover {
    color: var(--accent-color-light);
    transform: translateX(5px);
}

.footer-link i,
.footer-links a i {
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
    color: inherit;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    font-size: 19px;
    font-family: 'Myriad Pro';
}

.social-links a:hover {
    color: var(--accent-color-light);
    transform: translateX(5px);
}

.social-links a i {
    font-size: 1.1rem;
    width: 20px;
    color: inherit;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: var(--white);
    font-family: 'Myriad Pro';
    font-size: 19px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--white);
    font-family: 'Myriad Pro';
    font-size: 19px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-color-light);
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-links-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    footer {
        font-size: 16px;
        padding: 40px 0 20px;
    }

    .footer-section h3 {
        font-size: 18px;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 10px;
    }

    .contact-item i {
        margin-top: 0;
    }

    .contact-item div {
        text-align: center;
    }

    .contact-item strong,
    .contact-item p {
        text-align: center;
        font-size: 16px;
    }

    .footer-links-grid {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-links-column {
        min-width: 0;
        text-align: center;
    }

    .footer-link,
    .footer-links a {
        font-size: 16px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    footer {
        font-size: 14px;
        padding: 30px 0 20px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .contact-item strong,
    .contact-item p {
        font-size: 14px;
    }

    .footer-link,
    .footer-links a {
        font-size: 14px;
    }

    .footer-bottom p {
        font-size: 14px;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 19px;
        padding-top: 65px; 
    }

    .main-header {
        padding: 10px 20px;
    }

    .header-logo .logo {
        height: 40px;
    }

    #sticky-banner .sticky-text {
        display: block;
    }

    .hero-layout-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-container-frame {
        height: 300px;
    }

    .hero-text-right {
        padding: 20px;
        text-align: center; 
        align-items: center; 
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .event-images.four-images,
    .event-images.two-images {
        grid-template-columns: 1fr;
    }

    .event-images.four-images img,
    .event-images.two-images img {
        height: 180px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    footer {
        font-size: 16px;
    }

    .footer-section h3 {
        font-size: 18px;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
    }

    .contact-item i {
        margin-right: 0;
    }

    .contact-item strong, .contact-item p {
        text-align: center;
        width: auto;
    }

    .social-links,
    .footer-links {
        align-items: center;
    }

    .social-links a,
    .footer-links a {
        font-size: 16px;
        justify-content: center;
    }

    .footer-bottom p {
        font-size: 16px;
    }

    .footer-bottom-links a {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 19px;
    }

    .hero-image-container-frame {
        height: 220px;
    }

    .event-images.four-images img,
    .event-images.two-images img {
        height: 150px;
    }

    .event-images.landscape-image img {
        height: 180px;
    }

    footer {
        font-size: 14px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .contact-item strong {
        font-size: 14px;
    }

    .contact-item p {
        font-size: 14px;
    }

    .social-links a,
    .footer-links a,
    .footer-bottom p,
    .footer-bottom-links a {
        font-size: 14px;
    }
}
/* === NAVIGATION STYLES (Copy from patientcare.css) === */
.horizontal-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: var(--navbar-height);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.horizontal-nav-container {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horizontal-nav-container::-webkit-scrollbar {
    display: none;
}

.nav-item {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item a {
    display: block;
    padding: 18px 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Myriad Pro', sans-serif;
}

.nav-item:hover a {
    color: #fff;
    opacity: 0.9;
    transform: translateY(-2px);
}

.home-nav a { background: #8e44ad; }
.patient-nav a { background: #158481; }
.education-nav a { background: #144984; }
.consultancy-nav a { background: #9b1c25; }
.research-nav a { background: #5b5aa7; }
.ophthalmic-nav a { background: #0c628a; }
.information-nav a { background: #b97e2b; }
.recognition-nav a { background: #9b59b6; }
.events-nav a { background: #e67e22; }

.nav-text {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: white;
    font-family: 'Myriad Pro';
}



.nav-item.active a::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: var(--main-accent-gold);
    margin-top: 6px;
    border-radius: 2px;
    animation: underlineSlide 0.4s ease-in-out;
}

@keyframes underlineSlide {
    from { width: 0; opacity: 0; }
    to { width: 100%; opacity: 1; }
}
.lightbox-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); 
    z-index: 2000; 
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
    color: #000000;
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px 10px 10px; 
    color: #fff; 
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2002;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-sizing: border-box;
}

.lightbox-counter-top {
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 15px; 
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom-right-radius: 5px;
    color: white;
}

.lightbox-actions {
    display: flex;
    gap: 5px;
}

.lightbox-action-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.lightbox-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
    background: transparent;
    color: white; 
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease, transform 0.2s ease;
    margin-left: 10px; 
}

.lightbox-close:hover {
    color: #ff0000;
    transform: scale(1.1);
}

.lightbox-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px; 
    margin-bottom: 20px;
}

.lightbox-image {
    max-width: 100%;
    max-height: calc(90vh - 120px); 
    object-fit: contain; 
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.lightbox-caption {
    margin-top: 15px; 
    font-size: 19px;
    color: #000000;
    text-align: center;
    font-weight: 500;
    font-family: 'Myriad Pro';
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 2.5rem; 
    line-height: 1;
    border-radius: 50%;
    width: 50px; 
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 2003; 
}

.lightbox-prev {
    left: -25px; 
}

.lightbox-next {
    right: -25px; 
}

.lightbox-content .lightbox-nav.lightbox-prev {
    left: 10px; 
}
.lightbox-content .lightbox-nav.lightbox-next {
    right: 10px; 
}


.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.conferences-section {
    margin-bottom: 70px;
}

.conference-list-alternating {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.conference-item {
    display: flex;
    align-items: stretch;
    gap: 25px;
    background: var(--bg-white);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    overflow: hidden;
    min-height: 280px;
}

.conference-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.conference-item-visual {
    flex-shrink: 0;
    width: 38%;
    max-width: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: stretch;
}

.conference-item-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.conference-item:hover .conference-item-visual img {
    transform: scale(1.02);
}

.conference-item-content {
    flex-grow: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.conference-item-content h3 {
    font-size: 19px; 
    font-weight: 700;
    color: #000000;
    margin-bottom: 6px;
    line-height: 1.3;
    font-family: 'Myriad Pro';
}

.conference-item-date {
    font-size: 19px; 
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
    font-family: 'Myriad Pro';
}

.conference-item-content p {
    font-size: 19px;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 0;
    font-family: 'Myriad Pro';
    flex-grow: 1;
}

.conference-item.reverse-order {
    flex-direction: row-reverse;
}

@media (max-width: 992px) {
    .conference-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: auto;
    }

    .conference-item.reverse-order {
        flex-direction: column;
    }

    .conference-item-visual {
        width: 100%;
        max-width: 400px;
    }

    .conference-item-visual img {
        height: 200px;
    }

    .conference-item-content {
        text-align: center;
        width: 100%;
    }
}
.gallery-card-equal .event-images {
    display: flex !important; 
    gap: 15px;
    margin: 30px auto;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
}

.gallery-card-equal .event-images a {
    flex: 1;
    max-width: calc(33.333% - 10px); 
    min-width: 250px;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.gallery-card-equal .event-images img {
    width: 100%;
    height: 220px; 
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-card-equal .event-images a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-card-equal .event-images a:hover img {
    transform: scale(1.05);
}

.event-item {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.event-heading {
    font-size: 19px;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Myriad Pro';
}

.event-date {
    text-align: center;
    color: #000000;
    margin-bottom: 25px;
    font-size: 19px;
    font-family: 'Myriad Pro';
}

@media (max-width: 992px) {
    .gallery-card-equal .event-images {
        flex-wrap: wrap;
    }
    
    .gallery-card-equal .event-images a {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .gallery-card-equal .event-images {
        flex-direction: column;
    }
    
    .gallery-card-equal .event-images a {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .gallery-card-equal .event-images img {
        height: 200px;
    }
    
}

.outreach-details-link {
    text-align: right;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
    font-family: 'Myriad Pro';
}

.outreach-details-link p {
    margin: 0;
    font-size: 20px;
    color: #000000;
    font-weight: 500;
    font-family: 'Myriad Pro';
}

.details-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease-in-out, border-bottom 0.2s ease-in-out;
    border-bottom: 2px solid transparent;
    font-family: 'Myriad Pro';
}

.details-link:hover {
    color: #1d4ed8;
    border-bottom: 2px solid #2563eb;
}

.footer-download-btn {
    display: inline-block;
    background: var(--main-accent-gold, #FFC107);
    color: var(--main-theme-dark-blue, #1A2E44);
    font-family: 'Myriad Pro';
    font-weight: 700;
    font-size: 19px;
    padding: 12px 28px;
    border-radius: 8px;
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.13);
    transition: background 0.3s, color 0.3s, transform 0.2s;
}
.footer-download-btn i {
    margin-right: 8px;
    font-size: 1.2em;
}
.footer-download-btn:hover {
    background: #ffcd38;
    color: #000;
    transform: translateY(-2px);
}

