/********** Template CSS **********/
:root {
    --primary: #4F46E5;
    /* Indigo 600 */
    --primary-light: #818CF8;
    /* Indigo 400 */
    --primary-dark: #3730A3;
    /* Indigo 800 */
    --secondary: #10B981;
    /* Emerald 500 */
    --accent: #F59E0B;
    /* Amber 500 */
    --dark: #1F2937;
    /* Gray 800 */
    --light: #F9FAFB;
    /* Gray 50 */
    --gray: #6B7280;
    /* Gray 500 */
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: #021d53;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: var(--secondary);
    text-decoration: none;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* Buttons */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.23);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.navbar-brand img {
    height: 50px;
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    padding: 10px 15px;
    border-radius: 8px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

/* Hero Section */
.hero-header {
    background: linear-gradient(rgba(31, 41, 55, 0.7), rgba(31, 41, 55, 0.7)), url(../img/carousel-1.jpg);
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.carousel-caption {
    bottom: initial;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    /* Removed dark background */
}

/* Search Box */
.search-container {
    background: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    max-width: 600px;
    margin: 20px auto;
}

.search-input {
    border: none;
    padding: 10px 20px;
    width: 100%;
    outline: none;
    font-size: 16px;
    border-radius: 50px;
}

.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: rotate(90deg);
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title h5 {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Cards & Team */
.team-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.team-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.team-text {
    padding: 25px;
    background: white;
    position: relative;
    z-index: 10;
}

/* Quick Links & Study Materials */
.modern-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.modern-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.modern-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
    margin-top: 50px;
}

.footer h3 {
    color: white;
    margin-bottom: 25px;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links .btn-link {
    text-align: left;
    padding: 5px 0;
    padding-left: 0 !important;
    width: auto;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-links .btn-link:hover {
    color: var(--primary-light);
    padding-left: 5px !important;
    background: none;
}

/* Utilities */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* Custom Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Notification Bar */
.notification-bar {
    background: linear-gradient(90deg, var(--dark) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
    overflow: hidden;
}

.news-ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Login/Register Forms */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow-lg);
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #E5E7EB;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}