/* =========================================================
   OnlineQurann — style.css
   Handwritten CSS layered on top of Bootstrap 5.
   Design tokens match the original WordPress site:
   deep green hero, teal accent, coral/red CTA buttons.
   ========================================================= */

:root {
  --oq-green-dark: #0b3d36;      /* hero background green */
  --oq-green-darker: #082a25;
  --oq-teal: #04c5d8;            /* icon / accent teal */
  --oq-teal-light: #e6f7f6;
  --oq-red: #e8534a;             /* CTA button coral/red */
  --oq-red-dark: #d13e35;
  --oq-text-dark: #222831;
  --oq-text-muted: #6c757d;
  --oq-bg-light: #f7f8fa;
  --oq-bg-white: #ffffff;
  --oq-border: #e9ecef;
  --oq-trustpilot: #00b67a;

  --oq-font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --oq-font-body: 'Nunito', 'Segoe UI', sans-serif;

  --oq-radius: 6px;
  --oq-shadow: 0 10px 30px rgba(11, 61, 54, 0.08);
}

/* =========================================================
   Base
   ========================================================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--oq-font-body);
  color: var(--oq-text-dark);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--oq-font-heading);
  font-weight: 600;
  color: var(--oq-text-dark);
}

h3 {
    font-size: 2.30rem;
}


a {
  text-decoration: none;
  transition: color .2s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.grecaptcha-badge {
    left: 14px !important;
    right: auto !important;
    display: none !important;
}

.section-eyebrow {
  color: var(--oq-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--oq-red);
  margin: 10px auto;
  border: none;
}

.section-divider.text-start-divider {
  margin: 10px 0;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-pad {
  padding: 70px 0;
}

.section-pad-sm {
  padding: 20px 0 60px;
}

.bg-light-grey {
  background: var(--oq-bg-light);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn-oq-primary {
  background: var(--oq-red);
  border: 2px solid var(--oq-red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 50px;
  transition: all .25s ease;
}

.btn-oq-primary:hover,
.btn-oq-primary:focus {
  background: var(--oq-red-dark);
  border-color: var(--oq-red-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-oq-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  padding: 11px 28px;
  border-radius: 50px;
}

.btn-oq-outline:hover {
  background: #fff;
  color: var(--oq-green-dark);
}

/* =========================================================
   Header / Navbar
   ========================================================= */
.oq-navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  padding: 14px 0;
}

/* .oq-navbar .navbar-brand img {
  height: 46px;
} */
h5#enquiryModalLabel {
    color: white !important;
}
.oq-navbar .nav-link {
  color: var(--oq-text-dark);
  font-weight: 600;
  font-size: 15px;
  margin: 0 12px;
  padding: 8px 0 !important;
  position: relative;
}

.oq-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--oq-red);
  transition: width .25s ease;
}

.oq-navbar .nav-link:hover::after,
.oq-navbar .nav-link.active::after {
  width: 100%;
}

.oq-navbar .btn-signup {
  background: var(--oq-red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 26px;
  border-radius: 50px;
}

.oq-navbar .btn-signup:hover {
  background: var(--oq-red-dark);
  color: #fff;
}

/* =========================================================
   Hero
   ========================================================= */
.oq-hero {
  position: relative;
  background-color: var(--oq-green-dark);
  background-image: url('../images/onlinequrann-banner.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 90px 0 110px;
}



.oq-hero .hero-arabic {
  color: #fff;
  opacity: .8;
  font-size: 22px;
  margin-bottom: 18px;
}

.oq-hero h1 {
  color: #000;
  font-size: 58px;
  font-weight: 700;
  margin-bottom: 8px;
}

.oq-hero h2 {
  color: #000;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 28px;
}

.oq-hero-shape {
  position: absolute;
  bottom: -60px;
  left: -120px;
  width: 480px;
  height: 480px;
  background: rgba(255,255,255,.03);
  border-radius: 50%;
}

/* =========================================================
   Trustpilot strip
   ========================================================= */
.trustpilot-strip {
  text-align: center;
  padding: 50px 0 0px;
}

.trustpilot-strip img {
  height: auto;
  margin: 0 auto 8px;
}

.trustpilot-stars {
  color: var(--oq-trustpilot);
  font-size: 22px;
  letter-spacing: 3px;
}

/* =========================================================
   Reviews carousel
   ========================================================= */
.review-card {
  background: #fff;
  border: 1px solid var(--oq-border);
  border-radius: var(--oq-radius);
  padding: 24px;
  height: 100%;
}

.review-card .stars {
  color: var(--oq-trustpilot);
  font-size: 14px;
  margin-bottom: 10px;
}

.review-card .review-author {
  font-weight: 700;
  font-size: 14px;
}

.review-card .review-date {
  color: var(--oq-text-muted);
  font-size: 12px;
}

.review-card .review-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--oq-trustpilot, #00b67a);
  text-decoration: none;
}

.review-card .review-link:hover {
  text-decoration: underline;
}

.oq-reviews-carousel {
  position: relative;
  padding: 0 44px 46px;
}

.oq-reviews-carousel .carousel-control-prev,
.oq-reviews-carousel .carousel-control-next {
  width: 40px;
  height: 40px;
  top: calc(50% - 23px); /* center on the cards, minus half the indicator-row height below */
  bottom: auto;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--oq-border);
  border-radius: 50%;
  box-shadow: var(--oq-shadow);
  opacity: 1;
}

.oq-reviews-carousel .carousel-control-prev { left: 0; }
.oq-reviews-carousel .carousel-control-next { right: 0; }

.oq-reviews-carousel .carousel-control-prev-icon,
.oq-reviews-carousel .carousel-control-next-icon {
  width: 16px;
  height: 16px;
  filter: invert(15%) sepia(23%) saturate(1500%) hue-rotate(130deg) brightness(90%);
}

.oq-reviews-carousel .carousel-indicators {
  position: absolute;
  bottom: 0;
  margin: 0;
}

.oq-reviews-carousel .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--oq-border);
  border: none;
  opacity: 1;
}

.oq-reviews-carousel .carousel-indicators .active {
  background-color: var(--oq-red);
}

@media (max-width: 767px) {
  .oq-reviews-carousel { padding: 0 0 46px; }
  .oq-reviews-carousel .carousel-control-prev,
  .oq-reviews-carousel .carousel-control-next {
    display: none; /* swipe gestures + indicators are enough on small screens */
  }
  button.navbar-toggler {
    font-size: 14px;
    padding: 8px;
    color: black !important;
    border: 1px solid black;
}
.header-logo {
    width: 140px;
}
.oq-navbar {
    padding: 14px 10px;
}
a.navbar-brand {
    margin: 0;
}
.navbar-toggler:focus {
    box-shadow: none !important;
}
}

/* =========================================================
   Feature / image + text sections
   ========================================================= */
.feature-media {
  position: relative;
}

.feature-media img {
  border-radius: var(--oq-radius);
  box-shadow: var(--oq-shadow);
}

.feature-media .img-offset {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border: 6px solid #fff;
  border-radius: var(--oq-radius);
  box-shadow: var(--oq-shadow);
}

/* =========================================================
   Why choose us — icon boxes
   ========================================================= */
.icon-box {
  text-align: center;
  padding: 20px 10px;
}

.icon-box .icon-circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--oq-teal-light);
  color: var(--oq-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
}

.icon-box p {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}

.learn-at-home {
  position: relative;
  background-color: #f7f8fa;
  background-image: url('../images/onlinequran-teacher-backg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 70px 0;
}
/* =========================================================
   Courses tabs
   ========================================================= */
.oq-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;        /* room for the visible scrollbar below */
  scrollbar-width: thin;                          /* Firefox: slim visible scrollbar */
  scrollbar-color: var(--oq-red) var(--oq-border); /* Firefox: thumb / track colors */
}

/* Chrome / Safari / Edge: styled visible scrollbar (kept ON so users
   see there's more to scroll on mobile) */
.oq-tabs::-webkit-scrollbar {
  height: 5px;
}

.oq-tabs::-webkit-scrollbar-track {
  background: var(--oq-border);
  border-radius: 10px;
}

.oq-tabs::-webkit-scrollbar-thumb {
  background: var(--oq-red);
  border-radius: 10px;
}

.oq-tabs .nav-item {
  flex: 0 0 auto;
}

.oq-tabs .nav-link {
  white-space: nowrap;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 26px;
  color: var(--oq-text-dark);
  background: var(--oq-bg-light);
  margin-right: 10px;
}
.oq-tabs .nav-link.active {
  background: var(--oq-red);
  color: #fff;
}
/* =========================================================
   Pricing cards
   ========================================================= */
.pricing-card {
  background: #fff;
  border-radius: var(--oq-radius);
  overflow: hidden;
  box-shadow: var(--oq-shadow);
  text-align: center;
  height: 100%;
}

.pricing-card .price-head {
  background: var(--oq-teal);
  color: #fff;
  padding: 26px 15px;
}

.pricing-card .price-head .price {
  font-size: 30px;
  font-weight: 700;
}

.pricing-card .price-head .plan-name {
  font-size: 16px;
  font-weight: 700;
}

.pricing-card ul {
  list-style: none;
  padding: 25px 20px;
  margin: 0;
  text-align: center;
}

.pricing-card ul li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--oq-border);
  font-size: 14px;
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

.pricing-card .price-cta {
  padding-bottom: 26px;
}

/* =========================================================
   3 steps
   ========================================================= */
.step-card {
  text-align: center;
  padding: 30px 20px;
  height: 100%;
}

.step-card h5 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--oq-text-muted);
  font-size: 14px;
}

/* =========================================================
   FAQ accordion
   ========================================================= */
.accordion-button {
  font-weight: 600;
  font-size: 15px;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: var(--oq-teal-light);
  color: var(--oq-teal);
}

.accordion-item {
  border: none;
  border-bottom: 1px solid var(--oq-border);
}

/* =========================================================
   Footer
   ========================================================= */
.oq-footer {
  position: relative;
  background-color: var(--oq-green-dark);
  background-image: url('../images/onlinequrann-footer-bg.webp');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: rgba(255,255,255,.85);
  padding: 200px 0 20px;
}

.oq-footer a {
  color: rgba(255,255,255,.85);
}

.oq-footer a:hover {
  color: var(--oq-red);
}

.oq-footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
}

.oq-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 40px;
  padding-top: 18px;
  font-size: 13px;
  text-align: center;
  color: rgba(255,255,255,.6);
}

/* Footer inline enquiry card */
.footer-enquiry-card {
  background: #fff;
  border-radius: var(--oq-radius);
  padding: 26px;
  color: var(--oq-text-dark);
  box-shadow: var(--oq-shadow);
}

.footer-enquiry-card h4 {
  font-size: 18px;
  margin-bottom: 16px;
}

/* =========================================================
   Enquiry Popup Modal
   ========================================================= */
#enquiryModal .modal-content {
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

#enquiryModal .modal-header {
  background: var(--oq-green-dark);
  color: #fff;
  border: none;
}

#enquiryModal .modal-header .btn-close {
  filter: invert(1);
}

#enquiryModal .form-label {
  font-weight: 600;
  font-size: 14px;
}

#enquiryModal .form-control:focus {
  border-color: var(--oq-teal);
  box-shadow: 0 0 0 .2rem rgba(23,162,160,.15);
}

.oq-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-msg {
  font-size: 14px;
  margin-top: 10px;
  display: none;
}

.form-msg.show {
  display: block;
}

.btn-oq-primary .spinner-border {
  width: 1rem;
  height: 1rem;
  margin-right: 6px;
  display: none;
}

.btn-oq-primary.loading .spinner-border {
  display: inline-block;
}

.btn-oq-primary.loading .btn-text::after {
  content: "Sending...";
}

.btn-oq-primary.loading .btn-text {
  font-size: 0;
}

.btn-oq-primary.loading .btn-text::after {
  font-size: 13px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 991.98px) {
  .oq-hero h2 { font-size: 25px; color: #fff; font-weight: 300; }
  .section-title { font-size: 24px; }
  .feature-media .img-offset { display: none; }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 45px 0; }
  .oq-hero { padding: 60px 0 70px; text-align: center; background-position: left center; background-image: none;}
  .oq-hero h1 { color: #fff; font-size: 34px;}
  .oq-navbar .nav-link { margin: 4px 0; }
  h3 {font-size: 1.8rem;}
  .step-card h5 { font-size: 22px; }
  .oq-footer {background: #016243;    padding: 50px 10px 20px;}
.oq-tabs .nav-link {padding: 10px 15px;}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
