/* Ultra Modern CSS for Dhrivi Constructions */

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

:root {
    /* Modern Color Palette */
    --primary: #6366f1;
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary: #f59e0b;
    --accent: #06b6d4;
    --success: #10b981;
    --danger: #ef4444;
    
    /* Dark Theme Neutrals */
    --dark: #000000;
    --dark-2: #0a0a0a;
    --dark-3: #1a1a1a;
    --light: #ffffff;
    --light-2: #f0f0f0;
    --light-3: #e0e0e0;
    --white: #ffffff;
    
    /* Dark Theme Text */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --text-light: #888888;
    
    /* Dark Theme Backgrounds */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-hover: #2a2a2a;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-success: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-dark: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-weight: 400;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Modern Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-md);
}

.nav-brand h1 {
    background: linear-gradient(135deg, #ff6b35 0%, #9333ea 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    transition: var(--transition-base);
    cursor: pointer;
    filter: drop-shadow(0 3px 6px rgba(255, 107, 53, 0.4)) drop-shadow(0 0 12px rgba(147, 51, 234, 0.3));
    animation: gradientShift 3s ease-in-out infinite;
}

.nav-brand a:hover h1 {
    transform: scale(1.05);
    filter: brightness(1.2);
    animation: none;
}

/* Logo Styling */
.logo {
    height: 60px;
    width: auto;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    filter: drop-shadow(0 2px 8px rgba(255, 107, 53, 0.4)) drop-shadow(0 0 10px rgba(147, 51, 234, 0.2));
}

.nav-brand a:hover .logo {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.5)) drop-shadow(0 0 15px rgba(147, 51, 234, 0.3));
}

/* Footer Logo Image Styling */
.footer-logo-img {
    height: 55px;
    width: auto;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.4)) drop-shadow(0 0 8px rgba(147, 51, 234, 0.2));
    vertical-align: middle;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 10px rgba(255, 107, 53, 0.5)) drop-shadow(0 0 12px rgba(147, 51, 234, 0.3)) brightness(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--space-lg);
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-base);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-menu a:hover {
    color: var(--primary-light);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Remove default underline for Get Quote button since it has its own ::after */
.nav-menu .btn-quote::after {
    display: none;
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::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: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* Special Get Quote Button */
.btn-quote {
    background: linear-gradient(135deg, #ff6600 0%, #9933ff 50%, #ff6600 100%);
    color: var(--white) !important;
    border: none;
    padding: var(--space-sm) var(--space-xl);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.6);
    background-size: 200% auto;
    animation: gradientShift 3s ease-in-out infinite;
}

.btn-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition-slow);
}

.btn-quote:hover::before {
    left: 100%;
}

.btn-quote:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.8);
    animation: none;
}

.btn-quote::after {
    content: '💰';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    opacity: 0.8;
}

/* Navbar Quote Button Enhancement */
.nav-menu .btn-quote {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    position: relative;
    color: var(--white) !important;
}

.nav-menu .btn-quote:hover {
    color: var(--white) !important;
}

/* Custom underline for Get Quote button */
.nav-menu .btn-quote span {
    position: relative;
    color: var(--white) !important;
}

.nav-menu .btn-quote:hover span {
    color: var(--white) !important;
}

.nav-menu .btn-quote span::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

.nav-menu .btn-quote:hover span::after {
    width: 100%;
}

/* Quote button in hero section */
.hero .btn-quote {
    padding: var(--space-md) var(--space-2xl);
    font-size: 1.1rem;
    margin-left: var(--space-sm);
}

/* Hero Section - Ultra Modern */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero::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 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url("#grid#grid")"/></svg>');
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Stats Section */
.stats {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.stat-card {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}


/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    margin-bottom: var(--space-md);
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Services Grid */
.services {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-base);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-2xl);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

.service-card h3 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.service-card p {
    position: relative;
    z-index: 1;
}

/* Highlight targeted service card */
.service-card:target {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 2px solid var(--primary);
    animation: highlightPulse 2s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: var(--shadow-2xl);
    }
    50% {
        box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.4);
    }
}

/* Projects Grid */
.projects {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    font-weight: 500;
    text-decoration: none;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-xl);
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.project-image {
    height: 280px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.project-image::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"><rect width="100" height="100" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.2)"/><circle cx="50" cy="30" r="1.5" fill="rgba(255,255,255,0.2)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.2)"/></svg>');
}

.project-content {
    padding: var(--space-lg);
}

.project-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-title {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
    font-weight: 700;
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--light-3);
}

.project-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Testimonials */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: var(--space-lg);
    font-size: 100px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    font-weight: 800;
}

.testimonial-content {
    margin-bottom: var(--space-lg);
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.rating {
    color: var(--secondary);
    margin-top: var(--space-xs);
    font-size: 1.1rem;
}

/* Forms */
.form-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-base);
    font-family: inherit;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.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(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-submit {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-md) var(--space-2xl);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    width: 100%;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.form-submit::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: var(--transition-slow);
}

.form-submit:hover::before {
    left: 100%;
}

/* Messages */
.messages {
    position: fixed;
    top: 100px;
    right: var(--space-lg);
    z-index: 1001;
    max-width: 400px;
}

@media (max-width: 768px) {
    .messages {
        top: 80px;
        right: var(--space-md);
        left: var(--space-md);
        max-width: none;
        margin: 0 auto;
    }
}

.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    animation: slideIn 0.3s ease-out;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-left-color: var(--success);
}

/* Footer */
.footer {
    background: #000000;
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-lg);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--space-md);
    color: var(--white);
}

.footer-section h3 {
    background: linear-gradient(135deg, #ff6b35 0%, #9333ea 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    filter: drop-shadow(0 3px 6px rgba(255, 107, 107, 0.4)) drop-shadow(0 0 12px rgba(255, 165, 0, 0.3));
    animation: gradientShift 3s ease-in-out infinite;
    font-size: 1.6rem;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}

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

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-section a:hover {
    color: var(--white);
    text-decoration: underline;
    transform: translateX(5px);
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--dark-2);
    color: var(--text-light);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-sm);
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-base);
    border-radius: var(--radius-full);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

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

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.8), 0 0 20px rgba(255, 107, 107, 0.3);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Mobile App-like Enhancements */
body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: none;
}

/* Touch-friendly elements */
.btn, .nav-menu a, .project-card, .service-card {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

/* Mobile pull-to-refresh disable */
body {
    overscroll-behavior-y: contain;
}

/* App-like scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Mobile-first interactions */
@media (hover: none) and (pointer: coarse) {
    .btn:hover, .project-card:hover, .service-card:hover {
        transform: none;
    }
    
    .btn:active, .project-card:active, .service-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
}

/* Contact page responsive grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
}

/* Bottom navigation for mobile app feel */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-sm) 0;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.mobile-nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.mobile-nav li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-xs);
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary);
}

.mobile-nav .icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
        padding: var(--space-lg) 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: var(--space-sm) 0;
    }
    
    .hero {
        padding: var(--space-3xl) 0;
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid,
    .services-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-container {
        padding: var(--space-lg);
    }
    
    /* Mobile logo adjustments */
    .logo {
        height: 35px;
    }
    
    .nav-brand h1 {
        font-size: 1.4rem;
    }
    
    /* Show mobile bottom navigation */
    .mobile-nav {
        display: flex !important;
        width: 100% !important;
    }
    
    .mobile-nav ul {
        width: 100% !important;
        display: flex !important;
        justify-content: space-around !important;
    }
    
    /* Add padding to body for bottom nav */
    body {
        padding-bottom: 70px;
    }
    
    /* Hide regular nav menu on mobile */
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xs: 0.25rem;
        --space-sm: 0.75rem;
        --space-md: 1rem;
        --space-lg: 1.5rem;
        --space-xl: 2rem;
        --space-2xl: 2.5rem;
        --space-3xl: 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
}