/* CSS Reset & Variables */
:root {
    --color-bg: #ffffff;
    --color-text: #111111;
    --color-text-light: #4b5563;
    --color-accent: #2563eb; /* Electric Blue */
    --color-accent-hover: #1d4ed8;
    --color-border: #e5e7eb;
    --color-surface: #f9fafb;
    
    --font-heading: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    --transition: all 0.3s ease;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Layout & Utility */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--font-heading);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}

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

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* About Section */
.about {
    background-color: var(--color-surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-mission {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    margin-top: 2rem;
}

.about-mission h3 {
    margin-bottom: 0.5rem;
}

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

.service-card {
    padding: 3rem 2rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: white;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transform: translateY(-5px);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* Why Choose Us Section */
.why-us {
    background-color: var(--color-surface);
}

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

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

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-accent);
}

.feature-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

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

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    color: var(--color-accent);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-detail h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-detail p {
    color: var(--color-text-light);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-heading);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--color-surface);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* Footer */
.footer {
    background-color: #0a0a0a;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-about p {
    color: #a3a3a3;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-heading {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: #a3a3a3;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #262626;
    text-align: center;
    color: #a3a3a3;
    font-size: 0.875rem;
}

/* Page Header for inner pages */
.page-header {
    padding: calc(var(--nav-height) + 4rem) 0 4rem;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        gap: 2rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
