 :root {
     --primary: #135fd8;
     --accent: #ffe066;
 }

 .mini-separator svg {
  display: block;
  width: 100%;
  height: 60px;
  margin-top: -5px;
}


 .hero-custom {
     background: linear-gradient(135deg, #0d1b2a 0%, #135fd8 100%);
     color: white;
     padding: 60px 30px;
 }

 .hero-wrapper {
     display: flex;
     flex-direction: column-reverse;
     align-items: center;
     gap: 30px;
     max-width: 1200px;
     margin: auto;
 }

 .hero-text {
     text-align: center;
 }

 .hero-text h1 {
     font-size: 28px;
     margin-bottom: 12px;
     line-height: 1.4;
 }

 .hero-text h1 span {
     color: var(--accent);
 }

 .hero-text p {
     font-size: 15px;
     margin-bottom: 28px;
     max-width: 480px;
     margin-inline: auto;
     line-height: 1.6;
 }

 .hero-buttons {
     display: flex;
     justify-content: center;
     gap: 15px;
     flex-wrap: wrap;
 }

 .btn-filled,
 .btn-gradient {
     padding: 14px 22px;
     border-radius: 10px;
     font-weight: 600;
     text-decoration: none;
     font-size: 15px;
     min-width: 160px;
     text-align: center;
     transition: all 0.3s ease;
     display: inline-block;
 }

 .btn-filled {
     background: white;
     color: var(--primary);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 }

 .btn-filled:hover {
     background: #e7f0ff;
 }

 .btn-gradient {
     background: linear-gradient(135deg, #ffb703, #fb8500);
     color: white;
     border: none;
     font-weight: 700;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
 }

 .btn-gradient:hover {
     background: linear-gradient(135deg, #f7a200, #f96200);
     transform: scale(1.02);
 }

 .hero-graphic img {
     width: 216px;
     height: auto;
 }

 @media (min-width: 768px) {
     .hero-wrapper {
         flex-direction: row;
         justify-content: space-between;
         text-align: left;
     }

     .hero-text {
         flex: 1;
         text-align: left;
     }

     .hero-graphic {
         flex: 1;
         text-align: center;
     }

     .hero-text h1 {
         font-size: 36px;
     }

     .hero-text p {
         font-size: 18px;
     }

     .hero-graphic img {
         width: 310px;
     }
 }

 /* === Glossary Section Container === */
/* === Glossary Section === */
.glossary-section {
  padding: 60px 20px;
  background: #f6f8ff;
  text-align: center;
}

.glossary-section h2 {
  font-size: 28px;
  color: #135fd8;
  margin-bottom: 40px;
}

/* === Card Grid Layout (Responsive) === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Glossary Cards === */
.glossary-card {
  position: relative;
  padding-top: 70px; /* enough space for absolute image */
  background: linear-gradient(135deg, #135fd8, #0c3b8e);
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
  overflow: visible; /* allow icon to show outside */
  transition: transform 0.3s ease;
  color: white;
}

.glossary-card:hover {
  transform: translateY(-5px);
}

/* === Icon Positioned Absolutely Outside === */
.icon-block {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0);
  padding: 12px;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.icon-block img {
  width: 73px;
  height: 73px;
  object-fit: contain;
  display: block;
}

/* === Text Block === */
.text-block {
  padding: 30px 20px 25px;
  z-index: 1;
}

.text-block h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #fff;
}

.text-block p {
  font-size: 14px;
  color: #e0e0e0;
}

/* === Link Reset Styling === */
a.glossary-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

#glossary a{
    text-decoration: none;
}

.image-right-section {
  padding: 60px 20px;
  background: #f4f8ff;
}

.image-right-section .container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.text-content {
  flex: 1 1 480px;
}

.text-content h2 {
  font-size: 28px;
  color: #135fd8;
  margin-bottom: 16px;
}

.text-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.primary-btn {
  display: inline-block;
  background: #135fd8;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.primary-btn:hover {
  background: #0e4dbc;
}

.image-content {
  flex: 1 1 400px;
  text-align: center;
}

.image-content img {
  max-width: 73%;
  height: auto;
  border-radius: 12px;
}




/* === Testimonial Section === */
.testimonial-section {
  background: #f0f4fc;
  padding: 60px 20px;
}

.testimonial-heading {
  text-align: center;
  color: #135fd8;
  font-size: 28px;
  margin-bottom: 40px;
  font-weight: 600;
}

/* Grid layout for cards */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  overflow: visible;
}

/* Individual card */
.testimonial-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 60px 20px 30px;
  text-align: center;
  overflow: visible; /* Key for absolute image */
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

/* Avatar image container */
.testimonial-img {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text content */
.testimonial-content h3 {
  margin-top: 50px;
  font-size: 18px;
  color: #135fd8;
  font-weight: 600;
}

.testimonial-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin: 12px 0 18px;
  padding: 0 10px;
}

/* Stars + date */
.stars {
  font-size: 18px;
  color: #ffcc00;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stars .date {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.review-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.review-heading {
  font-size: 28px;
  color: #135fd8;
  margin-bottom: 30px;
}

.review-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-form input,
.review-form textarea {
  padding: 12px 15px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  resize: vertical;
}

.review-form textarea {
  min-height: 100px;
}

.rating {
  text-align: left;
  font-size: 15px;
  color: #333;
}

.stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
}

.stars input {
  display: none;
}

.stars label {
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s;
}

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
  color: #ffcc00;
}

.submit-btn {
  background-color: #25d366;
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #1fb556;
}



* {
    scrollbar-width: none;
    scrollbar-color: #135fd8 #f0f4f8;
}
