/* =========================================
   GLOBAL VARIABLES
   ========================================= */
:root {
    --primary-orange: #ff7b47;
    --text-dark: #1a1a1a;
    --text-grey: #555;
    --bg-light: #f8f9fc;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background: var(--bg-light); color: var(--text-dark); overflow-x: hidden; }

/* --- Navbar (Consistent) --- */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.logo { font-size: 24px; font-weight: 700; } .logo span { color: var(--primary-orange); }

/* NAV LINKS */
.nav-links { display: flex; align-items: center; }
.nav-links a { text-decoration: none; color: #333; margin: 0 15px; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-orange); }

/* ACTIVE LINK STYLE */
.nav-links a.active, 
.mobile-nav-links a.active { 
    color: var(--primary-orange); 
    font-weight: 700;
}

/* === DESKTOP DROPDOWN === */
.dropdown { position: relative; display: inline-block; }
.dropbtn { cursor: pointer; display: flex; align-items: center; gap: 5px; }
.dropbtn i { font-size: 12px; transition: transform 0.3s; }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1;
    top: 100%; /* Push down */
    left: 0;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin: 0; /* Override nav margin */
    font-size: 14px;
}

.dropdown-content a:hover { background-color: #f9f9f9; color: var(--primary-orange); }

/* Show on Hover */
.dropdown:hover .dropdown-content { display: block; }
.dropdown:hover .dropbtn i { transform: rotate(180deg); }

/* AUTH BUTTONS */
.auth-buttons { display: flex; align-items: center; gap: 20px; }
.login-text { text-decoration: none; color: var(--text-dark); font-weight: 600; transition: color 0.3s; }
.login-text:hover { color: var(--primary-orange); }
.signup-btn { background: var(--primary-orange); color: #fff; padding: 10px 25px; border-radius: 5px; text-decoration: none; font-weight: 600; transition: background 0.3s; }
.hamburger { display: none; font-size: 24px; cursor: pointer; }

/* --- MOBILE MENU (Default: Hidden) --- */
.mobile-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 1002;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    padding: 20px;
    overflow-y: auto;
    padding-bottom: 60px;
}

.mobile-menu.active { display: flex; right: 0; }

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
}

.mobile-menu-overlay.active { display: block; }
.menu-header { display: flex; justify-content: space-between; margin-bottom: 20px; }

/* MOBILE LINKS */
.mobile-nav-links a { display: block; padding: 15px 0; border-bottom: 1px solid #f0f0f0; text-decoration: none; color: #333; font-weight: 500; }

/* === MOBILE SUBMENU === */
.mobile-drop-trigger {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0; border-bottom: 1px solid #f0f0f0;
    cursor: pointer; font-weight: 500; color: #333;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fcfcfc;
}

/* When Open */
.mobile-submenu.open { max-height: 200px; /* Arbitrary large height */ }

.mobile-submenu a {
    padding-left: 20px; /* Indent */
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
}

.mobileArrow { transition: transform 0.3s; }
.rotate-arrow { transform: rotate(180deg); }


.mobile-auth-section { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 20px;}
.mobile-login-btn { display: block; width: 100%; text-align: center; border: 1px solid var(--text-dark); color: var(--text-dark); padding: 12px; border-radius: 5px; text-decoration: none; font-weight: 600; }
.mobile-enroll-btn { display: block; width: 100%; text-align: center; background: var(--primary-orange); color: #fff; padding: 12px; border-radius: 5px; text-decoration: none; font-weight: 600; }


/* --- About Hero --- */
.about-hero {
    padding: 80px 5%; text-align: center; background: radial-gradient(#e0e0e0 1px, transparent 1px); background-size: 30px 30px;
    min-height: 60vh; display: flex; align-items: center; justify-content: center;
}
.container-center { max-width: 800px; margin: 0 auto; }
.badge-pill { background: #fff4e5; color: var(--primary-orange); padding: 5px 15px; border-radius: 20px; font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; display: inline-block; }
.about-hero h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; color: var(--text-dark); }
.highlight-draw { border-bottom: 5px solid var(--primary-orange); }
.hero-sub { font-size: 18px; color: var(--text-grey); line-height: 1.6; }

/* --- Story Section --- */
.story-section { padding: 80px 5%; background: #fff; }
.container-row { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }
.story-image { flex: 1; position: relative; }
.story-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.exp-badge { position: absolute; bottom: -30px; right: -30px; background: var(--primary-orange); color: #fff; padding: 20px; border-radius: 15px; text-align: center; box-shadow: 0 10px 30px rgba(255, 123, 71, 0.4); }
.exp-badge strong { display: block; font-size: 32px; font-weight: 800; line-height: 1; }
.exp-badge span { font-size: 12px; font-weight: 500; }
.story-content { flex: 1; }
.story-content h2 { font-size: 36px; margin-bottom: 20px; }
.story-content p { font-size: 16px; color: var(--text-grey); margin-bottom: 20px; line-height: 1.7; }
.highlight-underline { border-bottom: 4px solid var(--primary-orange); }
.check-list { margin-top: 30px; display: grid; grid-template-columns: 1fr; gap: 15px; }
.check-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-dark); }
.check-item i { color: #27ae60; font-size: 20px; }

/* --- Values Section --- */
.values-section { padding: 80px 5%; background: var(--bg-light); }
.container-col { max-width: 1200px; margin: 0 auto; text-align: center; }
.section-header { margin-bottom: 50px; }
.section-header h2 { font-size: 36px; margin-bottom: 10px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-card { background: #fff; padding: 40px 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: left; transition: transform 0.3s; }
.value-card:hover { transform: translateY(-10px); }
.v-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; margin-bottom: 20px; }
.orange-bg { background: #ff9f43; }
.blue-bg { background: #54a0ff; }
.green-bg { background: #1dd1a1; }
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-grey); line-height: 1.6; }

/* --- Founder Section --- */
.founder-section { padding: 80px 5%; background: #1a1a1a; color: #fff; }
.founder-text { flex: 1; padding-right: 40px; }
.quote-icon { font-size: 40px; color: var(--primary-orange); opacity: 0.5; }
.founder-text h2 { font-size: 36px; margin-bottom: 20px; color: #fff; }
.founder-quote { font-size: 18px; font-style: italic; opacity: 0.9; margin-bottom: 30px; line-height: 1.8; }
.founder-sign h4 { font-size: 20px; margin-bottom: 5px; color: var(--primary-orange); }
.founder-sign span { font-size: 14px; opacity: 0.7; }
.founder-image { flex: 1; text-align: center; }
.founder-image img { width: 80%; border-radius: 15px; border: 5px solid rgba(255,255,255,0.1); }

/* --- CTA Banner --- */
.cta-banner { padding: 80px 5%; background: var(--primary-orange); text-align: center; color: #fff; }
.cta-banner h2 { font-size: 36px; margin-bottom: 15px; }
.cta-buttons { margin-top: 30px; display: flex; justify-content: center; gap: 20px; }
.btn-white { background: #fff; color: var(--primary-orange); padding: 15px 30px; border-radius: 5px; text-decoration: none; font-weight: 700; }
.btn-outline { border: 2px solid #fff; color: #fff; padding: 13px 30px; border-radius: 5px; text-decoration: none; font-weight: 700; }
.btn-white:hover { transform: translateY(-3px); }

/* --- Footer --- */
.site-footer { padding: 30px 5%; background: #111; color: #777; text-align: center; }
.footer-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.social-links a { color: #fff; margin-left: 20px; font-size: 18px; transition: color 0.3s; }
.social-links a:hover { color: var(--primary-orange); }

/* --- MOBILE RESPONSIVE --- */
@media(max-width: 768px) {
    .navbar { padding: 15px 20px; }
    .nav-links, .auth-buttons { display: none; }
    .hamburger { display: block; }
    .about-hero h1 { font-size: 32px; }
    .container-row { flex-direction: column; gap: 40px; }
    .story-content h2 { font-size: 28px; }
    .exp-badge { right: 0; bottom: -20px; padding: 15px; }
    .values-grid { grid-template-columns: 1fr; }
    .reverse-mobile { flex-direction: column-reverse; }
    .founder-text { padding-right: 0; text-align: center; }
    .cta-buttons { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 20px; }
}

/* CRITICAL: Force Hide Mobile Menu on Desktop */
@media (min-width: 769px) {
    .mobile-menu, .mobile-menu-overlay { display: none !important; opacity: 0 !important; pointer-events: none !important; }
}