* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: #1e4a82;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: #ff6f00;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

nav ul li a:hover {
    color: #ff6f00;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 8rem 0;
    text-align: center;
    margin-bottom: 4rem;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/bhopal-college-banner.webp') center/cover no-repeat;
    z-index: -1;
}


.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-top: 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e4a82;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #ff6f00;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    padding: 0 1rem;
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background-color: white;
    border: 2px solid #e0e0e0;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #1e4a82;
    color: white;
    border-color: #1e4a82;
}

/* College Grid */
.college-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.college-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.college-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.college-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.college-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.college-card:hover .college-image img {
    transform: scale(1.05);
}

.govt-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #1e4a82;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.college-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.college-info h3 {
    color: #1e4a82;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.college-type {
    display: inline-block;
    background-color: #ffecb3;
    color: #ff6f00;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.college-details {
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.college-details p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.college-details i {
    color: #1e4a82;
    margin-right: 0.8rem;
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.college-link {
    display: inline-block;
    background-color: #1e4a82;
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
    text-align: center;
    margin-top: auto;
}

.college-link:hover {
    background-color: #ff6f00;
}

/* State University */
.state_university {
    margin-top: 80px;
}

.state_university_head {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.state_university_head h1 {
    color: #1e4a82;
    border-bottom: 4px solid #ff6f00;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20%;
}

.real_state_university {
    margin-left: 4rem;
    margin-right: 4rem;
}

.university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding-left: 10px;
    padding-right: 10px;
}

.university-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;

    border-top-left-radius: 155px;
    border-top-right-radius: 155px;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.university-image {
    height: 240px;
    overflow: hidden;
    position: relative;

}

.university-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    border-top-left-radius: 155px;
    border-top-right-radius: 155px;
}

.university-card:hover .university-image img {
    transform: scale(1.05);
}

.govt-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #1e4a82;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.university-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.university-info h3 {
    color: #fff;
    background-color: #1e4a82;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    padding: 15px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    text-align: center;

}

.university-type {
    display: inline-block;
    background-color: #ffecb3;
    color: #ff6f00;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.80rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.university-details {
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.university-details p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.university-details i {
    color: #1e4a82;
    margin-right: 0.8rem;
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.university-link {
    display: inline-block;
    background-color: #1e4a82;
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
    text-align: center;
    margin-top: auto;
}

.university-link:hover {
    background-color: #ff6f00;
}


/* Stats Section */
.stats-section {
    background-color: #1e4a82;
    color: white;
    padding: 3rem 0;
    margin: 0rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #ff6f00;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Advantages Section */
.advantages-section {
    padding: 4rem 0;
    background-color: #bfdffb;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card i {
    font-size: 2.5rem;
    color: #1e4a82;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    color: #1e4a82;
    margin-bottom: 0.5rem;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* Admission Process Section */
.admission-section {
    padding: 4rem 0;
}

.admission-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #ff6f00;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e4a82;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-card h4 {
    color: #1e4a82;
    margin-bottom: 0.8rem;
    margin-top: 0.5rem;
}

.step-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Universities Table */
.universities-section {
    padding: 0rem 0;
    background-color: #f8f9fa;
}

.universities-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0 4rem 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.universities-table th,
.universities-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.universities-table th {
    background-color: #1e4a82;
    color: white;
    font-weight: 600;
}

.universities-table tr:hover {
    background-color: #f5f7fa;
}

/* Footer */
footer {
    background-color: #0d1b5c;
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 0rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ff6f00;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    margin-bottom: 0.8rem;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff6f00;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #ff6f00;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .universities-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        margin-top: 1rem;
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul li a {
        display: block;
        padding: 0.8rem 0;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .hero {
        padding: 6rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .college-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid,
    .admission-steps,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}