@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Lexend:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #0b132b; /* Deep Dark Space */
    --secondary-color: #1c2541; /* Rich Navy */
    --accent-color: #d97706; /* Industrial Amber / Bronze */
    --accent-gold: #d4af37; /* Metallic Gold */
    --accent-glow: rgba(217, 119, 6, 0.15);
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0a0f1d;
    --bg-dark-secondary: #111827;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #f8fafc;
    
    --border-color: #e2e8f0;
    --border-dark: #1e293b;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Helpers */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

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

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: transparent;
    padding: 1.5rem 0;
}

header.scrolled {
    background-color: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo h1 {
    color: var(--text-light);
}

header.scrolled .logo p {
    color: var(--accent-gold);
}

header.scrolled nav ul li a {
    color: var(--text-light);
}

header.scrolled nav ul li a:hover {
    color: var(--accent-gold);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    background-color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.logo:hover img {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 0.05em;
    margin: 0;
    transition: var(--transition-fast);
}

.logo p {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-color);
    margin: 0;
    transition: var(--transition-fast);
}

header.scrolled .logo h1 {
    color: var(--text-light);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav ul li a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

nav ul li a:hover::after,
nav ul li.active a::after {
    width: 100%;
}

nav ul li.active a {
    color: var(--accent-color) !important;
}

/* Call to Action Button in Nav */
.nav-cta {
    background-color: var(--accent-color);
    color: var(--text-light) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 4px;
    font-weight: 700 !important;
    border: 2px solid var(--accent-color);
}

.nav-cta:hover {
    background-color: transparent !important;
    color: var(--accent-color) !important;
}

header.scrolled .nav-cta {
    border-color: var(--accent-gold);
    background-color: var(--accent-gold);
    color: var(--primary-color) !important;
}

header.scrolled .nav-cta:hover {
    background-color: transparent !important;
    color: var(--accent-gold) !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

header.scrolled .mobile-toggle span {
    background-color: var(--text-light);
}

/* Common Layout Elements */
section {
    padding: 6rem 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

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

.btn-dark {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-dark:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(11, 19, 43, 0.75), rgba(11, 19, 43, 0.85)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--text-light);
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero h2 {
    color: var(--accent-gold);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    color: var(--text-light);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    max-width: 600px;
    animation: fadeInUp 1.2s ease forwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1.4s ease forwards;
}

/* Custom Background Animations / Parallax elements */
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top right, var(--bg-primary) 49%, transparent 50%);
    z-index: 5;
}

/* Inner Page Hero (Sub-Header) */
.page-hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(rgba(11, 19, 43, 0.85), rgba(11, 19, 43, 0.95)), url('../images/page-hero-bg.jpg') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--accent-gold);
}

.breadcrumbs span {
    color: var(--text-muted);
}

/* Feature/Stats Cards */
.stats-bar {
    background-color: var(--primary-color);
    padding: 3rem 0;
    color: var(--text-light);
    position: relative;
    z-index: 10;
    margin-top: -50px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* Card Grids */
.services-grid, .projects-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(217, 119, 6, 0.3);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-link {
    margin-top: auto;
    font-weight: 700;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-link::after {
    content: '→';
    transition: var(--transition-fast);
}

.card-link:hover::after {
    transform: translateX(5px);
}

/* Service Detail List Page specific */
.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-color: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 1.75rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--accent-color);
    border-left: 5px solid var(--accent-color);
    z-index: 1;
}

.about-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-bottom: 5px solid var(--primary-color);
    border-right: 5px solid var(--primary-color);
    z-index: 1;
}

.about-img-wrapper img {
    border-radius: 4px;
    box-shadow: var(--card-shadow-hover);
    position: relative;
    z-index: 2;
}

.about-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.highlight-box {
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Timeline / History */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-primary);
    border: 4px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--bg-secondary);
    position: relative;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.timeline-date {
    font-weight: 800;
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Projects Showcase */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-tab {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.filter-tab:hover,
.filter-tab.active {
    background-color: var(--accent-color);
    color: var(--text-light);
    border-color: var(--accent-color);
}

/* Contact Info & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

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

/* Form Styling */
.contact-form-wrapper {
    background-color: var(--bg-secondary);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Map Section */
.map-section {
    padding: 0;
    height: 450px;
    background-color: var(--bg-secondary);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(11, 19, 43, 0.05), rgba(11, 19, 43, 0.1)), url('../images/map-mock.jpg') no-repeat center center/cover;
    text-align: center;
    padding: 2rem;
}

.map-card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow-hover);
    max-width: 400px;
    border: 1px solid var(--border-color);
}

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

.map-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Call to Action Section */
.cta-banner {
    background: linear-gradient(rgba(11, 19, 43, 0.9), rgba(11, 19, 43, 0.9)), url('../images/cta-bg.jpg') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 6rem 0;
}

.cta-banner h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-banner p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    background-color: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: var(--card-shadow);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 5rem;
    color: var(--accent-glow);
    font-family: var(--font-heading);
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

.client-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 5rem 0 2rem;
    border-top: 5px solid var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo h2 {
    color: var(--text-light);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.footer-logo p.subtitle {
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--accent-color);
}

.footer-col h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-info li {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact-info li span.icon {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a:hover {
    color: var(--text-light);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries (Responsive Design) */
@media (max-width: 1024px) {
    .services-grid, .projects-grid, .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    .hero h1 {
        font-size: 2.75rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-img-wrapper {
        margin-bottom: 2rem;
    }
    .services-grid, .projects-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-container::after {
        left: 21px;
    }
    .timeline-right {
        left: 0%;
    }
    
    /* Mobile Navigation */
    .mobile-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--primary-color);
        padding: 6rem 2rem 2rem;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    nav ul li a {
        color: var(--text-light);
        font-size: 1.1rem;
    }
    
    header:not(.scrolled) .logo h1 {
        color: var(--primary-color);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Toggle active state animation */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--text-light);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--text-light);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}
