
/* ==================== FIX: STOP LEFT-RIGHT SHAKE ON MOBILE ==================== */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
  scroll-behavior: smooth !important;
}


/* Prevent animation micro-shakes ONLY inside jameela sections */
.jameela-smooth * {
  backface-visibility: hidden !important;
  transform-style: preserve-3d !important;
  perspective: 1000px !important;
}


/* ---------------------------------------- */

 @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* WRAPPER */
.jameela-section-wrapper {
  background: #fff;
  padding: 80px 0;
  font-family: 'Roboto', sans-serif;
  color: #222;
  line-height: 1.9;
  font-size: 22px;
  position: relative;
  z-index: 1;
}

/* CONTAINER */
.jameela-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADINGS */
.jameela-heading-main {
  text-align: center;
  font-weight: 700;
  font-size: 34px;
  color: #111;
  margin-bottom: 40px;
  letter-spacing: 0.3px;
}

.jameela-heading-sub {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
}

/* TEXT STYLES */
.jameela-content h2 {
  font-size: 26px;
  color: #111;
  font-weight: 700;
  margin: 40px 0 15px;
}

.jameela-content h3 {
  font-size: 22px;
  color: #111;
  font-weight: 600;
  margin-top: 25px;
}

.jameela-content p {
  text-align: justify;
  margin: 12px 0;
  color: #333;
}

/* Prevent overlap with footer or gallery */
.jameela-content {
  position: relative;
  z-index: 2;
}

.jameela-gallery-section {
  background: #f8f8f8;
  padding: 80px 0;
  font-family: 'Roboto', sans-serif;
}

.jameela-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.jameela-heading-sub {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 50px;
}

.jameela-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.jameela-card {
  width: 320px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.jameela-card:hover {
  transform: translateY(-5px);
}

.jameela-image-box {
  position: relative;
}

.jameela-image-box img {
  width: 100%;
  height: auto;
  display: block;
}

.jameela-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #28a745;
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.jameela-tag-left,
.jameela-tag-right {
  position: absolute;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
}

.jameela-tag-left {
  left: 10px;
}

.jameela-tag-right {
  right: 10px;
}

.jameela-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px;
}

.btn-call,
.btn-whatsapp {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 18px;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-call {
  background: #000;
}

.btn-whatsapp {
  background: #25D366;
}

.btn-call:hover,
.btn-whatsapp:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
  .jameela-card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .jameela-card {
    width: 100%;
    max-width: 320px;
  }

  .jameela-heading-sub {
    font-size: 22px;
  }
}


.jameela-section-content {
  padding: 80px 0;
  background: #fff;
  font-family: 'Roboto', sans-serif;
  line-height: 1.9;
  color: #222;
}

.jameela-section-content .jameela-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.jameela-section-content .jameela-heading-main {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  text-align: center;
  margin-bottom: 40px;
}

.jameela-section-content h2 {
  font-size: 26px;
  color: #111;
  font-weight: 700;
  margin-top: 50px;
}

.jameela-section-content h3 {
  font-size: 20px;
  color: #000;
  font-weight: 600;
  margin-top: 25px;
}

.jameela-section-content p {
  font-size: 18px;
  margin-bottom: 18px;
  text-align: justify;
}

.jameela-section-content ul {
  margin: 10px 0 20px 25px;
}

.jameela-section-content ul li {
  font-size: 18px;
  margin-bottom: 10px;
  text-align: justify;
}

.jameela-section-content hr {
  margin: 40px 0;
  border: none;
  border-top: 2px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
  .jameela-section-content .jameela-heading-main {
    font-size: 24px;
  }

  .jameela-section-content h2 {
    font-size: 22px;
  }

  .jameela-section-content h3 {
    font-size: 18px;
  }

  .jameela-section-content p,
  .jameela-section-content ul li {
    font-size: 16px;
  }
}


.jameela-section-commitment {
  background: #fafafa;
  padding: 80px 0;
  font-family: 'Roboto', sans-serif;
  color: #222;
  line-height: 1.9;
}

.jameela-section-commitment .jameela-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.jameela-section-commitment .jameela-heading-main {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #111;
}

.jameela-section-commitment h2 {
  font-size: 26px;
  font-weight: 700;
  color: #111;
  margin-top: 50px;
}

.jameela-section-commitment h3 {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-top: 25px;
}

.jameela-section-commitment p {
  font-size: 18px;
  margin-bottom: 18px;
  text-align: justify;
}

.jameela-list {
  list-style-type: disc;
  margin: 10px 0 25px 40px;
  padding-left: 0;
}

.jameela-list li {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
}

.jameela-list li::marker {
  color: #1e90ff; /* soft blue bullet */
  font-size: 1em;
}

.jameela-section-commitment a {
  color: #0a73c2;
  text-decoration: none;
}

.jameela-section-commitment a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .jameela-section-commitment .jameela-heading-main {
    font-size: 26px;
  }
  .jameela-section-commitment h2 {
    font-size: 22px;
  }
  .jameela-section-commitment p,
  .jameela-list li {
    font-size: 16px;
  }
  .jameela-list {
    margin-left: 25px;
  }
}


/* ========= IMAGE GRID SECTION ========= */
.jameela-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.jameela-image-box {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.jameela-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.jameela-image-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.jameela-image-box:hover img {
  transform: scale(1.05);
}

/* ========= RESPONSIVE FIX ========= */
@media (max-width: 991px) {
  .jameela-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .jameela-image-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ======== COMMITMENT IMAGE GRID ======== */
.jameela-commitment-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 40px 0;
}

.jameela-commitment-img {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jameela-commitment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.jameela-commitment-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.jameela-commitment-img:hover img {
  transform: scale(1.05);
}

/* ======== RESPONSIVE GRID ======== */
@media (max-width: 992px) {
  .jameela-commitment-image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .jameela-commitment-image-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ======== VIDEO GRID SECTION ======== */
.jameela-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0 60px;
}

.jameela-video-box {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jameela-video-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.jameela-video-box video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 992px) {
  .jameela-video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== CLIENT SECTION ALIGNMENT ===== */
.jameela-client-section {
  padding: 60px 0;
  background: #fff;
}

.jameela-subheading {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 25px;
  line-height: 1.4;
}

/* ===== BOOK GRID ===== */
.jameela-book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.jameela-book-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #222;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.jameela-book-item:hover {
  transform: translateY(-5px);
}

.jameela-book-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.jameela-book-details p {
  font-size: 16px;
  line-height: 1.7;
}

/* ===== BOOK GRID MOBILE FIX ===== */
@media (max-width: 991px) {
  .jameela-book-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .jameela-book-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    justify-items: center !important;
    margin-top: 20px !important;
  }

  .jameela-book-item {
    width: 100% !important;
    max-width: 350px !important;
    text-align: center !important;
  }

  .jameela-book-item img {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
  }

  .jameela-book-details p {
    font-size: 15px !important;
    line-height: 1.8 !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
  }
}





/* ===== RATINGS SECTION FIX ===== */
.jameela-rating-section {
  background: #fff;
  padding: 80px 0 60px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
}

.jameela-subheading {
  font-size: 26px;
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
  line-height: 1.4;
}

/* ===== LOGO GRID ===== */
.jameela-rating-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
}

.jameela-rating-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 35px;
  row-gap: 25px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.jameela-rating-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.jameela-rating-logos img {
  width: 95px;
  height: 95px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.jameela-rating-logos img:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ===== STATS GRID ===== */
.jameela-rating-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  text-align: center;
  margin-top: 30px;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.jameela-rating-stats div {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 25px 15px;
  transition: all 0.3s ease;
}

.jameela-rating-stats div:hover {
  background: #f1f1f1;
  transform: translateY(-5px);
}

.rating-number {
  font-size: 32px;
  font-weight: 700;
  color: #00aced;
  margin-bottom: 8px;
  display: block;
}

.jameela-rating-stats p {
  font-size: 18px;
  color: #333;
  margin: 0;
}

/* ===== RESPONSIVE FIX ===== */
@media (max-width: 992px) {
  .jameela-rating-logos {
    gap: 25px;
  }

  .jameela-rating-logos img {
    width: 80px;
    height: 80px;
  }

  .rating-number {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .jameela-rating-logos {
    gap: 20px;
  }

  .jameela-rating-logos img {
    width: 70px;
    height: 70px;
  }

  .jameela-subheading {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .rating-number {
    font-size: 26px;
  }
}


/* ===== FAQ ===== */
.jameela-faq-section {
  margin-top: 60px;
}

.faq-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.faq-item p {
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}

/* ===== MAP ===== */
.jameela-map {
  text-align: center;
  margin-top: 40px;
}

.jameela-map img {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .jameela-book-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .jameela-book-grid {
    grid-template-columns: 1fr;
  }
  .jameela-subheading {
    font-size: 20px;
  }
}
/* ===== TABLE / FEATURE LIST ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 20px;
  table-layout: fixed; /* keeps column widths consistent */
  border: 1px solid #e5e5e5;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
  word-wrap: break-word; /* breaks long text gracefully */
}

th {
  background: #f7f7f7;
  font-weight: 700;
  color: #111;
}

tr:nth-child(even) td {
  background: #fafafa;
}

/* ===== TABLE WRAPPER ===== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.table-responsive table {
  min-width: 700px; /* keeps table readable on small screens */
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto;
    display: block;
    border-radius: 8px;
  }

  table {
    font-size: 18px;
  }

  th, td {
    padding: 12px 10px;
  }
}

/* ===== LIST ===== */
.jameela-list {
  list-style-type: disc;
  margin: 15px 0 25px 45px;
  padding-left: 0;
}

.jameela-list li {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.9;
  text-align: justify;
}

.jameela-list li::marker {
  color: #1e90ff;
}
/* ===== RATINGS / LOGOS ===== */
.jameela-rating-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.jameela-rating-logos img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.jameela-rating-logos img:hover {
  transform: scale(1.1);
}

.jameela-rating-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  margin-top: 40px;
  gap: 30px;
}

.jameela-rating-stats div {
  flex: 1 1 180px;
}

.rating-number {
  font-size: 30px;
  font-weight: 700;
  color: #00aced;
  display: block;
}








