/* UG State Pages CSS - MBBS State-specific styling */

:root {
    --brand-blue: #0056b3; 
    --light-blue: #e7f1ff;
    --dark-blue: #0d2e4e;
}

body {
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 21px !important;
}

p, li, a, span, div {
    font-size: 16px;
}

.hero-section {
    background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(13, 46, 78, 0.9)), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.section-title {
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--brand-blue);
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    scroll-margin-top: 120px;
}

.highlight-box {
    background: var(--light-blue);
    padding: 20px;
    border-left: 4px solid var(--brand-blue);
    border-radius: 5px;
    margin: 20px 0;
}

.college-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.college-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.rank-badge {
    background: var(--brand-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

.process-step {
    background: white;
    border-left: 4px solid var(--brand-blue);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.cutoff-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.navbar {
    z-index: 1030 !important;
}

.dropdown-menu {
    z-index: 1031 !important;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2rem !important;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .info-card {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .highlight-box {
        padding: 15px;
        margin: 15px 0;
    }

    .college-card {
        padding: 15px;
    }

    .process-step {
        padding: 15px;
        margin-bottom: 15px;
    }

    .rank-badge {
        font-size: 0.85rem;
        padding: 4px 12px;
    }

    .table-responsive {
        font-size: 0.875rem;
    }

    .modal-dialog {
        margin: 10px;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .offcanvas {
        max-width: 280px;
    }

    /* Mobile offcanvas dropdown styling */
    .offcanvas .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        box-shadow: none;
        padding-left: 1.5rem;
        margin-top: 0.25rem;
        background-color: #f8f9fa;
        border-radius: 0.375rem;
    }

    .offcanvas .dropdown-menu.show {
        display: block;
    }

    .offcanvas .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    .offcanvas .dropdown-item:hover {
        background-color: #e9ecef;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 1.5rem !important;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .info-card {
        padding: 15px 10px;
    }

    .college-card {
        padding: 12px;
    }

    .table {
        font-size: 0.8rem;
    }

    .process-step h5,
    .process-step h6 {
        font-size: 1rem;
    }

    .alert {
        font-size: 0.875rem;
        padding: 10px;
    }
}
