:root {
    --primary: #1e293b;
    --secondary: #f59e0b;
    --accent: #ea580c;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.25s ease-in-out;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.logo-text span {
    color: var(--secondary);
    font-weight: 400;
}

nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--secondary);
}

.cta-btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: background 0.2s;
    text-align: center;
}

.cta-btn:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* Hero Section Layout */
.hero {
    padding: 10rem 5% 5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-btns .btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-btns .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic img {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.08));
}

/* Services Section */
.services {
    padding: 6rem 5%;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--secondary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* About Section */
.about {
    padding: 6rem 5%;
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    padding: 6rem 5%;
    background: var(--primary);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.contact-form {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input, .contact-form textarea {
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid #475569;
    background: #334155;
    color: var(--white);
}

.contact-form button {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #e08e0b;
}

/* Login Section */
.login {
    padding: 6rem 5%;
    background: var(--primary);
    min-height: 100vh;
    color: var(--white);
}

.login .section-title {
    color: var(--white);
}

.login-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    gap: 4rem;
}

.login-info {
    flex: 1;
}

.login-info h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.login-info p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.login-form {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.login-form input, .login-form textarea {
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid #475569;
    background: #334155;
    color: var(--white);
}

.login-form button {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.login-form button:hover {
    background: #e08e0b;
}


/* Form Response Notification Styles */
.form-response {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: none; /* Hidden by default */
}

/* State Modifiers */
.form-response.status-visible {
    display: block;
}

.form-response.status-loading {
    color: #cbd5e1; /* Neutral light grey */
}

.form-response.status-success {
    color: #22c55e; /* Vibrant green */
}

.form-response.status-error {
    color: #ef4444; /* Radiant red */
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2rem 5%;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}
/* Responsive Responsive Viewport Adaptations */
@media (max-width: 902px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-btns .btn {
        margin: 0.5rem;
    }
    
    .hero-graphic img {
        max-width: 400px;
    }

    header { padding: 1rem 5%; }
/*    nav a:not(.cta-btn) { display: none; } */
    .hero h1 { font-size: 2.5rem; }
    .contact-container { flex-direction: column; gap: 2rem; }
    .hero-btns .btn {
        margin: 0.5rem;
    }
    .hero-graphic img {
        max-width: 400px;
    }
        .menu-toggle {
        display: flex;
    }

/* Reveal the hamburger button graphic */
    .menu-toggle {
        display: flex;
    }

    /* Force navigation container into a vertical dropdown card */
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        border-top: 1px solid #e2e8f0;
        
        /* Layout controls for vertical alignment */
        display: flex;
        flex-direction: column; 
        align-items: center;
        gap: 1.2rem;
        padding: 0;
        
        /* Dropdown animation baseline */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, opacity 0.2s ease-in-out, padding 0.3s ease-in-out;
        pointer-events: none;
    }

    /* Active visibility state showing all internal anchor elements */
    nav.nav-open {
        max-height: 400px; /* Extended to prevent any content clipping */
        opacity: 1;
        padding: 2rem 0;
        pointer-events: auto;
    }

    /* Format all vertical links explicitly to prevent overriding or hiding */
    nav id="navMenu" a,
    nav a,
    nav a:not(.cta-btn) {
        display: inline-block !important; /* Forces all hidden links to show */
        margin-left: 0 !important;
        font-size: 1.2rem;
        width: 80%;
        text-align: center;
        padding: 0.6rem 0;
        color: var(--text-dark);
    }

    /* Format mobile Call-to-Action link block */
    nav a.cta-btn {
        width: 80%;
        background: var(--primary);
        color: var(--white) !important;
        border-radius: 4px;
    }

    /* Animated Hamburger Morph Transformations */
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
}