/* =========================
   VARIABLES
   ========================= */
:root {
  --primary: #e05269;
  --primary-dark: #d92644;
  --secondary: hsl(280, 40%, 25%);
  --secondary-light: hsl(280, 40%, 35%);
  --accent: #f7b36e;
  --background: hsl(340, 30%, 98%);
  --foreground: hsl(280, 30%, 15%);
  --muted: hsl(340, 20%, 94%);
  --muted-foreground: rgb(105, 79, 105);
  --card: #fff;
  --border: hsl(340, 20%, 88%);
  --font-sans: Inter, sans-serif;
  --font-serif: "Playfair Display", serif;
  --shadow-sm: 0 1px 2px 0 #0000000d;
  --shadow: 0 4px 6px -1px #0000001a 0 2px 4px -2px #0000001a;
  --shadow-lg: 0 10px 15px -3px #0000001a 0 4px 6px -4px #0000001a;
  --shadow-xl: 0 20px 25px -5px #0000001a 0 8px 10px -6px #0000001a;
  --radius: 0.75rem;
}
/* =========================
   RESET & BASE
   ========================= */
@media (max-width: 768px) {
  .nav-links.active {
    transform: translateX(0);
  }

  /* Hide hamburger when menu is open */
  .nav-content.menu-open .mobile-menu-btn {
    display: none !important;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* =========================
   UTILITIES
   ========================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

/* =========================
   BUTTONS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--secondary);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* =========================
   HEADER / NAV
   ========================= */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.icon-sm {
  width: 1.5rem;
  height: auto;
}

.main-nav {
  position: sticky;
  top: 0;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 1000;
  display: block;
}

.main-nav.scrolled {
  background-color: var(--secondary-light);
  box-shadow: var(--shadow);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 0.8rem;
}

.nav-content.menu-open,
.main-nav.menu-open {
  background: #fff;
}

@media (max-width: 360px) {
  .nav-links .nav-link {
    font-size: 1.25rem;
  }
}

.logo img {
  width: 6rem;
  height: auto;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-right: 5rem;
}

.nav-link {
  font-weight: 500;
  font-size: larger;
  color: #fff;
  text-shadow: 0 1px 2px #0003;
}

.main-nav.scrolled .nav-link {
  color: white;
  text-shadow: none;
}

.nav-link:hover {
  color: var(--accent);
}

.main-nav.scrolled .nav-link:hover {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  color: #fff;
  font-weight: 700;
}

/* =========================
   HERO
   ========================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #4a2659bf;
  /* purple overlay */
  z-index: 0;
}

.hero-content {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  max-width: 60rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(1rem, 6vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: clamp(1rem, 6vw, 2.2rem);
  }
}

.subtitle {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.line {
  height: 4px;
  width: 4rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.subtitle p {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 6vw, 2.2rem);
}

.badge span {
  font-size: clamp(1rem, 6vw, 2.2rem);
}

.description {
  font-size: clamp(1rem, 6vw, 1.5rem);
  color: #ffffffe6;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.decorative-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

.blob-1 {
  bottom: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  background-color: #f7b26e1a;
}

.blob-2 {
  top: 50%;
  right: 0;
  width: 24rem;
  height: 24rem;
  background-color: #e639501a;
}

/* =========================
   COURSES
   ========================= */
.courses-section {
  padding: 6rem 0;
  background-color: #fff;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  color: var(--primary);
  font-weight: 500;
  font-size: clamp(1.25rem, 3vw, 2rem);
  display: block;
  margin-bottom: 1rem;
}

.section-tag-accent {
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.section-header h2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.section-header p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.courses-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

@media (min-width: 600px) {
  .courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (min-width: 900px) {
  .courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

.course-card {
  background: var(--card);
  border: 2px solid var(--secondary-light);
  border-radius: var(--radius);
  padding: 1rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.course-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-xl);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #e639501a, #f7b26e1a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.course-card:hover .card-icon {
  transform: scale(1.1);
}

.course-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.course-card p {
  color: var(--muted-foreground);
}

/* =========================
   ABOUT
   ========================= */
.about-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

#about-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.badge-pill {
  background-color: #e639501a;
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-content h2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-content p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  text-align: center;
}

.about-text {
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.feature-list li {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  background: var(--card);
  padding: 1rem;
  border: 2px solid var(--secondary-light);
  border-radius: var(--radius);
  min-height: 220px;
  width: 30%;
}

.feature-list h4 {
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

/* IMAGE CARD */
.image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.image-wrapper img {
  display: block;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  width: 20rem;
  height: auto;
}

.image-card {
  background: #fffffff2;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-xl);
}

.image-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.image-card p {
  color: var(--primary);
  font-weight: 500;
}

/* =========================
   WHY CHOOSE US
   ========================= */
.why-choose-us {
  padding: 4rem 0;
  background-color: var(--secondary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.features-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.feature-card {
  background: #ffffff0d;
  backdrop-filter: blur(5px);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #ffffff1a;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-0.5rem);
  border-color: #f7b26e80;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7b26e33, #e6395033);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #ffffffb3;
}

/* =========================
   GALLERY
   ========================= */
.mobile-close-btn {
  display: none;
}

.gallery-section {
  padding: 5rem 0;
  background-color: #fff;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 calc(50% - 0.5rem);
}

@media (min-width: 768px) {
  .gallery-item {
    flex: 0 0 calc(25% - 0.75rem);
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #4a2659e6, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonials-section {
  padding: 4rem 0;
  background-color: #fcf7f94d;
}

.testimonials-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  width: 100%;
}

.testimonial-card {
  min-width: 30%;
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  border: 2px solid var(--secondary-light);
  transition: all 0.3s ease;
}

.quote-icon {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}

.testimonial-text {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.testimonial-author h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.testimonial-author p {
  color: var(--primary);
  font-size: 0.875rem;
}

/* =========================
   RESPONSIVE TESTIMONIALS
   ========================= */
/* Default (Desktop already OK) */
.testimonials-track {
  animation-duration: 8s;
}

/* Tablets */
@media (max-width: 1024px) {
  .testimonial-card {
    min-width: 240px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 3rem 0;
  }
  .testimonial-card {
    min-width: 85vw;
    /* almost full width */
    max-width: 85vw;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  .testimonial-author h4 {
    font-size: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .testimonial-card {
    min-width: 90vw;
    max-width: 90vw;
    padding: 0.875rem;
  }

  .quote-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* =========================
   CONTACT
   ========================= */
.contact-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  background-color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #e639501a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-detail-item h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-detail-item a,
.contact-detail-item p {
  color: var(--muted-foreground);
}

.contact-detail-item a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--card);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

/* Footer & contact emails */
.contact-links a,
.contact-detail-item a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px #e639501a;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background-color: var(--secondary);
  color: #fff;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.footer-links li,
.footer-links a {
  word-break: break-word;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 6rem;
  height: auto;
  cursor: pointer;
}

.footer-col p {
  color: #ffffffb3;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--secondary);
}

.footer-col h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
  text-wrap: wrap;
}

.footer-links a {
  color: #ffffffb3;
}

.footer-links a:hover {
  color: var(--accent);
}

.contact-links li {
  color: #ffffffb3;
}

.footer-bottom {
  border-top: 1px solid #ffffff1a;
  padding-top: 1rem;
  text-align: center;
  color: #ffffffb3;
}

.heart-icon {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
  fill: var(--accent);
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 360px) {
  .contact-detail-item {
    align-items: flex-start;
  }

  .contact-detail-item a {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* =========================
   MOBILE NAV / TABLET
   ========================= */
@media (max-width: 768px) {
  .feature-list {
    flex-direction: column;
  }

  .feature-list li {
    width: 100%;
  }

  .hero {
    background-position: center;
  }

  .hero h1 {
    font-size: clamp(1rem, 6vw, 2.2rem);
  }

  .nav-links {
    position: fixed;
    inset: 0;
    width: 100%;
    background: #ffff;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
  }

  /* .main-nav{
    background-color: #ffffff;
  } */
  .nav-links.active {
    transform: translateX(0);
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1002;
  }

  .mobile-close-btn {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem;
    color: var(--foreground);
  }

  .mobile-close-btn i {
    height: 2rem;
    width: 2rem;
  }

  .nav-links .nav-link {
    font-size: 1.5rem;
    color: var(--foreground);
  }

  .main-nav.scrolled .nav-link {
    color: black !important;
    text-shadow: none;
  }
}

/* =========================
   RESPONSIVE TWEAKS - OTHER BREAKPOINTS
   (kept all breakpoints as requested)
   ========================= */
@media (max-width: 900px) {
  .main-nav.scrolled .nav-link {
    color: white;
    text-shadow: none;
  }
  .feature-list {
    flex-direction: column;
  }

  .feature-list li {
    width: 100%;
  }

  .about-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
  }

  .about-content p {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
  }

  .image-card {
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
  }

  .hero {
    background-position: center;
  }
}

@media (max-width: 600px) {
  .feature-list {
    flex-direction: column;
  }

  .feature-list li {
    width: 100%;
  }

  .hero {
    background-position: center;
  }

  .about-section {
    padding: 4rem 0;
  }

  .about-content h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .about-content p {
    font-size: clamp(0.95rem, 3vw, 1.05rem);
  }

  .image-card {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 400px) {
  .feature-list {
    flex-direction: column;
  }

  .feature-list li {
    width: 100%;
  }

  .hero {
    background-position: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-form {
    padding: 1rem !important;
  }

  .contact-detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .icon-circle {
    width: 2.2rem;
    height: 2.2rem;
  }

  .contact-detail-item h3 {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .feature-list {
    flex-direction: column;
  }

  .feature-list li {
    width: 100%;
  }

  .hero {
    background-position: center;
  }

  .about-content h2 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .about-content p {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }

  .feature-list li {
    font-size: 0.9rem;
    gap: 0.5rem;
  }

  .image-card {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    padding: 0.75rem;
  }

  .image-card h3 {
    font-size: 1.2rem;
  }

  .image-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 280px) {
  .feature-list {
    flex-direction: column;
  }

  .feature-list li {
    width: 100%;
  }

  .hero {
    background-position: center;
  }

  .about-content h2 {
    font-size: 1.3rem;
  }

  .about-content p {
    font-size: 0.85rem;
  }

  .feature-list li {
    font-size: 0.85rem;
  }

  .image-card {
    padding: 0.6rem;
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
  }

  .image-card h3 {
    font-size: 1rem;
  }

  .image-card p {
    font-size: 0.8rem;
  }

  .contact-grid {
    gap: 1rem;
  }

  .contact-form {
    padding: 0.75rem !important;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  .btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
  }
}

@media (max-width: 200px) {
  .feature-list {
    flex-direction: column;
  }

  .feature-list li {
    width: 100%;
  }

  .hero {
    background-position: center;
  }

  .about-section {
    padding: 2rem 0;
  }

  .about-content h2 {
    font-size: 1.1rem;
  }

  .about-content p {
    font-size: 0.75rem;
  }

  .feature-list li {
    font-size: 0.75rem;
  }

  .image-card {
    padding: 0.4rem;
    bottom: 0.4rem;
    left: 0.4rem;
    right: 0.4rem;
  }

  .contact-grid {
    gap: 0.75rem !important;
  }

  .contact-form {
    padding: 0.5rem !important;
  }

  .contact-detail-item {
    gap: 0.25rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.7rem !important;
    padding: 0.4rem !important;
  }

  .contact-detail-item h3 {
    font-size: 0.85rem;
  }

  .contact-detail-item a,
  .contact-detail-item p {
    font-size: 0.75rem;
  }

  .btn {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
  }

  .icon-circle {
    width: 1.8rem;
    height: 1.8rem;
  }
}

/* =========================
   ANIMATIONS
   ========================= */
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(50px);
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
  opacity: 0;
  transform: translateX(50px);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#whatsapp-btn {
  position: fixed;
  bottom: 50px;
  right: 20px;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px #00000040;
  cursor: pointer;
  z-index: 9999;
}

#whatsapp-btn img {
  width: 34px;
  height: 34px;
  filter: invert(1);
}

/* =========================
   REDESIGNED COURSE CARDS
   ========================= */
.new-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(to bottom, #fff, #e6395008);
}

.new-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.new-card h3 {
  font-size: 1.35rem;
}

.new-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.new-card:hover img {
  filter: brightness(1.05);
}

/* =========================
   CONTACT MAP
   ========================= */
.map-container {
  width: 100%;
  height: 250px;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.developer {
  font-size: larger;
  color: var(--accent);
  text-transform: uppercase;
}

.developer:hover {
  color: #d8822c;
}