/* Reset and Base Styles */
:root {
  --color-cream: #FAF8F5;
  --color-white: #FFFFFF;
  --color-purple-dark: #3C1053;
  --color-purple-primary: #855BA9;
  --color-purple-light: #EBE1F5;
  --color-purple-gradient: linear-gradient(135deg, #7A4B9F, #9670B3);
  --color-text: #2D3748;
  --color-text-light: #4A5568;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-purple-dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-purple-dark);
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-purple-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-purple-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(133, 91, 169, 0.4);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-purple-primary);
}

.btn-white:hover {
  background-color: var(--color-cream);
  color: var(--color-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Header & Navigation */
header {
  background-color: var(--color-white);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 120px !important;
  max-height: 120px;
  object-fit: contain;
  margin: 0;
  transition: transform 0.3s ease;
}

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

.logo span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-purple-dark);
}

.menu-toggle {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-links li a {
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  padding-bottom: 5px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--color-purple-primary);
}

.nav-btn {
  margin-left: 10px;
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
}

/* Hero Section */
.hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: url('https://images.unsplash.com/photo-1577896851231-70ef18881754?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
  padding-bottom: 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(133, 91, 169, 0.8), rgba(60, 16, 83, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  color: var(--color-white);
}

.hero blockquote {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero .quote-author {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  color: var(--color-cream);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* Who Are We Box */
.who-are-we {
  padding: 3rem 0;
  background-color: var(--color-white);
  text-align: center;
}

.who-are-we .intro-text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  background-color: var(--color-purple-light);
  padding: 20px;
  border-radius: 12px;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-purple-dark);
}

.stat-item i {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--color-purple-primary);
}

.stat-item h3 {
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.stat-item p {
  font-size: 0.85rem;
  font-weight: 500;
}

/* A Note to Parents */
.note-parents {
  background: var(--color-purple-gradient);
  color: var(--color-white);
  display: flex;
  align-items: stretch;
}

.note-parents .container {
  display: flex;
  padding: 0;
  max-width: 100%;
}

.note-image {
  flex: 1;
  min-height: 300px;
  background: url('../images/note-to-parents.jpg') no-repeat center center/cover;
}

.note-content {
  flex: 1;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.note-content h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.note-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Our Ideology / Flip Cards */
.ideology {
  padding: 4rem 0;
  background-color: var(--color-white);
}

.cards-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.flip-card {
  position: relative;
  background-color: transparent;
  width: 300px;
  height: 200px;
  perspective: 1000px;
  cursor: pointer;
  z-index: 1;
}

.flip-card:hover,
.flip-card:focus-within,
.flip-card:active {
  z-index: 10;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  box-shadow: var(--box-shadow);
  border-radius: 12px;
  will-change: transform;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-card-front {
  background-color: var(--color-white);
  position: absolute;
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front .card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding: 10px 5px;
  background: rgba(60, 16, 83, 0.85);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.flip-card-back {
  background: var(--color-purple-gradient);
  color: white;
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  padding: 20px;
  justify-content: center;
}

.flip-card-back h3 {
  color: var(--color-cream);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.flip-card-back p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Gallery Strip */
.gallery-strip {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.gallery-strip img {
  width: 180px;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.gallery-strip img:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 20px rgba(118, 74, 157, 0.25) !important;
}

.gallery-btn-wrapper {
  text-align: center;
  margin-top: -10px;
}

/* Why Choose Us & Testimonials */
.split-section {
  padding: 4rem 0;
  background-color: var(--color-cream);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.why-us h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-purple-primary);
}

.features-list {
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 500;
}

.features-list li i {
  color: #48BB78;
  font-size: 1.1rem;
  margin-right: 12px;
}

.testimonials {
  background: var(--color-purple-gradient);
  padding: 30px;
  border-radius: 12px;
  color: var(--color-white);
  text-align: center;
}

.testimonials h2 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.test-grid {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.test-item {
  flex: 1;
  text-align: center;
}

.test-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  border: 2px solid var(--color-white);
}

.test-stars {
  color: #ECC94B;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.test-text {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 10px;
  font-style: italic;
}

.test-author {
  font-weight: 700;
  font-size: 0.85rem;
}

/* Steps to Success */
.steps {
  padding: 3rem 0;
  background-color: var(--color-white);
  text-align: center;
}

.steps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-white);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(133, 91, 169, 0.1);
  padding: 15px 40px;
  margin: 0 auto;
  max-width: 900px;
  flex-wrap: wrap;
  gap: 10px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
}

.step-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-purple-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-purple-primary);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.step-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-purple-dark);
}

.step-arrow {
  color: var(--color-purple-primary);
  font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
  background: var(--color-purple-gradient);
  padding: 4rem 0;
  color: var(--color-white);
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Premium Footer Styling */
footer {
  background-color: #1A202C !important;
  color: #A0AEC0 !important;
  padding: 4rem 0 2rem !important;
  font-family: var(--font-body);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 1.6fr !important;
  gap: 40px !important;
  margin-bottom: 3rem !important;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #A0AEC0 !important;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-socials a:hover {
  background-color: var(--color-purple-primary);
  color: var(--color-white) !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(133, 91, 169, 0.3);
}

.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.footer-links li {
  margin-bottom: 0 !important;
}

.footer-links a {
  color: #A0AEC0 !important;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-white) !important;
  padding-left: 5px;
}

.footer-contact-link {
  color: #E2E8F0 !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact-link:hover {
  color: var(--color-white) !important;
}

.footer-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF !important;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: 5px;
}

.footer-maps-link:hover {
  color: #A0AEC0 !important;
  transform: translateY(-2px);
}

.footer-title {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

.footer-action-link {
  transition: all 0.3s ease;
}

.footer-action-link:hover {
  opacity: 0.8;
  transform: translateX(4px);
}

.footer-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  padding: 12px 24px !important;
  font-size: 0.95rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-btn-white {
  background-color: #ffffff !important;
  color: #3C1053 !important;
}

.footer-btn-white i {
  color: #3C1053 !important;
}

.footer-btn-white:hover {
  background-color: #f7f5fa !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35) !important;
}

.footer-btn-purple {
  background-color: #3C1053 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
}

.footer-btn-purple i {
  color: #ffffff !important;
}

.footer-btn-purple:hover {
  background-color: #2d0a3d !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}




.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #A0AEC0;
}

/* Responsive */
@media (max-width: 992px) {
  .split-grid {
    grid-template-columns: 1fr;
  }

  .note-parents,
  .note-parents .container {
    flex-direction: column;
  }

  .note-image {
    min-height: 250px;
    width: 100%;
  }

  .note-content {
    padding: 2.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Founder Card Layout (About Us) */
.founder-card {
  background-color: var(--color-purple-dark);
  color: var(--color-white);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--box-shadow);
}

@media (max-width: 768px) {
  .logo img {
    height: 80px !important;
    max-height: 80px;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-purple-dark);
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease;
  }
  
  .menu-toggle:hover {
    transform: scale(1.1);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    gap: 10px;
    z-index: 999;
    align-items: center;
    border-top: 1px solid var(--color-purple-light);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .steps-container {
    flex-direction: column;
    border-radius: 20px;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }

  .test-grid {
    flex-direction: column;
  }

  .founder-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
  }
}

/* About Page Ideology Section */
.ideology-banner {
  position: relative;
  background: url('../images/class3.jpg') no-repeat center center/cover;
  padding: 6rem 0;
  color: var(--color-white);
  text-align: center;
}

.ideology-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(60, 16, 83, 0.8), rgba(133, 91, 169, 0.5));
  z-index: 1;
}

.ideology-banner .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.ideology-banner h2 {
  color: var(--color-cream);
  font-size: 2.8rem;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  display: inline-block;
  border-bottom: 3px solid var(--color-cream);
  padding-bottom: 0.5rem;
}

.ideology-banner p {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  text-align: left;
}

.ideology-banner p strong {
  color: var(--color-cream);
  font-weight: 700;
}

.ideology-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2.5rem;
}

.ideology-buttons .btn {
  padding: 12px 30px;
  font-size: 1.05rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.ideology-buttons .btn-primary {
  background-color: var(--color-purple-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(133, 91, 169, 0.4);
}

.ideology-buttons .btn-primary:hover {
  background-color: var(--color-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(133, 91, 169, 0.6);
}

.ideology-buttons .btn-white {
  background-color: var(--color-white);
  color: var(--color-purple-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ideology-buttons .btn-white:hover {
  background-color: var(--color-cream);
  transform: translateY(-2px);
  color: var(--color-purple-dark);
}

@media (max-width: 576px) {
  .logo img {
    height: 70px !important;
    max-height: 70px;
  }

  .hero {
    min-height: 400px;
    padding-bottom: 3rem;
  }

  .hero blockquote {
    font-size: 1.4rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .ideology-banner {
    padding: 4rem 0;
  }
  .ideology-banner h2 {
    font-size: 2.2rem;
  }
  .ideology-banner p {
    font-size: 1.05rem;
  }
  .ideology-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .ideology-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}