:root {
    --bg-white: #ffffff;
    --text-main: #2D2E45;
    --text-muted: #6C6D85;
    --pill-yellow: #FFD875;
    --pill-blue: #A2DFFB;
    --pill-purple: #D7CCFF;
    --cta-lime: #D2FF5E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}


.tutoring-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    padding: 0 8%;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

/* --- Content Styling --- */
.hero-title {
    font-size: 5.5rem; /* Large scale font */
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -2px;
}

.tag-group {
    display: inline-flex;
    gap: 12px;
    vertical-align: middle;
    margin-left: 10px;
}

.pill-tag {
    font-size: 1.8rem;
    padding: 8px 24px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    color: var(--text-main);
}

.pill-tag.yellow { background: var(--pill-yellow); }
.pill-tag.blue { background: var(--pill-blue); }
.pill-tag.purple { background: var(--pill-purple); }

.hero-desc {
    max-width: 500px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 30px 0;
}

/* --- Button Styling --- */
.btn-primary {
    background-color: var(--cta-lime);
    color: var(--text-main);
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(210, 255, 94, 0.2);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
}

/* --- Visual Styling --- */
.visual-right {
    position: relative;
    display: flex;
    justify-content: center;
}

.floating-img {
    width: 120%;
    z-index: 2;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.gradient-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(162,223,251,0.4) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .tag-group { justify-content: center; }
    .hero-desc { margin: 30px auto; }
    .visual-right { display: none; } /* Hide 3D on small mobile for UX */
}

:root {
    --text-main: #2D2E45;
    --text-muted: #6C6D85;
    --cta-lime: #D2FF5E;
    /* Card Backgrounds */
    --card-blue: #A2DFFB;
    --card-lime: #D2FF5E;
    --card-orange: #FFD875;
    --card-sky: #88C9F9;
    --card-purple: #D7CCFF;
}

.how-it-works {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
    text-align: center;
}

.header-container {
    max-width: 700px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.btn-primary {
    background-color: var(--cta-lime);
    color: var(--text-main);
    padding: 14px 35px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* App Grid Layout */
.app-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 10px;
    width: 110%; /* Slightly wider to simulate "cutting off" at edges */
    margin-left: -5%;
}

.grid-card {
    position: relative;
    width: 200px; /* Adjust size based on your screen aspect ratio */
    height: 200px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.grid-card:hover {
    transform: scale(1.05) translateY(-5px);
    z-index: 10;
}

/* Card Background Variants */
.blue   { background-color: var(--card-blue); }
.lime   { background-color: var(--card-lime); }
.orange { background-color: var(--card-orange); }
.sky    { background-color: var(--card-sky); }
.purple { background-color: var(--card-purple); }

.app-mockup {
    width: 75%; /* Controls the size of the phone inside the card */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

.card-id {
    position: absolute;
    bottom: 12px;
    right: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title { font-size: 2.5rem; }
    .grid-card { width: 140px; height: 140px; }
}
:root {
    --bg-lavender: #F0F4FF;
    --text-navy: #1E1B39;
    --text-muted: #5A5B75;
    --btn-navy: #242247;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.community-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    background-color: #fff; /* Outer background */
}

.community-card {
    width: 100%;
    max-width: 1100px;
    background-color: var(--bg-lavender);
    border-radius: 40px; /* High rounding as seen in image */
    padding: 100px 40px 0 40px; /* Padding-bottom is 0 so image hits the edge */
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.community-content {
    max-width: 700px;
    z-index: 2;
    margin-bottom: 40px;
}

.community-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-navy);
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

.community-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 35px;
}

/* Specific Pill-Shaped Button */
.btn-dark {
    background-color: var(--btn-navy);
    color: white;
    padding: 16px 55px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-dark:hover {
    background-color: #312e5e;
    transform: translateY(-2px);
}

/* Bottom Graphic Alignment */
.community-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.footer-graphic {
    width: 555px;
    max-width: 34%;
    height: auto;
    display: block;
    margin-bottom: -100px; /* Pulls the image down to "bleed" off the edge */
    mask-image: linear-gradient(to top, transparent 5%, black 40%); /* Soft fade at bottom */
    filter: drop-shadow(0 -10px 30px rgba(0,0,0,0.05));
}

/* Responsive */
@media (max-width: 768px) {
    .community-title { font-size: 2.5rem; }
    .community-card { padding: 60px 20px 0 20px; }
    .footer-graphic { margin-bottom: -50px; }
}


  
:root {
  --showcase-bg: #f8faff;
  --showcase-accent: #5e60ce;
  --showcase-text: #1a1a1a;
  --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.ui-showcase {
  position: relative;
  background-color: var(--showcase-bg);
  padding: 100px 0;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ui-showcase__bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(94, 96, 206, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.ui-showcase__container {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.ui-showcase__header {
  margin-bottom: 60px;
  padding: 0 20px;
}

.ui-showcase__label {
  display: inline-block;
  color: var(--showcase-accent);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.ui-showcase__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--showcase-text);
  line-height: 1.2;
}

/* Collage & Perspective */
.ui-showcase__perspective-box {
  width: 110%;
  margin-left: -5%;
  perspective: 1500px;
  transform: rotate(-6deg) skew(-2deg, 0deg);
  will-change: transform;
}

.ui-showcase__collage-strip {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 0;
}

.ui-showcase__row {
  display: flex;
  gap: 30px;
  white-space: nowrap;
}

.ui-card {
  flex: 0 0 240px;
  height: 480px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.ui-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ui-card.card-lg {
  flex: 0 0 280px;
  height: 560px;
  margin-top: -40px; /* Create staggered depth */
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .ui-showcase__perspective-box {
    transform: rotate(-3deg) skew(-1deg, 0deg);
    width: 100%;
    margin-left: 0;
  }
  .ui-card { flex: 0 0 200px; height: 400px; }
  .ui-card.card-lg { flex: 0 0 220px; height: 440px; margin-top: -20px; }
}

@media (max-width: 768px) {
    .phone--left{
    display: none;
    }
  .ui-showcase { padding: 60px 0; }
  .ui-showcase__perspective-box { 
    transform: none; /* Flatten for mobile scroll feel */
  }
  .ui-showcase__collage-strip {
    overflow-x: auto;
    flex-direction: row; /* Single line for mobile row */
    padding: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .ui-showcase__row { gap: 15px; }
  .ui-card { scroll-snap-align: center; }
  .row-left, .row-right { animation: none !important; } /* Stop auto-move on mobile */
}


.btn-contact,
.btn-whatsapp {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact {
    background: var(--gradient);
    color: var(--bg-deep);
    box-shadow: 0 15px 25px rgba(31, 212, 166, 0.35);
}

.btn-contact:hover,
.btn-whatsapp:hover {
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: rgba(255,255,255,0.05);
    border-color: var(--border);
    color: var(--text-light);
}
