/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #DC143C;
    --primary-dark: #B11030;
    --secondary-color: #FF4444;
    --text-dark: #1a1a1a;
    --text-medium: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --accent-red: #DC143C;
    --accent-black: #000000;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    --font-display: 'Cormorant Garamond', 'DM Serif Display', Georgia, serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo:hover {
    opacity: 0.8;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    margin-top: 72px; /* offset for fixed navbar */
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 72px);
}

/* Left: text panel */
.hero-text-panel {
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 5rem 4rem 5rem 5rem;
    position: relative;
    border-right: 1px solid #ebebeb;
}

.hero-text-panel::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 1px;
    background: transparent;
}



.hero-text-inner::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.8rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(220,20,60,0.4);
}

.hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero h1 em {
    font-style: italic;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Right: image panel */
.hero-image-panel {
    background: #faf8f5;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 5rem;
    gap: 1rem;
    overflow: hidden;
}

/* Organic floating shapes */
.hero-image-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(220,20,60,0.07) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob1 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-image-panel::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(180,140,100,0.09) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob2 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.08); }
}

@keyframes floatBlob2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -18px) scale(1.06); }
}

.hero-image-frame {
    width: 70%;
    max-width: 420px;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06);
    position: relative;
    z-index: 2;
    animation: heroImageReveal 1s ease 0.3s both;
}

@keyframes heroImageReveal {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 65%, rgba(0,0,0,0.25) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
    transform: scale(1.03);
}

.hero-image-caption {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.35);
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Floating badge / stat pill */
.hero-badge {
    position: absolute;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

@keyframes badgeFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-badge-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-badge-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.hero-badge-text {
    display: flex;
    flex-direction: column;
}

.hero-badge-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    line-height: 1;
    margin-bottom: 2px;
}

.hero-badge-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}

/* Additional badge icon color variants */
.hero-badge-icon--green {
    background: linear-gradient(135deg, #16a34a, #4ade80) !important;
}
.hero-badge-icon--blue {
    background: linear-gradient(135deg, #1d4ed8, #60a5fa) !important;
}
.hero-badge-icon--orange {
    background: linear-gradient(135deg, #ea580c, #fb923c) !important;
}
.hero-badge-icon--purple {
    background: linear-gradient(135deg, #7c3aed, #a78bfa) !important;
}

/* Badge positioning — evenly spaced around the image, no overlap */

/* Badge positioning — evenly spaced around the image, no overlap */

/* Badge 1: left side, upper-third */
.hero-badge--1 {
    top: 22%;
    left: 0.75rem;
    opacity: 1;
    animation: badgeFloatLeft 6s ease-in-out infinite, badgeFadeIn 1s ease 0.7s both;
}

/* Badge 2: left side, lower-third */
.hero-badge--2 {
    bottom: 22%;
    left: 0.75rem;
    opacity: 0.92;
    animation: badgeFloatLeft 7s ease-in-out infinite 1s, badgeFadeIn 1s ease 0.9s both;
}

/* Badge 3: top edge, left-of-center */
.hero-badge--3 {
    top: 0.75rem;
    left: 20%;
    opacity: 0.88;
    animation: badgeFloat3 8s ease-in-out infinite, badgeFadeIn 1s ease 1.1s both;
}

/* Badge 4: top edge, right-of-center */
.hero-badge--4 {
    top: 0.75rem;
    right: 10%;
    opacity: 0.88;
    animation: badgeFloat3 9s ease-in-out infinite 1.5s, badgeFadeIn 1s ease 1.3s both;
}

/* Badge 5: right side, upper-third */
.hero-badge--5 {
    top: 22%;
    right: 0.75rem;
    opacity: 0.82;
    animation: badgeFloatRight 11s ease-in-out infinite, badgeFadeIn 1s ease 1.5s both;
}

/* Badge 6: right side, lower-third */
.hero-badge--6 {
    bottom: 22%;
    right: 0.75rem;
    opacity: 0.82;
    animation: badgeFloatRight 10s ease-in-out infinite 2s, badgeFadeIn 1s ease 1.7s both;
}

/* Badge 7: bottom edge, center */
.hero-badge--7 {
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.78;
    animation: badgeFloat5 12s ease-in-out infinite 1s, badgeFadeIn 1s ease 1.9s both;
}

@keyframes badgeFloat2 {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

@keyframes badgeFloat3 {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

/* Used for center-bottom badge (badge 7) which uses translateX(-50%) baseline */
@keyframes badgeFloat5 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-7px); }
}

/* Side badges float horizontally */
@keyframes badgeFloatLeft {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(-5px); }
}

@keyframes badgeFloatRight {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(5px); }
}

/* Badge connector SVG — constellation web */
.badge-connector {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}

/* Each connecting line between badges */
.badge-connector-line {
    fill: none;
    stroke-width: 1px;
    stroke-linecap: round;
    opacity: 0;
    animation: lineReveal 0.6s ease forwards;
}

@keyframes lineReveal {
    to { opacity: 1; }
}

/* Travelling particle dot on each line */
.badge-connector-particle {
    r: 3;
    opacity: 0.9;
    animation: none;
}

/* Glow filter applied via JS */
.badge-connector-glow {
    fill: none;
    stroke-width: 3px;
    stroke-linecap: round;
    opacity: 0;
    animation: lineReveal 0.6s ease forwards;
    filter: url(#badge-glow);
}

/* Clickable badge style */
.hero-badge[data-target] {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-badge[data-target]:hover {
    transform: scale(1.07);
    box-shadow: 0 12px 36px rgba(220,20,60,0.22), 0 0 0 2px rgba(220,20,60,0.18);
}

/* Keep badge-7 translateX baseline on hover */
.hero-badge--7[data-target]:hover {
    transform: translateX(-50%) scale(1.07);
}

/* Badge click glow — red pulse on the badge itself */
.hero-badge--glow-active {
    animation: badgeClickGlow 0.9s ease forwards !important;
}

@keyframes badgeClickGlow {
    0%   { box-shadow: 0 8px 28px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05); }
    30%  { box-shadow: 0 0 0 4px rgba(220,20,60,0.55), 0 0 28px 8px rgba(220,20,60,0.45); }
    60%  { box-shadow: 0 0 0 6px rgba(220,20,60,0.35), 0 0 40px 14px rgba(220,20,60,0.3); }
    100% { box-shadow: 0 8px 28px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05); }
}

/* Section heading glow — red text glow on the target section's h2/h3 */
.section-heading--glow-active {
    animation: sectionHeadingGlow 1.4s ease forwards !important;
}

@keyframes sectionHeadingGlow {
    0%   { color: inherit; text-shadow: none; }
    20%  { color: #DC143C; text-shadow: 0 0 8px rgba(220,20,60,0.7), 0 0 20px rgba(220,20,60,0.5), 0 0 40px rgba(220,20,60,0.3); }
    50%  { color: #DC143C; text-shadow: 0 0 12px rgba(220,20,60,0.9), 0 0 30px rgba(220,20,60,0.6), 0 0 60px rgba(220,20,60,0.35); }
    80%  { color: #DC143C; text-shadow: 0 0 8px rgba(220,20,60,0.5), 0 0 18px rgba(220,20,60,0.3); }
    100% { color: inherit; text-shadow: none; }
}

/* Decorative corner dots */
.hero-dots {
    position: absolute;
    top: 2.5rem;
    left: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 6px);
    grid-template-rows: repeat(4, 6px);
    gap: 6px;
    z-index: 1;
    opacity: 0.18;
}

.hero-dots span {
    width: 4px;
    height: 4px;
    background: #1a1a1a;
    border-radius: 50%;
    display: block;
}

/* Text panel entrance animation */
.hero-text-inner {
    max-width: 480px;
    position: relative;
    animation: heroTextReveal 0.9s ease 0.1s both;
}

@keyframes heroTextReveal {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #333333;
    border-color: rgba(0,0,0,0.25);
    font-weight: 400;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: rgba(0,0,0,0.05);
    color: #1a1a1a;
    border-color: rgba(0,0,0,0.5);
    transform: translateY(-2px);
}

/* Mission Section */
.mission {
    padding: 6rem 0;
    background: var(--bg-white);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.mission-text p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mission-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--text-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Program Section */
.program {
    padding: 6rem 0;
    background: var(--bg-white);
}

.program-overview {
    margin-bottom: 4rem;
}

.program-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
}

.detail-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: var(--text-medium);
    font-size: 1rem;
}

.curriculum h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.curriculum-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.curriculum-card:hover {
    transform: translateX(5px);
}

.week-number {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.curriculum-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.curriculum-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Impact Section */
.impact {
    padding: 6rem 0;
    background: var(--bg-light);
}

.impact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.impact-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.impact-text h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.impact-text p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-medium);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Story Section */
.story {
    padding: 6rem 0;
    background: var(--bg-white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.story-text h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-text p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-image {
    margin-bottom: 1.5rem;
}

.testimonial-image img {
    border-radius: 8px;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.testimonial-card p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.support-list li {
    margin-bottom: 2rem;
    padding-left: 2rem;
    position: relative;
}

.support-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.support-list h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.support-list p {
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-form-wrapper h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.form-description {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-helper {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-text-panel {
        padding: 4rem 2rem;
    }

    .hero-image-panel {
        padding: 2rem;
        min-height: 680px;
    }

    /* Mobile badge layout — evenly spaced, no overlaps */
    /* Reset ALL badge positions for mobile, then re-place precisely */
    .hero-badge--1,
    .hero-badge--2,
    .hero-badge--3,
    .hero-badge--4,
    .hero-badge--5,
    .hero-badge--6,
    .hero-badge--7 {
        position: absolute;
        margin: 0 !important;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        transform: none;
    }

    /* Row 1: badges 1 & 2 — top of panel */
    .hero-badge--1 {
        top: 1rem;
        left: 0.5rem;
        animation: badgeFloatLeft 6s ease-in-out infinite, badgeFadeIn 1s ease 0.7s both;
    }
    .hero-badge--2 {
        top: 1rem;
        right: 0.5rem;
        animation: badgeFloatRight 7s ease-in-out infinite 1s, badgeFadeIn 1s ease 0.9s both;
    }

    /* Row 2: badges 3 & 4 — above the image (clear gap) */
    .hero-badge--3 {
        top: calc(50% - 175px);
        left: 0.5rem;
        animation: badgeFloatLeft 8s ease-in-out infinite, badgeFadeIn 1s ease 1.1s both;
    }
    .hero-badge--4 {
        top: calc(50% - 175px);
        right: 0.5rem;
        animation: badgeFloatRight 9s ease-in-out infinite 1.5s, badgeFadeIn 1s ease 1.3s both;
    }

    /* Row 3: badges 5 & 6 — below the image (clear gap) */
    .hero-badge--5 {
        top: calc(50% + 100px);
        left: 0.5rem;
        animation: badgeFloatLeft 11s ease-in-out infinite, badgeFadeIn 1s ease 1.5s both;
    }
    .hero-badge--6 {
        top: calc(50% + 100px);
        right: 0.5rem;
        animation: badgeFloatRight 10s ease-in-out infinite 2s, badgeFadeIn 1s ease 1.7s both;
    }

    /* Row 4: badge 7 — bottom center */
    .hero-badge--7 {
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%) !important;
        animation: badgeFloat5 12s ease-in-out infinite 1s, badgeFadeIn 1s ease 1.9s both;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .mission-content,
    .impact-content,
    .story-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .story-image {
        order: -1;
    }

    .program-details {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

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

    .program-details {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: row;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

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

    /* Extra small screens: taller panel + tighter badge text */
    .hero-image-panel {
        min-height: 700px;
    }

    .hero-badge {
        padding: 0.65rem 0.85rem;
        gap: 0.5rem;
    }

    .hero-badge-icon {
        width: 30px;
        height: 30px;
    }

    .hero-badge-value {
        font-size: 0.78rem;
    }

    .hero-badge-label {
        font-size: 0.58rem;
    }

    /* Row 2 & 3 adjustments for narrower screens */
    .hero-badge--3,
    .hero-badge--4 {
        top: calc(50% - 170px);
    }

    .hero-badge--5,
    .hero-badge--6 {
        top: calc(50% + 105px);
    }
}
