﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f4f6f9;
}

/* HEADER */


.top-header h2 {
    font-size: 22px;
    font-weight: 600;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 15px;
}

    .nav-links a:hover {
        text-decoration: underline;
    }

.yellow-line {
    height: 5px;
    background: #ffc107;
}

/* MAIN CONTAINER */
.container {
    width: 95%;
    margin: 20px auto;
}

/* BANNER */
.banner img {
    width: 100%;
    border-radius: 8px;
}

/* LAYOUT */
.main-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* LEFT SIDEBAR */
.sidebar {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

    .sidebar h3 {
        font-size: 16px;
        margin-bottom: 15px;
        border-bottom: 2px solid #0d3b75;
        padding-bottom: 8px;
    }

    .sidebar ul {
        list-style: none;
    }

        .sidebar ul li {
            padding: 8px 0;
            font-size: 14px;
            border-bottom: 1px solid #eee;
            cursor: pointer;
        }

            .sidebar ul li:hover {
                color: #0d3b75;
                font-weight: 500;
            }

/* CENTER SECTION */
.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #0d3b75;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

    .featured-card img {
        width: 130px;
        border-radius: 8px;
    }

.featured-info h3 {
    color: #0d3b75;
    margin-bottom: 5px;
}

.featured-info p {
    font-size: 14px;
    margin: 5px 0;
}

.btn {
    padding: 8px 18px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-right: 10px;
}

.btn-primary {
    background: #0d3b75;
    color: white;
}

.btn-outline {
    background: white;
    border: 1px solid #333;
}

.btn:hover {
    opacity: 0.9;
}

/* COLLEGE LIST */
.college-list {
    margin-top: 25px;
}

.college-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* RIGHT SIDEBAR */
.admission-box {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.alert-box {
    background: #0d3b75;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

    .alert-box h4 {
        margin-bottom: 10px;
    }

    .alert-box button {
        background: #ffc107;
        border: none;
        padding: 8px 15px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: 600;
    }

/* RESPONSIVE */
@media(max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

/* HEADER */
.top-header {
    background: linear-gradient(135deg, #0f2027, #134e5e, #1c7c7d);
    padding: 0 70px;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid #f4b400;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* LEFT SIDE */
.header-left {
    display: flex;
    align-items: center;
}

/* LOGO WRAPPER FOR OVERLAP */
.logo-wrapper {
    position: relative;
    top: 40px; /* 👈 logo niche laane ke liye */
}

    .logo-wrapper img {
        height: 100px; /* Bigger logo */
        width: 100px;
        filter: drop-shadow(0 5px 10px rgba(0,0,0,0.4));
    }

/* ================= MOBILE HEADER FIX ================= */
@media (max-width: 768px) {

    .top-header {
        flex-direction: column;
        height: auto; /* fixed height remove */
        padding: 15px 20px;
        text-align: center;
    }

    .header-left {
        flex-direction: column;
        align-items: center;
    }

    .logo-wrapper {
        position: static; /* overlap remove */
        top: 0;
        margin-bottom: 10px;
    }

        .logo-wrapper img {
            height: 70px;
            width: 70px;
        }

    .site-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
    }

        .nav-links a {
            margin-left: 0;
        }
}

/* TITLE */
.site-title {
    color: white;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Container Box */
.content-box {
    background: #ffffff;
    padding: 25px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
    color: #0066cc;
}

    .breadcrumb a {
        text-decoration: none;
        color: #0066cc;
    }

    .breadcrumb span {
        color: #333;
    }

/* Heading */
.content-box h2 {
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: justify;
}

/* Description */
.content-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    text-align: justify;
}

/* Share Section */
.share-section {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .share-section span {
        font-weight: 500;
    }

.share-icons a {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.facebook {
    background: #3b5998;
}

.twitter {
    background: #1da1f2;
}

.linkedin {
    background: #0077b5;
}

.email {
    background: #333;
}

.share-icons a:hover {
    opacity: 0.8;
}
/* Section Title */
.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Grid */
.college-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .college-grid {
        grid-template-columns: 1fr;
    }
}


/* Card */
.college-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
     
}

/* Top Section */
.card-top {
    display: flex;
    gap: 15px;
}

    .card-top img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        border: 1px solid #ddd;
        border-radius: 6px;
    }

.college-info h3 {
    margin: 0;
    font-size: 17px;
    color: #0056b3;
}

.location {
    font-size: 13px;
    color: #555;
    margin: 5px 0;
}

.admission-links {
    font-size: 13px;
}

    .admission-links a {
        text-decoration: none;
        color: #0056b3;
        margin-right: 8px;
    }

/* Divider */
.divider {
    height: 1px;
    background: #eee;
    margin: 12px 0;
}

/* Info Row */
.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

    .info-row strong {
        display: block;
        font-weight: 600;
    }

/* Rating */
.rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.stars {
    color: #f4a300;
}

/* Bottom Buttons */
.card-bottom {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
}

.btn-compare {
    background: #1e4db7;
}

.btn-brochure {
    background: #f27c21;
}

.wishlist {
    font-size: 18px;
    color: #1e4db7;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
}

.course-filter {
    background: linear-gradient(135deg, #0d3b75, #1e4db7);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 14px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    border-radius: 20px;
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

    .tag:hover {
        background: #ffc107;
        color: #000;
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .tag.all {
        background: #ffc107;
        color: #000;
        font-weight: 600;
    }

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: 0.3s;
}

    .footer-links a:hover {
        color: #0d6efd;
        padding-left: 5px;
    }

.social-icon {
    margin-left: 10px;
    color: #333;
    font-size: 16px;
    transition: 0.3s;
}

    .social-icon:hover {
        color: #0d6efd;
    }
/* ===== GLASS DARK BACKGROUND ===== */
.custom-footer {
    background: linear-gradient(135deg, #0f0f1a, #1c1c2e);
    padding: 1px 0 1px;
    position: relative;
    color: #fff;
}

    /* Glass container effect */
    .custom-footer .container {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 20px;
        padding: 40px 30px;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    }

/* Column Layout */
.footer-col {
    display: flex;
    flex-direction: column;
}

    /* ===== LINKS ===== */
    .footer-col a {
        text-decoration: none;
        color: #ccc;
        font-size: 14px;
        margin-bottom: 12px;
        position: relative;
        padding-left: 5px;
        transition: all 0.3s ease;
    }

        /* Red Icon */
        .footer-col a i {
            color: #ff4d4d;
            margin-right: 8px;
            transition: 0.3s;
        }

        /* ===== Animated Underline ===== */
        .footer-col a::after {
            content: "";
            position: absolute;
            width: 0%;
            height: 2px;
            bottom: -3px;
            left: 20px;
            background: linear-gradient(90deg, #00f5ff, #9d4edd);
            transition: 0.4s ease;
        }

        .footer-col a:hover::after {
            width: 70%;
        }

        /* ===== Hover Glow ===== */
        .footer-col a:hover {
            color: #fff;
            transform: translateX(6px);
            text-shadow: 0 0 8px #00f5ff;
        }

            .footer-col a:hover i {
                color: #00f5ff;
            }

/* ===== Bottom Bar ===== */
.footer-bottom {
    background: #0a0a14;
    padding: 1px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #aaa;
}

    .footer-bottom a {
        margin-left: 20px;
        text-decoration: none;
        color: #aaa;
        position: relative;
        transition: 0.3s;
    }

        /* Animated underline bottom links */
        .footer-bottom a::after {
            content: "";
            position: absolute;
            width: 0%;
            height: 2px;
            bottom: -4px;
            left: 0;
            background: #00f5ff;
            transition: 0.3s;
        }

        .footer-bottom a:hover::after {
            width: 100%;
        }

        .footer-bottom a:hover {
            color: #00f5ff;
        }

/* ===== SOCIAL ICONS ===== */
.social-icons a {
    margin-left: 12px;
    font-size: 18px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    transition: all 0.3s ease;
}

    /* Glow Hover */
    .social-icons a:hover {
        background: #00f5ff;
        color: #000;
        box-shadow: 0 0 15px #00f5ff, 0 0 30px #00f5ff;
        transform: translateY(-5px);
    }

/* ===== Responsive ===== */
@media (max-width: 768px) {

    .custom-footer .container {
        padding: 30px 20px;
    }

    .footer-col {
        margin-bottom: 25px;
    }

    .footer-bottom {
        text-align: center;
    }

        .footer-bottom .col-md-8,
        .footer-bottom .col-md-4 {
            text-align: center !important;
            margin-bottom: 12px;
        }

        .footer-bottom a {
            margin: 0 10px;
        }
}
