/* CSS Variables */
:root {
    --primary: #2C5B82; /* Slightly deeper blue */
    --secondary: #1A344A; /* Darker blue for backgrounds */
    --accent: #4A90E2;
    --highlight: #50E3C2; /* A new minty highlight color */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-dark: #f0f2f5;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --radius: 16px; /* Increased for a softer look */
    --shadow-light: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-strong: 0 12px 30px rgba(39, 75, 101, 0.15);
    --transition-speed: 0.3s;
}

/* Base Reset and Typography */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.7; color: var(--text-dark); background-color: var(--bg-light); overflow-x: hidden; }
section { position: relative; overflow: hidden; }
a { color: var(--primary); text-decoration: none; }
a:hover, button:hover { opacity: 0.85; transition: opacity var(--transition-speed); }
h1, h2, h3, h4 { font-weight: 600; }

/* Floating background shapes */
.floating-shape { position: absolute; display: block; border-radius: 50%; background-color: rgba(74, 144, 226, 0.08); z-index: -1; filter: blur(20px); animation: float 20s infinite ease-in-out alternate; }
@keyframes float { from { transform: translateY(20px) translateX(-20px) rotate(0deg); } to { transform: translateY(-20px) translateX(20px) rotate(180deg); } }

/* Accessibility Focus Styles */
button:focus, a:focus, input:focus, select:focus, textarea:focus, [tabindex]:focus { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--radius); }

/* Utility Classes */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.btn { display: inline-block; padding: 14px 28px; border-radius: 12px; font-weight: 600; cursor: pointer; text-align: center; border: 2px solid transparent; transition: all var(--transition-speed) ease; position: relative; overflow: hidden; z-index: 1; }
.btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent); transition: left 0.5s; z-index: -1; }
.btn:hover::before { left: 100%; }
.btn-primary { background-image: linear-gradient(45deg, var(--accent) 0%, var(--primary) 100%); color: var(--text-light); box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3); }
.btn-primary:hover, .btn-primary:focus { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4); }
.btn-secondary { background-color: transparent; color: var(--primary); border-color: var(--primary); padding: 12px 26px; }
.btn-secondary:hover, .btn-secondary:focus { background-color: rgba(39, 75, 101, 0.05); transform: translateY(-3px); }
.card { background-color: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow-light); padding: 24px; transition: transform var(--transition-speed), box-shadow var(--transition-speed); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-strong); }
.section-heading { text-align: center; margin-bottom: 50px; font-size: 2.5rem; font-weight: 700; color: var(--primary); position: relative; }
.section-heading::after { content: ''; display: block; width: 60px; height: 4px; background-color: var(--highlight); margin: 10px auto 0; border-radius: 2px; }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary); color: white; padding: 8px; z-index: 1000; }
.skip-link:focus { top: 0; border-radius: 0 0 8px 0; }

/* Header & Navigation */
header { background-color: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); position: sticky; top: 0; z-index: 50; }
.header-content { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.logo { display: flex; align-items: center; font-size: 1.5rem; font-weight: 700; color: var(--primary); gap: 12px; }
.logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
nav { display: none; align-items: center; gap: 10px;}
.nav-links { list-style: none; display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--text-dark); font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color var(--transition-speed), color var(--transition-speed); }
.nav-links a:hover, .nav-links a:focus, .nav-links a.active { border-bottom-color: var(--primary); color: var(--primary); }
.menu-toggle { display: block; background: none; border: none; padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; fill: var(--primary); }

/* Mobile Menu Overlay */
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); z-index: 100; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity var(--transition-speed); }
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu-content { background-color: var(--bg-light); width: 90%; max-width: 400px; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-light); transform: translateY(-20px); transition: transform var(--transition-speed), opacity var(--transition-speed); position: relative; }
.mobile-menu-overlay.open .mobile-menu-content { transform: translateY(0); }
.mobile-menu-content .close-btn { position: absolute; top: 15px; right: 15px; background: none; border: none; cursor: pointer; padding: 10px; }
.mobile-menu-content .close-btn svg { width: 24px; height: 24px; fill: var(--primary); }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.mobile-nav-links a { display: block; padding: 12px 0; font-size: 1.2rem; color: var(--text-dark); border-bottom: 1px solid var(--border-color); }
.mobile-nav-links li:last-child a { border-bottom: none; }
.mobile-menu-content .btn-primary { width: 100%; }

/* Hero Section */
#hero { padding: 80px 0; text-align: center; position: relative; color: var(--text-light); background-image: linear-gradient(45deg, rgba(44, 91, 130, 0.9), rgba(26, 52, 74, 0.95)), url('https://www.shutterstock.com/image-photo/blurred-silhouette-person-seen-foreground-600nw-2469419701.jpg'); background-size: cover; background-position: center; }
#hero h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); margin-bottom: 20px; line-height: 1.2; color: var(--text-light); font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
#hero p { font-size: clamp(1.1rem, 2.5vw, 1.35rem); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.9); }
.hero-cta-group { display: flex; flex-direction: column; gap: 15px; align-items: center; }
#hero .btn-secondary { color: var(--text-light); border-color: var(--text-light); }
#hero .btn-secondary:hover { background-color: rgba(255, 255, 255, 0.1); }

/* Trust Stats Strip */
.trust-stats-strip { background-color: var(--bg-light); padding: 40px 0; border-bottom: 1px solid var(--border-color); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat-card { padding: 10px; }
.stat-card strong { display: block; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.stat-card span { font-size: 1rem; color: #555; }

/* How It Works */
#how-it-works { padding: 100px 0; background-color: var(--bg-dark); }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.step-card { text-align: center; }
.step-card .icon-circle { width: 70px; height: 70px; background-image: linear-gradient(45deg, var(--accent) 0%, var(--primary) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px auto; box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3); }
.step-card .icon-circle svg { fill: var(--text-light); width: 32px; height: 32px; }
.step-card h3 { margin-bottom: 8px; font-size: 1.3rem; }

/* Platform Preview Section */
#platform-preview { padding: 100px 0; background-color: var(--bg-light); }
.preview-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.text-content h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 20px; line-height: 1.3; }
.text-content p { margin-bottom: 20px; color: #555; }
.feature-list { list-style: none; margin-bottom: 30px; }
.feature-list li { padding-left: 25px; position: relative; margin-bottom: 10px; }
.feature-list li::before { content: '✔'; position: absolute; left: 0; color: var(--highlight); font-weight: bold; }
.image-content img { max-width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-strong); }

/* Why Choose Us Section */
#why-us { padding: 100px 0; background-color: var(--bg-light); }
.why-us-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.why-us-card { padding: 30px; text-align: left; border-left: 4px solid var(--highlight); }
.why-us-card .icon-wrapper { margin-bottom: 20px; width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background-image: linear-gradient(45deg, rgba(80, 227, 194, 0.2), rgba(74, 144, 226, 0.2)); }
.why-us-card svg { width: 28px; height: 28px; fill: var(--primary); }
.why-us-card h3 { margin-bottom: 10px; font-size: 1.2rem; color: var(--primary); }
.why-us-card p { font-size: 0.95rem; color: #555; }


/* Categories Section with Boxicons */
#categories { background-color: var(--bg-dark); padding: 100px 0; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.category-card { 
    padding: 24px; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}
.category-card .icon-circle { 
    width: 80px; 
    height: 80px; 
    background-image: linear-gradient(45deg, var(--accent) 0%, var(--primary) 100%); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 20px; 
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3); 
}
.category-card .icon-circle i { 
    font-size: 36px; 
    color: var(--text-light); 
}
.category-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.category-card p { font-size: 0.95rem; color: #666; margin-bottom: 15px; line-height: 1.5; }
.category-card .min-invest { 
    display: block; 
    font-size: 0.9rem; 
    font-weight: 600; 
    color: var(--primary); 
    margin-bottom: 20px; 
    padding: 8px 12px; 
    background: rgba(44, 91, 130, 0.1); 
    border-radius: 6px; 
}
.category-card .btn { 
    width: 100%; 
    margin-top: auto; 
}

/* Marketplace Preview */
#marketplace { padding: 100px 0; }
.startup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.startup-card { 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    border: 1px solid var(--border-color); 
    transition: border-color var(--transition-speed); 
    position: relative; 
}
.startup-card:hover { border-color: var(--primary); }
.startup-card h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary); }
.startup-card p { font-size: 0.9rem; color: #666; margin-bottom: 12px; flex-grow: 1; line-height: 1.5; }
.startup-meta { 
    font-size: 0.85rem; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px 20px; 
    margin-bottom: 10px; 
}
.risk-dot { 
    display: inline-block; 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    margin-right: 5px; 
}
.risk-low { background-color: #28a745; } 
.risk-medium { background-color: #ffc107; } 
.risk-high { background-color: #dc3545; }
.sparkline { 
    display: block; 
    margin-top: 15px; 
    height: 30px; 
    overflow: hidden; 
    background-color: var(--bg-dark); 
    border-radius: 4px; 
}
.sparkline-path { 
    fill: none; 
    stroke: var(--primary); 
    stroke-width: 2; 
    stroke-linecap: round; 
    stroke-linejoin: round; 
}
.view-all-link { text-align: center; font-weight: 600; }

/* Bundle Simulator */
#simulator { background-color: var(--bg-dark); padding: 100px 0; text-align: center; }
.simulator-form { max-width: 500px; margin: 0 auto; padding: 30px; background-color: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow-strong); }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group select, .form-group input { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; }
.simulator-form .btn-primary { width: 100%; }

/* Simulator Modal */
.simulator-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); z-index: 100; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity var(--transition-speed); }
.simulator-modal-overlay.open { opacity: 1; visibility: visible; }
.simulator-modal-content { background-color: var(--bg-light); width: 90%; max-width: 500px; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-light); transform: translateY(-20px); transition: transform var(--transition-speed), opacity var(--transition-speed); position: relative; }
.simulator-modal-overlay.open .simulator-modal-content { transform: translateY(0); }
.simulator-modal-content h3 { margin-bottom: 20px; color: var(--primary); }
.allocation-list { list-style: none; max-height: 300px; overflow-y: auto; border-top: 1px solid var(--border-color); padding-top: 15px; }
.allocation-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dotted var(--border-color); font-size: 1rem; }
.allocation-list li:last-child { border-bottom: none; }
.modal-close-btn { position: absolute; top: 15px; right: 15px; background: none; border: none; cursor: pointer; padding: 10px; }
.modal-close-btn svg { width: 20px; height: 20px; fill: var(--text-dark); }

/* Dashboard Teaser */
#dashboard-teaser { padding: 100px 0; background-color: var(--bg-light); }
.dashboard-card { max-width: 400px; margin: 0 auto; text-align: center; padding: 30px; border: 2px solid var(--primary); }
.dashboard-card h3 { color: var(--primary); margin-bottom: 20px; }
.balance-info { margin-bottom: 20px; text-align: left; }
.balance-info div { padding: 8px 0; border-bottom: 1px dotted var(--border-color); display: flex; justify-content: space-between; font-size: 1.1rem; }
.balance-info strong { color: var(--primary); }

/* Testimonials Section */
#testimonials { padding: 100px 0; background-color: var(--bg-dark); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background-color: var(--card-bg); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-light); display: flex; flex-direction: column; }
.testimonial-card .quote-icon { font-size: 3rem; color: var(--highlight); height: 40px; line-height: 1; }
.testimonial-card p { margin: 10px 0 20px; font-style: italic; color: #555; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 15px; margin-top: auto; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; color: var(--primary); }
.testimonial-author span { font-size: 0.9rem; color: #777; }

/* Educational Section (Accordion) */
#education { background-color: var(--bg-light); padding: 100px 0; }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { margin-bottom: 10px; background-color: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); }
.accordion-header { display: block; width: 100%; text-align: left; padding: 18px 20px; font-size: 1.1rem; font-weight: 600; background-color: transparent; border: none; cursor: pointer; color: var(--primary); transition: background-color var(--transition-speed); }
.accordion-header:hover { background-color: rgba(39, 75, 101, 0.05); }
.accordion-header span { float: right; transition: transform var(--transition-speed); }
.accordion-header[aria-expanded="true"] span { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; padding: 0 20px; }
.accordion-content p { padding: 10px 0 20px 0; font-size: 0.95rem; color: #555; }

/* Onboarding CTA */
#onboarding-cta { padding: 80px 0; text-align: center; background-color: var(--secondary); }
#onboarding-cta h2 { color: var(--text-light); margin-bottom: 15px; font-size: 2.2rem; }
#onboarding-cta p { color: rgba(255, 255, 255, 0.9); margin-bottom: 30px; font-size: 1.1rem; }
#onboarding-cta .btn-secondary { color: var(--primary); background-color: var(--highlight); border-color: var(--highlight); font-size: 1.1rem; padding: 16px 32px; }
#onboarding-cta .btn-secondary:hover { background-color: #48d1b3; border-color: #48d1b3; }

/* Footer */
footer { background-color: #1a2a35; color: rgba(255, 255, 255, 0.8); padding: 50px 0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px; margin-bottom: 40px; }
.footer-column h4 { color: var(--text-light); margin-bottom: 15px; font-size: 1rem; border-bottom: 1px solid var(--highlight); padding-bottom: 8px; }
.footer-column ul { list-style: none; }
.footer-column ul a { color: rgba(255, 255, 255, 0.7); display: block; padding: 5px 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; text-align: center; }
.social-links a { margin: 0 10px; color: var(--text-light); }
.social-links svg { width: 20px; height: 20px; fill: currentColor; transition: fill var(--transition-speed); }
.social-links a:hover svg { fill: var(--highlight); }

/* Back to Top Button */
.back-to-top { position: fixed; bottom: 25px; right: 25px; width: 50px; height: 50px; background-image: linear-gradient(45deg, var(--accent) 0%, var(--primary) 100%); color: var(--text-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); z-index: 100; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { opacity: 1; transform: scale(1.1); }
.back-to-top svg { width: 28px; height: 28px; }

/* === NEW STYLES for ABOUT and CONTACT Pages === */
.page-header { padding: 60px 0; text-align: center; background-color: var(--bg-dark); }
.page-header h1 { font-size: 2.8rem; margin-bottom: 15px; color: var(--primary); }
.page-header p { font-size: 1.1rem; max-width: 700px; margin: 0 auto; color: #555; }
#our-mission { padding: 100px 0; }
.mission-content { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.mission-image img { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-strong); }
#our-team { padding: 100px 0; background-color: var(--bg-dark); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.team-member-card { text-align: center; }
.team-member-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 4px solid var(--highlight); }
.team-member-card h3 { color: var(--primary); }
.team-member-card span { color: #777; font-weight: 500; display: block; margin-bottom: 10px; }

#contact-details { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 50px; }
.contact-form-wrapper h3, .contact-info-wrapper h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 20px; }
.contact-form-wrapper .form-group { margin-bottom: 20px; }
.contact-form-wrapper label { display: block; margin-bottom: 8px; font-weight: 600; }
.contact-form-wrapper input, .contact-form-wrapper textarea { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1rem; font-family: 'Poppins', sans-serif; }
.contact-form-wrapper textarea { resize: vertical; }
.form-feedback { margin-top: 20px; padding: 15px; border-radius: 8px; text-align: center; display: none; }
.form-feedback.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.contact-list { list-style: none; margin-bottom: 30px; }
.contact-list li { margin-bottom: 15px; padding-left: 30px; position: relative; }
.contact-list li::before { content: '📍'; position: absolute; left: 0; }
.contact-list li:nth-child(2)::before { content: '📞'; }
.contact-list li:nth-child(3)::before { content: '✉️'; }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-strong); aspect-ratio: 16 / 9; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* Media Queries */
@media (min-width: 768px) {
    .header-content { padding: 16px 20px; }
    .menu-toggle { display: none; }
    nav { display: flex; }
    .hero-cta-group { flex-direction: row; justify-content: center; }
    .stats-grid { gap: 40px; }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .startup-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
    .preview-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
    .mission-content { grid-template-columns: 1.2fr 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
}
