/*  import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

:root {
    --primary-color: #1a237e;
    --secondary-color: #0d47a1;
    --accent-color: #ffd700;
    --dark-color: #0a1744;
    --light-color: #e8eaf6;
    --gradient-primary: linear-gradient(135deg, #1a237e, #0d47a1);
    --text-color: #ffffff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--gradient-primary);
    overflow-x: hidden;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--dark-color);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--light-color);
}

/* ===== Navbar ===== */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-scrolled {
    background-color: rgba(13, 71, 161, 0.95);
    padding: 10px 0;
    box-shadow: var(--box-shadow);
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.navbar-brand span {
    font-weight: 600;
    font-size: 1.2rem;
    margin-left: 10px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--light-color);
    font-weight: 500;
    padding: 8px 15px;
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--accent-color);
}

.btn-login {
    background-color: var(--accent-color);
    color: var(--dark-color) !important;
    font-weight: 600;
    padding: 8px 20px !important;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-login:hover {
    background-color: #fff;
    transform: translateY(-3px);
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.hero-btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.hero-btn:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
}

.hero-image {
    animation: float 6s ease-in-out infinite;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-shape-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* ===== Section General Styles ===== */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--accent-color);
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* ===== About Section ===== */
.about-section {
    background-color: rgba(10, 23, 68, 0.8);
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
}

.about-card h4 {
    color: var(--accent-color);
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}

.about-card p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* ===== Academic Section ===== */
.section-padding {
    padding: 80px 0;
}

.program-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.program-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.program-card h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.program-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Events Section ===== */
.events-section {
    background-color: var(--dark-color);
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.event-date {
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 80px;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 1rem;
    font-weight: 600;
}

.event-content {
    padding: 20px;
    flex: 1;
}

.event-content h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.event-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.event-location i {
    margin-right: 5px;
}

.event-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.event-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
}

.event-link:hover {
    color: #fff;
}

.event-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.event-link:hover i {
    transform: translateX(5px);
}

.coming-soon-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.coming-soon-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.coming-soon-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.coming-soon-card h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.coming-soon-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.notify-btn-wrapper {
    margin-top: auto;
}

.notify-btn {
    display: inline-block;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.notify-btn:hover {
    background: var(--accent-color);
    color: var(--dark-color);
}

.notify-btn i {
    margin-left: 5px;
}

.btn-view-all {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-view-all:hover {
    background: var(--accent-color);
    color: var(--dark-color);
}

/* ===== Gallery Section ===== */
.gallery-section {
    background-color: rgba(10, 23, 68, 0.7);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.gallery-item img {
    transition: var(--transition);
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 126, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-icon {
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-icon {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Team Section ===== */
.team-section {
    background-color: var(--primary-color);
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.team-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.team-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: var(--transition);
}

.team-social a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* ===== FAQ Section ===== */
.faq-section {
    background-color: rgba(10, 23, 68, 0.8);
}

.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    font-weight: 500;
    padding: 15px 20px;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--accent-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.1);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffd700'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.8);
    padding: 15px 20px;
}

/* ===== Contact Section ===== */
.contact-section {
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h5 {
    color: #fff;
    margin-bottom: 5px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-submit {
    background: var(--accent-color);
    color: var(--dark-color);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
}

.btn-submit:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* ===== Footer ===== */
.footer-section {
    background-color: var(--primary-color);
    padding: 25px 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer-about h4 {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.horizontal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.horizontal-links li {
    margin: 0 10px;
}

.horizontal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.horizontal-links a:hover {
    color: var(--accent-color);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* ===== Back-to-Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    z-index: 99;
    font-size: 20px;
    transition: var(--transition);
}

.back-to-top:hover {
    background-color: #fff;
    transform: translateY(-5px);
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand span {
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        padding: 10px;
        justify-content: center;
        align-items: center;
    }
    
    .event-date .day {
        font-size: 1.3rem;
        margin-right: 5px;
    }
    
    .event-date .month {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand span {
        display: none;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .contact-item i {
        margin-bottom: 10px;
    }
}

/* ===== Responsive Animation Fixes ===== */
@media (max-width: 767px) {
    [data-aos^="fade-left"],
    [data-aos^="fade-right"],
    [data-aos^="flip-left"],
    [data-aos^="flip-right"] {
        transform: none !important; /* Override AOS transforms on mobile */
    }
    
    html, body {
        overflow-x: hidden; /* Prevent horizontal overflow */
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    /* Make event links better on mobile */
    .event-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .event-content .hero-btn {
        margin: 5px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* ===== Navbar Mobile Improvements ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: rgba(13, 71, 161, 0.95);
        border-radius: 10px;
        padding: 15px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .navbar-nav .nav-item {
        padding: 8px 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
        display: inline-block;
        width: 80%;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        transform: translateY(-2px);
    }
    
    .btn-login {
        width: 80%;
        padding: 10px 20px !important;
    }
}

.img-card {
    background: url('images/background.jpeg');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    min-height: 250px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 71, 161, 0.3);
    z-index: 1;
}

.img-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.img-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    width: 100%;
}

.img-card cite {
    font-style: italic;
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 500;
    display: block;
    text-align: center;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}