@font-face {
    font-family: 'Myriad Pro';
    src: url('fonts/MyriadPro-Regular.woff') format('woff'),
         url('fonts/MyriadPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('fonts/MyriadPro-Bold.woff') format('woff'),
         url('fonts/MyriadPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --research-primary: #5b5aa7;
    --research-secondary: #5b5aa7;
    --research-accent: #ffc107;
    --research-light: rgba(128, 90, 213, 0.1);
    --research-dark: #1a202c;
    --text-light: #4a5568;
    --text-dark: #1a202c;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
    --highlight-red: #E74C3C;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;

    --accent-color-light: #ffc107;
    --accent-color-dark: #ffcd38;

    --main-theme-blue: #3b6ba8;
    --main-theme-dark-blue: #1A2E44;
    --main-accent-gold: #ffc107; 
    --banner-gradient-research: linear-gradient(135deg, #1167b1 0%, #46a0e0 100%);
    --research-banner-bg-color: #2d8eb4;

     --navbar-height: 50px;
    --banner-height: 420px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Myriad Pro';
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    background-attachment: fixed;
    color: black;
    overflow-x: hidden;
    font-size: 18px;
    line-height: 1.6;
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: black;
    font-family: 'Myriad Pro';
    font-size: 18px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    max-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 4px 20px rgba(0, 0, 0, 0.1);
    position: fixed; 
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: var(--header-height);
    display: flex;
    align-items: center;
    width: 100%; 
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.header-logo .logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo .logo:hover {
    transform: scale(1.05);
}

.research-banner {
    background: var(--banner-gradient-research); 
    color: var(--text-on-dark);
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 500px;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


.banner-inner-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 100%;
    margin: 0;
    width: 100%;
    gap: 0;
    position: relative;
    z-index: 1;
    height: 100%; 
    padding: 0;
}

.banner-left-visual {
    flex: 1;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.banner-left-visual .single-image-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
    display: block;
}

.banner-left-visual .single-image-container:hover {
    transform: none;
}

.banner-left-visual .banner-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
    position: relative;
}

.banner-right-text {
    flex: 1;
    text-align: left;
    padding: 40px;
    background:#5b5aa7!important;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-family: 'Myriad Pro';
    overflow: auto;
    box-sizing: border-box;
    font-size: 18px;
}

.report-title h1 {
    font-size: 29px;
    font-weight: 800;
    margin: 25px 0;
    line-height: 1.1;
    color: var(--main-accent-gold); 
    text-shadow: none;
    text-align: left;
    font-family: 'Myriad Pro';
}

.report-title .highlight {
    color: var(--main-accent-gold) !important;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    position: static;
}

.banner-description {
    font-size: 22px;
    color: white;
    margin: 30px 0 40px 0;
    line-height: 1.7;
    width: 450px;
    text-shadow: none;
    text-align: left;
    font-family: 'Myriad Pro';
}

.banner-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    margin-top: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border: 2px solid rgba(255, 255, 255, 0.4); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease; 
}

.stat-card:hover {
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); 
    background: rgba(255, 255, 255, 0.3); 
}

.stat-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: white; 
    text-shadow: none;
    font-family: 'Myriad Pro';
}

.stat-label {
    font-size: 18px;
    color: white; 
    font-family: 'Myriad Pro';
    text-shadow: none;
    font-weight: 600;
}

.banner-left-visual,
.banner-left-visual *,
.banner-left-visual *::before,
.banner-left-visual *::after {
    box-sizing: border-box; 
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.banner-left-visual .banner-image {
    image-rendering: auto; 
    backface-visibility: hidden; 
    -webkit-backface-visibility: hidden;
    transform: translateZ(0); 
    -webkit-transform: translateZ(0);
}

@media (max-width: 992px) {
    .research-banner {
        height: auto;
        min-height: 550px; 
        flex-direction: column; 
    }
    .banner-inner-content {
        flex-direction: column; 
        height: auto; 
    }
    .banner-left-visual {
        height: 250px; 
        min-height: auto; 
        width: 100%;
    }
    .banner-left-visual .single-image-container {
        height: 100%; 
        min-height: auto;
    }
    .banner-left-visual .banner-image {
        height: 100%;
        min-height: auto;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .banner-right-text {
        height: auto; 
        min-height: 280px; 
        padding: 30px;
        text-align: center; 
        align-items: center; 
    }
    .report-title h1 {
        font-size: 18px;
        text-align: center;
    }
    .banner-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .banner-stats {
        justify-content: center;
    }
    .stat-card {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .research-banner {
        min-height: 500px; 
    }
    .banner-left-visual {
        height: 220px; 
    }
    .banner-left-visual .single-image-container {
        height: 100%;
    }
    .banner-left-visual .banner-image {
        height: 100%;
    }
    .banner-right-text {
        min-height: 250px; 
        padding: 20px;
    }
    .report-title h1 {
        font-size: 18px;
    }
    .banner-description {
        font-size: 18px;
    }
    .stat-number {
        font-size: 18px;
    }
    .stat-label {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .research-banner {
        min-height: 450px; 
    }
    .banner-left-visual {
        height: 180px;
    }
    .banner-left-visual .single-image-container {
        height: 100%;
    }
    .banner-left-visual .banner-image {
        height: 100%;
    }
    .banner-right-text {
        min-height: 200px;
        padding: 15px;
    }
    .report-title h1 {
        font-size: 18px;
    }
    .banner-description {
        font-size: 18px;
        margin-bottom: 15px;
    }
    .banner-stats {
        flex-direction: column;
        gap: 0.8rem;
    }
    .stat-card {
        width: 100%;
        max-width: 200px;
    }
}

.research-main {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 80px 0; 
}

.section-header {
    text-align: left;
    margin-bottom: 60px; 
    max-width: 100%; 
    margin-left: 0;
    margin-right: auto;
}

.section-header h1 {
    font-size: 18px; 
    font-weight: 800; 
    color: black;
    -webkit-text-fill-color: black; 
    font-family: 'Myriad Pro';
}

.section-header.sub-heading h3 {
    font-size: 17px;
    font-weight: 700;
    color: black;
    margin-bottom: 20px;
    text-align: left;
    font-family: 'Myriad Pro';
}

.research-overview {
    margin-bottom: 40px;
}

.overview-content {
    display: block;
    gap: 30px;
    align-items: center;
}

.overview-text p {
    font-size: 18px; 
    line-height: 1.7;
    color: black;
    margin-bottom: 15px;
    text-align: left;
    font-family: 'Myriad Pro';
}

.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: black;
    margin-bottom: 6px;
    line-height: 1.3;
    font-family: 'Myriad Pro';
}

.conference-item-date {
    font-size: 18px;
    font-weight: 600;
    color: var(--research-primary);
    margin-bottom: 12px;
    font-family: 'Myriad Pro';
}

.conference-item-content p {
    font-size: 18px; 
    color: black;
    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%;
    }
}

.section-separator {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 25px 0;
}


.publications-section {
    margin-bottom: 70px;
}

.publications-content.new-design {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 0;
    margin: 0;
    padding-top: 10px;
}

.publication-number {
    font-size: 18px;
    font-weight: 800;
    color: var(--highlight-red);
    line-height: 1;
    flex-shrink: 0;
    font-family: 'Myriad Pro';
}

.publications-content.new-design p {
    font-size: 19px; 
    line-height: 1.8;
    color: black;
    margin-bottom: 0;
    text-align: left;
    font-family: 'Myriad Pro';
}


.phd-section {
    margin-bottom: 70px;
}

.phd-university-group {
    margin-bottom: 50px;
}

.phd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-items: center;
    align-items: stretch;
}

.phd-grid.alagappa-phd-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center; 
    align-items: stretch;
}

.phd-grid.mk-university-grid {
    grid-template-columns: 1fr;
    justify-items: start; 
    align-items: stretch;
}

.mk-university-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 400px;
    width: 100%;
    background: var(--bg-white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Myriad Pro';
}

.mk-university-image {
    width: 120px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid var(--research-light);
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mk-university-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mk-university-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    justify-content: space-between;
}



.phd-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center; 
    text-align: center;
    max-width: 400px;
    width: 100%;
    height: 100%;
    font-family: 'Myriad Pro';
}

.phd-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--research-accent) 0%, #ff9800 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.phd-card:hover::before {
    transform: scaleX(1);
}

.phd-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.phd-image {
    width: 120px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid var(--research-light);
    flex-shrink: 0;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center; 
    align-items: center;    
}

.phd-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phd-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    justify-content: space-between;
}

.phd-content h3 {
    font-size: 19px; 
    font-weight: 700;
    color: black;
    margin-bottom: 8px;
    line-height: 1.3;
    font-family: 'Myriad Pro';
}

.phd-university {
    font-size: 19px; 
    font-weight: 600;
    color: var(--research-primary);
    margin-bottom: 4px;
    font-family: 'Myriad Pro';
}

.phd-department {
    font-size: 19px; 
    color: black;
    margin-bottom: 15px;
    font-style: italic;
    flex-shrink: 0;
    font-family: 'Myriad Pro';
}

.phd-thesis {
    margin-bottom: 10px;
    line-height: 1.6;
    color: black;
    flex-grow: 1;
    text-align: left;
    width: 100%;
    font-family: 'Myriad Pro';
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 19px; 
}

.phd-thesis strong,
.phd-guide strong {
    color: black;
    font-weight: 600;
    font-family: 'Myriad Pro';
}

.phd-guide {
    color: black;
    font-size: 19px; 
    margin-top: auto;
    flex-shrink: 0;
    text-align: left;
    width: 100%;
    font-family: 'Myriad Pro';
}

footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #ffffff;
    padding: 60px 0 20px;
    position: relative;
    font-size: 18px;
    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 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-section h3 {
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color-light);
    font-family: 'Myriad Pro';
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.contact-item i {
    font-size: 18px;
    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: #ffffff;
    font-size: 18px;
    font-family: 'Myriad Pro';
}

.contact-item p {
    margin: 0;
    color: #cbd5e0;
    line-height: 1.5;
    font-size: 18px;
    font-family: 'Myriad Pro';
}

.footer-links-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 10px;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e0;
    transition: all 0.3s ease;
    padding: 8px 0;
    font-size: 18px;
    font-family: 'Myriad Pro';
    text-decoration: none;
}

.footer-link:hover {
    color: var(--accent-color-light);
    transform: translateX(5px);
}

.footer-link i {
    font-size: 18px;
    width: 20px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #a0aec0;
    font-size: 18px;
    font-family: 'Myriad Pro';
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    footer {
        font-size: 18px;
        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: 18px;
    }

    .footer-links-grid {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-links-column {
        min-width: 0;
    }

    .footer-link {
        font-size: 18px;
        justify-content: center;
    }

    .footer-bottom p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    footer {
        font-size: 18px;
        padding: 30px 0 20px;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .contact-item strong {
        font-size: 18px;
    }

    .contact-item p {
        font-size: 18px;
    }

    .footer-link {
        font-size: 18px;
        justify-content: center;
    }

    .footer-bottom p {
        font-size: 18px;
    }
}
@media (max-width: 768px) {
    .main-header {
        padding: 10px 15px;
    }

    .header-logo .logo {
        height: 40px;
    }

    .research-main {
        padding: 40px 0; 
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 18px;
    }

    .section-header.sub-heading h3 {
        font-size: 18px; 
    }

    .overview-text p,
    .publications-content.new-design p {
        font-size: 18px; 
    }

    .project-number {
        font-size: 15px; 
    }

    .project-label {
        font-size: 18px; 
    }

    .publication-number {
        font-size: 18px;
    }

    .conference-item {
        padding: 18px; 
        gap: 20px; 
    }

    .conference-item-content h3 {
        font-size: 18px; 
    }

    .conference-item-date,
    .conference-item-content p,
    .phd-university,
    .phd-department,
    .phd-thesis,
    .phd-guide {
        font-size: 18px; 
    }

    .phd-content h3 {
        font-size: 18px;
    }

    .phd-card {
        padding: 20px; 
    }

    .phd-image {
        width: 90px;
        height: 115px;
    }
}

@media (max-width: 480px) {
    .banner-inner-content {
        padding: 10px;
    }

    .banner-right-text {
        padding: 0.8rem; 
    }

    .report-title h1 {
        font-size: 18px;
        margin-bottom: 0.3rem; 
    }

    .banner-description {
        font-size: 18px; 
        margin-bottom: 0.8rem; 
    }

    .section-header h2 {
        font-size: 18px; 
    }

    .ongoing-projects-cards {
        flex-direction: column;
        gap: 15px; 
    }

    .publications-content.new-design {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px; 
    }

    .conference-item-visual {
        max-width: 100%;
    }

    .phd-grid,
    .phd-grid.alagappa-phd-grid,
    .phd-grid.mk-university-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-content {
        gap: 25px; 
    }
}

html {
    scroll-behavior: auto; 
}

* {
    font-family: 'Myriad Pro'; 
}

h1 { font-size: 18px; color:black; }
h2 { font-size: 18px; color:black; }
h3 { font-size: 18px; color:black; }
h4 { font-size: 18px; color:black; }
h5 { font-size: 18px; color:black; }
h6 { font-size: 18px; color:black; }

p, div, li {
    font-size: 18px;
    line-height: 1.6;
    font-family: 'Myriad Pro';
    color:black;
}

.secondary-text {
    font-size: 18px;
    font-family: 'Myriad Pro';
    color:black;
}

.small-text {
    font-size: 18px;
    font-family: 'Myriad Pro';
    color:black;
}
.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 !important;
    font-weight: 600;
    font-size: 19px !important;
    font-family: 'Myriad Pro' !important;
    line-height: 1.2;
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.nav-item:hover a {
    color: #fff !important;
    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 !important;
    font-weight: 600;
    color: white !important;
    font-family: 'Myriad Pro' !important;
}

body.education-page .education-nav a {
    transform: translateY(-1px);
}

.nav-item.active a::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    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; }
}

.carousel-slide {
    width: 100%;
    height: 100%;
    display: none; 
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #004d40; 
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

@media (max-width: 1024px) {
    .nav-item a {
        padding: 16px 8px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 50px; 
    }
    .horizontal-nav-container {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .nav-item {
        min-width: 120px;
        flex-shrink: 0;
    }
    .nav-item a {
        padding: 14px 6px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .nav-item {
        min-width: 100px;
    }
    .nav-item a {
        padding: 12px 4px;
        font-size: 14px;
    }
}

body.home-page .home-nav a,
body.patient-page .patient-nav a,
body.education-page .education-nav a,
body.consultancy-page .consultancy-nav a,
body.research-page .research-nav a,
body.ophthalmic-page .ophthalmic-nav a,
body.information-page .information-nav a,
body.recognition-page .recognition-nav a,
body.events-page .events-nav a {
    transform: translateY(-1px);
}

html {
    scroll-behavior: smooth;
}


.ongoing-projects-cards {
    display: flex;
    gap: 90px;
    justify-content: flex-start;
    align-items: stretch;
    margin: 32px 0 0 0;
    flex-wrap: wrap;
}
.project-card {
    background: #c9c9c969;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(26,46,68,0.08);
    padding: 32px 24px;
    width: 180px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    font-family: 'Myriad Pro', 'Inter', sans-serif;
}
.project-card:hover {
    box-shadow: 0 8px 32px rgba(26, 46, 68, 0.13);
    transform: translateY(-2px);
}
.project-number {
    font-size: 18px;
    font-weight: 700;
    color: black;
    margin-bottom: 8px;
    letter-spacing: -1px;
}
.project-label {
    font-size: 18px;
    color: black;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
@media (max-width: 900px) {
    .ongoing-projects-cards {
        gap: 18px;
        flex-wrap: wrap;
    }
    .project-card {
        min-width: 140px;
        padding: 18px 8px;
        font-size: 18px;
    }
    .ongoing-projects-box {
        padding: 18px 8px;
    }
}
@media (max-width: 600px) {
    .ongoing-projects-cards {
        flex-direction: column;
        gap: 12px;
    }
    .project-card {
        min-width: 100px;
        padding: 12px 4px;
        font-size: 18px;
    }
    .ongoing-projects-box {
        padding: 12px 2px;
    }
}

.ongoing-projects-section {
    margin-bottom: 50px;
}

.section-header {
    text-align: left;
    margin-bottom: 32px;
}

.performance-content-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.8rem;
    background: white;
    padding: 2.2rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(26, 46, 68, 0.07);
    border: 1px solid var(--border-light);
}
.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: 17px;
    font-size: 18px;
    color: black;
    font-weight: 500;
}

.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;
}

.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: 18px;
    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: 18px;
}
.footer-download-btn:hover {
    background: #ffcd38;
    color: #000;
    transform: translateY(-2px);
}