/* --- CollegeLelo - Modern Red & Yellow Theme --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-red: #e50914;
    --primary-red-dark: #b0060f;
    --secondary-yellow: #ffcc00;
    --secondary-yellow-dark: #e6b800;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --bg-light: #fff7f7;
    --white: #ffffff;
    --border-color: #f1d4d4;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: var(--primary-red) !important;
    box-shadow: 0 4px 10px rgba(229, 9, 20, 0.3);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--secondary-yellow) !important;
}

.navbar .nav-link {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: color 0.2s ease;
    margin: 0 6px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--secondary-yellow) !important;
     font-weight: 500;
}

/* === STYLED NAVBAR DROPDOWN === */

.navbar .dropdown-menu {
 background-color: var(--white); /* Dark Red (Aapki theme se) */
 border-radius: 8px;
 border: 1px solid rgba(0,0,0,0.2);
 box-shadow: 0 4px 12px rgba(0,0,0,0.15);
margin-top: 10px !important; /* Navbar se thoda gap */
}

.navbar .dropdown-item {
 color:var(--text-dark); /* White text */
 font-weight: 500;
 padding: 0.6rem 1.25rem; /* Thodi spacing */
 transition: all 0.2s ease;
}

.navbar .dropdown-item i {
  color: #ffcc00; /* Yellow icon (Aapki theme se) */
 width: 20px; /* Icons ko line mein rakhne ke liye */
 text-align: center;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
 background-color: #ffcc00; /* Yellow hover */
  /* Dark red text on hover */
}

.navbar .dropdown-item:hover i {
 color: #b0060f; /* Dark red icon on hover */
}
/* .btn{
    background-color: var(--secondary-yellow);
    color: var(--text-dark);
    padding: 0px;
} */

/* Hero Section */
.hero-section-v4 {
    position: relative;
    /* padding-bottom: 80px; */
}

.hero-top-bg {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: var(--white);
    padding: 90px 0;
    margin-bottom: -80px;
    text-align: center;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Find Schools Box */
.find-schools-box-v2 {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--secondary-yellow);
    overflow: hidden;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.find-schools-box-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.find-schools-box-v2 .find-schools-img {
    width: 80%;
    height: 100%;
    object-fit: cover;
}

.find-schools-box-v2 .form-title {
    color: var(--primary-red-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.find-schools-box-v2 .form-select {
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #fffaf0;
    transition: all 0.2s ease;
}

.find-schools-box-v2 .form-select:focus {
    border-color: var(--secondary-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 204, 0, 0.3);
}

/* Button */
.find-schools-box-v2 .btn-warning {
    padding: 0.9rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    background-color: var(--secondary-yellow);
    border-color: var(--secondary-yellow);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.find-schools-box-v2 .btn-warning:hover {
    background-color: var(--secondary-yellow-dark);
    border-color: var(--secondary-yellow-dark);
    color: var(--primary-red-dark);
}

/* Subtle animations */
.hero-title, .hero-subtitle {
    animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(15px);}
    to {opacity: 1; transform: translateY(0);}
}

/* 4. WHY CHOOSE US SECTION
-------------------------------------------------- */
.choose-card {
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}
.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.choose-card .icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.choose-card .icon-wrapper i { font-size: 28px; color: white; }
.choose-card.bg-blue { background-color: #e7f5ff; }
.choose-card.bg-blue .icon-wrapper { background-color: #339af0; }
.choose-card.bg-green { background-color: #e6fcf5; }
.choose-card.bg-green .icon-wrapper { background-color: #20c997; }
.choose-card.bg-yellow { background-color: #fff9db; }
.choose-card.bg-yellow .icon-wrapper { background-color: var(--secondary-yellow); }
.choose-card.bg-red-card { background-color: #fff5f5; }
.choose-card.bg-red-card .icon-wrapper { background-color: var(--primary-red); }

.choose-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
.choose-card p { color: var(--text-light); }

/* 5. TOP COLLEGES CAROUSEL
-------------------------------------------------- */
.college-carousel .card {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}
.college-carousel .card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.college-carousel .card-img-top {
    height: 180px;
    object-fit: cover;
}
.college-carousel .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}
.college-carousel .card-text ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    color: var(--text-light);
    font-size: 0.9rem;
}
.college-carousel .card-text ul li {
    padding-bottom: 8px;
}
.college-carousel .card-text ul li i {
    color: var(--primary-red);
    margin-right: 10px;
    width: 15px; /* for alignment */
}

.carousel-control-prev, .carousel-control-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-red);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}
.carousel-control-prev { left: -60px; }
.carousel-control-next { right: -60px; }

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}

/* 6. LATEST EXAM UPDATES
-------------------------------------------------- */
.exam-card-v3 {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}
.exam-card-v3:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.exam-card-v3 .card-img-top {
    height: 150px;
    object-fit: cover;
}
.exam-card-v3 .card-body {
    padding: 1.25rem;
    text-align: center;
}
.exam-card-v3 .card-title {
    font-size: 1rem;
    /* font-weight: 600; */
}

/* 7. MAP SECTION
-------------------------------------------------- */
#india-map {
    height: 690px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.map-info {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}
.map-info h4 {
    margin: 0 0 5px;
    font-size: 1rem;
    font-weight: 600;
}

/* 8. NEWSLETTER & TESTIMONIALS
-------------------------------------------------- */
.newsletter-section {
    background: linear-gradient(45deg, var(--primary-red), #e53935);
    color: var(--white);
}

.newsletter-section .btn-warning {
    background-color: var(--secondary-yellow);
    color: var(--text-dark);
    border-color: var(--secondary-yellow);
    font-weight: 600;
    transition: all 0.3s;
}

.newsletter-section .btn-warning:hover {
    background-color: var(--secondary-yellow-dark);
    border-color: var(--secondary-yellow-dark);
    transform: scale(1.05);
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    padding-top: 2.5rem; /* Space for quote icon */
}
.testimonial-card::before {
    content: '\f10d'; /* Font Awesome quote icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 2rem;
    color: var(--primary-red);
    opacity: 0.1;
}
.card-footer {
    background-color: transparent;
    border-top: 1px solid var(--border-color);
}

/* 9. FOOTER
-------------------------------------------------- */
.footer-v2 {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 70px 0 20px;
}
.footer-v2 .footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-decoration: none;
    display: inline-block;
}
.footer-v2 h5 {
    color: var(--secondary-yellow);
    font-weight: 600;
    margin-bottom: 25px;
    
}
.footer-v2 ul {
    list-style: none;
    padding: 0;
}
.footer-v2 ul li {
    padding-bottom: 7.5px;
    font-size: 0.85rem;
}
.footer-v2 ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s;
}
.footer-v2 ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}
.footer-v2 .social-icons a {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.2s, transform 0.2s;
}
.footer-v2 .social-icons a:hover {
    color: var(--secondary-yellow);
    transform: scale(1.1);
}
.footer-v2 .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    margin-top: 40px;
    color: rgba(255,255,255,0.6);
}
.footer-v2 .footer-bottom a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-left: 15px;
}
.footer-v2 .footer-bottom a:hover {
    color: var(--white);
}


/* ==== SPACING & SECTION ADJUSTMENTS ==== */
section {
  padding: 80px 0 !important;
  margin-top: 40px !important;
}

section h2 {
  margin-bottom: 30px !important;
}

section h3 {
  margin-bottom: 20px !important;
}

.hero-section-v4 {
  margin-bottom: 80px !important;
}

.find-schools-box-v2 {
  margin-top: 40px !important;
}

.top-colleges-section {
  margin-top: 30px !important;
}

.newsletter-section {
  margin-top: 80px !important;
}

footer.footer-v2 {
  margin-top: 100px !important;
  padding-top: 60px !important;
}

/* Cards and carousel items spacing */
.card {
  margin-bottom: 30px !important;
}

.carousel {
  margin-top: 40px !important;
}

.container h2,
.container h1 {
  margin-bottom: 25px !important;
}

/* Map section spacing */
#india-map {
  margin-top: 40px !important;
}



/* --- Add this to the end of your style.css file --- */

/* Custom Follower Pin for Map */
.follower-pin .fa-location-dot {
    color: var(--primary-red);
    font-size: 28px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    transition: transform 0.1s ease-out;
}

/* Leaflet container adjustments for the new pin */
.leaflet-container {
    cursor: none !important; /* Hide the default cursor over the map */
}


/* --- Add this to the end of your style.css file --- */

/* --- Colleges Page Specific Styles --- */
.college-page-container {
    background-color: var(--white);
}

.filter-sidebar {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    
    /* --- The Magic for Sticky Filter --- */
    position: sticky;
    top: 90px; /* Adjust this value based on your sticky navbar height */
}

.filter-sidebar h4 {
    font-weight: 600;
    color: var(--primary-red-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.filter-section h5 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Modern Checkbox Style */
.form-check {
    margin-bottom: 0.7rem;
}
.form-check-label {
    font-size: 0.95rem;
}
.form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}
.form-check-input:focus {
    border-color: var(--primary-red-dark);
    box-shadow: 0 0 0 0.25rem rgba(229, 9, 20, 0.25);
}

/* College Card Enhancements */
.college-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem !important; /* Overriding global margin */
}

.college-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.college-card .card-img-top {
    object-fit: cover;
}

.college-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.college-title:hover {
    color: var(--primary-red);
}

.college-location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.college-rating {
    font-weight: 600;
    color: #4CAF50; /* Green for ratings */
}

.college-tags .badge {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.4em 0.7em;
}

.college-card .card-footer {
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
}

.btn-apply {
    background-color: var(--primary-red);
    color: var(--white);
    border: 1px solid var(--primary-red);
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background-color: var(--primary-red-dark);
    color: var(--white);
    border-color: var(--primary-red-dark);
}

/* ---
   College Detail Page Styles
--- */

.college-header-bg {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-bottom: 5px solid var(--secondary-yellow);
}

.college-header-bg .btn-warning {
    background-color: var(--secondary-yellow);
    border-color: var(--secondary-yellow);
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.college-header-bg .btn-warning:hover {
    background-color: var(--secondary-yellow-dark);
    border-color: var(--secondary-yellow-dark);
    transform: scale(1.05);
}

.nav-tabs .nav-link {
    color: var(--text-light);
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: var(--primary-red);
    font-weight: 600;
    border-color: #dee2e6 #dee2e6 #fff;
}   



/* ---
   Registration Modal Styles (Light Theme)
--- */
.register-modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.register-modal .modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
}
.register-modal .modal-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #eee;
    margin-right: 15px;
    object-fit: cover;
}
.register-modal .modal-title-stack {
    display: flex;
    align-items: center;
}
.register-modal .modal-title-stack h5 {
    font-weight: 600;
    color: var(--secondary-yellow-dark); /* Orange color */
    margin: 0;
    font-size: 1.1rem;
}
.register-modal .modal-title-stack p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
}
.register-modal .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #f1f1f1;
    border-radius: 50%;
    padding: 0.4rem;
    font-size: 0.7rem;
}
.register-modal .modal-body {
    padding: 1rem 1.5rem 1.5rem;
}
.register-modal .form-group {
    position: relative;
    margin-bottom: 1rem;
}
.register-modal .form-control {
    padding: 0.9rem 0.75rem 0.9rem 2.8rem; /* Space for icon */
    border-radius: 8px;
    background-color: #f8f9fa;
    border: 1px solid #eee;
}
.register-modal .form-icon {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-light);
}
.register-modal .form-control.phone-input {
    padding-left: 5rem;
}
.register-modal .phone-prefix {
    position: absolute;
    left: 1px;
    top: 1px;
    bottom: 1px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    border-radius: 8px 0 0 8px;
    color: #333;
    font-size: 0.9rem;
}
.register-modal .btn-submit {
    background-color:var(--secondary-yellow-dark);;
    color: var(--white);
    font-weight: 600;
    padding: 0.9rem;
    border: none;
    border-radius: 8px;
    width: 100%;
}
.register-modal .login-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.register-modal .login-link a {
    color: var(--secondary-yellow-dark);
    font-weight: 600;
    text-decoration: none;
}

/* --- College Detail Page - New Sections --- */
.detail-section {
    background-color: var(--white);
    padding: 0rem ,2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.detail-section h4 {
    font-weight: 600;
    color: var(--primary-red);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}
/* Review Card */
.review-card {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.review-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.review-rating .fa-star {
    color: var(--secondary-yellow);
}
.review-author {
    font-weight: 600;
    color: var(--text-dark);
}
.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
}
/* Contact Form */
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.contact-info p i {
    color: var(--primary-red);
    width: 30px;
}




