:root {
    --bg-color: #fdf8f4;
    --text-dark: #333;
    --text-light: #666;
    --accent-blue: #5d87b1;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: var(--white);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #4da1a9, #f9c846);
    border-radius: 50%;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    margin: 0 15px;
    font-size: 0.95rem;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login {
    text-decoration: none;
    color: var(--text-dark);
}

.btn-get-started {
    border: 1px solid var(--text-dark);
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-dark);
}

/* --- Hero Section --- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 60px 8%;
    gap: 40px;
}

.hero-content h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text-light);
    max-width: 450px;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-outline {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.arrow {
    background: var(--accent-blue);
    color: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* --- Hero Visuals (Abstract layout) --- */
.hero-visual {
    position: relative;
    height: 400px;
}

.shape {
    position: absolute;
    overflow: hidden;
}

.shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shape-1 {
    width: 250px;
    height: 250px;
    border-radius: 125px 125px 0 125px; /* Organic shape */
    top: 50px;
    left: 50px;
    z-index: 2;
    background: #c3e6cb;
}

.shape-2 {
    width: 180px;
    height: 220px;
    transform: rotate(15deg);
    top: 0;
    right: 50px;
    background: var(--accent-blue);
}

.dot-yellow {
    width: 80px;
    height: 80px;
    background: #f9e076;
    border-radius: 50%;
    bottom: 100px;
    right: 80px;
}

.bar-teal {
    width: 100px;
    height: 150px;
    background: #76c7c0;
    bottom: 0;
    right: 150px;
    transform: skewY(-20deg);
}

/* --- Impact Section --- */
.impact-container {
    padding: 40px 8% 80px;
}

.impact-card {
    background: white;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.impact-card h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    border-bottom: 3px solid var(--accent-blue);
    display: inline-block;
    padding-bottom: 5px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .hero-visual { display: none; } /* Hide complex visuals on small mobile for brevity */
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
}

/* --- Tabs Section --- */
.tabs-section {
    padding: 80px 8%;
    background-color: var(--bg-color);
}

.tabs-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.tabs-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tabs-header p {
    color: var(--text-light);
}

/* Tabs UI Container */
.tabs-container {
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.tabs-nav {
    display: flex;
    justify-content: space-around;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 20px;
}

.tab-btn {
    padding: 15px 25px;
    border: none;
    background: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-btn.active {
    color: var(--text-dark);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background: #4da1a9;
    border-radius: 10px;
}

/* Panel Layout */
.tab-panel {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 50px;
}

.image-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.image-wrapper img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.icon-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: #4da1a9;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(77, 161, 169, 0.4);
}

.panel-intro h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.panel-intro p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Right Side Features */
.feature-item {
    margin-bottom: 30px;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #333;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .tab-panel {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tab-btn {
        font-size: 0.85rem;
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .tabs-header h2 {
        font-size: 1.8rem;
    }
    
    .tabs-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tab-btn.active::after {
        left: 0;
        width: 4px;
        height: 100%;
        bottom: 0;
    }
}

/* --- Logo Cloud --- */
.logo-cloud {
    text-align: center;
    padding: 60px 8%;
    background: #fff;
}

.logo-cloud p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    filter: grayscale(100%);
    opacity: 0.7;
}

.logo-grid img {
    height: 30px;
}

/* --- Pathways Section (With Swirl Background) --- */
.pathways {
    padding: 100px 8%;
    position: relative;
    /* Simulated Swirl Pattern using SVG */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10 Q 50 90 90 10' stroke='%23e8e1da' fill='transparent'/%3E%3C/svg%3E");
    background-size: 400px;
}

.pathways-intro {
    text-align: left;
    max-width: 600px;
    margin-bottom: 60px;
}

.pathways-intro h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 100px;
}

.pathway-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
}

.card-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-body h4 { margin-bottom: 10px; }
.card-body p { 
    font-size: 0.85rem; 
    color: var(--accent-blue); 
    font-style: italic;
    margin-bottom: 15px;
}

/* --- Founder Spotlight --- */
.founder-section {
    display: flex;
    align-items: center;
    background: #5db1a5; /* Teal background from image */
    border-radius: 30px;
    padding: 0;
    overflow: hidden;
    color: #fff;
}

.founder-img-box {
    flex: 0 0 35%;
}

.founder-img-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.founder-quote {
    padding: 60px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.founder-meta {
    margin-top: 30px;
}

/* --- Values Grid --- */
.values-section {
    padding: 80px 8%;
}

.values-section h3 {
    font-family: 'DM Serif Display', serif;
    margin-bottom: 40px;
    font-size: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    border-bottom: 4px solid transparent;
}

/* Custom Value Colors */
.v-passion { border-color: #f9c846; }
.v-clarity { border-color: #5d87b1; }

.value-icon {
    width: 45px;
    height: 45px;
    background: #f0f0f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .founder-section { flex-direction: column; }
    .founder-img-box { width: 100%; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .values-grid { grid-template-columns: 1fr; }
    .logo-grid { gap: 30px; }
}

/* --- FAQ Section --- */
.faq-section {
    padding: 80px 8%;
    background: var(--bg-color);
}

.faq-section h2 {
    font-family: 'DM Serif Display', serif;
    margin-bottom: 40px;
}

.faq-container {
    border-top: 1px solid #ddd;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
}

.faq-toggle {
    background: var(--accent-blue);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* --- Student Stories --- */
.stories-section {
    padding: 80px 8%;
    background: #1a1612; /* Dark section background */
    color: white;
    text-align: center;
}

.stories-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stories-header p {
    opacity: 0.8;
    margin-bottom: 50px;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.story-card {
    background: white;
    color: var(--text-dark);
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
}

.story-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-content {
    padding: 25px;
}

.story-date {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 10px;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 8%;
    background: linear-gradient(to bottom, #1a1612 50%, var(--bg-color) 50%);
}

.cta-card {
    background: white;
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.cta-card h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-filled {
    background: var(--accent-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
}

/* --- Footer --- */
.main-footer {
    background: #1a1612;
    color: white;
    padding: 80px 8% 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    margin: 20px 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-col h5 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.link-col a {
    display: block;
    color: white;
    opacity: 0.7;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .stories-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { flex-direction: column; gap: 50px; }
    .footer-links { gap: 40px; }
}

@media (max-width: 600px) {
    .stories-grid { grid-template-columns: 1fr; }
    .cta-btns { flex-direction: column; }
    .footer-links { flex-direction: column; }
}