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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.logo-icon {
    width: 1.875rem;
    height: 1.875rem;
    flex-shrink: 0;
    display: block;
    vertical-align: middle;
    align-self: center;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.nav-logo h1 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    line-height: 1;
}

.nav-logo h1 .logo-bold {
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

.nav-toggle {
    display: none; /* Will be shown by JavaScript on mobile */
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile menu styles */
.nav-menu {
    transition: transform 0.3s ease;
}

/* Mobile menu styles */
.mobile-menu-active .nav-toggle {
    display: flex !important;
}

/* Mobile menu styles - simplified, JavaScript handles show/hide */

.mobile-menu-active .nav-menu li {
    margin: 0.125rem 0;
}

.mobile-menu-active .nav-menu a {
    font-size: 1.1rem;
    padding: 0.625rem 1rem;
    display: block;
}

/* Hamburger animation */
.mobile-menu-active .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

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

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

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

.about-card {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

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

.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
}

.service-features li::before {
    content: '✓';
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Why Choose Us Section */
.why-us {
    padding: 80px 0;
    background: white;
}

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

.why-us-item {
    position: relative;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 1rem;
    border-left: 4px solid #2563eb;
}

.why-us-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.125rem;
}

.why-us-number img {
    width: 20px;
    height: 20px;
    display: block;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8fafc;
}

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

.contact-info h2 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.contact-item h4 {
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #64748b;
    margin: 0;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 769px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        justify-items: start;
    }

    .footer-section:nth-child(2) {
        margin-left: 3rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    margin: 0;
    padding: 0;
}

.footer-logo .footer-logo-icon,
.footer-logo-icon {
    width: 1.875rem;
    height: 1.875rem;
    flex-shrink: 0;
    filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
    display: block;
    vertical-align: middle;
    align-self: center;
    transform: translateY(-30%);
}

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    line-height: 1;
}

.footer-logo h3 .logo-bold {
    font-weight: 700;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        display: none;
    }


    .hero-container {
        padding: 0 1rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .container {
        padding: 0 1rem;
    }

    .about-grid,
    .services-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .footer-section:nth-child(2) {
        padding-left: 0;
    }

    .footer-logo {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .contact-form button[type="submit"] {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
    }

    .file-upload-area {
        padding: 1.5rem;
    }

    .file-upload-primary {
        font-size: 1rem;
    }

    .file-upload-secondary {
        font-size: 0.8125rem;
    }

    .file-upload-hint {
        font-size: 0.6875rem;
    }

    .file-item {
        padding: 0.625rem;
    }

    .file-item-name {
        font-size: 0.8125rem;
    }

    .file-item-size {
        font-size: 0.6875rem;
    }

    .logo-icon {
        width: 1.75rem;
        height: 1.75rem;
    }

    .nav-logo h1 {
        font-size: 1.25rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success message */
.success-message {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    text-align: center;
}

/* Error message */
.error-message {
    background: #ef4444;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    text-align: center;
}

/* File Upload Styles */
.file-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: #2563eb;
    background: #eff6ff;
}

.file-upload-area.dragover {
    background: #dbeafe;
    border-color: #1d4ed8;
}

.file-upload-content {
    pointer-events: none;
}

.file-upload-icon {
    margin-bottom: 1rem;
}

.file-upload-text {
    margin-bottom: 0.5rem;
}

.file-upload-primary {
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.file-upload-secondary {
    color: #6b7280;
    font-size: 0.875rem;
}

.file-upload-link {
    color: #2563eb;
    font-weight: 500;
}

.file-upload-hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f3f4f6;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e5e7eb;
}

.file-item-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.file-item-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
    color: #6b7280;
}

.file-item-details {
    flex-grow: 1;
}

.file-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.125rem;
}

.file-item-size {
    font-size: 0.75rem;
    color: #6b7280;
}

.file-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.file-item-remove:hover {
    background: #fee2e2;
}

.file-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}