:root {
    --primary-blue: #1e3a8a;
    --dark-blue: #1e40af;
    --light-blue: #3b82f6;
    --gold: #fbbf24;
    --yellow: #facc15;
    --orange: #f97316;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.text-blue { color: var(--primary-blue) !important; }
.text-gold { color: var(--gold) !important; }
.text-orange { color: var(--orange) !important; }
.bg-blue { background-color: var(--primary-blue) !important; }
.bg-dark-blue { background-color: var(--dark-blue) !important; }
.bg-yellow { background-color: var(--yellow) !important; }

.top-bar {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    font-size: 0.9rem;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-warning {
    background-color: var(--yellow);
    border-color: var(--yellow);
    color: var(--text-dark);
}

.hero-section {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(30, 64, 175, 0.8) 100%),
                url('https://via.placeholder.com/1920x1080/1e3a8a/ffffff?text=College+Campus');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.admission-badge span {
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
}

.limited-admission-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.section-header {
    margin-bottom: 2rem;
}

.section-header span {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gold);
}

.section-header.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-images img {
    transition: transform 0.3s ease;
    height: 150px;
    object-fit: cover;
    width: 100%;
}

.about-images img:hover {
    transform: scale(1.05);
}

.chairman-message {
    border-left: 4px solid var(--gold);
}

.course-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.course-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.scholarship-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.feature-card {
    background: white;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--gold);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.topper-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--gold);
}

.topper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.topper-name {
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 0.5rem;
}

.topper-score {
    color: var(--orange);
    font-weight: 700;
    font-size: 1.1rem;
}

.faculty-card {
    background: white;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-5px);
}

.contact-form {
    border-radius: 15px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e5e7eb;
    padding: 0.75rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.social-links .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links .btn:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--text-dark);
    transform: translateY(-3px);
}

footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
}