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

:root {
    /* Colors - Light Mode */
    --primary: #2563eb;
    --primary-foreground: #ffffff;
    --primary-hover: #1d4ed8;
    --background: #ffffff;
    --foreground: #0f172a;
    --muted: #f8fafc;
    --muted-foreground: #475569;
    --border: #e2e8f0;
    --input: #ffffff;
    --input-border: #cbd5e1;
    --ring: #2563eb;
    --card: #ffffff;
    --card-foreground: #0f172a;
    --popover: #ffffff;
    --popover-foreground: #0f172a;
    --secondary: #f1f5f9;
    --secondary-foreground: #0f172a;
    --accent: #f8fafc;
    --accent-foreground: #0f172a;
    --destructive: #dc2626;
    --destructive-foreground: #ffffff;
    --success: #16a34a;
    --warning: #d97706;
    --info: #0891b2;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

    /* Surface Colors */
    --surface-0: #ffffff;
    --surface-50: #f8fafc;
    --surface-100: #f1f5f9;
    --surface-200: #e2e8f0;
    --surface-300: #cbd5e1;
    --surface-400: #94a3b8;
    --surface-500: #64748b;
    --surface-600: #475569;
    --surface-700: #334155;
    --surface-800: #1e293b;
    --surface-900: #0f172a;

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;

    /* Border Radius */
    --radius: 0.5rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;

    /* Shadows */
    --shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Dark Mode Shadows */
    --shadow-dark: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md-dark: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -1px rgb(0 0 0 / 0.2);
    --shadow-lg-dark: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -2px rgb(0 0 0 / 0.2);
    --shadow-xl-dark: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 10px 10px -5px rgb(0 0 0 / 0.2);
}

.dark {
    /* Colors - Dark Mode */
    --primary: #3b82f6;
    --primary-foreground: #ffffff;
    --primary-hover: #60a5fa;
    --background: #0a0a0a;
    --foreground: #fafafa;
    --muted: #1a1a1a;
    --muted-foreground: #a3a3a3;
    --border: #262626;
    --input: #1a1a1a;
    --input-border: #404040;
    --ring: #3b82f6;
    --card: #1a1a1a;
    --card-foreground: #fafafa;
    --popover: #1a1a1a;
    --popover-foreground: #fafafa;
    --secondary: #262626;
    --secondary-foreground: #fafafa;
    --accent: #262626;
    --accent-foreground: #fafafa;
    --destructive: #ef4444;
    --destructive-foreground: #ffffff;
    --success: #22c55e;
    --warning: #f59e0b;
    --info: #06b6d4;

    /* Gradients - Dark Mode */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-secondary: linear-gradient(135deg, #262626 0%, #1a1a1a 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);

    /* Surface Colors - Dark Mode */
    --surface-0: #0a0a0a;
    --surface-50: #1a1a1a;
    --surface-100: #262626;
    --surface-200: #404040;
    --surface-300: #525252;
    --surface-400: #737373;
    --surface-500: #a3a3a3;
    --surface-600: #d4d4d4;
    --surface-700: #e5e5e5;
    --surface-800: #f5f5f5;
    --surface-900: #fafafa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    border: none;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--secondary-foreground);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface-100);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-lg {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: 1rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.dark .header {
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-dark);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.logo-img {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: var(--radius);
}

.logo-text {
    font-weight: 600;
    color: var(--foreground);
}

.nav {
    display: none;
    align-items: center;
    gap: var(--spacing-6);
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    border-radius: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: var(--spacing-2);
    border-radius: var(--radius);
    transition: color 0.2s ease;
}

.theme-toggle:hover {
    color: var(--foreground);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-line {
    width: 2rem;
    height: 0.25rem;
    background: var(--foreground);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .hamburger-menu {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--background);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-8);
        transition: right 0.3s ease-in-out;
        z-index: 40;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        padding: var(--spacing-4);
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background: var(--primary);
        color: var(--primary-foreground);
        border-radius: var(--radius);
        margin: 0 var(--spacing-4);
    }

    /* Hamburger Animation */
    .hamburger-menu.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg);
    }

    .hamburger-menu.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* Hide Get Quote button on mobile */
    .header-actions .btn {
        display: none;
    }
}

@media (min-width: 993px) {
    .nav {
        display: flex;
    }

    .hamburger-menu {
        display: none;
    }
}

/* Hero Section */
.hero {
    padding: var(--spacing-20) var(--spacing-4);
    text-align: center;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.02) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    margin-bottom: var(--spacing-8);
}

.hero-logo-img {
    height: 6rem;
    width: 6rem;
    border-radius: var(--radius);
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-6);
    line-height: 1.1;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 900;
    letter-spacing: -0.025em;
    text-align: center;
    display: inline-block;
    padding: 0.25rem 0;
    white-space: normal;
    margin: 0 auto;
}



.gradient-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.gradient-text:hover::after {
    width: 100%;
    opacity: 0.6;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: var(--spacing-8);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: center;
    width: 100%;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
    justify-content: center;
    align-items: center;
}

/* Stats Section */
.stats {
    padding: var(--spacing-16) var(--spacing-4);
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
}

.dark .stats {
    background-color: rgba(30, 41, 59, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-8);
    max-width: 72rem;
    margin: 0 auto;
}

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

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    margin-bottom: var(--spacing-4);
    color: var(--primary);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-2);
}

.stat-label {
    color: var(--muted-foreground);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-12);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: var(--foreground);
}

.section-description {
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: var(--spacing-16) var(--spacing-4);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-6);
    max-width: 72rem;
    margin: 0 auto;
}

.about-card {
    text-align: center;
    padding: var(--spacing-6);
    background-color: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
}

.about-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.about-card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: var(--spacing-4);
}

.about-card-title {
    font-weight: 600;
    margin-bottom: var(--spacing-2);
    color: var(--foreground);
}

.about-card-text {
    color: var(--muted-foreground);
}

/* Services Section */
.services {
    padding: var(--spacing-16) var(--spacing-4);
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-6);
    max-width: 72rem;
    margin: 0 auto;
}

.service-card {
    background-color: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.service-image {
    aspect-ratio: 16/9;
    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: var(--spacing-6);
}

.service-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-4);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.25rem;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Expertise Section */
.expertise {
    padding: var(--spacing-16) var(--spacing-4);
    background: var(--surface-50);
    position: relative;
    overflow: hidden;
}

.expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
    pointer-events: none;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-4);
    max-width: 72rem;
    margin: 0 auto;
}

.expertise-item {
    padding: var(--spacing-4);
    background: var(--card);
    color: var(--foreground);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.expertise-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transition: left 0.3s ease;
    z-index: 0;
}

.expertise-item:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
    background: var(--surface-100);
}

.expertise-item:hover::before {
    left: 0;
}

.expertise-item>* {
    position: relative;
    z-index: 1;
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-16) var(--spacing-4);
    background: var(--surface-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-8);
    max-width: 64rem;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--card);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.testimonial-rating {
    color: var(--warning);
    margin-bottom: var(--spacing-4);
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: var(--spacing-6);
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.testimonial-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    font-size: 1.5rem;
}

.testimonial-author-name {
    font-weight: 600;
    color: var(--foreground);
}

.testimonial-author-role {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Contact Section */
.contact {
    padding: var(--spacing-16) var(--spacing-4);
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.contact-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-6);
    color: white;
}

.contact-description {
    margin-bottom: var(--spacing-8);
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-8);
}

.contact-card {
    padding: var(--spacing-6);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2rem;
    color: white;
    margin-bottom: var(--spacing-3);
}

.contact-card-title {
    font-weight: 600;
    margin-bottom: var(--spacing-2);
    color: white;
}

.contact-card-text {
    opacity: 0.8;
    word-break: break-all;
}

.contact-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: var(--spacing-8) var(--spacing-4);
    background-color: var(--background);
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-4);
}

.footer-logo-img {
    height: 2rem;
    width: 2rem;
    border-radius: var(--radius);
}

.footer-logo-text {
    font-weight: 500;
    color: var(--foreground);
}

.footer-text {
    color: var(--muted-foreground);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow-y: auto; /* Allow vertical scrolling */
    padding: var(--spacing-4) 0; /* Add some padding for small screens */
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--card);
    margin: auto; /* Center the modal content */
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    color: var(--muted-foreground);
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: var(--spacing-6);
    top: var(--spacing-6);
}

.close:hover {
    color: var(--foreground);
}

.modal-content h2 {
    margin-bottom: var(--spacing-6);
    color: var(--foreground);
}

/* Form Styles */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.form-group label {
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-3) var(--spacing-4);
    border: 2px solid var(--input-border);
    border-radius: var(--radius);
    background-color: var(--input);
    color: var(--foreground);
    font-size: 0.875rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), var(--shadow-md);
    transform: translateY(-1px);
}

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

/* Responsive Design */
@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .gradient-text {
        white-space: normal;
    }
}

@media (min-width: 992px) {
    .nav {
        display: flex;
    }

    .section-title {
        font-size: 3rem;
    }

    .gradient-text {
        white-space: normal;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.75rem;
    }

    .gradient-text-container {
        flex-direction: row;
        gap: 1rem;
    }

    .gradient-text {
        font-size: 1.2em;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
        line-height: 1.05;
    }

    .gradient-text-container {
        gap: 0.75rem;
    }

    .gradient-text {
        font-size: 1.15em;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: clamp(2.25rem, 6vw, 3.5rem);
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .gradient-text {
        text-align: center;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 639px) {
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.2;
    }

    .gradient-text {
        font-size: 0.95em;
        padding: 0.125rem 0;
        white-space: normal;
    }

    .gradient-text::after {
        height: 2px;
        width: 70%;
    }
}

@media (min-width: 992px) {
    .nav {
        display: flex;
    }

    .section-title {
        font-size: 3rem;
    }

    .gradient-text-container {
        flex-direction: row;
        gap: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3.75rem;
    }

    .gradient-text-container {
        flex-direction: row;
        gap: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: var(--spacing-4);
}

.mb-6 {
    margin-bottom: var(--spacing-6);
}

.mb-8 {
    margin-bottom: var(--spacing-8);
}

.mb-12 {
    margin-bottom: var(--spacing-12);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Portfolio Modal Styles */
.portfolio-modal .modal-content {
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--spacing-8);
}

.portfolio-header {
    text-align: center;
    margin-bottom: var(--spacing-8);
}

.portfolio-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-4);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-header p {
    color: var(--muted-foreground);
    font-size: 1.1rem;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-8);
    flex-wrap: wrap;
}

.portfolio-filter-btn {
    padding: var(--spacing-2) var(--spacing-4);
    border: 2px solid var(--border);
    background: var(--card);
    color: var(--foreground);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.portfolio-filter-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-2px);
}

.portfolio-filter-btn.active {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-6);
    margin-top: var(--spacing-6);
}

.portfolio-item {
    background: var(--card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    transition: all 0.3s ease;
}

.portfolio-item:hover .video-play-icon {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(29, 78, 216, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: white;
    padding: var(--spacing-4);
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-2);
    font-weight: 600;
}

.portfolio-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-3);
}

.portfolio-info p {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-4);
    line-height: 1.5;
}

/* Lightbox Modal Styles */
.lightbox-modal .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.lightbox-content {
    position: relative;
    background: var(--card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border);
}

.lightbox-image-container {
    position: relative;
    max-height: 70vh;
    overflow: hidden;
}
.lightbox-image-container img,
.lightbox-image-container video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.lightbox-info {
    padding: var(--spacing-6);
    background: var(--card);
}

.lightbox-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-3);
    color: var(--foreground);
}

.lightbox-info p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.gallery-page {
    padding: var(--spacing-16) var(--spacing-4);
    background: var(--surface-50);
}

/* Responsive Portfolio Styles */
@media (max-width: 992px) {
    .portfolio-modal .modal-content {
        margin: 2% auto;
        width: 95%;
        padding: var(--spacing-6);
    }

    .portfolio-header h2 {
        font-size: 2rem;
    }

    .portfolio-filters {
        gap: var(--spacing-2);
    }

    .portfolio-filter-btn {
        padding: var(--spacing-2) var(--spacing-3);
        font-size: 0.875rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }

    .lightbox-modal .modal-content {
        width: 95%;
        margin: 2% auto;
    }

    .lightbox-info {
        padding: var(--spacing-4);
    }

    .lightbox-info h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-filter-btn {
        width: 100%;
        max-width: 200px;
    }
}