body{
font-family: 'Roboto Slab', serif;
}

.hero-section {
  position: relative;
  padding: 110px 20px 120px 80px;
  text-align: center;
  background: linear-gradient(135deg, #0F2BC9 0%, #667eea 100%);
  height: auto;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.1);
  /* Changed to white with transparency */
  border-radius: 50%;
  top: -30px;
  left: 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.1);
  /* Changed to white with transparency */
  border-radius: 50%;
  bottom: 0;
  right: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* White border */
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.15);
  /* Semi-transparent white */
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  /* White text */
  margin-bottom: 10px;
  backdrop-filter: blur(10px);
  /* Adds glass effect */
}

.hero-section h1 {
  color: #ffffff;
  /* White text */
  margin-bottom: 5px;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* Adds subtle text shadow for better readability */
}

.hero-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: 1.2rem;
}

.hero-buttons .btn {
  display: inline-block;
  min-width: 250px;
  height: auto;
  line-height: 50px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  margin: 0 10px;
  font-family: 'Roboto Slab', serif;
  text-align: center;
  transition: all 0.3s ease;
  padding: 0 30px;
  box-sizing: border-box;
}

/* Primary button */
.btn-primary {
  background: #ffffff;
  /* White background */
  color: #0F2BC9;
  /* Blue text */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #000000;
  /* Black on hover */
  color: #ffffff;
  /* White text on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Secondary button */
.btn-secondary {
  background-color: transparent;
  /* Transparent background */
  color: #ffffff;
  /* White text */
  border: 2px solid rgba(255, 255, 255, 0.3);
  /* White border */
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #ffffff;
  /* White background on hover */
  color: #0F2BC9;
  /* Blue text on hover */
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.hero-background .floating-icon {
  position: absolute;
  font-size: 1.7rem;
  color: rgba(255, 255, 255, 0.2);
  /* White icons with transparency */
  animation: float 10s infinite ease-in-out;
}


.hero-background .floating-icon:nth-child(1) {
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.hero-background .floating-icon:nth-child(2) {
  top: 20%;
  left: 70%;
  animation-delay: 2s;
}

.hero-background .floating-icon:nth-child(3) {
  top: 50%;
  left: 5%;
  animation-delay: 4s;
}

.hero-background .floating-icon:nth-child(4) {
  top: 60%;
  left: 80%;
  animation-delay: 6s;
}

.hero-background .floating-icon:nth-child(5) {
  top: 30%;
  left: 40%;
  animation-delay: 8s;
}

.hero-background .floating-icon:nth-child(6) {
  top: 70%;
  left: 20%;
  animation-delay: 1s;
}

.hero-background .floating-icon:nth-child(7) {
  top: 15%;
  left: 50%;
  animation-delay: 3s;
}

.hero-background .floating-icon:nth-child(8) {
  top: 80%;
  left: 60%;
  animation-delay: 5s;
}

.hero-background .floating-icon:nth-child(9) {
  top: 20%;
  left: 45%;
  animation-delay: 8s;
}

.hero-background .floating-icon:nth-child(10) {
  top: 60%;
  left: 40%;
  animation-delay: 9s;
}

.hero-background .floating-icon:nth-child(11) {
  top: 30%;
  left: 70%;
  animation-delay: 10s;
}

.hero-background .floating-icon:nth-child(12) {
  top: 10%;
  left: 25%;
  animation-delay: 11s;
}


@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(15deg);
  }
}



/******* Categories Section *******/
.categories-section {
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 30px;
}

.categories-section h2 {
  font-family: 'Roboto Slab', serif;
  color: #0F2BC9;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.categories-description {
  font-family: 'Roboto Slab', serif;
  color: #444;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.5s ease;
  min-height: 300px;
}


.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 100%;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: linear-gradient(90deg, #D157CE, #944BCF, #2E36CF, #02BEF2);
}

.icon-box {
  width: 50px;
  height: 50px;
  background: #0F2BC9;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto 1rem auto;
}

.icon-box i {
  color: #fff;
  font-size: 1.2rem;
}

.category-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  color: #0F2BC9;
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
}

.category-card p {
  margin-bottom: 1.5rem;
  color: #555;
  line-height: 1.4;
  font-size: 0.90rem;
}

.category-card .acceptButton {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #0F2BC9 0%, #667eea 100%);
  color: #fff;
  font-weight: 400;
  margin: 0 auto;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.5s ease;
}

.acceptButton i {
  margin-left: 10px;
}


.category-card .acceptButton:hover {
  transform: translateX(2px);
}

/********* Stats Section *********/
.stats-section {
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #0F2BC9 0%, #667eea 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.stats-section::before,
.stats-section::after {
  content: none;
}


.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.2rem;
}

.icon-box-stat {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #000000;
}

.icon-box-stat i {
  color: #ffffff;

}

.stat-number {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 2rem;
  color: #ffffff;
}

.stat-text {
  font-family: 'Roboto Slab', serif;
  color: #ffffff;
  margin: -0.7rem 0 0 4rem;
  text-align: center;
  font-size: 1rem;
}


/******** Testimonials Section *********/
.testimonial-section {
  padding: 5rem 2rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-container {
  max-width: 800px;
  width: 100%;
  position: relative;
}

.testimonial-container h2 {
  font-family: 'Roboto Slab', serif;
  color: #0F2BC9;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.testimonial-container .testimonial-subtext {
  font-family: 'Roboto Slab', serif;
  color: #555;
  margin-bottom: 3rem;
}

.testimonial {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}


.testimonial.active {
  display: block;
  opacity: 1;
}

.testimonial blockquote {
  margin: 0;
  background: #ffffff;
  padding: 40px 60px 40px 60px;
  position: relative;
  border-radius: 12px;
  font-size: 1.2rem;
  font-style: italic;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.testimonial blockquote i.fa-quote-left {
  position: absolute;
  color: #0F2BC9;
  font-size: 32px;
  top: 0;
  left: 20px;
}


.testimonial blockquote i.fa-quote-right {
  position: absolute;
  color: #0F2BC9;
  bottom: 0;
  right: 20px;
  font-size: 32px;
}

.testimonial div {
  width: 0;
  height: 0;
  border-left: 0 solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #ffffff;
  margin: 0 0 0 60px;
}

.testimonial p {
  margin: 12px 0 0 0;
  text-align: left;
  color: #0F2BC9;
  font-weight: 600;
  font-family: 'Roboto Slab', serif;
}


/***** Media Query *****/
/***** Large tablets and small desktops (≤1200px) ******/
@media (max-width: 1200px) {
  .hero-section {
    padding: 110px 20px 110px 80px;
  }

  .category-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .category-card .acceptButton {
    font-size: 0.95rem;
  }

  .stat-number {
    font-size: 1.9rem;
  }

  .stat-text {
    font-size: 0.95rem;
  }

  .hero-label {
    font-size: 0.95rem;
  }

  .hero-buttons .btn {
    font-size: 1.05rem;
  }

  .testimonial blockquote {
    font-size: 1rem;
  }

  .categories-section h2 {
    font-size: 2.2rem;
  }

  .testimonial-container h2 {
    font-size: 2.2rem;
  }
}

/***** Tablets in portrait & smaller laptops (≤991px) ******/
@media (max-width: 991px) {
  .hero-label {
    padding: 3px 10px;
    margin-bottom: 10px;
  }

  .categories-description {
    max-width: 800px;
  }

  .category-card .acceptButton {
    font-size: 0.9rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-text {
    font-size: 0.9rem;
  }

  .hero-label {
    font-size: 0.9rem;
  }

  .hero-buttons .btn {
    font-size: 1rem;
  }
}

/***** Standard tablets & landscape phones (≤768px) ******/
@media (max-width: 768px) {
  .hero-label {
    padding: 3px 10px;
    margin-bottom: 10px;
  }

  .category-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-description {
    max-width: 800px;
  }

  .category-card .acceptButton {
    font-size: 0.85rem;
  }

  .stat-number {
    font-size: 1.7rem;
  }

  .stat-text {
    font-size: 0.85rem;
  }

  .hero-label {
    font-size: 0.85rem;
  }

  .hero-buttons .btn {
    font-size: 0.95rem;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }
}

/***** Large smartphones & phablets (≤617px) ******/
@media (max-width: 617px) {
  .hero-label {
    padding: 3px 10px;
    margin-bottom: 10px;
  }

  .category-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    width: 80%;
  }

  .categories-description {
    max-width: 800px;
  }

  .hero-buttons .btn {
    display: inline-block;
    min-width: 250px;
    height: auto;
    line-height: 50px;
    margin: 0 10px 10px 0;
    padding: 0 30px;

  }

  .stats-section {
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
  }

  .stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    margin: 0;
    max-width: 700px;
  }

  .stat-top {
    gap: 1rem;
  }

  .media {
    margin-left: -25px;
  }

  .testimonial p {
    margin: 12px 0 0 0;
  }

  .category-card .acceptButton {
    font-size: 0.8rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-text {
    font-size: 0.8rem;
  }

  .hero-buttons .btn {
    font-size: 0.9rem;
  }

  .hero-label {
    font-size: 0.8rem;
  }

  .hero-background .floating-icon {
    font-size: 1.4rem;
  }
}

/***** Small smartphones (≤450px) ******/
@media (max-width: 450px) {
  .hero-label {
    padding: 3px 10px;
    margin-bottom: 10px;
  }

  .hero-section {
    padding: 80px 20px 100px 40px;
    height: auto;
  }

  .category-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }

  .categories-description {
    max-width: 800px;
  }

  .hero-buttons .btn {
    display: flex;
    flex-direction: column;
    min-width: 250px;
    height: auto;
    line-height: 50px;
    margin: 0 10px 15px 10px;
    padding: 0 20px;

  }

  .stats-section {
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
  }

  .stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    margin: 0;
    max-width: 700px;
  }

  .media {
    margin-left: -25px;
  }

  .testimonial p {
    margin: 12px 0 0 0;
  }

  .stat-text {
    margin: -0.7rem 0 0 4rem;
  }

  .category-card .acceptButton {
    font-size: 0.75rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-text {
    font-size: 0.75rem;
  }

  .hero-label {
    font-size: 0.75rem;
  }

  .hero-buttons .btn {
    font-size: 0.85rem;
  }

  .testimonial blockquote {
    font-size: 0.95rem;
  }

  .hero-background .floating-icon {
    font-size: 1.3rem;
  }

  .categories-section h2 {
    font-size: 1.8rem;
  }

  .testimonial-container h2 {
    font-size: 1.8rem;
  }

  .hero-section h1 {
    font-size: 2rem;
    font-weight: 600;
  }

.hero-section p {
  font-size: 0.95rem;
}
}

/***** Extra small phones & older devices (≤365px) ******/
@media (max-width: 365px) {
  .hero-label {
    padding: 3px 10px;
    margin-bottom: 10px;
  }

  .hero-section {
    padding: 80px 20px 100px 20px;
    height: auto;
  }

  .category-card .acceptButton {
    font-size: 0.85rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-text {
    font-size: 0.7rem;
  }

  .hero-label {
    font-size: 0.7rem;
  }

  .category-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }

  .categories-description {
    max-width: 800px;
  }

  .hero-buttons .btn {
    display: flex;
    flex-direction: column;
    min-width: 250px;
    height: auto;
    line-height: 50px;
    margin: 0 10px 15px 10px;
    padding: 0 20px;

  }

  .stats-section {
    padding: 2rem 0rem;
  }

  .stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    margin: 0;
    padding: 0 20px 0 20px;
    max-width: 700px;
  }

  .media {
    margin-left: -20px;
  }

  .testimonial p {
    margin: 12px 0 0 0;
  }

  .stat-text {
    margin: -0.7rem 0 0 4rem;
  }

  .hero-buttons .btn {
    font-size: 0.8rem;
  }

  .testimonial blockquote {
    font-size: 0.85rem;
  }

  .category-card h3 {
    font-size: 1.4rem;
  }

  .category-card p {
    font-size: 0.85rem;
  }


  .categories-section h2 {
    font-size: 1.6rem;
  }

  .testimonial-container h2 {
    font-size: 1.6rem;
  }

  .hero-section h1 {
    font-size: 1.7rem;
  }

.hero-section p {
  font-size: 0.85rem;
}
}