*{
    margin: 0;
    padding: 0;

}
html, body {
  overflow-x: hidden;
}

*,*::before,*::after{
    box-sizing: border-box;
}

img{
    max-width: 100%;
    display:block;
}
a{
    text-decoration: none;
    color: inherit;
}
:root{
    --color-bg-main: #ffffff;
    --color-bg-sec: #f4f4f4;
    --color-comp-main: #830016;
    --color-comp-bg: #F4E0FF;
    --color-footer: #2F0008;
    --color-text-main: black;
    --font-base: 'Inter', sans-serif;
    --nav-height: 72px;
     --swirl-x: 0px;
  --swirl-rotate: 0deg;
  


}
body{
    font-family:var(--font-base);
    background-color: var(--color-bg-main);
    color:var(--color-text-main);
    line-height: 1.6;
    padding-top: var(--nav-height);

}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: var(--color-bg-main);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.site-header.nav-hidden {
  transform: translateY(-100%);
}

.site-header.nav-scrolled {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.navbar{
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--nav-height);
    width: 100%;
    top:0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.navbar-container{
    display: flex;  
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1rem;
    max-width: 1600px;
}
.logo{
    height: 3.5rem;
    max-height: fit-content;
    cursor:pointer;
}
.navbar-container .navtabs{
    display:flex;
    text-align: center;
    gap: 1.5rem;
    list-style: none;

}
.navbar-container .navtabs li a{
    color: #4C4B4B;
    font-size: 1.2rem;
    font-weight: 300;
    padding: 1rem 2rem;
    border-radius: 20px;
    white-space: nowrap;

}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}
.navbar-container .navtabs li a:hover{
    font-size: 1.3rem;
}
.container{
    max-width: 1200px;
    margin-inline: auto;
}
.hero-page {
    position: relative;
    background-color: var(--color-bg-sec);
    min-height: calc(100vh - var(--nav-height));
}
.hero-page::before {
  content: "";
  position: absolute;

  top: 0;
  right:-5rem;

  width: clamp(260px, 30vw, 420px);
  height: clamp(260px, 30vw, 420px);

  background-image: url("assets/corner-topright.svg");
  background-repeat: no-repeat;
  background-size: contain;
  transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
  transition: transform 0.08s linear;
}
.hero-page::after {
  content: "";
  position: absolute;

  left: -4rem;
  bottom: -4rem;

  width: clamp(140px, 18vw, 260px);
  height: clamp(140px, 18vw, 260px);

  background-image: url("assets/corner-bottomleft.svg");
  background-repeat: no-repeat;
  background-size: contain;

  z-index: 0;
  pointer-events: none;
  transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
  transition: transform 0.08s linear;
}



.hero-page::before,
.hero-page::after {
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}


.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  position: relative;
  z-index: 1;
}


.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-comp-main);
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.hero-btn:hover{
  transform: translateY(-2px);
  background-color: #b40d29;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
}

.hero-img {
    
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  transform: translateX(clamp(1rem, 4vw, 4rem));
  background-image: url("assets/redblob.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}
.hero-img img {
  position: relative;
  z-index: 1;
  max-height: calc(100vh - var(--nav-height));
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}
.hero-text h1 {
  font-size: clamp(3.2rem, 4.5vw, 4.2rem);
  line-height: 1.15;
  font-weight: 500;
  color: var(--color-comp-main);
  margin-bottom: 1.5rem;
}

.hero-text p {
  max-width: 420px;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: #4a4a4a;
}

.whyUs-page {
  position:relative;
  padding: 6rem 0;
  background-color: var(--color-bg-main);
  overflow: hidden;
}
.whyUs-page::before {
  content: "";
  position: absolute;

  top: 1rem;
  right: -10rem;

  width: clamp(260px, 30vw, 420px);
  height: clamp(260px, 30vw, 420px);

  background-image: url("assets/swirl-top-right.svg");
  background-repeat: no-repeat;
  background-size: contain;

  z-index: 0;
  pointer-events: none;
}
.whyUs-page::after {
  content: "";
  position: absolute;

  bottom: 1rem;
  left: -10rem;

  width: clamp(220px, 25vw, 360px);
  height: clamp(220px, 25vw, 360px);

  background-image: url("assets/swirl-bottom-left.svg");
  background-repeat: no-repeat;
  background-size: contain;

  z-index: 0;
  pointer-events: none;
  
}
.whyUs-page::before,
.whyUs-page::after {
  opacity: 0.5;
  transform:
    translateX(var(--swirl-x))
    rotate(calc(var(--swirl-rotate) * -1));
  transition: transform 0.08s linear;
}


.whyUs-text {
  text-align: center;
  margin-bottom: 4rem;
}

.whyUs-text h2 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 500;
}

.whyUs-text p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #555;
}
.whyUs-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.whyUs-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);

  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.whyUs-page > * {
  position: relative;
  z-index: 1;
}
.whyUs-icon {
  width: 48px;
  height: 48px;
  padding: 0.25rem;
  border-radius: 10px;
  background-color: var(--color-comp-bg);
}
.whyUs-card h4 {
  font-size: 1.2rem;
  font-weight: 500;
}

.whyUs-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}
.highlight{
  color:#830016
}
.program-page{
  position: relative;
  padding: 6rem 0;
  background-color: var(--color-bg-sec);
  overflow: hidden;
}
.program-page h2,
.program-page h3 {
  text-align: center;
}

.program-page h2 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 500;
}

.program-page h3 {
  margin-top: 0.75rem;
  margin-bottom: 3.5rem;
  font-size: 1.1rem;
  color: #555;
  font-weight: 400;
}
.program-page::before {
  content: "";
  position: absolute;
  top: 0rem;
  left: -5rem;

  width: clamp(140px, 25vw, 260px);
  height: clamp(140px, 25vw, 260px);

  background: url("assets/swirl-top-left.svg") no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
  transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
  transition: transform 0.08s linear;
}

.program-page::after {
  content: "";
  position: absolute;
  bottom: -4rem;
  right: -4rem;

  width: clamp(260px, 30vw, 420px);
  height: clamp(260px, 30vw, 420px);

  background: url("assets/swirl-bottom-right.svg") no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
  transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
  transition: transform 0.08s linear;
}
.program-page > * {
  position: relative;
  z-index: 1;
}
.program-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 420px);
  gap: 2rem;

  overflow-x: auto;
  padding: 1rem 2rem 2rem;

  scroll-snap-type: x mandatory;
}

.program-cards article {
  background: white;
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  overflow: hidden;

  display: flex;
  flex-direction: column;

  scroll-snap-align: start;
}
.program-cardImg img {
  width: 100%;
  height: 220px;;
  object-fit: auto;
}
.program-cards article > div:last-child {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.program-cardAttributes {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin-top: 0.75rem;
}
.program-cardAttributes h6 {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}
.program-cardAttributes li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.program-cardAttributes li:last-child h6 {
  color: #f5a623; 
}


.programAttributes-icon {
  width: 18px;
  height: 18px;
}
.program-cards article button {
  margin-top: auto;
  align-self: flex-start;

  background-color: var(--color-comp-main);
  color: white;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
}
.program-page > a button {
  display: block;
  margin: 3rem auto 0;

  padding: 0.8rem 2rem;
  border-radius: 8px;
  background: transparent;
  border: 2px solid var(--color-comp-main);
  color: var(--color-comp-main);
  font-size: 1rem;
  cursor: pointer;
}
.all-course-btn:hover{
  transform: translateY(-2px);
  background: var(--color-comp-main);
  color: white;
}
.program-cards::-webkit-scrollbar {
  display: none;
}
.program-cards {
  scrollbar-width: none;
}
.successStory-page {
  position: relative;
  padding: 6rem 0;
  background-color: var(--color-bg-main);
  overflow: hidden; 
  text-align: center;
}
.successStory-page h2 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 500;
}

.successStory-page h3 {
  margin-top: 0.75rem;
  margin-bottom: 3.5rem;
  font-size: 1.05rem;
  color: #555;
  font-weight: 400;
}
.successStory-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(340px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.successStory-card {
  background: #fdeff6;
  border-radius: 18px;
  max-width: 380px;
  padding: 2rem;

  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  text-align: left;
}
.testimonial-header {
  display: flex;
  flex-direction: column;   
  align-items: flex-start;  
  gap: 0.5rem;
}

.quote-icon {
  width: 28px;
}

.stars {
  width: auto;
}
.testimonial-text {
  margin: 1.25rem 0 2rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;

  max-width: 100%;
  text-align: left;
}
.testimonial-author {
  margin-top: auto; 
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}
.author-info h4 {
  font-size: 1rem;
  font-weight: 500;
}

.author-info p {
  font-size: 0.85rem;
  color: #555;
  margin: 0.1rem 0;
}

.author-info span {
  font-size: 0.75rem;
  color: #888;
}


.testimonial-author h4 {
  font-size: 0.95rem;
  font-weight: 500;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: #666;
}

.successStory-page::before {
  content: "";
  position: absolute;
  bottom:-5rem;
  left: 10rem;
  width: clamp(140px, 30vw, 260px);
  height: clamp(140px, 30vw, 260px);

  

  background: url("assets/swirl-bottom-left.svg") no-repeat center / contain;
  opacity: 0.5;
}

.successStory-page::after {
  content: "";
  position: absolute;
  bottom: 16rem;
  right: -12rem;

  width: clamp(260px, 30vw, 420px);
  height: clamp(260px, 30vw, 420px);

  background: url("assets/swirl-top-right.svg") no-repeat center / contain;
  opacity: 0.5;
}

.successStory-page > :not(.success-swirl-center) {
  position: relative;
  z-index: 1;
}
.successStory-page::before,
.successStory-page::after {
  transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
  transition: transform 0.08s linear;
}
.successStory-page > * {
  position: relative;
  z-index: 1;
}



.endcard-page {
  background-color: var(--color-comp-main);
  color: white;

  padding: 5rem 1.5rem;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.endcard-page h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
}

.endcard-page h3 {
  max-width: 700px;
  font-size: 1.05rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.6;
}
.endcard-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}


.btn-primary {
  background-color: white;
  color: var(--color-comp-main);
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}


.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #f2f2f2;
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.1);
}

.enroll-btn:hover{
  background-color: #b40d29;
}


.main-footer {
  background-color: var(--color-footer);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto  ; 
  gap: 3rem;
  align-items: start;
}
.main-footer h3,
.main-footer h4 {
  font-weight: 500;
  margin-bottom: 1rem;
}

.main-footer p {
  font-size: 0.9rem;
  opacity: 0.85;
  max-width: 260px;
}
.main-footer ul {   
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.main-footer a {
  color: white;
  font-size: 0.9rem;
  opacity: 0.8;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.8rem;   
  margin-top: 1rem;
}

.main-footer a:hover {
  opacity: 1;
}
.main-footer img {
  width: 36px;
  height: 36px;
}

.main-footer > div:first-child a {
  margin-right: 0.6rem;
}
#footerhr {
  grid-column: 1 / -1;
  margin: 3rem 0 1.5rem;
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.15);
}
.footer-img a {
  display: inline-block;
}
.footer-img {
  width:160px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-img img {
  width: 100%;
  height: auto;
  display: block;
}


.main-footer > p {
  grid-column: 1 / -1;

  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;

  white-space: nowrap;  
  margin: 0 auto;          
}


/* course page */

.courses-hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  background-color: var(--color-bg-sec);
  overflow: hidden; 
}

.courses-hero h1 {
  font-size: clamp(2.4rem, 3.5vw, 3rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.75rem;
}

.courses-hero .subtitle {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.courses-hero .boards {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-comp-main);
  margin-bottom: 2rem;
}

.courses-hero .boards span {
  margin: 0 0.35rem;
}

.course-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.course-tabs button {
  background: transparent;
  border: 1px solid var(--color-comp-main);
  color: var(--color-comp-main);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.course-tabs button:hover {
  background: rgba(128, 0, 0, 0.05);
}

.course-tabs button.active {
  background: var(--color-comp-main);
  color: white;
}

.course-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.course-card {
   background: white;
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  overflow: hidden;

  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.program-cardImg img {
  width: 100%;
  height: 220px;;
  object-fit: auto;
}
.course-grid article > div:last-child {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.course-grid article button {
  margin-top: auto;
  align-self: flex-start;

  background-color: var(--color-comp-main);
  color: white;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
}
.course-cards > button {
  display: block;
  margin: 3rem auto 0;

  padding: 0.8rem 2rem;
  border-radius: 8px;
  background: transparent;
  border: 2px solid var(--color-comp-main);
  color: var(--color-comp-main);
  font-size: 1rem;
  cursor: pointer;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(0,0,0,0.12);
}
.progcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(0,0,0,0.12);
}

.course-grid::-webkit-scrollbar {
  display: none;
}
.course-grid {
  scrollbar-width: none;
}
.courses-hero::before {
  content: "";
  position: absolute;

  top: 0rem;
  right: -3rem;

  width: clamp(70px, 22vw, 170px);
  height: clamp(70px, 22vw, 170px);

  background: url("assets/course-circle-top-right.svg") no-repeat center;
  background-size: contain;

  opacity: 0.5;
  transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
  transition: transform 0.08s linear;
  
}
.courses-hero::after {
  content: "";
  position: absolute;

  left: -3rem;
  bottom: -3rem;

  width: clamp(120px, 16vw, 220px);
  height: clamp(120px, 16vw, 220px);

  background: url("assets/course-circle-top-right.svg") no-repeat center;
  background-size: contain;

  opacity: 0.5;
  transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
  transition: transform 0.08s linear;
  
}


.course-cards {
  position: relative;
  background-color: var(--color-bg-main);
  overflow: hidden;
}

.course-card {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.course-card[style*="display: none"] {
  opacity: 0;
  transform: scale(0.95);
}
.course-cards::before {
  content: "";
  position: absolute;

  top: -4rem;
  right: -6rem;

  width: clamp(260px, 30vw, 420px);
  height: clamp(260px, 30vw, 420px);

  background: url("assets/swirl-top-right.svg") no-repeat center;
  background-size: contain;

  opacity: 0.5;
  pointer-events: none;
  transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
  transition: transform 0.08s linear;
}

.course-cards::after {
  content: "";
  position: absolute;

  bottom: -6rem;
  left: -6rem;

  width: clamp(220px, 26vw, 360px);
  height: clamp(220px, 26vw, 360px);

  background: url("assets/swirl-bottom-left.svg") no-repeat center;
  background-size: contain;

  opacity: 0.5;
  pointer-events: none;
  transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
  transition: transform 0.08s linear;
}

.course-cards > * {
  position: relative;
  z-index: 1;
}
.course-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.course-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.course-modal {
  background: #fff;
  width: 100%;
  max-width: 520px;
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.course-overlay.active .course-modal {
  transform: translateY(0);
}

.course-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-comp-main);
}

.course-modal h2 {
  color: var(--color-comp-main);
  margin-bottom: 1rem;
}

.course-modal ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.course-modal li {
  margin-bottom: 0.6rem;
  color: #555;
}

.course-modal-img {
  width: 100%;
  height: 200px;

  object-fit: cover;
  border-radius: 14px;

  margin-bottom: 1.25rem;
}
.course-more {
  color: var(--color-comp-main);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0.2rem 0 0.6rem;
  display: inline-block;
  cursor: pointer;
}

.course-more:hover {
  text-decoration: underline;
}



.tutor-hero {
  background-color: #f7f6f5;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}


.tutor-hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}



.tutor-content {
  max-width: 560px;
}


.tutor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-comp-main);
  background: rgba(131, 0, 22, 0.08);
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}


.tutor-content h1 {
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 500;
  color: var(--color-comp-main);
  margin-bottom: 1.5rem;
}

.tutor-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 2.5rem;
  max-width: 520px;
}


.tutor-highlights {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
}

.highlight h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-comp-main);
  margin-bottom: 0.25rem;
}

.highlight span {
  font-size: 0.9rem;
  color: #6b6b6b;
}



.tutor-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 10px;
  background: var(--color-comp-main);
  color: white;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tutor-cta:hover {
  transform: translateY(-2px);
  background-color: #b40d29;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
}



.tutor-image {
  width: 100%;
  max-width: 560px;
  height: 380px;

  border-radius: 20px;
  overflow: hidden;

  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.tutor-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;   
  object-position: center;

  display: block;

  max-width: none;      
}
.navbar-container .navtabs li a.nav-active {
  color: var(--color-comp-main);
  font-weight: 500;
  position: relative;
}
.navtabs a.nav-active {
  background-color: rgba(131, 0, 22, 0.1);
  color: var(--color-comp-main);
  font-weight: 500;
}

/* about */

.about-section {
  background-color: var(--color-bg-sec);
  padding: 6rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}


.about-container {
  max-width: 1200px;
  margin: 0 auto 5rem;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-content h1 {
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 500;
  color: var(--color-comp-main);
  margin-bottom: 1.5rem;
}

.about-description {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a4a4a;
}


.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(131, 0, 22, 0.08);
  color: var(--color-comp-main);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.about-badge img {
  width: 16px;
  height: 16px;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden; 
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.about-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;    
  border-radius: 20px;
}



.about-cards {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.about-card {
  background: #fdeff6;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  text-align: left;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-comp-main);
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.card-icon img {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  object-fit: contain;
}

.about-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}
.about-section::before {
  content: "";
  position: absolute;

  top: -4rem;
  right: -6rem;

  width: clamp(260px, 30vw, 420px);
  height: clamp(260px, 30vw, 420px);

  background: url("assets/swirl-top-right.svg") no-repeat center;
  background-size: contain;

  opacity: 0.5;
  pointer-events: none;
  transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
  transition: transform 0.08s linear;
}

.about-section::after {
  content: "";
  position: absolute;

  bottom: -6rem;
  left: -6rem;

  width: clamp(220px, 26vw, 360px);
  height: clamp(220px, 26vw, 360px);

  background: url("assets/swirl-bottom-left.svg") no-repeat center;
  background-size: contain;

  opacity: 0.5;
  pointer-events: none;
  transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
  transition: transform 0.08s linear;
}
.about-section > * {
  position: relative;
  z-index: 1;
}

/* contact page */
.contact-section {
  padding: 6rem 1.5rem 5rem;
  background: #fafafa;
  text-align: center;
}

.contact-section .container {
  max-width: 1100px;
  margin: 0 auto;
}



.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fdecef;
  color: var(--color-comp-main);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.contact-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--color-comp-main);
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-subtitle {
  color: #444;
  max-width: 620px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}


.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.2rem 1.5rem;
  border: 1px solid rgba(140, 0, 25, 0.35);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: #fdecef;
  color: var(--color-comp-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.find-us-title {
  font-size: 2rem;
  color: var(--color-comp-main);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
}
.demo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.demo-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.demo-modal {
  background: #fff;
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  border-radius: 28px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.demo-overlay.active .demo-modal {
  transform: translateY(0);
}

.demo-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  color: #8b0020;
  cursor: pointer;
}

.demo-modal h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.demo-subtext {
  color: #666;
  margin-bottom: 1.8rem;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.demo-form label {
  font-size: 0.9rem;
  color: #444;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.demo-form input {
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 1px solid #222;
  outline: none;
}

.demo-form input::placeholder {
  color: #999;
}

.demo-btn {
  margin-top: 1.4rem;
  align-self: center;
  padding: 0.8rem 2.4rem;
  border-radius: 28px;
  background: #8b0020;
  color: #fff;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(139,0,32,0.35);
}

.demo-btn:hover {
  background: #a00025;
}


@media (max-width: 768px) {
  

  .nav-toggle {
    display: flex;
  }

  .navtabs {
    position: absolute;
    top: var(--nav-height);
    right: 0;
    width: 100%;
    background: white;

    flex-direction: column;
    align-items: center;
    gap: 0;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  }

  .navtabs li {
    width: 100%;
    text-align: center;
  }

  .navtabs li a {
    display: block;
    padding: 1.2rem;
  }

  .navtabs.open {
    max-height: 500px; 
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1rem 3rem;
    gap: 1.25rem;
    padding-top:1.5rem;
     
  }
  .hero-page {
    padding-top: 1.5rem; 
  }
  .hero-text {
    align-items: center;
  }


  .hero-text h1 {
    font-size: clamp(2.1rem, 6vw, 2.6rem);
    line-height: 1.2;
  }

  .hero-text p {
    max-width: 100%;
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-btn {
    margin: 0 auto;
  }

  .hero-img {
    display: flex;
    justify-content: center;  
    align-items: center;
    clip-path: ellipse(90% 55% at 50% 40%);
  }

  .hero-img img {
    max-height: 420px;    
    width: auto;
    transform: translateY(-1.2rem) scale(1.1);
  }
  .hero-page::before,
  .hero-page::after { 
    
    opacity: 0.35  ;
    transform: scale(1);
    transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
  transition: transform 0.08s linear;
  }
  .whyUs-page {
    padding: 4rem 1rem;
  }

  .whyUs-text {
    margin-bottom: 2.5rem;
  }

  .whyUs-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .whyUs-card {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
    align-items: center;
    text-align: center;
  }

  .whyUs-card h4 {
    font-size: 1rem;
  }

  .whyUs-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .whyUs-icon {
    width: 44px;
    height: 44px;
  }
   .program-page {
    padding: 4rem 0 3.5rem;
  }

  .program-page h3 {
    margin-bottom: 2rem;
  }
  .program-cards {
    padding: 0.5rem 1rem 1.5rem;
    gap: 1.25rem;
  }
  .program-cardImg img {
    height: 180px; 
  }

  .program-cards article > div:last-child {
    padding: 1.25rem;
    gap: 0.75rem;
  }
  .program-page::before { opacity: 0.35;
   }
  .program-page::after  { opacity: 0.35; }
  .successStory-page {
    padding: 4rem 1rem;
  }

  .successStory-cards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 85%);
    gap: 1.25rem;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }

  .successStory-cards::-webkit-scrollbar {
    display: none;
  }

  .successStory-cards {
    scrollbar-width: none;
  }
  .successStory-card {
    scroll-snap-align: start;
    max-width: 100%;
    padding: 1.75rem;
  }
  .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .main-footer {
    padding: 3rem 1.25rem 2rem;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
  }

  .footer-brand {
    align-items: center;
  }

  .main-footer p {
    max-width: none;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-links ul,
  .footer-support-links ul {
    align-items: center;
  }

  .footer-links h4,
  .footer-support-links h4 {
    margin-bottom: 0.75rem;
  }

  .footer-img {
    display: none; 
  }

  #footerhr {
    margin: 2rem 0 1.25rem;
  }

  .main-footer > p {
    white-space: normal;
    line-height: 1.4;
  }
  .main-footer a {
    padding: 0.35rem 0;
    display: inline-block;
  }
  .courses-hero {
  padding: 3.5rem 1rem 2.5rem;
}

.course-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  padding-bottom: 0.5rem;
  gap: 0.6rem;
}

.course-tabs::-webkit-scrollbar {
  display: none;
}

.course-tabs {
  scrollbar-width: none;
}

.course-tabs button {
  flex-shrink: 0;
  font-size: 0.8rem;
  padding: 0.45rem 0.9rem;
}
.courses-hero::before,
  .courses-hero::after {
    opacity: 0.35;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem 1rem 3.5rem;
  }
   .course-card {
    border-radius: 14px;
  }

  .program-cardImg img {
    height: 180px;
    object-fit: cover;
  }

  .course-grid article > div:last-child {
    padding: 1.25rem;
    gap: 0.6rem;
  }

  .course-card h4 {
    font-size: 1.05rem;
  }

  .course-card h5 {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  .program-cardAttributes {
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

  .program-cardAttributes h6 {
    font-size: 0.8rem;
  }
  .course-more {
    font-size: 0.8rem;
  }

  .course-grid article button {
    align-self: stretch;
    text-align: center;
    padding: 0.75rem 1.2rem;
  }
  .course-cards::before,
  .course-cards::after {
    opacity: 0.35
  }
  .course-modal {
    max-width: 92%;
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .course-modal-img {
    height: 160px;
  }
  .tutor-hero {
    padding: 4rem 1rem 3.5rem;
  }

  .tutor-hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .tutor-content {
    max-width: none;
  }

  .tutor-content h1 {
    font-size: clamp(2.1rem, 6vw, 2.6rem);
    line-height: 1.2;
  }

  .tutor-description {
    max-width: 100%;
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .tutor-highlights {
    justify-content: center;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
  }

  .tutor-highlights .highlight h3 {
    font-size: 1rem;
  }

  .tutor-highlights .highlight span {
    font-size: 0.85rem;
  }
  .tutor-content .hero-btn {
    align-self: center;
    padding: 0.9rem 2.2rem;
  }
  .tutor-image {
    max-width: 100%;
    height: 300px;
    margin: 0 auto;
    border-radius: 18px;
  }

  .tutor-image img {
    object-position: center top;
  }
  .tutor-hero::before,
  .tutor-hero::after {
    opacity: 0.35;
  }
  .about-section {
    padding: 4rem 1rem 3.5rem;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    text-align: center;
  }

  .about-content {
    max-width: none;
  }

  .about-content h1 {
    font-size: clamp(2.1rem, 6vw, 2.6rem);
    line-height: 1.2;
  }

  .about-description {
    max-width: 100%;
    font-size: 1rem;
  }
  .about-image {
    max-width: 100%;
    height: 280px;
    margin: 0 auto;
    border-radius: 18px;
  }

  .about-image img {
    object-position: center top;
  }
  .about-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .about-card {
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
  }

  .about-card h3 {
    font-size: 1.05rem;
  }

  .about-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .card-icon {
    margin: 0 auto 0.75rem;
  }
  .about-section::before,
  .about-section::after {
    opacity: 0.35;
    transform:
    translateX(var(--swirl-x))
    rotate(var(--swirl-rotate));
    transition: transform 0.08s linear;
  }
  .contact-section {
    padding: 4rem 1rem 3.5rem;
  }

  .contact-subtitle {
    margin-bottom: 2.5rem;
  }
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .contact-card {
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
  }

  .contact-card h3 {
    font-size: 1.05rem;
  }

  .contact-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .contact-icon {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }
  .find-us-title {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
  }

  .social-links {
    gap: 1rem;
  }

  .social {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
  }
  .contact-card {
    text-align: center;
  }
  .contact-section::before,
  .contact-section::after {
    opacity: 0.35;
  }
  .endcard-page {
    padding: 3.5rem 1.25rem;
    gap: 1rem;
  }

  .endcard-page h2 {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .endcard-page h3 {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .endcard-actions {
    display: flex;
    flex-direction: column;
    align-items: center;   
    justify-content: center;
    width: 100%;
    gap: 0.75rem;
  }

  .endcard-actions button {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

}
@media (max-width: 420px) {

  .whyUs-features {
    grid-template-columns: 1fr;
  }

  .whyUs-card {
    flex-direction: row;
    gap: 1rem;
    text-align: left;
  }

  .whyUs-icon {
    flex-shrink: 0;
  }
  .tutor-highlights {
    flex-direction: column;
    gap: 1.25rem;
  }
  .about-cards {
    grid-template-columns: 1fr;
  }
  .endcard-actions button {
    max-width: 280px;
  }
}

.program-scroll {
  position: relative;
}

.scroll-arrow {
  position: absolute;
  right: 0.5rem;
  z-index: 5;
  top: calc(50% + 0px);
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.9);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);

  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}


.scroll-arrow:active {
  transform: translateY(-50%) scale(0.95);
}


@media (min-width: 769px) {
  .scroll-arrow {
    display: none;
  }
}



