* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8C42;
    --accent-blue: #4ECDC4;
    --dark-bg: #0A0E27;
    --card-bg: #151932;
    --text-primary: #FFFFFF;
    --text-secondary: #B8C1EC;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-orange: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero {
    min-height: 100vh;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--primary-orange);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(1px);
    animation: float 15s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }

    25% {
        transform: translateY(-120px) translateX(80px) scale(1.2);
    }

    50% {
        transform: translateY(-60px) translateX(-60px) scale(0.8);
    }

    75% {
        transform: translateY(-180px) translateX(120px) scale(1.1);
    }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 50px;
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1) !important;
    -webkit-filter: brightness(0) invert(1) !important;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo span {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 0 20px;
    max-width: 1200px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: clamp(42px, 8vw, 82px);
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-orange) 50%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.subtitle {
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 48px;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    padding: 18px 48px;
    font-size: 16px;
    font-weight: 600;
    background: var(--gradient-orange);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.5);
}

.cta-button:active {
    transform: translateY(-2px) scale(0.98);
}

.services {
    padding: 120px 50px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0F1535 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.5), transparent);
}

.section-title {
    text-align: center;
    font-size: clamp(36px, 6vw, 56px);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1300px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 32px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-orange);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-orange);
    box-shadow: 0 30px 60px rgba(255, 107, 53, 0.2);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-size: 15px;
}

.stats {
    padding: 120px 50px;
    background: var(--dark-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    max-width: 1200px;
    margin: 60px auto 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 40px 30px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-orange);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 64px;
    font-weight: 800;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact {
    padding: 120px 50px;
    background: linear-gradient(180deg, #0F1535 0%, var(--dark-bg) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.5), transparent);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.contact-info-card {
    background: var(--card-bg);
    padding: 36px 28px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    opacity: 0;
    transition: opacity 0.4s;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 25px 50px rgba(78, 205, 196, 0.15);
}

.contact-info-card:hover::before {
    opacity: 0.05;
}

.contact-info-icon {
    font-size: 52px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.15) rotate(-5deg);
}

.contact-info-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 700;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.contact-info-card a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin: 10px 0;
    transition: all 0.3s;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.contact-info-card a:hover {
    color: var(--accent-blue);
    transform: translateX(3px);
}

.contact-info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.contact-form {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 140, 66, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

footer {
    background: #0d0d0d;
    padding: 40px 50px;
    text-align: center;
    color: #999;
}

@media (max-width: 768px) {
    h1 {
        font-size: 42px;
    }

    .subtitle {
        font-size: 18px;
    }

    nav {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
    }

    .services,
    .stats,
    .contact {
        padding: 60px 20px;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 140, 66, 0.3);
    border-top-color: var(--primary-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.contact-f orm {
    display: grid;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(184, 193, 236, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.6;
}

.contact-form .cta-button {
    width: 100%;
    margin-top: 16px;
    padding: 18px;
    font-size: 16px;
}

footer {
    background: #060816;
    padding: 48px 50px;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    margin: 8px 0;
    font-size: 14px;
}

footer a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-orange);
}

/*
 Project Request Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--card-bg);
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.close-modal {
    font-size: 40px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.1);
    transform: rotate(90deg);
}

.project-form {
    padding: 40px;
    display: grid;
    gap: 24px;
}

.project-form .form-group label {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-form select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-form select:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.project-form select option {
    background: var(--card-bg);
    color: var(--text-primary);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-orange);
}

.checkbox-label span {
    user-select: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 50px;
    height: 50px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary-orange);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    nav {
        padding: 20px 30px;
    }

    .services,
    .stats,
    .contact {
        padding: 80px 30px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        padding: 15px 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 24px;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
        width: 100%;
        padding: 12px 0;
    }

    .nav-links a::after {
        left: 0;
        transform: none;
    }

    h1 {
        font-size: clamp(32px, 10vw, 48px);
        letter-spacing: -1px;
    }

    .subtitle {
        font-size: clamp(16px, 4vw, 20px);
    }

    .hero-content {
        padding: 0 20px;
    }

    .cta-button {
        padding: 16px 40px;
        font-size: 14px;
    }

    .services,
    .stats,
    .contact {
        padding: 60px 20px;
    }

    .section-title {
        font-size: clamp(28px, 8vw, 42px);
        margin-bottom: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 48px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .contact-form,
    .project-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }

    .modal-header {
        padding: 24px;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    footer {
        padding: 32px 20px;
        font-size: 13px;
    }

    footer p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 22px;
    }

    .logo img {
        height: 32px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 42px;
    }

    .service-icon {
        font-size: 48px;
    }

    .contact-info-icon {
        font-size: 42px;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 13px;
    }

    .modal {
        padding: 10px;
    }

    .modal-content {
        border-radius: 16px;
    }

    .project-form,
    .contact-form {
        padding: 20px;
    }
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-orange);
}


/* File Upload Styling */
.file-upload-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.file-input {
    display: none;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-label:hover {
    border-color: var(--accent-blue);
    background: rgba(78, 205, 196, 0.05);
}

.file-label.drag-over {
    border-color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.1);
    transform: scale(1.02);
}

.file-icon {
    font-size: 32px;
}

.file-text {
    color: var(--text-secondary);
    font-size: 15px;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid var(--accent-blue);
    border-radius: 12px;
    margin-top: 12px;
}

.file-name {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-name::before {
    content: '📄';
    font-size: 20px;
}

.remove-file {
    background: rgba(255, 107, 53, 0.2);
    border: none;
    color: var(--primary-orange);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-file:hover {
    background: var(--primary-orange);
    color: white;
    transform: rotate(90deg);
}

.file-hint {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 8px;
    opacity: 0.7;
}

.file-error {
    display: block;
    color: #ff4444;
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 6px;
    border-left: 3px solid #ff4444;
}

/* Loading state for submit button */
.cta-button.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.cta-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}