/* 
   College Admission Portal - Modern Premium Design System
   Font: Outfit (Headings), Inter (Body)
   Palette: Crimson (#8b1e1e), Rich Maroon (#610c0c), Slate (#1e293b), Smoke (#f8fafc), Gold (#eab308)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@600;700;800;900&display=swap');

:root {
    --primary-color: #1e3a8a; /* Deep Indigo */
    --primary-dark: #1e293b; /* Slate Navy */
    --primary-hover: #172554;
    --secondary-color: #475569; /* Slate Gray */
    --accent-color: #f59e0b; /* Amber/Gold */
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

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

/* Utilities */
.text-primary-custom { color: var(--primary-color); }
.bg-primary-custom { background-color: var(--primary-color); color: #fff; }
.shadow-premium { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important; }
.rounded-premium { border-radius: 20px !important; }

/* Top Bar Styling */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0c1538 100%);
    color: #f1f5f9;
    font-size: 13px;
    padding: 10px 0;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .help-desk {
    background: var(--accent-color);
    color: #1e293b;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.top-bar .contact-item i {
    color: var(--accent-color);
    margin-right: 6px;
}

/* Main Header Redesign */
.main-header {
    background: #ffffff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.main-header .logo-img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.main-header .logo-img:hover {
    transform: scale(1.05);
}

.college-name-en {
    font-size: 1.85rem;
    color: #1e3a8a;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
}

.college-name-hi {
    font-size: 1.4rem;
    color: #991b1b;
    font-weight: 700;
    margin-bottom: 4px;
}

.college-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.affiliation-badge {
    display: inline-block;
    padding: 5px 20px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #1e3a8a;
    font-weight: 700;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 992px) {
    .main-header h1 { font-size: 1.7rem; }
    .main-header .hindi-title { font-size: 1.5rem; }
    .main-header .logo-img { max-height: 95px; }
}

@media (max-width: 768px) {
    .main-header h1 { font-size: 1.2rem; }
    .main-header .hindi-title { font-size: 1.1rem; }
    .main-header .hindi-subtitle { font-size: 0.85rem; }
    .main-header .affiliation { font-size: 0.75rem; padding: 2px 10px; }
    .main-header .logo-img { max-height: 60px; }
}

/* Navbar Enhancement */
.navbar-custom {
    background: #1e3a8a !important; /* Solid Deep Navy */
    padding: 0;
    border-bottom: 4px solid #f59e0b; /* Amber accent */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar-custom .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    padding: 1rem 1.25rem !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent-color);
    transition: var(--transition);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 100%;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    background-color: rgba(255,255,255,0.1);
    color: var(--accent-color) !important;
}

.navbar-custom .nav-link i {
    font-size: 1.15rem;
    color: var(--accent-color);
    margin: 0;
}

/* Home Box Links */
.home-link-box {
    display: flex;
    align-items: flex-start;
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.35rem;
    transition: var(--transition);
    border: 1px solid transparent;
    font-family: 'Outfit', sans-serif;
    box-shadow: var(--card-shadow);
    background: #fff;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.home-link-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
}

.home-link-box i {
    font-size: 2.25rem;
    margin-right: 18px;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.home-link-box.brochure {
    color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #fcf5f5 100%);
    border: 1px solid #fee2e2;
}
.home-link-box.brochure::before { background: var(--primary-color); }
.home-link-box.brochure i { color: var(--primary-color); }

.home-link-box.registration {
    color: #1e40af;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 1px solid #bfdbfe;
}
.home-link-box.registration::before { background: #2563eb; }
.home-link-box.registration i { color: #2563eb; }

.home-link-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}
.home-link-box:hover i {
    transform: scale(1.1);
}

/* Notice Box Redesign */
.notice-red-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 2.25rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #92400e;
    font-weight: 600;
    font-size: 1.15rem;
    position: relative;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.15);
}

.notice-red-box::before {
    content: 'IMPORTANT NOTICE';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    font-size: 12px;
    padding: 4px 18px;
    border-radius: 20px;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.notice-red-box a {
    color: #b71c1c;
    text-decoration: underline;
    font-weight: 800;
    transition: var(--transition);
    font-size: 1.25rem;
}

.notice-red-box a:hover {
    color: #8b1e1e;
}

/* Section Card Styles */
.section-box {
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--card-shadow);
    margin-bottom: 3.5rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.section-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.35rem 1.75rem;
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.section-header i {
    color: var(--accent-color);
}

.section-body {
    padding: 2.5rem;
    background: #ffffff;
}

.instruction-list {
    padding-left: 1.5rem;
}

.instruction-list > li {
    margin-bottom: 1.75rem;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.15rem;
}

.instruction-list ul {
    margin-top: 12px;
    list-style-type: none;
    padding-left: 0;
}

.instruction-list ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 12px;
    color: #334155;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
}

.instruction-list ul li::before {
    content: '★';
    position: absolute;
    left: 4px;
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.1rem;
}

.instruction-list ul li a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
}

/* Action Buttons Grid */
.action-btn-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.action-btn-large {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 3rem 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.action-btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-color);
}

.action-btn-large:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    background: linear-gradient(135deg, #ffffff 0%, #fcf5f5 100%);
    border-color: #fca5a5;
}

.action-btn-large .btn-title {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.action-btn-large .btn-subtitle {
    display: block;
    font-size: 1.2rem;
    color: #475569;
    font-weight: 600;
}

.action-btn-large.apply-btn::before { background: #2563eb; }
.action-btn-large.apply-btn .btn-title { color: #2563eb; }
.action-btn-large.apply-btn:hover { background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%); border-color: #93c5fd; }

.action-btn-large.student-btn::before { background: #059669; }
.action-btn-large.student-btn .btn-title { color: #059669; }
.action-btn-large.student-btn:hover { background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%); border-color: #6ee7b7; }

/* Footer Enhancement */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0f172a 100%);
    color: #94a3b8;
    padding: 3rem 0;
    font-size: 14px;
    border-top: 4px solid var(--primary-color);
}

.footer .thetaByte {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.footer .thetaByte:hover {
    color: var(--accent-color);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .navbar-custom .nav-link {
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

/* Print Optimization */
@media print {
    .no-print, .no-print-actions, .top-bar, .navbar, .footer, .alert, .btn {
        display: none !important;
    }
    body {
        background-color: #fff !important;
        color: #000 !important;
    }
    .card {
        border: none !important;
        box-shadow: none !important;
    }
    .card-header {
        background-color: transparent !important;
        border-bottom: 2px solid #000 !important;
        color: #000 !important;
    }
    .main-header {
        border-bottom: 2px solid #000 !important;
        padding-bottom: 20px !important;
        box-shadow: none !important;
    }
    .container, .col-md-8 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

