@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap");

:root {
    --primary: #2b6e3f;
    --primary-light: #3f8a50;
    --accent: #dfaf14;
    --accent-hover: #ebb31a;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f4fbf4;
}

.bglignregreen {
    background-color: #e8efea;
}

.yelowwfontcolor {
    color: var(--accent) !important;
}

body {
    font-family: "Poppins", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", serif;
    color: var(--primary);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.brand-text h1 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--primary);
}

.brand-text small {
    font-size: 0.75rem;
    color: var(--text-light);
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 8px;
    margin: 0 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--primary);
    color: #fff !important;
}

.navbar-toggler {
    border: none;
    color: var(--primary);
}

/* ===== HERO SLIDER ===== */
.hero-section {
    position: relative;
}

.hero-slide {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(43, 110, 63, 0.95), rgba(43, 110, 63, 0.7), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 500px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: #fff;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: #fff;
}

.btn-outline-light {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
}

/* Slick Slider Arrows */
.slick-prev,
.slick-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    z-index: 100;
    transition: all 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.slick-prev {
    left: 30px;
}

.slick-next {
    right: 30px;
}

.slick-prev:before,
.slick-next:before {
    font-size: 24px;
}

.slick-dots {
    bottom: 30px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: #fff;
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    color: #fff;
    opacity: 1;
}

/* ===== STATS SECTION ===== */
.stats-section {
    margin-top: -80px;
    position: relative;
    z-index: 20;
}

.stats-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    border-radius: 15px;
}
.row > .col-6:first-child .stat-item {
    background: var(--primary);
}

.stat-item:hover {
    background: var(--primary);
}

.stat-item:hover .stat-icon,
.stat-item:hover .stat-value,
.stat-item:hover .stat-label {
    color: #fff;
}
.row > .col-6:first-child .stat-item .stat-icon,
.row > .col-6:first-child .stat-item .stat-value,
.row > .col-6:first-child .stat-item .stat-label {
    color: #fff;
}

.stat-icon {
    font-size: 5rem;
    color: var(--accent);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: "Playfair Display", serif;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== SECTION STYLES ===== */
.section-padding {
    padding: 100px 0;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.badge-primary {
    background: rgba(26, 54, 93, 0.1);
    color: var(--primary);
}

.badge-accent {
    background: rgba(201, 162, 39, 0.1);
    color: var(--accent);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ===== ABOUT SECTION ===== */
.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    max-width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -80px;
    background: var(--primary);
    color: #fff;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.3);
}

.experience-badge h3 {
    font-size: 2rem;
    color: #fff;
    margin: 0;
}

.experience-badge p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.85rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
    background-color: #e8efea;
}

.feature-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ===== CARDS ===== */
.custom-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.custom-card:hover .card-icon {
    background: var(--accent);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== AWARD CARDS ===== */
.award-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.award-icon {
    width: 50px;
    height: 50px;
    background: rgba(201, 163, 39, 0.205);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.award-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.award-event {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.award-meta {
    font-size: 0.8rem;
}

/* ===== DARK SECTION ===== */
.dark-section {
    background: var(--primary);
    color: #fff;
}

.dark-section h2,
.dark-section h3 {
    color: #fff;
}

.dark-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ===== COUNTRY TAGS ===== */
.country-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.country-tag {
    padding: 10px 20px;
    background: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.country-tag:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== PAGE BANNER ===== */
.page-banner {
    min-height: 400px;
    background:
        linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.85)),
        url("https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?w=1920&q=80");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

.page-banner h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav a:hover {
    color: #fff;
}

.breadcrumb-nav span {
    color: var(--accent);
}

.decorative-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.decorative-line .line {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent));
}

.decorative-line .diamond {
    width: 10px;
    height: 10px;
    background: var(--accent);
    transform: rotate(45deg);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -7px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--accent);
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(26, 54, 93, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.timeline-org {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== PUBLICATION CARD ===== */
.publication-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.publication-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.pub-icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 54, 93, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pub-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.pub-authors {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.pub-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pub-journal {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.85rem;
}

.pub-year {
    padding: 3px 10px;
    background: #f0f0f0;
    border-radius: 5px;
    font-size: 0.8rem;
}

.pub-doi {
    color: var(--primary);
    font-size: 0.85rem;
}

/* ===== CONTACT FORM ===== */
.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.contact-icon.accent {
    background: var(--accent);
}

.form-control {
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-light);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 80px 0 30px;
}

.footer h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== GALLERY SECTION ===== */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.gallery-item {
    flex: 1 1 calc(25% - 16px); /* Adjust width for 4 items per row */
    box-sizing: border-box;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Maintain square aspect ratio */
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 8px;
}

/* Gallery Images */
.gallery img {
    height: 300px; /* Set a fixed height */
    width: 100%; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure the image covers the area */
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow */
}

.gallery-item p {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
}

/* ===== LIGHTBOX STYLES ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.lightbox-navigation {
    position: absolute;
    bottom: 20px; /* Move navigation below the image */
    width: 100%;
    display: flex;
    justify-content: center; /* Center navigation buttons */
    gap: 20px; /* Add spacing between buttons */
}

/* Adjust Lightbox Navigation Buttons */
.lightbox-nav {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px; /* Reduce padding for smaller size */
    cursor: pointer;
    font-size: 20px; /* Adjust font size */
    color: #333;
    border-radius: 50%; /* Ensure perfect circular shape */
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.8);
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-banner h1 {
        font-size: 2.5rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats-section {
        margin-top: -50px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .publication-card {
        flex-direction: column;
    }

    .slick-prev,
    .slick-next {
        display: none !important;
    }
}
