/* Brand Colors */
:root {
  --darker-grey: #383535;
  --dark-grey: #4a4a4a;
  --gold: #c9ae57;
  --light-grey: #b5b7bd;
  --light: #f3f4f7;
  --heading-color: #a1843a;

}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: justify;
}

/* Early Bird Banner */
.early-bird-banner {
  background: var(--gold);
  display: flex;
  justify-content: center;

}

#anouncment {
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
}

.main-headings {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 2rem;
}

.navbar {
  background-color: var(--dark-grey);
  position: relative;
  z-index: 10000 !important;

}

#logo {
  height: 60px;
  width: auto;
  max-height: 100%;
  object-fit: contain;
}


/* Navbar Base */
.custom-navbar {
  background: rgba(10, 10, 10, 0.85);
  padding: 12px 0;
  transition: all 0.3s ease;
  z-index: 999;
}

/* Logo */
#logo {
  height: 50px;
  object-fit: contain;
}

/* Navbar Links */
.navbar-nav .nav-link {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 15px;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.navbar-nav .nav-link:hover {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  transform: translateX(5px);
}

.navbar-nav .nav-link.active {
  color: #ffd700;
}

/* Icons */
.nav-link i {
  font-size: 14px;
}

.dropdown-menu {
  background-color: var(--light-grey);
  border-radius: 6px;
  padding: 10px 0;
  box-shadow: 4.0px 8.0px 8.0px rgba(0, 0, 0, 0.38);
}

.dropdown-item {
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 16px;
  transition: 0.2s ease;
  color: var(--darker-grey);
  border-bottom: 1px solid #eee;

}

.dropdown-item:hover {
  background-color: #f5f5f5;
  color: var(--dark-grey);
}


.offcanvas {
  background: var(--dark-grey);
  color: white;
  width: 280px;
}


.offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#courseMenu .nav-link {
  font-size: 14px;
  padding-left: 10px;
  opacity: 0.8;
}

#courseMenu .nav-link:hover {
  color: var(--gold);
  opacity: 1;
}

.navbar-toggler {
  color: #fff;
  font-size: 22px;
}

.custom-navbar.scrolled {
  background: #000;
  padding: 8px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================Hero section ============================ */

.hero-section,
.carousel,
.carousel-inner,
.carousel-item {
  position: relative;
  z-index: 1 !important;
}

.hero-img {
  height: 50vh;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #fff;
  max-width: 700px;
}

.hero-title {
  font-size: 2.5rem;
}

.hero-subtitle {
  margin: 15px 0;
}

/* Buttons */
.btn-gold {
  background-color: var(--heading-color);
  color: var(--light);
  transition: 0.3s;
  font-weight: 500;
  padding: 10px 20px;

}

.btn-gold:hover {
  background-color: var(--gold);
  transform: translateY(-2px);
  color: #fff;
}




/* ================Sidebar (right side) ===========================*/


.sidebar-box {
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-box h5 {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 15px;
  position: relative;
}

.sidebar-box h5.border-bottom::after {
  content: "";
  width: 40px;
  height: 3px;
  background-color: var(--gold);
  display: block;
  margin-top: 5px;
  border-radius: 2px;
}

.sidebar-box ul {
  list-style: none;
  padding-left: 0;
}

.sidebar-box ul li {
  margin-bottom: 10px;
}

.sidebar-box ul li a {
  color: #444444;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.sidebar-box ul li a:hover {
  color: var(--gold);
}

.sidebar-box small li {
  display: block;
  font-size: 2rem;
  color: #777777;
}


.sidebar-icons li i {
  color: var(--gold);
  min-width: 20px;
  text-align: center;
  font-size: 1rem;
}

/* ===================== Qaida Course Title & Description============= */

.course1 h2.section-title::after {
  content: "";
  width: 6rem;
  height: 0.2rem;
  background-color: var(--gold);
  display: block;
  margin-top: 5px;
  border-radius: 2px;
}

.course-image {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.courses-list li {
  border-bottom: 2px solid var(--light);

}

.courses-list li a {
  list-style: none;
  text-decoration: none;
  color: var(--darker-grey);
  font-weight: 600;
}

.fee-tabs .nav-link {
  color: var(--dark-grey);
  background: #eee;
  margin-right: 5px;
  border: 1px solid #ddd;
  font-weight: 600;
}

.fee-tabs .nav-link.active {
  background-color: var(--darker-grey) !important;
  color: white !important;
  border-color: var(--darker-grey);
}

.table-pricing {
  border: 1px solid #ddd;
  text-align: center;
}

.table-pricing thead {
  background: #f1f1f1;
  color: var(--dark-grey);
}


/* =====================About section==================== */

#about {
  background-color: #fff;
  padding: 5rem 0;
}

.about-content {
  text-align: justify;
}

.about-content h1 {
  color: var(--gold);
}



/* Heading Size */
.heading2 {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}


.heading3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--dark-grey);
  border-bottom: 2px solid var(--light-grey);
  display: inline;
}

#about p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #555;
}

.about-line {
  display: block;
  text-align: center;
  color: var(--gold);
}

.about-text a {
  text-decoration: none;
  color: var(--heading-color);
}

.about-icons {
  color: #20a04f;
}

.about-cta {
  font-size: 1.2rem;
  color: var(--gold);
}

/* Courses section */
.card img {
  height: 200px;
  object-fit: cover;
}

/* Breadcrumb links */
.breadcrumb-item a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #fff;
}

/* Filter Buttons Active State */
.filter-btn.active {
  background-color: var(--gold);
  color: #fff;
}



/*======================= Why choose us ===========================*/
.service-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--light), var(--light-grey));
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 8px 8px 20px #d8d05a, -8px -8px 20px var(--gold);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: linear-gradient(#fff, var(--gold));
}

.custom-badge {
  background: linear-gradient(var(--gold), var(--light-grey));
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.service-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.5rem;
}

.service-text {
  font-size: 0.95rem;
}



/* ================= FAQ SECTION ================= */

#faqs {
  background: #f8f9fa;
}

/* Accordion Item */
.accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Accordion Button */
.accordion-button {
  font-weight: 600;
  font-size: 16px;
  background: #ffffff;
  color: var(--dark-grey);
  padding: 18px 20px;
  transition: all 0.3s ease;
}

/* Hover Effect */
.accordion-button:hover {
  background: #f1f1f1;
}

/* Active (Opened) */
.accordion-button:not(.collapsed) {
  background: var(--gold);
  color: #fff;
  box-shadow: none;
}

/* Remove default arrow shadow */
.accordion-button:focus {
  box-shadow: none;
}

/* Arrow Icon */
.accordion-button::after {
  filter: brightness(0.5);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

/* Accordion Body */
.accordion-body {
  background: #ffffff;
  color: var(--dark-grey);
  line-height: 1.7;
  font-size: 15px;
  padding: 20px;
  border-top: 1px solid var(--light-grey);
}

/* Smooth Animation */
.accordion-collapse {
  transition: all 0.3s ease;
}

/* Subtle hover lift */
.accordion-item:hover {
  transform: translateY(-3px);
  transition: 0.3s;
}

/* Center content width */
#faqs .accordion {
  max-width: 900px;
  margin: auto;
}


/* ================= TESTIMONIALS CLEAN ================= */

#testimonials {
  background: #f8f9fa;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 15px;
  transition: 0.3s;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  font-size: 15px;
  color: var(--dark-grey);
  line-height: 1.6;
}

.stars {
  color: var(--gold);
  font-size: 18px;
}

.custom-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: var(--light-grey);
  border-radius: 50%;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--dark-grey);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Left button */
.carousel-control-prev.custom-control {
  left: -20px;
  color: var(--darker-grey);

}

/* Right button */
.carousel-control-next.custom-control {
  right: -20px;
  color: var(--darker-grey);
}

.custom-control:hover {
  background: var(--gold);
  color: #fff;
}

/* =============CTA ================ */

#cta {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

#cta h2 {
  font-size: 32px;
}

#cta p {
  font-size: 16px;
  color: #ddd;
}




/* ================= CONTACT SECTION ================= */
#contact h2{
  color: var(--gold);
}
#contact p{
font-size: 1rem;}

#contact {
  background: #f8f9fa;
}

.contact-form {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d4af37;
  box-shadow: none;
}


/* ================= FLOATING WHATSAPP BUTTON ================= */
.floating-whatsapp {
  position: fixed !important;
  bottom: 50px !important;
  right: 25px !important;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999999 !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 15px #25D36660, 0 0 25px #25D36640;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: whatsappPulse 2.5s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px #25D36680, 0 0 35px #25D36660;
}

/* Pulse Animation */
@keyframes whatsappPulse {
  0% {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 15px #25D36660, 0 0 25px #25D36640;
  }

  50% {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35), 0 0 25px #25D36680, 0 0 40px #25D36660;
  }

  100% {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 15px #25D36660, 0 0 25px #25D36640;
  }
}

.floating-whatsapp i {
  line-height: 0;
  display: block;
}




/* ===========Footer=============== */

.bg-dark-grey {
  background-color: #2b2b2b;
  /* Dark grey background */
}

footer h5 {
  font-weight: 600;
  margin-bottom: 15px;
}

footer ul {
  padding-left: 0;
}

footer ul li {
  margin-bottom: 8px;
  border-bottom: 1px solid #555;
  /* line under each item */
  padding-bottom: 5px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

footer ul li a:hover {
  color: #f0a500;
}

.social-icons a {
  font-size: 1.2rem;
  margin-right: 10px;
}

hr {
  margin: 1.5rem 0;
  border-color: #555;
}