/* Global Design System & Variables */
:root {
    --primary-green: #4F7F3A;
    /* Deep Leaf Green */
    --light-green: #6FAF4E;
    /* Fresh Light Green */
    --olive-green: #5E8E3E;
    --accent-blue: #2C7BE5;
    /* Medical Blue */
    --accent-yellow: #F2C94C;
    /* Warm Yellow */
    --white: #FFFFFF;
    --off-white: #F7F9F5;
    --text-dark: #2E2E2E;
    /* Dark Charcoal */
    --text-muted: #6B6B6B;
    --section-padding: 80px 20px;
    --mobile-padding: 48px 20px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* Utilities */
.text-highlight {
    color: var(--light-green);
    position: relative;
    display: inline-block;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.btn-playstore {
   display: inline-flex;
    align-items: center;     /* vertical centering */
    justify-content: center;
    gap: 8px;
    background: #000;
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 2;            /* IMPORTANT */
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-playstore img {
    height: 22px;
    display: block;         /* KEY */
}
.btn-playstore i {
    font-size: 1rem;
}




.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--light-green);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(79, 127, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 127, 58, 0.4);
}

.btn-secondary {
    background: transparent;
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.btn-secondary:hover {
    background: var(--off-white);
    color: var(--primary-green);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    margin-top: 2rem;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
}

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

.btn-white:hover {
    background: var(--off-white);
    transform: scale(1.05);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.2rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* spacing between logo and text */
}

.logo-img {
    display: block;
    width: 60px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    font-family: var(--font-heading);
}

.logo-text .highlight {
    color: var(--light-green);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--light-green);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-green);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--off-white) 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.badge {
    display: inline-block;
    background: var(--accent-yellow);
    color: #333;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtext {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 90%;
}

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

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 2;
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

.hero-shape {
    position: absolute;
    top: -20px;
    padding: 10px;
    width: 100%;
    height: 100%;
    background: var(--light-green);
    border-radius: var(--radius-lg);
    opacity: 0.2;
    z-index: 1;

}

/* Marquee Section */
.marquee-section {
    background: var(--primary-green);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    color: var(--white);
    font-weight: 500;
    font-size: 1.1rem;
}

.marquee-content span {
    margin-right: 50px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Trust Strip */
.trust-strip {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-item i {
    color: var(--olive-green);
    font-size: 1.4rem;
}

/* Courses Section */
.courses-section {
    padding: var(--section-padding);
    background: var(--off-white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

/* First 3 items: 33% width each (span 2 of 6) */
.course-card:nth-child(1),
.course-card:nth-child(2),
.course-card:nth-child(3) {
    grid-column: span 2;
}

/* Next 2 items: 50% width each (span 3 of 6) */
.course-card:nth-child(4),
.course-card:nth-child(5) {
    grid-column: span 3;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--olive-green) 100%);
    color: var(--white);
}

.course-card:nth-child(4) h3,
.course-card:nth-child(5) h3 {
    color: var(--white);
}

.course-card:nth-child(4) p,
.course-card:nth-child(5) p {
    color: rgba(255, 255, 255, 0.9);
}

.course-card:nth-child(4) .card-icon,
.course-card:nth-child(5) .card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.course-card:nth-child(4) .btn,
.course-card:nth-child(5) .btn {
    background: var(--white);
    color: var(--primary-green);
    border-color: var(--white);
}

.course-card:nth-child(4) .btn:hover,
.course-card:nth-child(5) .btn:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.course-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* GSAP safe transition */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(111, 175, 78, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-green);
    font-size: 1.5rem;
}

.card-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.course-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.course-card p {
    flex-grow: 1;
    /* Pushes button to bottom */
    margin-bottom: 20px;
}

.courses-cta {
    text-align: center;
    margin-top: 40px;
}

/* Results Section */
.results-section {
    padding: 0;
    padding-top: 0px;
    /* Space for the header */
    width: 100%;
    margin-bottom: var(--section-padding);
    /* Add bottom spacing to separate from next section */
    /* If the user wants it tightly packed, we can remove margin */
}

.results-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.results-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Why Us Section */
.why-us-section {
    padding: var(--section-padding);
    background: var(--white);
}

.why-us-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow-soft);
    border-color: rgba(79, 127, 58, 0.2);
}

.feature-icon {
    color: var(--light-green);
    font-size: 1.5rem;
    margin-top: 4px;
}

.feature-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
}

/* Vision & Mission */
.vision-mission-section {
    padding: 60px 0;
    background: linear-gradient(to right, var(--primary-green), var(--olive-green));
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-md);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vm-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vm-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* Mentor Section */
.mentor-section {
    padding: var(--section-padding);
}

.mentor-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.mentor-image-wrapper {
    position: relative;
}

.mentor-image {
    width: 100%;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
}

.mentor-bg-shape {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--accent-yellow);
    border-radius: 50% 50% var(--radius-lg) var(--radius-lg);
    opacity: 0.3;
    z-index: 1;
}

.mentor-content h2 {
    font-size: 2.5rem;
}

.mentor-role {
    color: var(--light-green);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.mentor-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
    border-left: 4px solid var(--primary-green);
    padding-left: 20px;
    margin-top: 30px;
    background: var(--off-white);
    padding: 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Teaching Approach */
.approach-section {
    padding: var(--section-padding);
    background: var(--off-white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.8);
}

.step-divider {
    flex: 1;
    height: 3px;
    background: #ddd;
    margin: 0 10px;
    position: relative;
    top: -20px;
    z-index: 1;
}

/* Outcomes */
.outcomes-section {
    padding: var(--section-padding);
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.outcome-card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
}

.outcome-card i {
    font-size: 2.5rem;
    color: var(--light-green);
    margin-bottom: 15px;
}

.outcome-card p {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 0;
}

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

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: var(--off-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.contact-info {
    padding: 50px;
}

.contact-item {
    display: flex;
    text-align: start;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.contact-form-wrapper {
    background: var(--off-white);
    padding: 40px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-form textarea {
    resize: vertical;
}

/* Final CTA */
.final-cta-section {
  background: #50803A;
  padding: 80px 0;
  color: #fff;
}

.final-cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.final-cta-content h2 {
  font-size: 38px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
}

.final-cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #fff;
}

.portrait-video .video-wrapper {
  position: relative;
  padding-bottom: 100.78%; /* 9:16 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  max-width:100%; /* control width */
  margin-left: auto;
}

.portrait-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile center align */
@media (max-width: 991px) {
  .portrait-video .video-wrapper {
    margin: 0 auto;
    max-width: 280px;
  }
}


/* Responsive */
@media (max-width: 991px) {
  .final-cta-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .final-cta-content h2 {
    font-size: 30px;
  }

}


/* Footer */
.footer {
    background: #fff;
    color: #color;
    padding: 20px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-inner p {
     color: #000 !important;
}

.social-icons a {
    margin-left: 15px;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-2px);
}

/* Official brand colors */
.social-icons a.facebook i {
    color: #1877F2 !important; /* Facebook Blue */
}

.social-icons a.instagram i {
    color: #E4405F !important; /* Instagram Pink */
}

.social-icons a.youtube i {
    color: #FF0000 !important; /* YouTube Red */
}



/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 40px;
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    transition: color 0.2s;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary-green);
    text-decoration: none;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    text-align: start;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-green);
    box-shadow: 0 0 0 3px rgba(111, 175, 78, 0.1);
}

.form-status {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
    min-height: 24px;
}

.form-status.success {
    color: var(--primary-green);
}

.form-status.error {
    color: #e74c3c;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }

    .hero-container,
    .why-us-container,
    .mentor-container,
    .contact-container {
        grid-template-columns: 1fr;
        padding-top: 30px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .trust-container {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .trust-item {
        justify-content: flex-start;
        width: 100%;
    }

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

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

    .feature-item {
        text-align: left;
    }

    .process-steps {
        flex-direction: column;
        gap: 30px;
    }

    .step-divider {
        width: 4px;
        height: 50px;
        background: var(--primary-green);
        top: 0;
        margin: 0;
    }

    .mentor-image-wrapper {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

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

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

    .course-card:nth-child(n) {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
        /* In a real scenario, toggle menu would be here */
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-section {
        padding: 100px 0 60px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn-playstore{
        width: 100%;
    }

    .contact-info {
        padding: 30px;
    }

    .contact-actions {
        flex-direction: column;
        width: 100%;
    }

    .contact-actions .btn {
        width: 100%;
        text-align: center;
    }

    .modal-content {
        padding: 25px;
        width: 95%;
    }

    /* General responsive button fix for small screens */
    .btn {
        width: 100%;
        display: flex;
        /* Helps with centering text if needed, though inline-block is default */
        justify-content: center;
        margin-top: 10px;
        /* Spacing if they stack naturally */
    }
    
    .footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

    /* Reset margin for specific buttons if needed */
    .hero-buttons .btn,
    .contact-actions .btn {
        margin-top: 0;
    }

    .btn-sm {
        width: auto;
        /* Maybe keep small buttons auto width unless very small screen? 
                     User said "make all buttons responsives", usually implies full width for easy touch */
        width: 100%;
    }
}