:root {
  --teal: #2b9aa3;
  --mint: #9fe2bf;
  --green: #b6f0c0;
  --dark: #18324a;
  --light: #f6fbfa;
  --white: #ffffff;
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  padding: 0 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  line-height: 1.6;
  background: linear-gradient(135deg, var(--mint) 0%, #2b95a318 50%, var(--green) 90%);
  background-attachment: fixed;
}

header {
  background: rgba(255, 255, 255, 0.769);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin: 12px auto;
  max-width: 1290px;
}

.header-top {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 20px;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 75px;
  border: 5px solid #98fbcbca;
  box-shadow: 0 0 10px rgba(43, 154, 163, 0.25);
  transition: transform .2s ease;
}

.avatar img:hover {
  transform: scale(1.05);
}

.header-right {
  position: relative;
  height: 160px;
  border-radius: 15px;
  overflow: hidden;
}

.header-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-right .cta-text {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.header-right .cta-text span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.9;
}

.book-now-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #98fbcba9;
  padding: 6px 14px;
  border-radius: 10px;
  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: 0.2s ease;
  font-size: 0.9rem;
}

.book-now-btn:hover {
  background: #6ee7b7;
  transform: translateY(-2px);
}


.nav-bar {
  margin-top: 25px;
  background: #98fbcba9;
  padding: 18px 20px;
  border-radius: 15px;
  text-align: center;
}

.nav-bar a {
  margin: 0 15px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
}

@media (max-width: 950px) {
  .header-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-left {
    flex-direction: column;
  }

  .header-right {
    height: 200px;
  }

  .nav-bar a {
    margin: 0 8px;
  }
}



.nav-bar {
  margin-left: auto;
  background: #98fbcba9;
  padding: 20px;
  border-radius: 15px;
}

.avatar {
  width: 150px;
}

.avatar img {
  width: 140px;
  border-radius: 75px;
  border: 5px solid #98fbcbca;
  transition: transform 0.2s ease;
  box-shadow: 0 0 10px rgba(43, 154, 163, 0.25);
}

.avatar img:hover {
  transform: scale(1.05);
}


.laptop-image {
  width: 100px;
  margin: 0px 50px;
  transition: transform 0.2s ease;
}

.paper-image {
  width: 100px;
  margin: 0px 50px;
  transition: transform 0.2s ease;
}

.brand h1 {
  font-size: 2rem;
  color: var(--teal);
  margin: 0;
}

@media (max-width: 450px) {
  .brand h1 {
  font-size: 1.7rem;
}
}

.brand .tag {
  color: var(--dark);
  font-weight: 600;
  margin-top: 6px;
}

nav a {
  margin: 0 10px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--teal);
}

main {
  max-width: 1300px;
  margin: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

section.card {
  background: var(--white);
  background: rgba(255, 255, 255);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
}

section.card2 {
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
}

section.card3 {
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
}

.card2png {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
  flex-direction: row;
}

.laptop-image,
.paper-image {
  width: 100px;
  height: auto;
  flex-shrink: 0;
}

@media (max-width: 950px) {
  .card2png {
    flex-direction: column;
    gap: 20px;
  }

  .laptop-image,
  .paper-image {
    width: 100px;
    margin-bottom: -10px;
  }

  .paper-image {
    display: none;
  }
}

h2,
h3 {
  color: var(--teal);
  margin-top: 0;
}



.highlight-box {
  background: #98fbcba9;
  padding: 16px;
  border-radius: 12px;
  margin: 10px 0;
  font-weight: 500;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.icon {
  font-size: 22px;
  color: var(--teal);
}
.expertise-wrapper {
  text-align: center;
}

.expertise-wrapper .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  text-align: center;
  white-space: nowrap;
}

.chip {
  background: var(--green);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--dark);
}



.testimonial-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 33.333%;
  background: #98fbcba9;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  scroll-snap-align: start;
  box-sizing: border-box;
}

.ts-btn {
  background: var(--teal);
  color: white;
  border: none;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.testimonial-wrapper {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove extra padding inside scroll area */
.testimonial-track {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.testimonial-card {
  margin: 0 !important;
}

@media (min-width: 851px) {
  .testimonial-card {
    flex: 0 0 calc(33.333% - 10px);
  }
}

@media (max-width: 850px) {
  .testimonial-card {
    flex: 0 0 100%;
  }

  .testimonial-track {
    gap: 12px;
  }
}

@media (max-width: 450px) {
  .ts-btn {
    padding: 8px 10px;
  }
  .chip {
    font-size: 0.85rem;
  }
}

.quote {
  font-style: italic;
}

.who {
  font-weight: bold;
  margin-top: 6px;
  color: var(--dark);
}

#tuition ol {
  margin: 10px 0 0 20px;
}

#tuition strong {
  color: var(--teal);
}

#contact {
  background: #048686bf;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  text-align: center;
  padding-bottom: 40px;
}

#contact .contact-form {
  max-width: 850px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#contact input,
#contact select,
#contact textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  background: white;
  color: #333;
}

.contacth2 {
  color: white;
  margin-bottom: -5px;
}

#contact label {
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

#contact ::placeholder {
  color: #666;
  font-family: inherit;
  opacity: 1;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 4px;
  background: #25D366;
  color: white;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: 0.3s ease;

}

.whatsapp-btn:hover {
  opacity: 0.8;
}

#contact textarea {
  height: calc(48px * 3 + 78px); 
  resize: none;
}

#contact input,
#contact select,
#contact textarea {
  border: 2px solid transparent;       
  outline: none;
  transition: all 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.10); 
}

#contact input:focus,
#contact select:focus,
#contact textarea:focus {
  border-color: #b8b8b8;    
}

#contact button {
  background: white;
  color: #048686;
  border: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 17px;
  margin-top: 5px;
  transition: 0.3s ease;
}

#contact button:hover {
  opacity: 0.8;
}

.success-message {
  display: none;
  margin-top: 10px;
  font-weight: 600;
  color: #fff;
}

#contact .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  #contact .form-grid {
    grid-template-columns: 1fr;
  }
}

footer {
  text-align: center;
  padding: 30px;
  color: #366;
  font-size: 14px;
}


@media (max-width: 800px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
}



.social-links {
  margin-top: 10px;
}

.social-icon {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  vertical-align: middle;
}

.social-icon:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

#about.card {
  position: relative;
  overflow: hidden;
  text-align: left;
}

#about .about-text {
  margin-right: 450px;
  max-width: 850px;
}

#about .about-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 440px;
  height: 100%;
  overflow: hidden;
  border-radius: 0 18px 18px 0;
}

#about .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


#background.card {
  text-align: left;
}

#background .background-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  margin-right: 20px;
}

#background .background-image-wrapper {
  overflow: hidden;
}

#background .background-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-top: -10px;
  margin-bottom: 10px;
}

#background .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

#ethos .ethos-container,
#background .background-container {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: 100%;
  margin-bottom: 20px;
}

#ethos .ethos-text,
#background .background-text {
  flex: 1;
  max-width: 60%;
}

#ethos .ethos-image-wrapper,
#background .background-image-wrapper {
  flex: 1;
  max-width: 40%;
  overflow: hidden;
  border-radius: 15px;
}

#ethos .ethos-image-wrapper img,
#background .background-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#ethos .feature-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}

@media (max-width: 900px) {
  #ethos .ethos-container,
  #background .background-container {
    flex-direction: column;
  }

  #ethos .ethos-text,
  #background .background-text,
  #ethos .ethos-image-wrapper,
  #background .background-image-wrapper {
    max-width: 100%;
  }

  #ethos .ethos-image-wrapper,
  #background .background-image-wrapper {
    height: 220px;
  }

  #ethos .ethos-image-wrapper img,
  #background .background-image-wrapper img {
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
  }

  #ethos .feature-box {
    text-align: center;
    justify-content: center;
    flex-direction: column;
  }
}

@media (max-width: 1000px) {
  #about .about-text {
    margin-right: 0;
    max-width: 950px;
  }

  #about .about-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    border-radius: 18px;
  }

  #about .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    object-position: 0px -0px;
  }
}

.quote-card {
  padding: 0;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: none;
}

.quote-card .quote-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  filter: blur(0.3px);
  transform: scale(1.05);
}

.quote-card1 {
  padding: 0;
  height: 250px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: none;
}

.quote-card1 .quote-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  filter: blur(2px);
  transform: scale(1.05);
}

.quote-text1 {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  max-width: 70%;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin: 0;
}

.quote-overlay1 {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 20px 20px;
  z-index: 1;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 45px 20px 20px;
  z-index: 1;
}

.quote-text {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  max-width: 90%;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.4px;
  margin: 0;
}

@media (max-width: 820px) {
  .quote-card {
    height: 210px;
  }
  .quote-text {
    font-size: 1.25rem;
  }
}

#tuition .tuition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 20px;
}

.price-card {
  border: 1px solid #ddd;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.price-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.price-content {
  padding: 15px;
}

.price-content h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.price-content .duration {
  font-size: 0.9rem;
  margin: -2px 0;
}

.price-content .price {
  font-size: 1rem;
  margin-bottom: 10px;
  margin-top: 10px;
  font-weight: 500;
}

.price-content .btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--teal);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.price-content .btn:hover {
  opacity: 0.85;
}

@media (max-width: 800px) {
  #tuition .tuition-grid {
    grid-template-columns: 1fr;
  }

  .price-card img {
    height: 200px;
  }
}
