/* CSS Custom Properties - HOUSTON ASTROS THEME */
:root {
    --primary-color: #002D62;        /* Astros Navy Blue */
    --primary-dark: #001B3A;         /* Darker Navy */
    --secondary-color: #EB6E1F;      /* Astros Orange */
    --accent-color: #FFFFFF;         /* Clean White */
    --text-color: #002D62;           /* Navy Blue text */
    --text-light: #666666;           /* Light grey */
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;             /* Light grey background */
    --bg-dark: #002D62;              /* Astros Navy */
    --border-color: #e9ecef;         /* Light border */
    --success-color: #28a745;        /* Green for success */
    --error-color: #EB6E1F;          /* Astros Orange for errors */

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 2px 4px 0 rgba(0, 45, 98, 0.1);
    --shadow-md: 0 8px 16px -2px rgba(0, 45, 98, 0.15);
    --shadow-lg: 0 20px 25px -5px rgba(0, 45, 98, 0.2);

    --border-radius: 16px;
    --border-radius-lg: 24px;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(235, 110, 31, 0.05) 50%, var(--bg-color) 100%);
    overflow-x: hidden;
    position: relative;
}

/* Astros-themed Background Elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(0, 45, 98, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(235, 110, 31, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    color: var(--bg-dark);
}

h3 {
    font-size: 1.5rem;
    color: var(--bg-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

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

.section-header h2 {
    margin-bottom: 0.5rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Header & Navigation - PICASSO INSPIRED */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 240, 255, 0.9)),
        conic-gradient(from 45deg, rgba(131, 56, 236, 0.1), rgba(255, 107, 53, 0.1), rgba(6, 255, 165, 0.1));
    background-blend-mode: overlay;
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color)) 1;
    box-shadow: 0 4px 20px rgba(131, 56, 236, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(131, 56, 236, 0.2);
}

.nav {
    padding: 1.5rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-color);
    position: relative;
    transform: rotate(-1deg);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.nav-brand::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0.1;
    border-radius: 10px;
    z-index: -1;
    animation: brandPulse 4s ease-in-out infinite alternate;
}

@keyframes brandPulse {
    0% { transform: rotate(-1deg) scale(1); }
    100% { transform: rotate(1deg) scale(1.02); }
}

.nav-brand i {
    font-size: 2rem;
    color: var(--accent-color);
    filter: drop-shadow(0 0 5px rgba(6, 255, 165, 0.5));
    animation: brandIcon 6s ease-in-out infinite;
}

@keyframes brandIcon {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-5deg) scale(1.1); }
    50% { transform: rotate(5deg) scale(0.9); }
    75% { transform: rotate(-2deg) scale(1.05); }
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
    transform: rotate(var(--nav-rotation, 0deg));
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    border-radius: 8px;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 0.2;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: rotate(var(--nav-rotation, 0deg)) scale(1.05) translateY(-2px);
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
}

.nav-link:nth-child(1) { --nav-rotation: -0.5deg; }
.nav-link:nth-child(2) { --nav-rotation: 0.3deg; }
.nav-link:nth-child(3) { --nav-rotation: -0.2deg; }
.nav-link:nth-child(4) { --nav-rotation: 0.4deg; }

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(248,240,255,0.1));
}

.mobile-menu-toggle:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.1);
}

/* Hero Section - HOUSTON ASTROS THEME */
.hero {
    padding: 8rem 0 4rem;
    background:
        linear-gradient(135deg, var(--bg-color) 0%, rgba(235, 110, 31, 0.1) 50%, var(--bg-light) 100%),
        radial-gradient(circle at 30% 70%, rgba(0, 45, 98, 0.1) 0%, transparent 50%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Astros-themed Background Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 45, 98, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(235, 110, 31, 0.06) 0%, transparent 40%);
    animation: subtleShift 12s ease-in-out infinite;
}

@keyframes subtleShift {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-right: 2rem;
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, transparent 30%, rgba(131, 56, 236, 0.1), transparent 70%);
    border-radius: 20px;
    z-index: -1;
    animation: contentGlow 4s ease-in-out infinite alternate;
}

@keyframes contentGlow {
    0% { opacity: 0.3; transform: rotate(-1deg); }
    100% { opacity: 0.7; transform: rotate(1deg); }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.1;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    transform: rotate(-0.5deg);
    animation: titleDance 6s ease-in-out infinite;
}

.astros-text {
    color: var(--secondary-color);
    display: inline-block;
    animation: astrosGlow 4s ease-in-out infinite alternate;
}

@keyframes astrosGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.1); }
}

@keyframes titleDance {
    0%, 100% { transform: rotate(-1deg) scale(1); }
    25% { transform: rotate(0.5deg) scale(1.02); }
    50% { transform: rotate(-0.5deg) scale(0.98); }
    75% { transform: rotate(0.8deg) scale(1.01); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    transform: rotate(0.5deg);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(45deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-color);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: var(--transition);
    transform: rotate(var(--rotation, 0deg));
}

.feature:nth-child(1) { --rotation: -2deg; }
.feature:nth-child(2) { --rotation: 1deg; }
.feature:nth-child(3) { --rotation: -1deg; }

.feature::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover::before {
    opacity: 1;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    text-align: center;
    position: relative;
}

.service-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 45, 98, 0.3);
    position: relative;
    animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    animation: gentleGlow 4s ease-in-out infinite alternate;
}

@keyframes gentleGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.service-icon i {
    font-size: 4rem;
    color: white;
    z-index: 1;
}

/* About Section - HOUSTON ASTROS THEME */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-color) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 45, 98, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(235, 110, 31, 0.04) 0%, transparent 50%);
}


.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
    transform: rotate(-0.5deg);
}

.about-text h3::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    border-radius: 15px;
    z-index: -1;
    animation: textGlow 4s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { transform: rotate(-0.5deg) scale(1); }
    100% { transform: rotate(0.5deg) scale(1.02); }
}

.about-list {
    list-style: none;
    padding: 0;
    position: relative;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    font-weight: 600;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.6));
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    position: relative;
    transition: var(--transition);
    transform: translateX(var(--slide-offset, 0px));
}

.about-list li:nth-child(1) { --slide-offset: -10px; }
.about-list li:nth-child(2) { --slide-offset: 5px; }
.about-list li:nth-child(3) { --slide-offset: -15px; }
.about-list li:nth-child(4) { --slide-offset: 8px; }
.about-list li:nth-child(5) { --slide-offset: -12px; }
.about-list li:nth-child(6) { --slide-offset: 3px; }

.about-list li:hover {
    transform: translateX(var(--slide-offset, 0px)) scale(1.05);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.about-list i {
    color: var(--accent-color);
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
}

.stat {
    text-align: center;
    padding: 2rem;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7)),
        conic-gradient(from 90deg, var(--secondary-color), var(--primary-color), var(--accent-color));
    background-blend-mode: overlay;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transform: rotate(var(--stat-rotation, 0deg));
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle, rgba(6,255,165,0.2), transparent);
    animation: statPulse 4s ease-in-out infinite;
}

@keyframes statPulse {
    0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.6; }
}

.stat:hover {
    transform: rotate(var(--stat-rotation, 0deg)) scale(1.1);
    border-color: var(--accent-color);
    box-shadow:
        0 20px 40px rgba(131, 56, 236, 0.3),
        inset 0 0 30px rgba(255,255,255,0.1);
}

.stat:nth-child(1) { --stat-rotation: -2deg; }
.stat:nth-child(2) { --stat-rotation: 1.5deg; }
.stat:nth-child(3) { --stat-rotation: -1deg; }

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: numberGlow 5s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.stat-label {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section - HOUSTON ASTROS THEME */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at top left, rgba(0, 45, 98, 0.05) 0%, transparent 50%),
        radial-gradient(circle at bottom right, rgba(235, 110, 31, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: linear-gradient(135deg, var(--bg-color) 0%, rgba(248, 249, 250, 0.9) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-align: center;
    border: 2px solid rgba(0, 45, 98, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 45, 98, 0.15);
    border-color: var(--secondary-color);
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 45, 98, 0.2);
    position: relative;
    z-index: 2;
}

.service-card .service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.service-card p {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
    position: relative;
    z-index: 2;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Contact Section - HOUSTON ASTROS THEME */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-color) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(0, 45, 98, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(235, 110, 31, 0.04) 0%, transparent 50%);
}


.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-color) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: 15px;
    border: 2px solid rgba(0, 45, 98, 0.1);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(0, 45, 98, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 45, 98, 0.2);
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-details h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.contact-details p,
.contact-details a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Contact Form - HOUSTON ASTROS THEME */
.contact-form {
    background: linear-gradient(135deg, var(--bg-color) 0%, rgba(248, 249, 250, 0.9) 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 45, 98, 0.1);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 45, 98, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
    background: var(--bg-color);
    box-shadow: var(--shadow-sm);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(235, 110, 31, 0.1);
}

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

/* Footer - HOUSTON ASTROS THEME */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-brand i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-content {
        padding-right: 0;
    }

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

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        order: 2;
    }

    .footer-social {
        order: 3;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 2rem;
    }

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

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

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Menu Animation - ABSTRACT ART */
.nav-menu.mobile-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,240,255,0.95)),
        conic-gradient(from 45deg, rgba(131,56,236,0.05), rgba(255,107,53,0.05), rgba(6,255,165,0.05));
    background-blend-mode: overlay;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color)) 1;
    backdrop-filter: blur(10px);
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px) rotateX(-10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.nav-menu.mobile-menu .nav-link {
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 12px;
    text-align: center;
    font-size: 1.2rem;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-menu.mobile-menu .nav-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: conic-gradient(from 0deg, rgba(255,107,53,0.1), rgba(131,56,236,0.1), rgba(6,255,165,0.1));
    animation: mobileLinkGlow 6s linear infinite;
    pointer-events: none;
}

@keyframes mobileLinkGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nav-menu.mobile-menu .nav-link:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.05) rotate(1deg);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.contact-item,
.about-list li {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer-social,
    .hero-buttons,
    .mobile-menu-toggle {
        display: none !important;
    }

    .hero {
        padding: 2rem 0;
        min-height: auto;
    }

    body {
        font-size: 12pt;
    }
}
