/* main.css - Dark theme update */

/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Colors */
    --primary-dark: #0f172a;
    /* Main dark background */
    --secondary-dark: #1e293b;
    /* Slightly lighter dark */
    --card-dark: #334155;
    /* Card backgrounds */
    --border-dark: #475569;
    /* Borders */

    /* Accent Colors */
    --primary-blue: #3b82f6;
    /* Bright blue */
    --secondary-blue: #60a5fa;
    /* Lighter blue */
    --accent-green: #10b981;
    /* Green for CTAs */
    --accent-cyan: #06b6d4;
    /* Cyan accent */

    /* Text Colors */
    --text-primary: #f1f5f9;
    /* Main text - almost white */
    --text-secondary: #cbd5e1;
    /* Secondary text - light gray */
    --text-muted: #94a3b8;
    /* Muted text */

    /* Background Gradients */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-card: linear-gradient(135deg, #1e293b 0%, #334155 100%);

    /* Others */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--primary-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles - Dark theme */
header {
    background: var(--primary-dark);
    border-bottom: 1px solid var(--border-dark);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.95);
}

.header-top {
    background: var(--secondary-dark);
    color: var(--text-secondary);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-dark);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav {
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Enhanced Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.25rem 0;
}

.logo:hover {
    transform: translateX(5px);
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    filter: brightness(1.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    border-left: 2px solid var(--border-dark);
    padding-left: 0.75rem;
}

.logo-primary {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    margin-bottom: 0.125rem;
}

.logo-secondary {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Add a subtle gradient effect to the text if desired
.logo-primary {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

/* Common Button Styles */
.cta-button {
    background: var(--primary-blue);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

/* Page Hero - Dark theme */
.page-hero {
    background: var(--gradient-dark);
    color: var(--text-primary);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-dark);
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background-color: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Footer - Dark theme */
footer {
    background: var(--secondary-dark);
    color: var(--text-secondary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-muted);
}

/* Form Styles - Dark theme */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-dark);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--secondary-dark);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.submit-button {
    background: var(--accent-green);
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.submit-button:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}


/* Hamburger Button Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger .bar {
    height: 3px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.open .bar:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.hamburger.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hamburger{
        display: none;
    }
    .logo-img {
        height: 45px;
    }

    .logo-primary {
        font-size: 1.35rem;
    }

    .logo-secondary {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background: var(--primary-dark);
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
        border-top: 1px solid var(--border-dark);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.75rem 0;
    }

    .cta-button {
        display: none;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .logo-img {
        height: 40px;
    }

    .logo-primary {
        font-size: 1.25rem;
    }

    .logo-secondary {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .logo-img {
        height: 35px;
    }
}