:root {
    --bg-deep: #000000;
    --bg-surface: #0a0f1a;
    --bg-glass: rgba(10, 15, 26, 0.85);

    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border: rgba(59, 130, 246, 0.2);
    
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --input-bg: rgba(255, 255, 255, 0.03);
    --header-bg: rgba(0, 0, 0, 0.85);
    --selector-bg: rgba(255, 255, 255, 0.05);
}

.light-theme {
    --bg-deep: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border: rgba(59, 130, 246, 0.15);
    --input-bg: rgba(0, 0, 0, 0.02);
    --header-bg: rgba(255, 255, 255, 0.85);
    --selector-bg: rgba(0, 0, 0, 0.04);
}

.red-theme {
    --bg-deep: #140505;
    --bg-surface: #220c0c;
    --bg-glass: rgba(34, 12, 12, 0.85);
    --text-primary: #fecaca;
    --text-secondary: #fca5a5;
    --border: rgba(239, 68, 68, 0.25);
    --input-bg: rgba(255, 255, 255, 0.03);
    --header-bg: rgba(20, 5, 5, 0.85);
    --accent: #ef4444;
    --accent-light: #f87171;
    --accent-gradient: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    --selector-bg: rgba(255, 255, 255, 0.08);
}

.green-theme {
    --bg-deep: #05140b;
    --bg-surface: #0b2214;
    --bg-glass: rgba(11, 34, 20, 0.85);
    --text-primary: #d1fae5;
    --text-secondary: #a7f3d0;
    --border: rgba(16, 185, 129, 0.25);
    --input-bg: rgba(255, 255, 255, 0.03);
    --header-bg: rgba(5, 20, 11, 0.85);
    --accent: #10b981;
    --accent-light: #34d399;
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --selector-bg: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    scroll-margin-top: 155px; /* Offset to prevent header overlap when clicking anchors */
}

.text-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.header-logo-img {
    height: 116px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover .header-logo-img {
    transform: rotate(-6deg) scale(1.08);
}

.logo span {
    color: var(--accent);
}

/* Mobile Navigation Toggle Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1010;
    outline: none;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hamburger transform to X when active */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--accent-light);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--accent-light);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    margin-left: 12px;
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
}

.w-full {
    width: 100%;
}

/* Hero */
.hero {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 50%);
    padding-top: 190px;
    padding-bottom: 80px;
}

.hero-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
    width: 100%;
}

.hero-banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    max-height: 250px;
    max-width: 780px;
    object-fit: contain;
    filter: drop-shadow(0 20px 45px rgba(59, 130, 246, 0.25));
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 30px auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.badge {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

/* Section header */
.section-header {
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Glass Card */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 10px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.glass-card .icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.glass-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Highlight section */
.highlight {
    background: var(--bg-surface);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-light);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

select option {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.status-message {
    margin-top: 12px;
    font-size: 0.85rem;
}

.status-message.success {
    color: #22c55e;
}

.status-message.error {
    color: #ef4444;
}

#contact {
    padding-bottom: 10px;
}

/* Footer */
.footer {
    padding: 10px 0 40px 0;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    flex: 1;
    text-align: left;
    order: 1;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-brand {
    flex: 1;
    display: flex;
    justify-content: center;
    order: 2;
}

.footer-right {
    flex: 1;
    text-align: right;
    order: 3;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-link {
    color: var(--accent-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.footer-logo-img {
    height: 260px;
    width: auto;
    opacity: 0.85;
    transition: var(--transition);
}

.footer-brand:hover .footer-logo-img {
    opacity: 1;
    transform: scale(1.05);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .header-logo-img {
        height: 60px;
    }

    .section {
        padding: 60px 0;
        scroll-margin-top: 100px;
    }

    .hero {
        padding: 140px 0 60px 0;
    }

    .hero-vertical {
        gap: 25px;
    }

    .hero-banner-img {
        max-height: 140px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        order: 2;
        text-align: center;
    }

    .footer-brand {
        order: 1;
    }

    .footer-right {
        order: 3;
        text-align: center;
    }

    /* Mobile Navigation Dropdown */
    .nav-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border);
        padding: 20px 0;
        display: none;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        width: 100%;
    }

    .theme-selector {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
    }

    .footer-logo-img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none;
    }
    .logo {
        font-size: 1.25rem;
    }
}

/* Theme Selector */
.theme-selector {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: 15px;
    background: var(--selector-bg);
    border: 1px solid var(--border);
    padding: 3px;
    border-radius: 30px;
    transition: var(--transition);
}

.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 20px;
    color: var(--text-secondary);
    transition: var(--transition);
    outline: none;
}

.theme-btn .theme-icon {
    font-size: 1rem;
    line-height: 1;
    margin-bottom: 2px;
}

.theme-btn .theme-text {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.theme-btn:hover {
    color: var(--text-primary);
}

.theme-btn.active {
    background: var(--accent);
    color: #ffffff;
}

.social-link {
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent) !important;
    transform: translateY(-2px);
}


