/* ===== Nova Tutoring - Space Theme ===== */

:root {
    --nova-dark: #0b0e17;
    --nova-deep: #12162b;
    --nova-purple: #6b2fa0;
    --nova-magenta: #d63384;
    --nova-pink: #e84393;
    --nova-orange: #f39c12;
    --nova-cyan: #00d2d3;
    --nova-teal: #0abde3;
    --nova-light: #e8e8f0;
    --nova-white: #ffffff;
    --nova-card-bg: rgba(18, 22, 43, 0.85);
    --nova-card-border: rgba(107, 47, 160, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--nova-magenta), var(--nova-orange), var(--nova-cyan));
    --gradient-card: linear-gradient(145deg, rgba(107, 47, 160, 0.15), rgba(0, 210, 211, 0.05));
}

/* ===== Base ===== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--nova-dark);
    color: var(--nova-light);
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--nova-white);
}

a {
    color: var(--nova-cyan);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--nova-pink);
}

/* ===== Stars Background ===== */
#stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at center, var(--nova-deep) 0%, var(--nova-dark) 100%);
}

/* ===== Navbar ===== */
.navbar {
    background: rgba(11, 14, 23, 0.9) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--nova-card-border);
    padding: 0.75rem 0;
    transition: background 0.3s;
}

.nav-logo {
    width: 48px;
    height: 48px;
    margin-right: 0.75rem;
}

.brand-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar .nav-link {
    color: var(--nova-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}
.navbar .nav-link:hover {
    color: var(--nova-cyan) !important;
}

.btn-cta {
    background: var(--gradient-primary) !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    color: var(--nova-white) !important;
    border-radius: 50px;
    padding: 0.4rem 1.5rem !important;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(214, 51, 132, 0.4);
    color: var(--nova-white) !important;
}

/* ===== Text Gradient Utility ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(232, 232, 240, 0.8);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-nova-primary {
    background: var(--gradient-primary);
    color: var(--nova-white);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-nova-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(214, 51, 132, 0.5);
    color: var(--nova-white);
}

.btn-nova-outline {
    color: var(--nova-cyan);
    border: 2px solid var(--nova-cyan);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    transition: all 0.3s;
}
.btn-nova-outline:hover {
    background: rgba(0, 210, 211, 0.1);
    color: var(--nova-white);
    border-color: var(--nova-white);
    transform: translateY(-3px);
}

.hero-logo {
    max-width: 420px;
    width: 100%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(107, 47, 160, 0.4));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(232, 232, 240, 0.5);
    font-size: 0.85rem;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--nova-cyan);
    border-bottom: 2px solid var(--nova-cyan);
    transform: rotate(45deg);
    margin: 0.5rem auto 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(8px); }
    60% { transform: rotate(45deg) translateY(4px); }
}

/* ===== Content Sections ===== */
.content-section {
    padding: 6rem 0;
}

.section-alt {
    background: rgba(18, 22, 43, 0.5);
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(232, 232, 240, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== Nova Cards ===== */
.nova-card {
    background: var(--nova-card-bg);
    border: 1px solid var(--nova-card-border);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}
.nova-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}
.nova-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(107, 47, 160, 0.25);
    border-color: rgba(107, 47, 160, 0.6);
}
.nova-card:hover::before {
    opacity: 1;
}

.nova-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.nova-card p {
    color: rgba(232, 232, 240, 0.75);
    line-height: 1.7;
}

.nova-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Service Cards ===== */
.service-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}
.service-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(232, 232, 240, 0.8);
}
.service-list li::before {
    content: '\2726';
    position: absolute;
    left: 0;
    color: var(--nova-cyan);
}

/* ===== Step Cards ===== */
.step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.step-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

/* ===== Contact Form ===== */
.contact-card {
    padding: 2.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--nova-light);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.nova-input {
    background: rgba(11, 14, 23, 0.8) !important;
    border: 1px solid var(--nova-card-border) !important;
    color: var(--nova-light) !important;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.nova-input:focus {
    border-color: var(--nova-cyan) !important;
    box-shadow: 0 0 0 3px rgba(0, 210, 211, 0.15) !important;
}
.nova-input::placeholder {
    color: rgba(232, 232, 240, 0.35) !important;
}

/* ===== Footer ===== */
.site-footer {
    background: rgba(11, 14, 23, 0.95);
    border-top: 1px solid var(--nova-card-border);
    padding: 3rem 0 1.5rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
}

.footer-tagline {
    color: rgba(232, 232, 240, 0.6);
    font-style: italic;
}

.footer-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--nova-white);
}

.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    padding: 0.3rem 0;
    color: rgba(232, 232, 240, 0.6);
}
.footer-links a {
    color: rgba(232, 232, 240, 0.6);
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--nova-cyan);
}

.footer-divider {
    border-color: var(--nova-card-border);
    margin: 2rem 0 1rem;
}

/* ===== Stars (generated by JS) ===== */
.star {
    position: fixed;
    border-radius: 50%;
    background: white;
    pointer-events: none;
    animation: twinkle var(--duration) ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: var(--min-opacity); }
    50% { opacity: var(--max-opacity); }
}

.shooting-star {
    position: fixed;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, var(--nova-cyan), transparent);
    pointer-events: none;
    opacity: 0;
    animation: shoot 1.5s linear forwards;
    transform-origin: left center;
}

@keyframes shoot {
    0% { opacity: 0; transform: translateX(0) rotate(var(--angle)); }
    10% { opacity: 1; }
    100% { opacity: 0; transform: translateX(600px) rotate(var(--angle)); }
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-logo {
        max-width: 300px;
        margin-top: 2rem;
    }
    .hero-section .row {
        min-height: auto !important;
        padding-top: 2rem;
        padding-bottom: 4rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image-col {
        order: -1;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .content-section {
        padding: 4rem 0;
    }
    .step-card {
        margin-bottom: 1rem;
    }
}
