
/* --- CSS VARIABLES --- */
:root {
    --primary-dark: #002044; /* Deep Navy */
    --primary-blue: #0077cc; /* Brand Blue */
    --accent-blue: #00bfff; /* Bright Cyan Accent */
    --accent-orange: #ff7f50; /* Coral/Orange for CTA */
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { 
    max-width: 100%; 
    height: auto;
    display: block; 
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
}

p, li, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* --- UTILITIES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.flex { display: flex; }
.grid { display: grid; }

.section-padding { padding: 80px 0; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 119, 204, 0.4);
}

.btn-secondary {
    background: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.btn-outline-dark:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-orange {
    background: linear-gradient(135deg, #ff8c61, #ff6b3d);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 61, 0.3);
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 61, 0.4);
}

/* --- HEADER --- */
header {
    background-color: var(--bg-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.logo span { color: var(--primary-blue); }

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.nav-link:hover { color: var(--primary-blue); }

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(105deg, var(--primary-dark) 0%, #003366 100%);
    color: var(--text-light);
    padding-top: 50px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text .subhead {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-features {
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.hero-feature i {
    color: var(--accent-orange);
    background: rgba(255, 127, 80, 0.15);
    padding: 5px;
    border-radius: 50%;
    font-size: 0.9rem;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CSS Art for Abstract Hero Image based on screenshot */
.abstract-shape {
    width: 400px;
    height: 400px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.shape-group {
    position: relative;
    width: 200px;
    height: 300px;
}

.circle-top {
    width: 120px;
    height: 120px;
    background: #89CFF0;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.triangle-mid {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 120px solid #4FB0E5;
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.rect-base {
    width: 140px;
    height: 80px;
    background: #89CFF0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.small-circle-1 {
    width: 40px;
    height: 40px;
    background: #E6B8B8; /* Pinkish tone from screenshot */
    border-radius: 50%;
    position: absolute;
    top: 120px;
    left: 0;
}

.small-circle-2 {
    width: 60px;
    height: 60px;
    background: #A9D6F3;
    border-radius: 50%;
    position: absolute;
    top: 200px;
    right: -20px;
}

/* --- FEATURES SECTION (Why Edunication) --- */
.features-section {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover);
    border-bottom-color: var(--primary-blue);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.feature-card:nth-child(3) .feature-icon {
    color: #ff4757;
    background: #ffe0e3;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    height: 150px;
}

/* --- PATHWAYS SECTION --- */
.pathways-section {
    background-color: white;
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pathway-card {
    background: #f0f8ff;
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pathway-card:hover {
    background: #e6f3ff;
    transform: scale(1.02);
}

.step-badge {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 20px;
}

.pathway-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    min-height: 60px; /* Align heights */
}

.pathway-card p {
    color: var(--text-gray);
    margin-bottom: 30px;
    flex-grow: 1;
}

.pathway-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pathway-link:hover { gap: 12px; }

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
}

.testimonials-section h2 { color: white; }
.testimonials-section p { color: rgba(255,255,255,0.7); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.1);
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
    min-height: 80px;
}

.author {
    font-weight: 700;
    color: var(--accent-blue);
}

.author-role {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 4px;
}

/* --- CTA FOOTER --- */
.cta-section {
    background: linear-gradient(135deg, #0099ff 0%, #00c6ff 100%);
    color: white;
    padding: 80px 0;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--primary-blue);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- FOOTER --- */
footer {
    background-color: #00152e;
    color: rgba(255,255,255,0.6);
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    cursor: pointer;
    transition: color 0.2s;
}

.footer-links a:hover { color: white; }

/* --- MODAL FOR POLICIES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 { margin: 0; color: var(--primary-dark); }

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.modal-body h4 { margin-top: 20px; margin-bottom: 10px; color: var(--primary-dark); }
.modal-body p { margin-bottom: 15px; }
.modal-body ul { list-style: disc; padding-left: 20px; margin-bottom: 15px; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .hero-text h1 { font-size: 2.2rem; }
    .pathways-grid { grid-template-columns: repeat(2, 1fr); }
    .abstract-shape { transform: scale(0.8); }
    .section-header h2 { font-size: 2.2rem; }
    .cta-content h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    /* Container adjustments */
    .container { padding: 0 15px; }
    
    /* Header */
    header { padding: 12px 0; }
    .logo img { width: 150px; }
    .nav-menu { display: none; }
    .mobile-menu-btn { display: block; }
    
    /* Hero Section */
    .hero { padding: 40px 0; }
    .hero-content { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 30px;
    }
    .hero-text h1 { 
        font-size: 1.8rem; 
        margin-bottom: 15px;
        line-height: 1.3;
    }
    .hero-text .subhead { 
        font-size: 1rem; 
        margin: 0 auto 25px; 
        max-width: 100%;
    }
    .hero-features { 
        margin-bottom: 30px;
        align-items: flex-start;
        text-align: left;
    }
    .hero-feature {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    .hero-actions { 
        justify-content: center; 
        flex-wrap: wrap;
        gap: 10px;
    }
    .hero-image-wrapper { 
        margin-top: 30px;
        order: -1;
    }
    .hero-image-wrapper img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
    
    /* Section Padding */
    .section-padding { padding: 50px 0; }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
    }
    .section-header h2 { 
        font-size: 1.8rem; 
        margin-bottom: 10px;
    }
    .section-header p {
        font-size: 1rem;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feature-card {
        padding: 30px 20px;
    }
    .feature-card h3 {
        font-size: 1.1rem;
    }
    .feature-card p {
        font-size: 0.9rem;
    }
    
    /* Pathways Grid */
    .pathways-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .pathway-card {
        padding: 30px 20px;
    }
    .pathway-card h3 {
        font-size: 1.2rem;
        min-height: auto;
        margin-bottom: 12px;
    }
    .pathway-card p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    /* Testimonials */
    .testimonials-section {
        padding: 50px 0;
    }
    .testimonials-section h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    .testimonials-section > p {
        font-size: 1rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    .testimonial-card {
        padding: 25px 20px;
    }
    .quote {
        font-size: 1rem;
        min-height: auto;
        margin-bottom: 20px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 50px 0;
    }
    .cta-content h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .cta-buttons .btn {
        width: 100%;
        max-width: 100%;
    }
    
    /* Footer */
    footer {
        padding: 30px 0;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .footer-links a {
        display: block;
        padding: 5px 0;
    }
    
    /* Modal */
    .modal-content {
        max-width: 95%;
        max-height: 90vh;
        margin: 10px;
    }
    .modal-header {
        padding: 15px;
    }
    .modal-header h3 {
        font-size: 1.2rem;
    }
    .modal-body {
        padding: 20px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .container { padding: 0 12px; }
    
    .hero-text h1 { 
        font-size: 1.5rem; 
        line-height: 1.2;
    }
    .hero-text .subhead {
        font-size: 0.95rem;
    }
    .section-header h2 {
        font-size: 1.5rem;
    }
    .section-header p {
        font-size: 0.95rem;
    }
    .cta-content h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        min-height: 44px; /* Better touch target */
    }
    .feature-card {
        padding: 25px 15px;
    }
    .pathway-card {
        padding: 25px 15px;
    }
    .testimonial-card {
        padding: 20px 15px;
    }
    .hero-image-wrapper img {
        max-width: 250px;
    }
    .logo img {
        width: 130px;
    }
    .section-padding {
        padding: 40px 0;
    }
}