/* ==========================
       GLOBAL HEADER STYLES
    ========================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

header .navbar-brand img {
    height: 70px;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: color 0.3s;
    padding: 8px 15px !important;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

/* Dropdown */
.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    border: none;
}

.dropdown-item:hover {
    background-color: #f1f9ff;
    color: #007bff;
}

/* Mobile toggler */
.navbar-toggler {
    border: none;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    color: #333;
    font-size: 24px;
}

/* Sticky effect on scroll */
.scrolled {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
}

@media (max-width: 992px) {
    .navbar-collapse {
        background-color: #fff;
        border-top: 1px solid #eee;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid #f5f5f5;
    }

    .navbar-nav .nav-link {
        padding: 12px 20px !important;
    }
}


/* ---------------- HERO SECTION ---------------- */
.hero-section {
    background: linear-gradient(135deg, #022a5e 0%, #014b9d 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-section .hero-content {
    animation: fadeInUp 1s ease forwards;
}

.hero-section .hero-photo {
    height: 500px;
    object-fit: cover;
    border: 5px solid #fff;
}

.hero-section .exp-card {
    bottom: -20px;
    left: -20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ---------------- ABOUT SECTION ---------------- */
.about-section {
    background: #f8f9fc;
    position: relative;
    overflow: hidden;
}

.about-section .divider {
    width: 80px;
    height: 4px;
    background: #022a5e;
    border-radius: 5px;
}

.about-section .about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 42, 94, 0.2);
    mix-blend-mode: multiply;
    transition: 0.3s;
}

.about-section .about-image:hover .about-overlay {
    background: rgba(2, 42, 94, 0.4);
}

.about-section .about-content {
    animation: fadeInUp 1s ease forwards;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
    .hero-section .hero-photo {
        height: auto;
    }

    .hero-section .exp-card {
        bottom: -10px;
        left: 10px;
        transform: scale(0.9);
    }
}

.research-section {
    background: linear-gradient(135deg, #eef5ff, #ffffff);
}

.research-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a2351;
}

.research-section .section-subtitle {
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.research-section .research-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.research-section .research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.research-section .text-indigo {
    color: #4b0082 !important;
}

.research-section .text-orange {
    color: #ff7a00 !important;
}

.research-section .text-teal {
    color: #00897b !important;
}

.research-section .border-orange {
    border-color: #ff7a00 !important;
}

.research-section .border-indigo {
    border-color: #4b0082 !important;
}

.research-section .border-teal {
    border-color: #00897b !important;
}

@media (max-width: 767px) {
    .research-section .section-title {
        font-size: 2rem;
    }

    .research-section .card-body {
        padding: 1.25rem;
    }
}

/* ============================
       MAIN PARENT CONTAINER
    ============================ */
.article-section {
    width: 100%;
    margin: auto;
    background: linear-gradient(to bottom right, #ffffff, #fdf1f7);
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

/* Decorative background circles */
.article-section::before,
.article-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
}

.article-section::before {
    width: 200px;
    height: 200px;
    background: #00aee0;
    top: -60px;
    left: -60px;
}

.article-section::after {
    width: 250px;
    height: 250px;
    background: #e91e63;
    bottom: -80px;
    right: -80px;
}

/* ============================
       HEADER DESIGN
    ============================ */
.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #e91e63, #00aee0);
    color: white;
    padding: 15px 25px;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.section-header i {
    font-size: 26px;
}

.section-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ============================
       ARTICLE LIST
=============================== */
ol.article-list {
    list-style: none;
    margin: 30px 0 0 0;
    padding: 0;
    counter-reset: artCount;
    position: relative;
    z-index: 1;
}

ol.article-list li {
    background: #ffffffd9;
    border-left: 5px solid #00aee0;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 12px 15px 12px 45px;
    font-size: 16px;
    color: #333;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;

    /* NEW → to place download icon on right */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* NUMBERING */
ol.article-list li::before {
    counter-increment: artCount;
    content: counter(artCount) ".";
    position: absolute;
    left: 5px;
    top: 10px;
    color: #e91e63;
    font-weight: bold;
    font-size: 16px;
}

/* Hover effect (unchanged) */
ol.article-list li:hover {
    background: #f0faff;
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(0, 174, 224, 0.2);
}

/* Title + Journal text container */
.article-text {
    width: 90%;
    line-height: 22px;
}

/* Title/Link */
ol.article-list li a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

ol.article-list li a:hover {
    color: #e91e63;
    text-decoration: underline;
}

/* Journal/Year highlight */
ol.article-list li strong {
    color: #007bff;
}

/* ============================
      DOWNLOAD ICON (NEW)
=============================== */
.download-btn {
    font-size: 18px;
    color: #007bff;
    margin-left: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.download-btn i {
    pointer-events: none;
}

.download-btn:hover {
    color: #e91e63;
}

/* ============================
          RESPONSIVE
=============================== */
@media (max-width: 768px) {
    .article-section {
        width: 90%;
        padding: 25px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    ol.article-list li {
        font-size: 15px;
        padding-left: 40px;
    }

    .article-text {
        width: 85%;
    }
}



.parent {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

/* Video Card */
.video-card {
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 16 / 9;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #00AEDD;
}

.video-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Section Title */
h2 {
    color: #00AEDD;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 2px solid #00AEDD;
    display: inline-block;
    padding-bottom: 5px;
}

/* Load More Button */
#loadMoreBtn {
    background-color: #00AEDD;
    border: none;
    transition: background 0.3s ease;
}

#loadMoreBtn:hover {
    background-color: #007fa3;
}


/* 🌐 CONTACT SECTION */
        .contact-section {
            background: linear-gradient(135deg, #f8fbff, #ffffff);
        }

        .contact-section .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #0a2351;
        }

        .contact-section .section-subtitle {
            color: #555;
            max-width: 600px;
            margin: 0 auto;
        }

        .contact-section .icon-box {
            width: 50px;
            height: 50px;
            font-size: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .contact-section .btn-primary {
            background: #0056d2;
            border: none;
        }

        .contact-section .btn-primary:hover {
            background: #003e99;
        }

        /* 🌙 FOOTER SECTION */
        .footer-section {
            background: #0b132b;
        }

        .footer-section .logo-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .footer-section .social-link {
            width: 35px;
            height: 35px;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: 0.3s;
        }

        .footer-section .social-link:hover {
            background: #0056d2;
            transform: translateY(-2px);
        }

        .footer-section .footer-link {
            color: #ccc;
            text-decoration: none;
            display: block;
            margin-bottom: 6px;
            transition: 0.3s;
        }

        .footer-section .footer-link:hover {
            color: #fff;
            padding-left: 5px;
        }

        @media (max-width: 767px) {
            .contact-section .section-title {
                font-size: 2rem;
            }

            .contact-section form .btn {
                width: 100%;
            }
        }

/* 🌟 Student PPT Section Styles */
        .student_ppt_sec {
            background: #f9fafc;
            padding: 50px 0;
        }

        .student_ppt_parent {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 20px;
            justify-content: center;
        }

        .student-ppt-card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            transition: all 0.3s ease;
        }

        .student-ppt-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .student-ppt-icon {
            font-size: 42px;
            color: #28a745;
            /* green for student look */
        }

        .btn-outline-primary {
            border-color: #007bff;
            color: #007bff;
            transition: all 0.3s ease;
        }

        .btn-outline-primary:hover {
            background-color: #007bff;
            color: #fff;
        }

        @media (max-width: 768px) {
            .student_ppt_parent {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 576px) {
            .student_ppt_parent {
                grid-template-columns: 1fr;
            }
        }


/* 🌟 PPT Section Styles */
        .ppt_sec {
            background: #f9fafc;
            padding: 50px 0;
        }

        .ppt_parent {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 20px;
            justify-content: center;
        }

        .ppt-card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            transition: all 0.3s ease;
        }

        .ppt-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .ppt-icon {
            font-size: 42px;
            color: #007bff;
        }

        .btn-outline-primary {
            border-color: #007bff;
            color: #007bff;
            transition: all 0.3s ease;
        }

        .btn-outline-primary:hover {
            background-color: #007bff;
            color: #fff;
        }

        @media (max-width: 768px) {
            .ppt_parent {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 576px) {
            .ppt_parent {
                grid-template-columns: 1fr;
            }
        }


/* Responsive */
@media (max-width: 576px) {
    .parent {
        grid-template-columns: 1fr;
    }
}
