/* Tutoring with EC: Executive Academic Theme 
   Fixed: Grid alignment, Flex spacing, and Background continuity
*/

:root {
    --navy: #0f172a;
    --emerald: #10b981;
    --platinum: #f8fafc;
    --glass: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.4);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Base Setup --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--navy);
    background-image: url('assets/abstract-background-one.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    line-height: 1.6;
}

/* Global Platinum Overlay for high-end readability */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(248, 250, 252, 0.93); 
    z-index: -1;
}

/* --- Fixed Navbar --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 10%; position: fixed; width: 100%; top: 0; z-index: 1000;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid var(--glass-border);
}

.logo-container { display: flex; align-items: center; gap: 12px; }
.nav-logo { height: 50px; width: auto; }
.logo-text { font-weight: 800; color: var(--navy); font-size: 1.4rem; }
.logo-text span { color: var(--emerald); }

.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 700; font-size: 0.9rem; }

/* --- Hero Section --- */
.hero { height: 100vh; display: flex; align-items: center; padding: 0 10%; gap: 60px; }
.hero-content { flex: 1.2; }
.hero-visual { flex: 1; }
.hero-visual img { width: 100%; border-radius: 40px; box-shadow: 0 25px 50px rgba(0,0,0,0.1); }

h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 25px; }
.highlight { color: var(--emerald); }

/* --- FIXED: Horizontal Service Cards --- */
.curriculum { padding: 120px 10%; text-align: center; }
.card-grid { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    flex-wrap: wrap; /* Wraps only on mobile */
    margin-top: 50px; 
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 50px 35px;
    border-radius: 40px;
    text-align: left;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    transition: var(--transition);
}

.glass-card:hover { transform: translateY(-10px); border-color: var(--emerald); background: white; }

/* --- FIXED: About Section Layout --- */
.about { padding: 120px 10%; }
.about-grid { 
    display: flex; 
    align-items: center; 
    gap: 80px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 40px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.about-text { flex: 1.5; }

.accent-line { width: 60px; height: 5px; background: var(--emerald); margin-bottom: 25px; }

/* --- Purchase Section & Footer --- */
.purchase-section { padding: 100px 10%; text-align: center; }
.contact-card {
    background: var(--navy);
    color: white;
    padding: 80px 40px;
    border-radius: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.submit-btn {
    background: var(--emerald);
    color: white;
    padding: 20px 50px;
    border: none;
    border-radius: 15px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 30px;
    transition: var(--transition);
}

.submit-btn:hover { transform: scale(1.05); filter: brightness(1.1); }

footer { padding: 40px 10%; text-align: center; color: var(--navy); font-weight: 600; }

/* --- Mobile Controls --- */
@media (max-width: 1024px) {
    .hero, .about-grid { flex-direction: column; text-align: center; height: auto; padding-top: 120px; }
    h1 { font-size: 2.8rem; }
    .nav-links { display: none; }
}