/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: #4facfe !important;
}

.nav-link {
    font-weight: 500;
    color: #555 !important;
    margin: 0 10px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #4facfe !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4facfe;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 20px;
    padding: 8px 25px !important;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
    transition: transform 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
}

/* Mobile Fixes */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding-top: 120px;
        /* More space for mobile navbar */
    }
}

/* Hero Section */
/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    /* min-height: 100vh; Removed to fit content naturally on mobile */
    min-height: 600px;
    /* Minimum height but can expand */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 100px;
    /* Increased top padding for Navbar clearance */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

/* Animated Circles Background */
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Feature Cards in Hero */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    /* Default wrap for desktop if many */
    margin-top: 50px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: 15px;
    width: 200px;
    transition: transform 0.3s;
}

@media (max-width: 768px) {
    .hero-features {
        flex-wrap: nowrap;
        /* Force single row */
        gap: 10px;
        overflow-x: auto;
        /* Scroll if needed, or squeeze */
        padding-bottom: 10px;
        /* Space for scrollbar if any */
    }

    .hero-card {
        width: auto;
        flex: 1;
        /* Distribute space */
        padding: 15px 5px;
        min-width: 0;
        /* Allow shrinking */
    }

    .hero-card i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero-card h5 {
        font-size: 0.9rem;
        margin: 0;
        white-space: nowrap;
        /* Keep text on one line if possible */
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.section.bg-white {
    background-color: #fff;
}

.section.bg-light {
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #667eea;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Achievements */
.achievement-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-header-icon {
    height: 150px;
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.card-header-icon.gold {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}

.card-header-icon.silver {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

.card-header-icon.bronze {
    background: linear-gradient(135deg, #cfd9df 0%, #e2ebf0 100%);
}

.ach-body {
    padding: 25px;
    text-align: center;
}

.ach-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.ach-person {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 5px;
}

.ach-date {
    color: #999;
    font-size: 0.9rem;
}

/* Contact */
.contact-info-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    transition: transform 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #f0f4ff;
    color: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

/* Footer */
footer {
    background: #2d3436;
    color: white;
    padding: 50px 0 20px;
    text-align: center;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

/* Team */
.team-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #f0f4ff;
}

.team-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.team-role {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
}