/* ========================================
   College Website - Professional Styles
   ======================================== */

:root {
    --primary: #1a365d;
    --primary-dark: #0f2744;
    --secondary: #c9a227;
    --secondary-light: #e8c547;
    --accent: #2b6cb0;
    --light: #f7fafc;
    --dark: #1a202c;
    --gray: #718096;
    --success: #38a169;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
}

.top-bar a {
    color: rgba(255,255,255,0.85);
    margin-left: 12px;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: var(--secondary);
}

/* Navbar */
.main-nav {
    background: var(--primary) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    padding: 0.6rem 0;
}

.navbar-brand .brand-icon {
    width: 48px;
    height: 48px;
    background: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
}

.main-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.6rem 1rem !important;
    transition: color 0.2s;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--secondary) !important;
}

.btn-admission {
    background: var(--secondary);
    color: var(--primary-dark) !important;
    font-weight: 600;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
}

.btn-admission:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201,162,39,0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 560px;
}

.btn-hero {
    background: var(--secondary);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
}

.btn-hero:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201,162,39,0.4);
}

.btn-outline-hero {
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
    font-weight: 500;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-outline-hero:hover {
    background: #fff;
    color: var(--primary);
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title .underline {
    width: 70px;
    height: 4px;
    background: var(--secondary);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.course-card, .faculty-card, .news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.course-card:hover, .faculty-card:hover, .news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.course-card .card-img-top {
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.course-icon {
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(255,255,255,0.9);
}

.faculty-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary);
    margin: 0 auto 1rem;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
}

/* Stats */
.stats-section {
    background: var(--primary);
    color: #fff;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
}

.stat-item .label {
    font-size: 1rem;
    opacity: 0.9;
}

/* About Page */
.about-img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vision-mission-card {
    background: var(--light);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    border-left: 4px solid var(--secondary);
}

/* Contact */
.contact-info-card {
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
}

.contact-info-card i {
    color: var(--secondary);
    font-size: 1.4rem;
}

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

.footer-title {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-heading {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 3px;
}

.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 8px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0 1.5rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

.admin-link {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    text-decoration: none;
}

.admin-link:hover {
    color: var(--secondary);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 60px 0 50px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: 8px;
    padding: 0.7rem 1rem;
    border: 1px solid #e2e8f0;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(43,108,176,0.15);
}

.btn-primary-custom {
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Alert */
.alert {
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .section {
        padding: 50px 0;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
}
/* Mandatory Disclosure Button */
.btn-disclosure {
    background: #c53030;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-disclosure:hover {
    background: #9b2c2c;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197,48,48,0.4);
}

/* Disclosure page cards */
.disclosure-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
    border-left: 4px solid #c53030;
}
.disclosure-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.disclosure-card .pdf-icon {
    font-size: 2.5rem;
    color: #c53030;
}
.btn-download-pdf {
    background: #c53030;
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}
.btn-download-pdf:hover {
    background: #9b2c2c;
    color: #fff;
}
