/* ===== Theme Colors ===== */
:root {
  --brand-dark: #003049;
  --brand-darker: #002233;
  --accent: #f77f00;
  --accent-2: #fcbf49;
  --danger: #d62828;
  --muted: #eae2b7;
  --white: #fff;
}

/* ===== Navbar ===== */
/* ==================== NAVBAR ==================== */
.navbar {
  background-color: #003049;
  transition: all 0.4s ease-in-out;
  z-index: 1030; /* Above page content but below offcanvas */
}
.navbar.shrink {
  background-color: #002233;
  padding: 0.4rem 1rem !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.navbar-brand {
  font-weight: 700;
  color: #fcbf49 !important;
}
.nav-link {
  color: #eae2b7 !important;
  font-weight: 500;
  transition: 0.3s;
}
.nav-link:hover {
  color: #f77f00 !important;
}

/* ==================== DROPDOWN SCROLL ==================== */
.scrollable-dropdown {
  max-height: 350px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
.scrollable-dropdown::-webkit-scrollbar {
  width: 6px;
}
.scrollable-dropdown::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 3px;
}
.scrollable-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

/* ==================== ENQUIRE BUTTON ==================== */
.btn-enquire {
  background: #d62828;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-enquire:hover {
  background: #f77f00;
  transform: scale(1.05);
}

/* ==================== NAVBAR SOCIAL ICONS ==================== */
.navbar .text-white:hover,
.navbar .text-white i:hover {
  color: #f77f00 !important;
  transform: scale(1.2);
  transition: all 0.3s ease;
}

/* ==================== MOBILE OFFCANVAS ==================== */
.offcanvas {
  width: 280px;
  background: #002233;
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100%;
  z-index: 1050; /* Above navbar & footer */
}
.offcanvas-title {
  font-weight: 600;
  color: #fcbf49;
}

/* ==================== MOBILE ACCORDION ==================== */
.offcanvas-body .nav-link,
.offcanvas-body .accordion-button {
  font-size: 1rem;          /* uniform font size */
  font-weight: 500;
  color: #eae2b7;
  padding: 12px;
  background: transparent;
  border: none;
  transition: 0.3s;
}
.offcanvas-body .accordion-button:not(.collapsed) {
  color: #fff;
  background-color: #f77f00;
}
.accordion-item {
  background: transparent;
  border: none;
}
.accordion-body .dropdown-item {
  padding: 10px 15px;
  color: #ddd;
  transition: 0.3s;
}
.accordion-body .dropdown-item:hover {
  background: #f77f00;
  color: #fff;
  border-radius: 4px;
}

/* ==================== OFFCANVAS SOCIAL ICONS ==================== */
.social-icons a {
  color: #fff;
  font-size: 1.3rem;
  margin-right: 10px;
  transition: 0.3s;
}
.social-icons a:hover {
  color: #f77f00;
  transform: scale(1.2);
}

/* ==================== RESPONSIVE FIX ==================== */
@media (max-width: 991px) {
  .navbar-collapse {
    display: none !important; /* hide desktop collapse on mobile */
  }
}

/* ==================== FOOTER ==================== */
footer {
  background: #002233;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  position: relative;
  z-index: 1; /* stays below navbar/offcanvas */
}




/* Modal Animations */
.modal.fade .modal-dialog { transform: translateY(-50px); opacity:0; transition: all 0.4s ease-out; }
.modal.fade.show .modal-dialog { transform: translateY(0); opacity:1; }
/* ===== Hero Section ===== */
/* ===== Hero Section ===== */
.hero {
  background: url("/static/images/home.jpeg") center/cover no-repeat;
  height: 122vh; /* 100% screen height */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff; /* default white text */
  overflow: hidden;
}

/* Dark overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Hero content */
.hero .content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
  margin-left: auto; margin-right: auto; margin-top: 100px;
  color: #fff;
}

/* Heading */
.hero .content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  margin-bottom: 15px;
}

/* Sub-heading / paragraph */
.hero .content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #fff;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
  margin-bottom: 25px;
}

/* ===== Search Bar ===== */
.input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.input-group input {
  border: none;
  border-radius: 50px 0 0 50px;
  padding: 12px 18px;
  font-size: 1rem;
}
.input-group input:focus { outline: none; box-shadow: none; }
.input-group .btn {
  border-radius: 0 50px 50px 0;
  font-weight: 600;
  padding: 0 24px;
}

/* Suggestions Box */
#suggestionsBox {
  position: absolute; top: 100%; left: 0; width: 100%;
  z-index: 1000; background: #fff; border-radius: 0 0 12px 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15); margin-top: 2px;
}
#suggestionsBox .list-group-item {
  padding: 12px 15px; border: none; cursor: pointer;
  font-size: 1rem; color: #333;
}
#suggestionsBox .list-group-item:hover { background: var(--accent-2); color: var(--brand-dark); }

/* ===== Buttons ===== */
.btn-primary { background-color: var(--accent); border: none; color: #fff; }
.btn-primary:hover { background-color: var(--danger); }
.btn-warning { background-color: var(--accent-2); border: none; color: var(--brand-dark); font-weight: 600; }
.btn-warning:hover { background-color: var(--accent); color: var(--white); }

/* ===== Feature Cards ===== */
.feature-card { border: none; transition: 0.3s; background: #fff; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

/* ===== Popular Courses & Exams (pyramid style) ===== */
.section-block .fixed-card {
  flex: 0 0 auto;
  width: 240px;
}

/* Custom Card */
.section-block .custom-card {
  border-radius: 12px;
  min-height: 320px;           /* ✅ Flexible height */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ✅ Content upar, button neeche */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;            /* ✅ Extra content cut na ho */
  background: #fff;
}

.section-block .custom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

/* Card Image */
.section-block .card-img-top {
  height: 140px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Card Body */
.section-block .card-body {
  flex-grow: 1;     /* ✅ Content stretch karega */
  padding: 12px;
}

/* Footer for Button */
.section-block .card-footer {
  margin-top: auto;  /* ✅ Always stick at bottom */
  padding: 10px;
  text-align: center;
}

/* View Details Button */
.section-block .btn-view {
  background: #f77f00;
  color: #fff;
  border-radius: 6px;
  border: none;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.section-block .btn-view:hover {
  background: #d96600;
}

/* ✅ Center alignment fix for swiper */
.section-block .swiper-wrapper {
  justify-content: center;
}
/* âœ… Pyramid alignment fix */
.section-block .swiper-wrapper {
  justify-content: center;
}

/* ===== Universities Swiper ===== */
.univ-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.univ-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

.univ-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* âœ… Swiper Fix */
#college-swiper .swiper-wrapper {
  padding-left: 15px;
  padding-right: 15px;
  
}

#college-swiper .swiper-slide {
  padding: 10px;
  box-sizing: border-box;
}

/* ===== Popular Universities Section ===== */
.popular-section {
  width: 100%;
  min-height: 420px;
  background: 
    linear-gradient(rgba(0,48,73,0.92), rgba(38,70,83,0.92)),
    url("https://picsum.photos/1920/1080") center/cover no-repeat;
  /* ðŸ‘† apni university/education background image yahan dal */
  padding: 70px 0;
  position: relative;
  color: #fff;
  overflow: hidden;
}

/* âœ… Overlay (better contrast) */
.popular-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

/* âœ… Content stays above overlay */
.popular-section .container {
  position: relative;
  z-index: 2;
}

/* ===== Section Heading ===== */
.popular-section h2 {
  color: #fff;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 40px auto;  /* auto margins for perfect center */
  position: relative;
  display: block;            /* block banado so it takes full width */
  padding-bottom: 10px;
  width: fit-content;        /* underline jitna text hai utna hi */
}
.popular-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fcbf49, #f77f00);
}

/* âœ… Responsive Tweaks */
@media (max-width: 768px) {
  .popular-section {
    padding: 50px 20px;
    min-height: auto;
  }
  .popular-section h2 {
    font-size: 1.6rem;
  }
}
/* Utility Class: Full Width Background Section */
.section-full {
  width: 100vw; /* full viewport width */
  margin-left: calc(-50vw + 50%); /* container ka restriction todne ke liye */
  position: relative;
}

.btn-view-more {
  background: linear-gradient(90deg, #f77f00, #fcbf49); /* orange-yellow gradient */
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: 50px; /* rounded pill look */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
  display: inline-block;
  text-decoration: none;
}

.btn-view-more:hover {
  background: linear-gradient(90deg, #d62828, #f77f00); /* red-orange gradient */
  transform: translateY(-4px) scale(1.07); /* lift + zoom */
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  color: #fff; /* text always white */
}

/* ===== Testimonials ===== */
.testimonials { background:#fff; padding:70px 20px; text-align:center; }
    .testimonials h2 { font-size:32px; color:#2563eb; margin-bottom:40px; }
    .testimonial-slider { position: relative; max-width: 700px; margin: auto; overflow: hidden; }
    .testimonial-container { display: flex; transition: transform 0.6s ease; }
    .testimonial { background:white; padding:30px; border-radius:12px; min-width:100%;
      box-shadow:0 6px 14px rgba(0,0,0,0.1); }
    .testimonial p { color:#444; margin:20px 0; font-style:italic; }
    .student-info { display:flex; align-items:center; gap:12px; margin-top:15px; justify-content:center; }
    .student-info img { width:55px; height:55px; border-radius:50%; object-fit:cover; border:3px solid #2563eb; }
    .student-info h4 { margin:0; font-size:16px; color:#111; }
    .student-info span { font-size:13px; color:#666; }

.slider-buttons .prev { left: 10px; }
.slider-buttons .next { right: 10px; }
.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial {
  box-sizing: border-box;
  padding: 20px;
  flex: 0 0 100%; /* default 1 item */
}

/* Show 2 items on tablets */
@media (min-width: 768px) {
  .testimonial {
    flex: 0 0 50%;
  }
}

/* Show 3 items on desktop */
@media (min-width: 1024px) {
  .testimonial {
    flex: 0 0 33.3333%;
  }
}

.student-info {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.student-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Navigation buttons */
.slider-buttons button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 2;
}
.slider-buttons .prev { left: 10px; }
.slider-buttons .next { right: 10px; }

/* ===== Footer ===== */
.footer { background: var(--brand-darker); color: #fff; padding-top:20px; }
.footer-title { color: var(--accent-2); font-weight:600; margin-bottom:15px; }
.footer a { color:#ddd; text-decoration:none; font-size:14px; }
.footer a:hover { color: var(--accent-2); }
.footer-bottom { font-size:14px; border-color: rgba(255,255,255,0.2)!important; }
.social-links a { color:#fff; font-size:18px; }
.social-links a:hover { color: var(--accent-2); }

/* Disable text select */
body { user-select: none; }

    /* Hero Section */
    .about-hero {
      background: linear-gradient(rgba(30,58,138,0.7), rgba(30,58,138,0.7)),
                  url("/static/images/about-banner.png") center/cover no-repeat;
      height: 300px; 
      display:flex; 
      align-items:center; 
      justify-content:center;
      color:white; 
      text-align:center; 
      padding:0 20px;
    }
    .about-hero h1 {
      font-size:42px; 
      font-weight:bold;
      text-shadow:0 4px 8px rgba(0,0,0,0.6);
    }

    /* About Section */
    .about-section { max-width:1100px; margin:60px auto; padding:0 20px; text-align:center; }
    .about-section h2 { font-size:32px; color:#1e3a8a; margin-bottom:20px; }
    .about-section p { font-size:18px; color:#444; line-height:1.8; }

    /* Why Choose Us */
    .why-choose { background:#f1f5f9; padding:70px 20px; text-align:center; }
    .why-choose h2 { font-size:32px; margin-bottom:40px; color:#2563eb; }
    .choose-container { display:flex; flex-wrap:wrap; gap:25px; justify-content:center; }
    .choose-card { background:white; padding:30px; border-radius:12px; width:300px; text-align:center;
      box-shadow:0 6px 14px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
    .choose-card:hover { transform: translateY(-8px); }
    .choose-card i { font-size:40px; color:#2563eb; margin-bottom:15px; }
    .choose-card h3 { color:#1e40af; margin-bottom:12px; }

    /* Team */
    .team { padding:70px 20px; background:#fff; }
    .team h2 { text-align:center; font-size:32px; color:#2563eb; margin-bottom:40px; }
    .team-container { display:flex; flex-wrap:wrap; gap:25px; justify-content:center; }
    .team-member { background:#f9fafb; padding:25px; border-radius:12px; width:260px; text-align:center;
      box-shadow:0 6px 14px rgba(0,0,0,0.08); transition: transform 0.3s ease; }
    .team-member:hover { transform: scale(1.05); }
    .team-member img { width:110px; height:110px; border-radius:50%; object-fit:cover; margin-bottom:15px; border:4px solid #2563eb; }

   /* Testimonials Carousel */
.testimonials { 
    background: #fff; 
    padding: 70px 20px; 
    text-align: center; 
}
.testimonials h2 { 
    font-size: 32px; 
    color: #2563eb; 
    margin-bottom: 40px; 
}
.testimonial-slider { 
    position: relative; 
    max-width: 700px; 
    margin: auto; 
    overflow: hidden; 
}
.testimonial-container { 
    display: flex; 
    transition: transform 0.6s ease; 
} 
.testimonial {
  background: #baeee0; /* fallback solid color (light aqua pastel) */
  background: linear-gradient(135deg, #f9fafb, #eaf4ff); /* gradient */
  padding: 30px;
  border-radius: 12px;
  min-width: 100%;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  height: 250px;
}

.testimonial p { 
    color: #444; 
    margin: 20px 0; 
    font-style: italic; 
}
.student-info { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-top: 15px; 
    justify-content: center; 
}
.student-info img { 
    width: 55px; 
    height: 55px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 3px solid #2563eb;}
/* ===== Global Fixes ===== */
html, body {
  max-width: 100%;
  overflow-x: hidden !important; /* unwanted spacing remove */
  margin: 0;
  padding: 0;
}

/* Disable text select if needed */
body { 
  user-select: none; 
}

/* ===== Blog Detail Styling ===== */
.blog-details { 
  max-width: 1140px; 
  margin: auto; 
}

.post-detail { 
  border-radius: 12px; 
  background: #fff; 
  overflow: hidden; 
}

.post-img { 
  width: 100%; 
  height: auto; 
  display: block; 
  object-fit: cover; 
  max-height: 700px; 
}

.post-body { 
  padding: 1.5rem; 
}

.post-title { 
  font-size: 2rem; 
  font-weight: 700; 
  color: #003049; 
  margin-bottom: 0.8rem; 
}

.meta-row { 
  font-size: 0.95rem; 
  display: flex; 
  flex-wrap: wrap; 
  gap: 12px; 
  align-items: center; 
}

.meta-row i { 
  color: #007bff; 
  margin-right: 5px; 
}

.excerpt { 
  font-size: 1.1rem; 
  font-style: italic; 
  margin-bottom: 1.5rem; 
}

.content { 
  font-size: 1rem; 
  line-height: 1.7; 
  color: #222; 
  text-align: justify; 
}

/* ===== Related FAQs ===== */
.related-faqs {
  padding: 60px 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-top: 50px;
}

/* Heading same as Related Colleges */
.related-faqs h3 {
  position: relative;
  font-weight: 700;
  color: #003049;
  margin-bottom: 25px;
  padding-left: 75px; /* same alignment */
  font-size: 24px;
}

.related-faqs h3::before {
  content: "";
  position: absolute;
  left: 65px;
  top: 0;
  height: 100%;
  width: 6px;
  background-color: #28a745; /* green stripe (FAQ) */
  border-radius: 3px;
}

/* FAQ Buttons */
.related-faqs .accordion-button {
  font-weight: 600;
  font-size: 16px;
  background: #f8f9fa;
  color: #003049;
  padding: 14px 18px;
  transition: all 0.3s ease;
}

.related-faqs .accordion-button:focus {
  box-shadow: none;
}

.related-faqs .accordion-button:not(.collapsed) {
  background: #003049;
  color: #fff;
}

/* Add icon animations */
.related-faqs .accordion-button::after {
  transition: transform 0.3s ease;
}
.related-faqs .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

/* FAQ Body */
.related-faqs .accordion-body {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  background: #fff;
  padding: 16px 18px;
  animation: fadeIn 0.3s ease-in-out;
}

/* Smooth Fade Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Related Colleges Section ===== */
.related-colleges {
  background: #f9fafb; /* halka grey bg */
  padding: 60px 20px;
  border-radius: 12px;
  margin-top: 40px;
}

.related-colleges h3 {
  font-weight: 700;
  color: #003049;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: centre;
}

.related-colleges h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fcbf49, #f77f00);
}

/* ===== College Cards ===== */
.college-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.college-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.college-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.college-card .card-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.college-card .card-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.college-card .card-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

/* ===== Buttons (Explore + Compare) ===== */
.college-card .btn {
  border: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.college-card .btn-explore {
  background: #f77f00;
  color: #fff;
  margin-right: 6px;
}

.college-card .btn-explore:hover {
  background: #d96600;
}

.college-card .btn-compare {
  background: #fcbf49;
  color: #222;
}

.college-card .btn-compare:hover {
  background: #f77f00;
  color: #fff;
}

/* ===== Carousel Controls Overlay ===== */
#relatedCollegesCarousel .carousel-control-prev,
#relatedCollegesCarousel .carousel-control-next {
  width: 45px;
  height: 45px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: all 0.3s ease;
}

#relatedCollegesCarousel .carousel-control-prev { left: 15px; }
#relatedCollegesCarousel .carousel-control-next { right: 15px; }

#relatedCollegesCarousel .carousel-control-prev-icon,
#relatedCollegesCarousel .carousel-control-next-icon {
  background-size: 60% 60%;
  filter: invert(1);
}

#relatedCollegesCarousel .carousel-control-prev:hover,
#relatedCollegesCarousel .carousel-control-next:hover {
  background: #f77f00;
}
/* ---------- Hero / Banner (Blog) ---------- */
/* ---------- Hero / Banner (Blog) ---------- */
.heroblog {
  background: url("/static/images/blog3.jpg") center/cover no-repeat;
  min-height: 220px; /* responsive height */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  padding: 40px 15px;
  text-align: center; /* âœ… fix */
}

.heroblog::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55); /* dark overlay */
  z-index: 1;
}

.heroblog .wrap {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.heroblog h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.heroblog p.lead {
  font-size: 16px;
  color: rgba(255,255,255,0.95);
  margin: 0 auto;
  max-width: 720px;
}

/* âœ… Responsive fixes */
@media (max-width: 768px) {
  .heroblog {
    min-height: 180px;
    padding: 30px 10px;
  }
  .heroblog h1 {
    font-size: 26px;
  }
  .heroblog p.lead {
    font-size: 14px;
  }
}

/* ---------- Main layout ---------- */
.wrap-grid {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Blog list (cards) */
.post-list { display: grid; gap: 20px; }
.post-card {
  display: flex;
  gap: 18px;
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(18,28,60,0.06);
  overflow: hidden;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(18,28,60,0.1);
}
.post-card .thumb {
  flex: 0 0 220px;
  height: 130px;
  border-radius: 8px;
  overflow: hidden;
}
.post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-card .meta { flex: 1; }
.post-card .meta .cat {
  display: inline-block;
  background: #eef2ff;
  color: #1e3a8a;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 8px;
}
.post-card .meta h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #0b2540;
  font-weight: 600;
}
.post-card .meta .excerpt {
  font-size: 14px;
  color: #515d6b;
  margin-bottom: 12px;
}
.post-card .meta .meta-row {
  font-size: 13px;
  color: #7b8792;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.post-card .meta .readmore {
  display: inline-block;
  padding: 8px 14px;
  background: #1e3a8a;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease;
}
.post-card .meta .readmore:hover {
  background: #f77f00;
}

/* Sidebar */
.sidebar .card {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(18,28,60,0.06);
  margin-bottom: 18px;
}
.search-box input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e3e7ee;
  font-size: 14px;
}
.recent-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
}
.recent-list img {
  width: 64px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
}
.recent-list a {
  font-weight: 600;
  color: #0b2540;
  font-size: 14px;
}
.category-list a {
  display: block;
  padding: 8px 0;
  color: #1f2a37;
  font-size: 14px;
}
.newsletter input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e3e7ee;
  margin-bottom: 10px;
}
.newsletter button {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: #1e3a8a;
  color: #fff;
  border: 0;
  font-weight: 700;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.pagination a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e6e8ee;
  background: #fff;
  color: #24323f;
}
.pagination a.active {
  background: #1e3a8a;
  color: #fff;
  border-color: #1e3a8a;
}

/* ---------- Responsive ---------- */
@media(max-width:1024px){
  .heroblog h1 { font-size: 30px; }
  .wrap-grid { grid-template-columns: 1.9fr 1fr; gap: 20px; }
}
@media(max-width:820px){
  .wrap-grid { grid-template-columns: 1fr; gap: 18px; padding: 0 16px; }
  .post-card { flex-direction: column; }
  .post-card .thumb { width: 100%; height: 200px; flex: none; }
  .post-card .meta { padding-top: 8px; }
  .sidebar { order: 2; }
}
/* ===== Compare Section ===== */
    .compare-container { max-width:1200px; margin:30px auto; padding:20px; background:#fff; border-radius:10px; box-shadow:0 4px 12px rgba(0,0,0,0.1); }
    .selector { text-align:center; margin-bottom:20px; }
    select { padding:10px; border-radius:6px; border:1px solid #ddd; margin:0 10px; }
    button { padding:10px 20px; background:#1e3a8a; color:white; border:none; border-radius:6px; cursor:pointer; }
    button:hover { background:#162c6d; }
    .compare-table { width:100%; border-collapse:collapse; margin-top:20px; }
    .compare-table th, .compare-table td { border:1px solid #ddd; padding:15px; text-align:left; vertical-align:top; }
    .compare-table th { background:#a092f1; color:white; }
    .college-card { text-align:center; }
    .college-card img { width:180px; border-radius:8px; margin-bottom:10px; }
    .college-card h3 { margin:5px 0; color:#1e3a8a; }

    @media(max-width:768px){
      .compare-table { font-size:14px; }
      .college-card img { width:120px; }
      .hero { height: 200px; }
      .hero h1 { font-size: 26px; }
    }
    /* Compare Hero Section */
.compare-hero {
  background: url("/static/images/cmp.jpeg") center/cover no-repeat;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  color: white;
  border-radius: 0 0 20px 20px; /* thoda rounded bottom */
  overflow: hidden;
}

/* Dark gradient overlay */
.compare-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
  z-index: 1;
}

/* Content */
.compare-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.compare-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fcbf49; /* accent color */
  text-shadow: 0 4px 12px rgba(0,0,0,0.7);
}

.compare-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
  opacity: 0.95;
}

    /* Hero */
    .contact-hero {
  background: url("/static/images/cont.jpg") center/cover no-repeat;
  padding: 70px 0;
  text-align: center;
  color: #fff;
  box-shadow: inset 0 -40px 60px rgba(0,0,0,0.15);
}
.contact-hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}
.breadcrumb {
  font-size: 14px;
  opacity: 0.9;
}
    /* Contact Section */
    .contact-section{max-width:1200px;margin:40px auto;display:grid;grid-template-columns:2fr 1fr;gap:30px;padding:0 20px}
    .contact-form{background:#fff;padding:25px;border-radius:12px;box-shadow:0 4px 10px rgba(0,0,0,0.05)}
    .contact-form h2{margin-bottom:20px;color:#1e3a8a}
    .form-group{margin-bottom:15px}
    .form-group label{display:block;margin-bottom:6px;font-weight:600}
    .form-group input,.form-group textarea{width:100%;padding:12px;border:1px solid #ccc;border-radius:8px;font-size:14px}
    .form-group textarea{resize:vertical;min-height:120px}
    .contact-form button{background:#1e3a8a;color:white;padding:12px 20px;border:none;border-radius:8px;cursor:pointer;font-size:16px;font-weight:600}
    .contact-form button:hover{background:#163273}

    .contact-info{background:#fff;padding:25px;border-radius:12px;box-shadow:0 4px 10px rgba(0,0,0,0.05)}
    .contact-info h3{margin-bottom:15px;color:#1e3a8a}
    .contact-info p{margin-bottom:12px;font-size:14px}
    .contact-info i{color:#1e3a8a;margin-right:8px}
    .map{margin-top:15px;border-radius:8px;overflow:hidden}

    

    /* Responsive */
    @media(max-width:820px){
      .contact-section{grid-template-columns:1fr}
      .logo img{height:44px}
      nav ul{display:none;flex-direction:column;background:#111144;padding:20px;position:absolute;top:100%;left:0;width:100%}
      nav ul.show{display:flex}
      .menu-toggle{display:block}
    }
      /* -------- General Page Layout -------- */
.course-detail-page {
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: #333;
}

.course-detail-page h1,
.course-detail-page h2,
.course-detail-page h3 {
  font-weight: 700;
  color: #1a237e;
}

.course-detail-page p,
.course-detail-page li {
  font-size: 15px;
  color: #555;
}

/* -------- Section Box -------- */
.course-detail-page .section {
  background: #fff;
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 30px;
  box-shadow: 0px 3px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.course-detail-page .section:hover {
  transform: translateY(-3px);
  box-shadow: 0px 5px 18px rgba(0,0,0,0.12);
}

/* -------- Headings -------- */
.course-detail-page .section h2 {
  font-size: 22px;
  border-left: 5px solid #3f51b5;
  padding-left: 12px;
  margin-bottom: 18px;
}

/* -------- Lists -------- */
.course-detail-page ul {
  list-style: none;
  padding-left: 0;
}

.course-detail-page ul li {
  background: #f5f7ff;
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.course-detail-page ul li::before {
  content: "âœ”";
  color: #3f51b5;
  margin-right: 8px;
  font-weight: bold;
}

/* -------- FAQ Section -------- */
.course-detail-page .faq-item {
  background: #fafafa;
  border-left: 4px solid #ff9800;
  padding: 12px 16px;
  border-radius: 8px;
}

.course-detail-page .faq-item strong {
  color: #ff5722;
}

/* -------- Gallery / Images -------- */
.course-detail-page img {
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.course-detail-page img:hover {
  transform: scale(1.05);
}

/* -------- Buttons (Optional) -------- */
.btn-custom {
  background: #3f51b5;
  color: #fff;
  border-radius: 50px;
  padding: 8px 20px;
  transition: 0.3s;
}

.btn-custom:hover {
  background: #2c387e;
  color: #fff;
}
    body { font-family: "Poppins", sans-serif; background: #f9fafc; }
    .hero-section {
      background: linear-gradient(120deg, #003049, #005f73);
      color: #fff;
      padding: 60px 0;
      border-radius: 0 0 40px 40px;
      text-align: center;
    }
    .hero-section h1 { font-weight: 800; font-size: 2.5rem; }
    .hero-section p { font-size: 1.1rem; margin-bottom: 20px; }
    .highlight-card {
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 3px 15px rgba(0,0,0,0.08);
      text-align: center;
      padding: 20px;
      transition: 0.3s;
    }
    .highlight-card:hover { transform: translateY(-5px); }
    .highlight-card h4 { font-weight: 700; color: #003049; }
    .section { background: #fff; border-radius: 16px; padding: 30px; margin-bottom: 25px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
    .section h2 { font-size: 22px; font-weight: 700; border-left: 5px solid #f77f00; padding-left: 12px; margin-bottom: 18px; }
    .accordion-button:not(.collapsed) { background: #003049; color: #fff; }
    .btn-cta {
      background: #d62828;
      color: #fff;
      border-radius: 50px;
      padding: 12px 30px;
      font-weight: 600;
      transition: 0.3s;
    }
    .btn-cta:hover { background: #f77f00; }
#relatedBlogsCarousel .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#relatedBlogsCarousel .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
#relatedBlogsCarousel .card img {
  border-radius: 8px 8px 0 0;
}
#relatedBlogsCarousel .card h6 a {
  font-size: 15px;
  font-weight: 600;
  color: #003049;
  transition: color 0.3s;
}
#relatedBlogsCarousel .card h6 a:hover {
  color: #f77f00;
}
#relatedBlogsCarousel .custom-control {
  width: 35px;
  height: 35px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
}
#relatedBlogsCarousel .custom-control span {
  filter: invert(1);
}
/* âœ… Hero Banner */
.privacyhero {
  background: linear-gradient(rgba(30,58,138,0.7), rgba(30,58,138,0.7)),
              url("/static/images/Privacypolicy.jpg") center/cover no-repeat;
  height:260px;
  display:flex;
  justify-content:center;
  align-items:center;
  color:white;
  text-align:center;
  padding:0 20px;
}

.privacyhero h1 { font-size:36px; text-shadow:0 4px 8px rgba(0,0,0,0.6); }

/* âœ… Terms Section */
.terms {
  max-width:1000px; 
  margin:60px auto; 
  padding:30px;   /* ek hi padding rakho */
  background:#fff; 
  border-radius:10px;
  box-shadow:0 6px 14px rgba(0,0,0,0.08);
}
.terms h2 { font-size:24px; color:#1e3a8a; margin-top:20px; }
.terms p { font-size:16px; color:#444; line-height:1.7; margin:10px 0; }

/* âœ… Responsive */
@media(max-width:768px){
  .navbar ul { 
    display:none; 
    flex-direction:column; 
    background:#1e3a8a;
    position:absolute; 
    top:60px; 
    right:0; 
    width:200px; 
    padding:20px; 
  }
  .navbar ul.show { display:flex; }
  .menu-toggle { display:block; color:white; }
  .privacyhero h1 { font-size:26px; }  /* fixed */
  .footer-container { flex-direction:column; text-align:center; }
  .footer-left .footer-logo { margin:0 auto 15px; }
}
/* âœ… Hero Section */
    .tnchero {
  background: linear-gradient(rgba(30,58,138,0.6), rgba(30,58,138,0.6)), 
              url("/static/images/t&C.jpg") center/cover no-repeat;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 20px;
}

    .tnchero h1 { font-size:36px; text-shadow:0 3px 6px rgba(0,0,0,0.6); }

    /* âœ… Content Section */
    .terms {
      max-width:1100px; margin:50px auto; padding:0 20px;
      background:white; border-radius:10px; box-shadow:0 6px 14px rgba(0,0,0,0.08);
    }
    .terms h2 {
      font-size:22px; color:#1e3a8a; margin-top:30px; margin-bottom:15px;
    }
    .terms p {
      font-size:16px; line-height:1.7; margin-bottom:15px; color:#444;
    }


    /* âœ… Responsive */
    @media(max-width:768px){
      .navbar ul { display:none; flex-direction:column; background:#1e3a8a; position:absolute; top:60px; right:0; width:200px; padding:20px; }
      .navbar ul.show { display:flex; }
      .menu-toggle { display:block; color:white; }
    }
    
/* Disable text selection */
body { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }