* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

ul {
  margin: 0;
  padding: 0;
}



/* =========================================================
   POPUP OVERLAY
======================================================== */

.popup-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* =========================================================
   ACTIVE OVERLAY
========================================================= */

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* =========================================================
   MAIN POPUP
========================================================= */

.popup-slider {
  position: relative;
  /*
        PROFESSIONAL DESKTOP WIDTH
    */
  width: fit-content;
  /*
        Maximum width prevents oversized popup
    */
  max-width: 720px;
  /*
        Never become too tall
    */
  max-height: 82vh;
  /*
        IMAGE RATIO
        3:4 PORTRAIT
    */
  aspect-ratio: 3 / 4;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: scale(0.82) translateY(20px);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.17, 0.67, 0.3, 1.3),
    opacity 0.35s ease;
}

/* =========================================================
   POPUP OPEN ANIMATION
========================================================= */

.popup-overlay.active .popup-slider {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* =========================================================
   IMAGE WRAPPER
========================================================= */

.popup-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--primary);
}

/* =========================================================
   POPUP IMAGE
========================================================= */

.popup-image-wrapper #popupImage {
  position: absolute;
  inset: 0;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.4s ease,
    transform 5s ease;
}

/* =========================================================
   IMAGE ZOOM
========================================================= */

.popup-image.zoom {
  transform: scale(1.045);
}

/* =========================================================
   BOTTOM IMAGE GRADIENT
========================================================= */

.image-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.62) 30%,
      rgba(0, 0, 0, 0.22) 65%,
      rgba(0, 0, 0, 0) 100%);
}

/* =========================================================
   POPUP CONTENT
========================================================= */

.popup-content {
  position: absolute;
  left: 35px;
  right: 35px;
  bottom: 32px;
  z-index: 5;
  text-align: center;
  color: var(--white);
  pointer-events: none;
}

/* =========================================================
   TITLE
========================================================= */

.popup-title {
  position: relative;
  margin: 0 0 8px 0;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffffff;
  top: 85%;
  text-align: center;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.55);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 9999999;
}

/* =========================================================
   CLOSE BUTTON
========================================================= */

.popup-close {
  position: absolute;
  top: -17px;
  right: -17px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.32);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* CLOSE HOVER */

.popup-close:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
}

/* =========================================================
   SIDE NAVIGATION BUTTONS
========================================================= */

.slider-btn {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.25);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* =========================================================
   PREVIOUS BUTTON
========================================================= */

.prev-btn {
  left: -25px;

  transform: translateY(-50%);
}

/* =========================================================
   NEXT BUTTON
========================================================= */

.next-btn {
  right: -25px;

  transform: translateY(-50%);
}

/* =========================================================
   BUTTON HOVER
========================================================= */

.slider-btn:hover {
  background: var(--secondary);

  color: var(--primary);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* PREVIOUS HOVER */

.prev-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

/* NEXT HOVER */

.next-btn:hover {
  transform: translateY(-50%) scale(1.08);
}

/* =========================================================
   SLIDE COUNTER
========================================================= */

.slide-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 20;
  padding: 7px 13px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.42);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* =========================================================
   SLIDER DOTS
========================================================= */

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

/* =========================================================
   INDIVIDUAL DOT
========================================================= */

.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 20px;
  background: #71192873;
  cursor: pointer;
  transition:
    width 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

/* ACTIVE DOT */

.slider-dot.active {
  width: 26px;
  background: var(--secondary);
  transform: scale(1.02);
}

/* =========================================================
   SLIDE NEXT ANIMATION
========================================================= */

.slide-next {
  animation: slideNext 0.5s ease forwards;
}

@keyframes slideNext {
  0% {
    opacity: 0;
    transform: translateX(35px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* =========================================================
   SLIDE PREVIOUS ANIMATION
========================================================= */

.slide-prev {
  animation: slidePrev 0.5s ease forwards;
}

@keyframes slidePrev {
  0% {
    opacity: 0;
    transform: translateX(-35px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
  .popup-slider {
    width: fit-content;
    max-width: 620px;
    max-height: 82vh;
  }

  .popup-content {
    left: 30px;
    right: 30px;
    bottom: 28px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .popup-overlay {
    padding: 20px;
  }

  .popup-slider {
    width: fit-content;
    max-width: 500px;
    max-height: 82vh;
    aspect-ratio: 3 / 4;
    border-radius: 15px;
  }

  .popup-image-wrapper {
    border-radius: 15px;
  }

  .popup-content {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .popup-title {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .popup-subtitle {
    font-size: 12px;
    line-height: 1.4;
  }

  .popup-close {
    width: 40px;
    height: 40px;
    top: -13px;
    right: -13px;
    font-size: 23px;
  }

  .slider-btn {
    width: 41px;
    height: 41px;
    font-size: 19px;
  }

  .prev-btn {
    left: -18px;
  }

  .next-btn {
    right: -18px;
  }

  .slide-counter {
    top: 15px;
    left: 15px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .slider-dots {
    bottom: -30px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .popup-overlay {
    padding: 15px;
  }

  .popup-slider {
    width: fit-content;
    max-width: 400px;
    max-height: 78vh;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
  }

  .popup-image-wrapper {
    border-radius: 14px;
  }

  .popup-close {
    width: 38px;
    height: 38px;
    top: -12px;
    right: -12px;
    font-size: 21px;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .prev-btn {
    left: -12px;
  }

  .next-btn {
    right: -12px;
  }

  .popup-content {
    left: 16px;
    right: 16px;
    bottom: 18px;
  }

  .popup-title {
    font-size: 17px;
    line-height: 1.25;
  }

  .popup-subtitle {
    display: none;
  }

  .image-gradient {
    height: 45%;
  }

  .slide-counter {
    top: 12px;
    left: 12px;
    font-size: 10px;
    padding: 5px 9px;
  }

  .slider-dots {
    bottom: -27px;
    gap: 6px;
  }

  .slider-dot {
    width: 7px;
    height: 7px;
  }

  .slider-dot.active {
    width: 21px;
  }
}

/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {
  .popup-slider {
    width: fit-content;
    max-height: 75vh;
  }

  .popup-close {
    width: 35px;
    height: 35px;
    top: -10px;
    right: -10px;
    font-size: 19px;
  }

  .slider-btn {
    width: 33px;
    height: 33px;
    font-size: 15px;
  }

  .prev-btn {
    left: -10px;
  }

  .next-btn {
    right: -10px;
  }
}

/* =========================================================
   KEYBOARD ACCESSIBILITY
========================================================= */

.popup-close:focus-visible,
.slider-btn:focus-visible,
.slider-dot:focus-visible {
  outline: 3px solid var(--popup-accent);
  outline-offset: 3px;
}

/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .popup-overlay,
  .popup-slider,
  .popup-image,
  .popup-title,
  .popup-subtitle,
  .popup-close,
  .slider-btn,
  .slider-dot {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================
   MAIN HERO
========================================= */

body .home {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-content: start;
  justify-content: center;
  background-image: url(../Uploads/main-hero-section-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-inline: 3%;
}

body .home .main-content {
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--text);
  display: flex;
  flex-direction: column;
  padding: 20px 0px 20px 25px;
  align-self: center;
  justify-content: center;
}

body .home .main-content .heading h3 {
  font-family: "Aladin", system-ui;
  color: var(--secondary-dark);
  font-size: 3rem;
  margin-block-start: 1rem;
  line-height: 80%;
}

body .home .main-content .heading h1 {
  font-size: 4rem;
  padding: 0;
  font-family: sans-serif;
  line-height: 70%;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--primary);
}

body .home .main-content .heading h2 {
  color: var(--secondary-dark);
  font-size: 3rem;
  letter-spacing: -2px;
}

body .home .main-content .heading hr {
  width: 40%;
  border: 3px solid var(--primary);
  border-radius: 5px;
  margin-top: -5px;
  opacity: 1;
}

body .home .main-content .title {
  position: relative;
  font-size: 34px;
  font-weight: 500;
}

body .home .main-content .text {
  position: relative;
  font-size: 20px;
  color: var(--text2);
}

body .home .main-content .text p {
  margin: 0;
}

.main-content-btn {
  display: flex;
  gap: 5px;
  align-items: center;
}

.empty-fill {
  --size-letter: 18px;
  padding: 0.4em 0.5em;
  font-size: var(--size-letter);
  background-color: transparent;
  border: calc(var(--size-letter) / 6) solid var(--primary);
  border-radius: 0.5em;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: 300ms cubic-bezier(0.83, 0, 0.17, 1);
}

.empty-fill>.text {
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: color 700ms cubic-bezier(0.83, 0, 0.17, 1);
}

.empty-fill::before {
  top: 0;
  left: 0;
}

.empty-fill::after {
  top: 100%;
  left: 100%;
}

.empty-fill::before,
.empty-fill::after {
  content: "";
  width: 150%;
  aspect-ratio: 1/1;
  scale: 0;
  transition: 1000ms cubic-bezier(0.76, 0, 0.24, 1);
  background-color: var(--primary);
  border-radius: 50%;
  position: absolute;
  translate: -50% -50%;
}

.empty-fill:hover {
  &>span {
    color: var(--lastClr);
  }

  &::before,
  &::after {
    scale: 1;
  }
}

.empty-fill:active {
  scale: 0.98;
  filter: brightness(0.9);
}

.main-content .empty-fill .text {
  color: var(--primary) !important;
}

.main-content .empty-fill:hover .text {
  color: var(--secondary) !important;
}

.home .rightSideContent {
  position: relative;
  display: flex;
  align-items: end;
  flex-direction: row;
  justify-content: center;
  gap: 15px;
  height: 85%;
  margin-top: 5%;
}

.home .rightSideContent .MainCards {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 150px;
  width: 140px;
  border-radius: 10px;
  background: #ffdfb0aa;
  backdrop-filter: blur(3px);
  border: 2px solid var(--primary-light);
  color: var(--primary-light);
  font-family: sans-serif;
  cursor: pointer;
}

.home .rightSideContent .MainCards:hover {
  box-shadow: 0px 0px 4px 2px var(--primary-light);
  backdrop-filter: blur(5px);
}

.home .rightSideContent .MainCards ul {
  font-size: 30px;
  color: var(--primary-light);
  padding: 0;
  margin: 0;
}

.home .rightSideContent .MainCards .title {
  font-size: 18px;
  line-height: 95%;
  font-weight: 900;
}

.home .rightSideContent .MainCards .text {
  font-weight: 400;
  color: var(--primary-dark);
  font-size: 16px;
  margin: 0;
}

.scrolldiv {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: var(--primary);
  backdrop-filter: blur(5px);
  box-shadow: -2px -2px 5px var(--primary);
  padding-block: 10px;
}

.scrolldiv .listOfDate {
  position: relative;
  width: 85%;
  display: grid;
  grid-auto-flow: column;
  place-items: center;
  grid-template-columns: auto;
  border: 1px solid var(--secondary);
  background: transparent;
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding-inline: 10px;
  flex-wrap: wrap;
}

.scrolldiv .listOfDate .dataCards {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80%;
  color: #fff;
  width: fit-content;
  transition: var(--transition);
}

.scrolldiv .listOfDate .dataCards .icons {
  height: fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.scrolldiv .listOfDate .dataCards .icons .group {
  filter: brightness(0) saturate(100%) invert(72%) sepia(98%) saturate(1597%) hue-rotate(359deg) brightness(101%) contrast(103%);
}

.scrolldiv .listOfDate .dataCards .content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.scrolldiv .listOfDate .dataCards .content .title {
  font-size: 24px;
  margin: 0;
}

.scrolldiv .listOfDate .dataCards .content .text {
  font-size: 18px;
  color: #ccc;
  margin: 0;
}

.path-section {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #faf9f6;
  padding-block: 2rem;
  gap: 40px;
}

.path-section h2 {
  color: var(--primary);
  font-size: 35px;
  font-weight: 900;
  font-family: sans-serif;
}

.path-section .cards-content {
  height: 100%;
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
}

.path-section .cards-content .card {
  position: relative;
  height: 280px;
  width: 250px;
  background: #f3f8f2;
  border: 1px solid var(--secondary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  padding-block-end: 10px;
  box-shadow: 0px 0px 10px 2px #00000060;
  transition: 0.2s;
  margin-block: 5px;
}

.path-section .cards-content .card:hover {
  border: 3px solid #ffa900;
  box-shadow: 0px 0px 15px 4px #00000060;
}

.path-section .cards-content .card .icons {
  height: fit-content;
  position: relative;
  top: 10px;
}

.path-section .cards-content .card .content {
  color: var(--primary);
  width: 100%;
}

.path-section .cards-content .card .content .title {
  font-size: 32px;
}

.path-section .cards-content .card button {
  height: 40px;
  font-size: 20px;
  gap: 5px;
  transition: 0.3s;
}

.path-section .cards-content .card button i {
  transition: 0.3s;
}

.path-section .cards-content .card button:hover {
  box-shadow: 0px 0px 2px 1px #ffa900;
}

.path-section .cards-content .card button:hover i {
  transform: translateX(5px);
}

/* ==========================================
   WHY CHOOSE HERITAGE
========================================== */

.why-heritage {
  padding: 20px 2%;
  background: #eff3ee;
}

.why-heritage .container {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.6fr 0.8fr;
  align-items: center;
  gap: 70px;
  padding-inline: 60px;
  border-radius: 20px;
}

/* ===========================
  IMAGE
  =========================== */

.why-image {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #000;
}

.why-image img {
  width: 100%;
  height: 600px;
  display: block;
  border-radius: 22px;
  transition: 0.5s;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.why-image:hover img {
  transform: scale(1.05);
}

/* ===========================
   TAG
=========================== */

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-dark);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
}

.section-tag::after {
  content: "";
  width: 55px;
  height: 2px;
  background: var(--secondary);
}

/* ===========================
   TITLE
=========================== */

.why-content h2 {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

/* ===========================
   DESCRIPTION
=========================== */

.why-content p {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.2;
  margin-bottom: 35px;
}

/* ===========================
   FEATURES
=========================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 30px;
  margin-bottom: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: 0.35s;
}

.feature-item:hover {
  transform: translateX(8px);
}

.feature-item i {
  color: var(--secondary);
  font-size: 18px;
}

.feature-item span {
  color: var(--primary);
  font-weight: 500;
  line-height: 1.5;
}

/* ===========================
   BUTTON
=========================== */

.heritage-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: #fff;
  padding: 15px 34px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.35s;
  box-shadow: 0 12px 25px rgba(0, 53, 55, 0.2);
}

.heritage-btn i {
  transition: 0.35s;
}

.heritage-btn:hover {
  background: var(--secondary);
  color: var(--primary);
}

.heritage-btn:hover i {
  transform: translateX(5px);
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 992px) {
  .why-heritage .container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .why-content h2 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {

  .path-section h2 {
    text-align: center;
    padding-inline: 10px;
  }

  .path-section .cards-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
  }

  .path-section .cards-content .card {
    align-items: start;
    flex-wrap: wrap;
    text-align: start;
    height: 180px;
    padding-inline-start: 20px;
  }

  .path-section .cards-content .card .icons {
    height: 100% !important;
    display: flex;
  }

  .path-section .cards-content .card .icons img {
    align-self: center;
  }

  .path-section .cards-content .card .content,
  .path-section .cards-content .card .title {
    width: 70%;
  }

  .why-heritage {
    padding: 70px 25px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .why-content h2 {
    font-size: 32px;
  }

  .why-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .why-content h2 {
    font-size: 28px;
  }

  .heritage-btn {
    width: 100%;
    justify-content: center;
  }

  .why-heritage .container {
    padding-inline: 0;
  }
}

/*====================================
      ACADEMY SECTION
====================================*/

.academy {
  width: 100%;
  background: #fff;
  padding: 80px 6%;
  font-family: "Poppins", sans-serif;
}

/*==========================
    Section Heading
==========================*/

.academy .section-title {
  text-align: center;
  margin-bottom: 35px;
}

.academy .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.academy .section-title h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--secondary);
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-radius: 20px;
}

.academy .light h2 {
  color: #fff;
}

/*==========================
    Language Cards
==========================*/

.academy .language-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 70px;
}

.academy .language-grid .course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: 0.35s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.academy .language-grid .course-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 18px 40px rgba(0, 53, 55, 0.12);
}

.academy .language-grid .course-card .icon {
  width: 65px;
  height: 65px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
}

.academy .language-grid .course-card:hover .icon {
  background: var(--secondary);
  color: var(--primary);
}

.academy .language-grid .course-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 5px;
}

.academy .language-grid .course-card p {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 8px;
}

.academy .language-grid .course-card a {
  color: var(--secondary-dark);
  text-decoration: none;
  font-weight: 600;
}

/*==========================
   Computer Section
==========================*/

.academy .computer-section {
  position: relative;
  background: #711928;
  border-radius: 18px;
  padding: 70px 40px;
}

.academy .computer-section .computer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.academy .computer-section .computer-grid .computer-card {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 22px;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  transition: 0.35s;
}

.academy .computer-section .computer-grid .computer-card:hover {
  background: #ffffff;
  transform: translateY(-8px);
}

.academy .computer-section .computer-grid .computer-card i {
  color: #ffa900;
  font-size: 30px;
  width: 40px;
}

.academy .computer-section .computer-grid .computer-card h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 6px;
  transition: 0.3s;
}

.academy .computer-section .computer-grid .computer-card p {
  color: #d6d6d6;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  transition: 0.3s;
}

.academy .computer-section .computer-grid .computer-card a {
  color: #ffa900;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.academy .computer-section .computer-grid .computer-card:hover h3 {
  color: var(--primary);
}

.academy .computer-section .computer-grid .computer-card:hover p {
  color: var(--text2);
}

.academy .computer-section .computer-grid .computer-card:hover a {
  color: var(--primary);
}

/*====================================
      HOVER ANIMATIONS
====================================*/

.course-card,
.academy .computer-section .computer-grid .computer-card {
  transition: all 0.35s ease;
}

.course-card:hover {
  transform: translateY(-10px);
}

.course-card:hover a {
  color: #003537;
}

.course-card:hover .icon {
  transform: rotate(10deg) scale(1.08);
}

.computer-card:hover i {
  transform: scale(1.15);
}

.academy .computer-section .computer-grid .computer-card:hover {
  border-color: #ffa900;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/*====================================
      BUTTON LINK EFFECT
====================================*/

.course-card a,
.academy .computer-section .computer-grid .computer-card a {
  position: relative;
  display: inline-block;
}

.course-card a::after,
.academy .computer-section .computer-grid .computer-card a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #ffa900;
  transition: 0.35s;
}

.course-card:hover a::after,
.academy .computer-section .computer-grid .computer-card:hover a::after {
  width: 100%;
}

/*====================================
      TABLET
====================================*/

@media (max-width: 1200px) {
  .home {
    display: flex;
    flex-direction: column;
    min-height: fit-content;
  }

  .home .main-content {
    width: 100%;
    max-height: fit-content;
    align-items: center;
    text-align: center;
    top: 30px;
  }

  .home .main-content hr {
    place-self: center;
  }

  .scrolldiv {
    border: none;
  }

  .scrolldiv .listOfDate {
    width: 100%;
    grid-auto-flow: column;
    height: fit-content;
    /* grid-template-columns: repeat(3, 1fr); */
  }

  .home .rightSideContent {
    top: 30px;
    height: fit-content;
    align-items: center;
    margin: 0;
  }

  .academy .language-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .academy .computer-section .computer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .scrolldiv .listOfDate {
    width: 75%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    border: none;
  }

  .scrolldiv .listOfDate .dataCards {
    min-width: max-content;
  }
}

/*====================================
      MOBILE
====================================*/

@media (max-width: 768px) {
  body .home {
    background-position: top calc(10% - right);
    min-height: 900px;
  }

  .home .rightSideContent {
    max-width: 500px;
    flex-wrap: wrap;
    justify-content: center;
    place-self: center;
  }

  .scrolldiv .listOfDate {
    width: 100%;
  }

  .academy {
    padding: 60px 20px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .academy .language-grid,
  .academy .computer-section .computer-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    padding: 22px;
  }

  .course-card .icon {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }

  .course-card h3 {
    font-size: 18px;
  }

  .course-card p {
    font-size: 13px;
  }

  .computer-section {
    padding: 45px 20px;
  }

  .computer-card {
    padding: 18px;
  }

  .computer-card i {
    font-size: 26px;
  }

  .computer-card h3 {
    font-size: 18px;
  }

  .computer-card p {
    font-size: 13px;
  }
}

@media (max-width: 572px) {
  .scrolldiv .listOfDate {
    width: 100%;
    justify-content: space-around;
  }
}

/*====================================
      SMALL MOBILE
====================================*/

@media (max-width: 480px) {
  body .home {
    padding: 0px 0px 30px 0px;
    background-position: top calc(50% - right);
    min-height: 1200px;
  }

  body .home .main-content {
    padding: 0;
    padding-block-end: 16px;
  }

  .main-content-btn {
    gap: 10px;
  }

  .scrolldiv .listOfDate {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .scrolldiv .listOfDate .dataCards {
    width: 70%;
    margin-left: 10%;
    gap: 0;
    justify-content: start;
  }

  .scrolldiv .listOfDate .dataCards ul {
    margin-inline: 20px;
  }

  .path-section .cards-content .card .title {
    width: 80%;
    font-size: 24px !important;
  }

  .path-section .cards-content .card .content {
    position: relative;
    width: 50%;
  }

  .section-title {
    margin-bottom: 25px;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .course-card {
    flex-direction: column;
    text-align: center;

  }

  .course-card .icon {
    margin-bottom: 10px;
  }

  .computer-card {
    flex-direction: column;
    text-align: center;
  }

  .computer-card i {
    width: 100%;
    margin-bottom: 10px;
  }
}

/*====================================
      FADE ANIMATION
====================================*/

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-grid .course-card {
  animation: fadeUp 0.6s ease forwards;
}

.computer-grid .computer-card {
  animation: fadeUp 0.8s ease forwards;
}

/*==============================
    Admission Timeline
===============================*/

.process-section {
  padding: 80px 6%;
  background: #fff;
}

.process-section .title {
  text-align: center;
  color: #003537;
  font-size: 34px;
  margin-bottom: 60px;
  font-weight: 700;
}

.process-section .timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Main Line */

.process-section .timeline::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 18px;
  height: 3px;
  background: #ffa900;
  z-index: 1;
}

.process-section .timeline .step {
  width: 19%;
  position: relative;
  text-align: center;
  z-index: 2;
}

/* Number Circle */

.process-section .timeline .step .circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #003537;
  color: #fff;
  border: 3px solid #ffa900;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  margin: 0 auto;
}

/* Card */

.process-section .timeline .step .card {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 22px 15px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.process-section .timeline .step .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 53, 55, 0.15);
}

.process-section .timeline .step .card h3 {
  color: #003537;
  font-size: 18px;
  margin-bottom: 10px;
}

.process-section .timeline .step .card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive */

@media (max-width: 991px) {
  .timeline {
    flex-wrap: wrap;
  }

  .timeline::before {
    display: none;
  }

  .step {
    width: 48%;
    margin-bottom: 35px;
  }

  .path-section .cards-content .card {
    width: 220px;
  }

  .path-section .cards-content .card .content .text {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .step {
    width: 100%;
  }

  .path-section .cards-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .path-section .cards-content .card {
    width: 80%;
  }
}

/* =========================================================
   IMAGE GALLERY SLIDER
   Desktop  : Infinite horizontal slider
   Tablet   : 2 images visible
   Mobile   : ONE image at a time / carousel
========================================================= */


/* =========================================================
   MAIN SECTION
========================================================= */

.image-slider {
  width: 100%;
  position: relative;
  overflow: hidden;

  padding: 25px 0 30px;

  text-align: center;

  background: #eff3ee;
}


/* =========================================================
   HEADING
========================================================= */

.image-slider h2 {
  position: relative;

  margin: 0 0 18px;

  color: var(--secondary-dark);

  font-size: 32px;
  font-weight: 700;

  line-height: 1.2;
}


/* =========================================================
   SLIDER WRAPPER
========================================================= */

.image-slider .slider-wrapper {
  width: 100%;

  overflow: hidden;

  position: relative;
}


/* =========================================================
   SLIDER TRACK
========================================================= */

.image-slider .slider-track {

  display: flex;
  align-items: center;

  width: max-content;

  gap: 20px;

  padding: 5px 0;

  margin: 10px 0;

  animation: galleryInfinite 30s linear infinite;

  will-change: transform;

}


/* =========================================================
   IMAGES — DESKTOP
========================================================= */

.image-slider .slider-track img {

  width: 300px;
  height: 200px;
  min-width: 300px;
  flex: 0 0 300px;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  user-select: none;
  -webkit-user-drag: none;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}


/* =========================================================
   IMAGE HOVER
========================================================= */

.image-slider .slider-track img:hover {

  transform: scale(1.05);

}


/* =========================================================
   PAUSE DESKTOP ON HOVER
========================================================= */

.image-slider:hover .slider-track {

  animation-play-state: paused;

}


/* =========================================================
   DESKTOP INFINITE ANIMATION
========================================================= */

@keyframes galleryInfinite {

  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

}


/* =========================================================
   BUTTON
========================================================= */

.image-slider a {
  display: inline-block;

  margin-top: 15px;

  text-decoration: none;
}


.image-slider a .fill-btn {

  height: 42px;
  width: max-content;
  padding: 0 22px;

  border: none;

  border-radius: 6px;

  cursor: pointer;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

  .image-slider {
    padding: 22px 0 28px;
  }


  .image-slider h2 {
    font-size: 30px;
  }


  .image-slider .slider-track {

    gap: 15px;

    animation-duration: 26s;

  }


  .image-slider .slider-track img {

    width: 270px;

    min-width: 270px;

    flex-basis: 270px;

    height: 180px;

    border-radius: 14px;

  }

}


/* =========================================================
   MOBILE
   ONE IMAGE ONLY
========================================================= */

@media (max-width: 576px) {


  /* -----------------------------------------
     SECTION
  ----------------------------------------- */

  .image-slider {

    width: 100%;

    padding: 20px 0 25px;

    overflow: hidden;

  }


  /* -----------------------------------------
     HEADING
  ----------------------------------------- */

  .image-slider h2 {

    margin-bottom: 15px;

    font-size: 28px;

  }


  /* -----------------------------------------
     WRAPPER
  ----------------------------------------- */

  .image-slider .slider-wrapper {

    width: 100%;

    max-width: 100%;

    overflow: hidden;

  }


  /* -----------------------------------------
     TRACK

     IMPORTANT:
     No gap on mobile.
     Each image = exactly 100vw.
  ----------------------------------------- */

  .image-slider .slider-track {

    display: flex;

    gap: 0;

    width: max-content;

    padding: 0;

    margin: 0;

    /*
       Mobile animation
       one image → next image
    */

    animation:
      mobileGallerySlider 35s ease-in-out infinite;

    will-change: transform;

  }


  /* -----------------------------------------
     MOBILE IMAGE

     EXACTLY ONE IMAGE
  ----------------------------------------- */

  .image-slider .slider-track img {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    flex: 0 0 100vw !important;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
    padding: 0;
    transform: none !important;

  }


  /* -----------------------------------------
     REMOVE HOVER EFFECT MOBILE
  ----------------------------------------- */

  .image-slider .slider-track img:hover {

    transform: none !important;

  }


  /* -----------------------------------------
     MOBILE BUTTON
  ----------------------------------------- */

  .image-slider a {

    margin-top: 20px;

  }


  .image-slider a .fill-btn {

    height: 42px;
    width: max-content;

    padding: 0 20px;

  }


  /* -----------------------------------------
     MOBILE SLIDER

     10 ORIGINAL + 10 CLONES

     Image:
     1 → 2 → 3 → ... → 10
  ----------------------------------------- */

  @keyframes mobileGallerySlider {


    /* IMAGE 1 */

    0% {
      transform: translateX(0);
    }

    7% {
      transform: translateX(0);
    }


    /* IMAGE 2 */

    10% {
      transform: translateX(-100vw);
    }

    17% {
      transform: translateX(-100vw);
    }


    /* IMAGE 3 */

    20% {
      transform: translateX(-200vw);
    }

    27% {
      transform: translateX(-200vw);
    }


    /* IMAGE 4 */

    30% {
      transform: translateX(-300vw);
    }

    37% {
      transform: translateX(-300vw);
    }


    /* IMAGE 5 */

    40% {
      transform: translateX(-400vw);
    }

    47% {
      transform: translateX(-400vw);
    }


    /* IMAGE 6 */

    50% {
      transform: translateX(-500vw);
    }

    57% {
      transform: translateX(-500vw);
    }


    /* IMAGE 7 */

    60% {
      transform: translateX(-600vw);
    }

    67% {
      transform: translateX(-600vw);
    }


    /* IMAGE 8 */

    70% {
      transform: translateX(-700vw);
    }

    77% {
      transform: translateX(-700vw);
    }


    /* IMAGE 9 */

    80% {
      transform: translateX(-800vw);
    }

    87% {
      transform: translateX(-800vw);
    }


    /* IMAGE 10 */

    90% {
      transform: translateX(-900vw);
    }

    94% {
      transform: translateX(-900vw);
    }


    /*
       Move to clone of IMAGE 1

       Because images are duplicated,
       this position looks exactly like
       the starting position.
    */

    100% {
      transform: translateX(-1000vw);
    }

  }


}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {


  .image-slider {

    padding-top: 18px;

  }


  .image-slider h2 {

    font-size: 26px;

  }


  .image-slider .slider-track img {

    width: 100vw !important;

    min-width: 100vw !important;

    flex-basis: 100vw !important;

    aspect-ratio: 3 / 2;

    border-radius: 0;

  }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

  .image-slider h2 {

    font-size: 24px;

  }


  .image-slider .slider-track img {

    aspect-ratio: 4 / 3;

  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .image-slider .slider-track {

    animation: none;

  }

}

/* =========================================================
   HERITAGE INSTITUTE
   GOOGLE REVIEWS / TESTIMONIALS
   FULL REUSABLE CSS
   Uses existing :root variables
========================================================= */


/* =========================================================
   SECTION
========================================================= */

.reviews-section {
  width: 100%;
  position: relative;
  overflow: hidden;

  padding: 90px 0;

  background: var(--light-bg);
}


/* =========================================================
   SECTION HEADER
========================================================= */

.reviews-header {
  max-width: 720px;

  margin: 0 auto 30px;

  text-align: center;
}


/* Small Label */

.reviews-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 7px 16px;

  margin-bottom: 14px;

  border-radius: 50px;

  background: var(--secondary-light);

  color: var(--primary);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 1.2px;

  text-transform: uppercase;
}


/* Main Heading */

.reviews-title {
  margin: 0;

  color: var(--primary);

  font-size: clamp(32px, 4vw, 48px);

  font-weight: 800;

  line-height: 1.15;
}


/* Description */

.reviews-description {
  max-width: 650px;

  margin: 15px auto 0;

  color: var(--text2);

  font-size: 16px;

  line-height: 1.7;
}


/* =========================================================
   GOOGLE RATING
========================================================= */

.google-rating {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 14px;

  margin: 0 auto 35px;
}


/* Google Box */

.google-rating-logo {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius-sm);

  background: var(--white);

  box-shadow: var(--shadow-sm);
}


/* Google G */

.google-g {
  font-family: Arial, sans-serif;

  font-size: 27px;

  font-weight: 800;

  color: var(--primary);
}


/* Rating Content */

.google-rating-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 3px;
}


/* Rating Top */

.google-rating-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 9px;

  color: var(--primary);

  font-size: 14px;
}


/* Stars */

.rating-stars {
  color: var(--secondary);

  font-size: 15px;

  letter-spacing: 1px;
}


/* Rating Number */

.rating-number {
  font-weight: 800;
}


/* Rating Label */

.rating-label {
  color: var(--muted);

  font-size: 12px;
}


/* =========================================================
   SLIDER WRAPPER
========================================================= */

.reviews-slider-wrapper {
  width: 100%;

  overflow: hidden;

  position: relative;
}


/* =========================================================
   SLIDER
========================================================= */

.reviews-slider {
  display: flex;

  gap: 22px;

  width: 100%;

  transition:
    transform var(--transition);

  will-change: transform;
}


/* =========================================================
   REVIEW CARD
========================================================= */

.review-card {
  position: relative;

  flex: 0 0 calc((100% - 44px) / 3);

  min-width: 0;

  padding: 26px;

  background: var(--white);

  border: 1px solid var(--border3);

  border-radius: var(--radius-md);

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}


/* Card Hover */

.review-card:hover {
  transform: translateY(-7px);

  border-color: var(--secondary);

  box-shadow: var(--shadow-md);
}


/* =========================================================
   TOP SECTION
========================================================= */

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  margin-bottom: 18px;
}


/* =========================================================
   REVIEWER
========================================================= */

.reviewer-info {
  display: flex;
  align-items: center;

  gap: 12px;

  min-width: 0;
}


/* Avatar */

.reviewer-avatar {
  width: 46px;
  height: 46px;

  flex: 0 0 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    linear-gradient(135deg,
      var(--primary),
      var(--primary-light));

  color: var(--white);

  font-size: 14px;

  font-weight: 800;

  text-transform: uppercase;

  box-shadow:
    0 5px 15px rgba(113, 25, 40, 0.18);
}


/* Reviewer Name */

.reviewer-name {
  margin: 0;

  color: var(--primary);

  font-size: 15px;

  font-weight: 750;

  line-height: 1.3;
}


/* Review Date */

.reviewer-time {
  display: block;

  margin-top: 4px;

  color: var(--muted);

  font-size: 11px;
}


/* =========================================================
   GOOGLE ICON
========================================================= */

.review-google-icon {
  width: 32px;
  height: 32px;

  flex: 0 0 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius-sm);

  background: var(--light);

  color: var(--primary);

  font-family: Arial, sans-serif;

  font-size: 17px;

  font-weight: 800;
}


/* =========================================================
   STARS
========================================================= */

.review-stars {
  display: flex;
  align-items: center;

  gap: 3px;

  margin-bottom: 13px;

  color: var(--secondary);

  font-size: 14px;

  letter-spacing: 1px;
}


/* =========================================================
   REVIEW TEXT
========================================================= */

.review-text {
  position: relative;

  min-height: 100px;

  margin: 0;

  color: var(--text);

  font-size: 14px;

  line-height: 1.75;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 22px;

  padding-top: 16px;

  border-top: 1px solid var(--border3);
}


/* Source */

.review-source {
  color: var(--muted);

  font-size: 11px;

  font-weight: 600;
}


/* Heart */

.review-heart {
  color: var(--primary);

  font-size: 14px;

  transition:
    color var(--transition),
    transform var(--transition);
}


.review-card:hover .review-heart {
  color: var(--secondary-dark);

  transform: scale(1.15);
}


/* =========================================================
   CONTROLS
========================================================= */

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 14px;

  margin-top: 30px;
}


/* Arrow Button */

.review-control {
  width: 43px;
  height: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 1px solid var(--border);

  border-radius: 50%;

  background: var(--white);

  color: var(--primary);

  cursor: pointer;

  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}


/* Arrow Hover */

.review-control:hover {
  background: var(--primary);

  border-color: var(--primary);

  color: var(--white);

  transform: translateY(-2px);

  box-shadow: var(--shadow-sm);
}


/* Arrow Active */

.review-control:active {
  transform: scale(0.92);
}


/* =========================================================
   DOTS
========================================================= */

.reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 6px;
}


/* Dot */

.review-dot {
  width: 7px;
  height: 7px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background: var(--border);

  cursor: pointer;

  transition:
    width var(--transition),
    background var(--transition);
}


/* Active Dot */

.review-dot.active {
  width: 23px;

  border-radius: 50px;

  background: var(--primary);
}


/* =========================================================
   VIEW ALL BUTTON
========================================================= */

.reviews-footer {
  display: flex;

  align-items: center;
  justify-content: center;

  margin-top: 30px;
}


/* Button */

.reviews-view-all {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 46px;

  padding: 0 22px;

  border: 1px solid var(--primary);

  border-radius: var(--radius-sm);

  background: var(--primary);

  color: var(--white);

  text-decoration: none;

  font-size: 14px;

  font-weight: 700;

  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}


/* Button Hover */

.reviews-view-all:hover {
  background: var(--secondary);

  border-color: var(--secondary);

  color: var(--primary);

  transform: translateY(-3px);

  box-shadow: var(--shadow-sm);
}


/* Icon */

.reviews-view-all i {
  font-size: 12px;

  transition:
    transform var(--transition);
}


.reviews-view-all:hover i {
  transform: translate(2px, -2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

  .reviews-section {
    padding: 75px 0;
  }


  .review-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }


  .reviews-slider {
    gap: 22px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .reviews-section {
    padding: 60px 0;
  }


  .reviews-header {
    margin-bottom: 25px;
  }


  .reviews-title {
    font-size: 34px;
  }


  .reviews-description {
    padding: 0 10px;

    font-size: 14px;

    line-height: 1.65;
  }


  /* Google rating */

  .google-rating {
    margin-bottom: 25px;
  }


  /* Slider */

  .reviews-slider {
    gap: 15px;
  }


  /* One card */

  .review-card {
    flex: 0 0 100%;

    padding: 22px;

    border-radius: var(--radius);
  }


  .review-card:hover {
    transform: none;
  }


  .review-text {
    min-height: auto;

    font-size: 13.5px;
  }


  /* Controls */

  .reviews-controls {
    margin-top: 24px;
  }


  /* Button */

  .reviews-footer {
    margin-top: 25px;
  }


  .reviews-view-all {
    min-height: 44px;

    padding: 0 18px;

    font-size: 13px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

  .reviews-section {
    padding: 50px 0;
  }


  .reviews-title {
    font-size: 30px;
  }


  .reviews-eyebrow {
    font-size: 10px;

    padding: 6px 13px;
  }


  .google-rating-logo {
    width: 44px;
    height: 44px;
  }


  .google-g {
    font-size: 23px;
  }


  .google-rating-top {
    font-size: 12px;
  }


  .rating-stars {
    font-size: 13px;
  }


  .review-card {
    padding: 20px;
  }


  .reviewer-avatar {
    width: 42px;
    height: 42px;

    flex-basis: 42px;

    font-size: 12px;
  }


  .reviewer-name {
    font-size: 14px;
  }


  .review-text {
    font-size: 13px;

    line-height: 1.7;
  }


  .review-control {
    width: 38px;
    height: 38px;
  }

}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 360px) {

  .reviews-title {
    font-size: 27px;
  }


  .reviews-description {
    font-size: 13px;
  }


  .review-card {
    padding: 18px;
  }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .review-card,
  .review-control,
  .reviews-view-all,
  .reviews-slider,
  .review-dot,
  .review-heart {
    transition: none !important;
  }

}