/* ===============================
   About Section (Scoped)
   =============================== */
.about-section {
  padding: 60px 0;
  background: #fff;
  clear: both; /* Marquee overlap fix */
}

.about-section .about-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 6px;
}

/* Sub Heading (Know About BCIT WORLD) */
.about-section .about-content h2.sub-heading {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase; /* optional – tagline ko thoda highlight karega */
  letter-spacing: 0.5px;
}

/* Main Heading (Best Computer Training Institute in Patna) */
.about-section .about-content h1.main-heading {
  font-size: 24px; /* thoda bada kiya for H1 importance */
  font-weight: 700;
  color: #800000;
  margin-bottom: 20px;
  line-height: 1.4;
}


.about-section .about-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
  text-align: justify;
}

.about-section .about-content a {
  color: #800000;
  text-decoration: none;
}

.about-section .about-content a:hover {
  text-decoration: underline;
}

/* Buttons */
.about-section .about-btns {
  margin-top: 20px;
}

.about-section .about-btns a {
  display: inline-block;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: 0.3s;
  margin-right: 12px;
}

.about-section .btn-learn {
  background: #800000;
  color: #fff !important;
  border: 2px solid #800000;
}

.about-section .btn-learn:hover {
  background: #600000;
  border-color: #600000;
}

.about-section .btn-contact {
  background: #fff;
  color: #800000 !important;
  border: 2px solid #800000;
}

.about-section .btn-contact:hover {
  background: #800000;
  color: #fff !important;
}

/* Responsive */
@media (max-width: 768px) {
  .about-section {
    padding: 30px 0;
  }
  .about-section .about-content {
    text-align: center;
    margin-top: 20px;
  }
  .about-section .about-content h2 {
    font-size: 22px;
  }
  .about-section .about-content p {
    font-size: 14px;
  }
}

/* ===============================
   Key Benefits Section (Final)
   =============================== */
.key-benefits {
  padding: 60px 0;
  background: #f9f9f9;
  text-align: center;
}

.key-benefits .sub-title {
  font-size: 16px;
  font-weight: 600;
  color: #800000; /* Maroon */
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.key-benefits .main-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000;
}

.key-benefits .description {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.key-benefits .benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.key-benefits .benefit-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease-in-out;
}

.key-benefits .benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.key-benefits .benefit-card .icon {
  font-size: 34px;
  color: #fff;
  background: #800000; /* Maroon Circle */
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.key-benefits .benefit-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.key-benefits .benefit-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .key-benefits .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .key-benefits .benefits-grid {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   Why Choose BCIT WORLD Section (Scoped)
   =============================== */
.bcit-why-section {
  padding: 60px 0;
  background: #fff;
}

.bcit-why-section .bcit-why-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
}

.bcit-why-section .bcit-why-content {
  padding-left: 20px;
}

.bcit-why-section .bcit-sub-heading {
  color: #800000;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.bcit-why-section .bcit-main-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000;
}

.bcit-why-section .bcit-intro {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

.bcit-why-section .bcit-why-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bcit-why-section .bcit-point {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.bcit-why-section .bcit-num {
  font-size: 20px;
  font-weight: 700;
  color: #800000;
  border: 2px solid #800000;
  padding: 6px 12px;
  border-radius: 6px;
  flex-shrink: 0;
}

.bcit-why-section .bcit-point h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: #111;
}

.bcit-why-section .bcit-point p {
  font-size: 14px;
  margin: 5px 0 0;
  color: #555;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 767px) {
  .bcit-why-section .row {
    flex-direction: column;
  }
  .bcit-why-section .bcit-why-content {
    margin-top: 20px;
    padding-left: 0;
    text-align: center;
  }
  .bcit-why-section .bcit-point {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bcit-why-section .bcit-num {
    margin-bottom: 8px;
  }
}







/* ===============================
   Courses Section (Mahroon Theme)
   =============================== */
.courses-section {
  padding: 60px 0;
  background: #f9f9f9;
  text-align: center;
}

.courses-section .courses-title {
  font-size: 28px;
  font-weight: 700;
  color: #800000;
  margin-bottom: 10px;
}

.courses-section .courses-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.course-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: left;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.course-info {
  padding: 20px;
}

.course-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

.course-info .rating {
  font-size: 14px;
  color: #ff9800;
  margin-bottom: 10px;
}

.course-info .rating span {
  color: #555;
}

.course-info .intro {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

.course-btns {
  display: flex;
  gap: 10px;
}

.course-btns a {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

/* Read More Button */
.course-btns .btn-read {
  background: #800000;
  color: #fff;
}

.course-btns .btn-read:hover {
  background: #600000;
}

/* Enquiry Button */
.course-btns .btn-enquiry {
  background: #fff;
  color: #800000;
  border: 2px solid #800000;
}

.course-btns .btn-enquiry:hover {
  background: #800000;
  color: #fff;
}

/* View All Courses Button */
.view-all {
  margin-top: 40px;
}

.btn-view-all {
  background: #800000;
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.btn-view-all:hover {
  background: #600000;
}

/* Responsive */
@media (max-width: 991px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}




/* ===============================
   Certificate Gallery Section
   =============================== */
.certificate-gallery {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.certificate-gallery .gallery-title {
  font-size: 28px;
  font-weight: 700;
  color: #800000;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.certificate-gallery .gallery-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #800000;
  margin: 8px auto 0;
  border-radius: 3px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.gallery-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 18px rgba(0,0,0,0.15);
}

/* View All Button */
.view-all {
  margin-top: 20px;
}

.btn-view-all {
  background: #800000;
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.btn-view-all:hover {
  background: #600000;
}

/* Responsive */
@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}




/* ===============================
   Student Reviews Section (Scoped)
   =============================== */
.student-reviews {
  padding: 60px 0;
  background: #f9f9f9;
  text-align: center;
}

.student-reviews .review-title {
  font-size: 28px;
  font-weight: 700;
  color: #800000;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.student-reviews .review-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #800000;
  margin: 8px auto 0;
  border-radius: 3px;
}

.student-reviews .review-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.student-reviews .review-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.student-reviews .review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.student-reviews .review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.student-reviews .review-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.student-reviews .review-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.student-reviews .review-header .date {
  font-size: 13px;
  color: #666;
}

.student-reviews .stars {
  font-size: 16px;
  color: #ff9800;
  margin: 8px 0;
}

.student-reviews .review-text {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
  .student-reviews .review-slider {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .student-reviews .review-slider {
    grid-template-columns: 1fr;
  }
}




/* ===============================
   Recent Placements Section
   =============================== */
.placements-section {
  padding: 60px 0;
  background: #f9f9f9;
  text-align: center;
}

.placements-title {
  font-size: 28px;
  font-weight: 700;
  color: #800000;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.placements-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #800000;
  margin: 8px auto 0;
  border-radius: 3px;
}

.placements-subtitle {
  font-size: 15px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.placements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.placement-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.placement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.placement-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.placement-card .stars {
  color: #ff9800;
  font-size: 16px;
  margin-bottom: 10px;
}

.placement-card .role {
  font-size: 15px;
  font-weight: 600;
  color: #800000;
  margin-bottom: 5px;
}

.placement-card .company {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .placements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .placements-grid {
    grid-template-columns: 1fr;
  }
}


/* FAQ Section */
.faq-section {
  padding: 60px 0;
  background: #fff;
}

.faq-title {
  font-size: 28px;
  font-weight: 700;
  color: #800000;
  margin-bottom: 25px;
}

.faq-item {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #111;
  transition: 0.3s;
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 15px;
}

.faq-answer p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin: 15px 0;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* enough height for text */
  padding: 0 15px 15px;
}

.faq-item .icon {
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s;
  color: #800000;
}

.faq-item.active .icon {
  content: "–";
  transform: rotate(180deg);
}


/* Blogs Section */
.blogs-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
  font-family: Arial, sans-serif;
}

.blogs-title {
  font-size: 30px;
  font-weight: 700;
  color: #800000;
  margin-bottom: 15px;
}

/* Mahroon Divider */
.blogs-divider {
  width: 80px;
  height: 4px;
  background: #800000;
  margin: 0 auto 40px;
  border-radius: 2px;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Blog Card Clickable */
.blog-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-align: left;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Image */
.blog-header img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Blog Content */
.blog-body {
  padding: 20px;
}

.blog-tag {
  font-size: 13px;
  color: #800000;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 8px;
}

.blog-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.blog-body p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .blogs-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Footer Section ===== */
.site-footer {
  background: #800000;
  color: #fff;
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.footer-col h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffcc00;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #ffcc00;
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-col.map iframe {
  border-radius: 6px;
  width: 100%;
}

/* ===== Extra Footer SEO Section ===== */
.footer-extra {
  background: #6e0000;
  padding: 25px 0;
}

.extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.footer-extra h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffcc00;
  margin-bottom: 12px;
}

.footer-extra p {
  font-size: 14px;
  line-height: 1.8;
  color: #fff;
  margin: 0;
}

.footer-extra a {
  color: #fff;
  text-decoration: none;
}

.footer-extra a:hover {
  color: #ffcc00;
  text-decoration: underline;
}

/* ===== Footer Bottom ===== */
.footer-bottom {
  background: #001f4d;
  padding: 15px 0;
  margin: 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: #fff;
  font-size: 14px;
}

.footer-bottom a {
  color: #ffcc00;
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ===== Social Media Icons ===== */
.footer-social {
  margin-top: 15px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  background: #fff;
  color: #800000;
  font-size: 18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.footer-social a:hover {
  background: #800000;
  color: #fff;
  transform: translateY(-4px);
}

/* ✅ Responsive Design */
@media(max-width: 991px){
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* Tablet view: 2 columns */
  }
  .extra-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 600px){
  .footer-grid {
    grid-template-columns: 1fr; /* Mobile view: 1 column */
    text-align: left; /* left align karne ke liye */
  }

  .footer-extra {
    text-align: left; /* SEO links bhi left aligned rahenge */
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-social {
    justify-content: flex-start; /* mobile me bhi left aligned */
  }
}


/* ===== Force Left Align for Mobile View ===== */
@media(max-width: 600px) {
  .footer-col,
  .footer-col h4,
  .footer-col ul,
  .footer-col p,
  .footer-extra,
  .footer-extra h4,
  .footer-extra p {
    text-align: left !important; /* force left align */
  }

  .footer-social {
    justify-content: flex-start !important; /* social icons left me */
  }

  .footer-col ul {
    padding-left: 0; /* mobile me side space hatane ke liye */
  }

  .footer-extra p {
    line-height: 1.8;
  }
}

/* Contact Info Fix */
.footer-col p,
.footer-col p a {
  color: #fff !important;   /* force white */
  font-size: 14px;
}

.footer-col p a:hover {
  color: #ffcc00 !important;  /* hover par yellow */
}


/* Mega Menu Dropdown */
.mega-dropdown { position: static !important; }
.mega-dropdown .dropdown-menu {
  width: 100%;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  border: none;
}

.mega-menu .col-md-3 { margin-bottom: 15px; }

.mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-list li {
  margin-bottom: 8px;
}

.mega-menu-list a {
  display: block;
  font-size: 14px;
  color: #333;
  padding: 6px 10px;
  border-radius: 4px;
  transition: 0.3s;
}

.mega-menu-list a:hover {
  background: #800000;
  color: #fff;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
  .mega-dropdown .dropdown-menu {
    padding: 10px;
  }
  .mega-menu .col-md-3 {
    width: 100%;
  }
}













/* ===== Our Services Section ===== */
.our-services {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.our-services .section-title {
  font-size: 28px;
  font-weight: 700;
  color: #800000; /* maroon */
  margin-bottom: 10px;
}

.our-services .section-divider {
  width: 80px;
  height: 3px;
  background: #800000;
  margin: 0 auto 15px auto;
  border-radius: 2px;
}

.our-services .section-subtext {
  font-size: 15px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  justify-items: center;
}

.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.service-card i {
  font-size: 40px;
  color: #800000;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* Responsive */
@media(max-width:991px){
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media(max-width:600px){
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}





/* Common section heading spacing fix */
.section-title, 
h2.section-heading {
    margin-top: 40px !important;   /* thoda space upar */
    margin-bottom: 20px !important; /* neeche gap kam */
}

/* Specific to each section wrapper */
.students-review,
.recent-placements,
.trending-blogs,
.faq-area {
    padding-top: 40px !important;   /* abhi 80-100px hoga usko reduce karo */
    padding-bottom: 40px !important;
}



/* Header Phone/Email Reset */
.header-top a,
.header-top span {
  font-size: 14px !important;
  font-weight: normal !important;
  text-transform: none !important;
  color: #333 !important;
  letter-spacing: normal !important;
}


