/* Root Variables */
:root {
    --primary-color: #087CA7;
    --primary-dark: #065a7a;
    --primary-light: #2b9bc4;
    --secondary-color: #297373;
    --accent-color: #EF6351;
    --text-primary: #1E1E1E;
    --text-secondary: #666666;
    --text-light: #999999;
    --background-primary: #ffffff;
    --background-secondary: #f8f9fa;
    --background-light: #DEDEDE;
    --background-dark: #1E1E1E;
    --border-color: #e0e0e0;
    --shadow-small: 0 1px 3px rgba(30, 30, 30, 0.1);
    --shadow-medium: 0 4px 12px rgba(30, 30, 30, 0.1);
    --shadow-large: 0 8px 32px rgba(30, 30, 30, 0.12);
    --gradient-electric: linear-gradient(135deg, #087CA7 0%, #297373 100%);
    --gradient-electric-hover: linear-gradient(135deg, #065a7a 0%, #1f5a5a 100%);
    --font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 8px;
    --border-radius-large: 16px;
    --transition: all 0.2s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--background-primary);
    font-weight: 400;
}

/* Container - Mobile First */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px; /* Mobile padding - increased for better breathing room */
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px; /* Tablet padding */
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px; /* Desktop padding */
    }
}

/* Typography - Mobile First */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

/* Mobile typography (default) - Optimized for readability */
h1 { font-size: 2.25rem; line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: 1.875rem; line-height: 1.2; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; line-height: 1.4; margin-bottom: 0.5rem; }

/* Tablet typography */
@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.5rem; }
}

/* Desktop typography */
@media (min-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 3rem; }
    h3 { font-size: 2rem; }
    h4 { font-size: 1.5rem; }
}

p {
    margin-bottom: 1em;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons - Mobile First with Proper Touch Targets */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px; /* Mobile-first: 44px min touch target */
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px; /* Mobile-optimized: 16px+ for readability */
    line-height: 1.3;
    white-space: nowrap;
    min-height: 44px; /* iOS/Android recommended touch target */
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--gradient-electric-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

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

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

.btn-success {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.btn-success:hover {
    background: #20B954;
    border-color: #20B954;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Header - Mobile First */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px; /* Mobile padding */
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Modern Logo Design - Mobile First */
.nav-brand {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0; /* No gaps - text connected */
    font-weight: 700;
    font-size: 18px; /* Mobile size */
    line-height: 1;
}

.brand-origami {
    color: var(--text-primary);
}

.brand-ev {
    color: var(--primary-color);
    font-weight: 800;
    padding: 2px 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.brand-ev::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-electric);
    border-radius: 1px;
}

.brand-connect {
    color: var(--text-primary);
}

/* Mobile navigation */
.nav-links {
    display: none; /* Hidden on mobile by default */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 16px;
    box-shadow: var(--shadow-large);
    border-top: 1px solid var(--border-color);
    gap: 16px;
}

.nav-links.mobile-menu-open {
    display: flex;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    text-align: center;
    font-size: 14px; /* Consistent with button size */
    line-height: 1.2;
}

.nav-link:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px; /* Larger touch target */
    min-width: 44px; /* Minimum touch target size */
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Tablet and Desktop Navigation */
@media (min-width: 768px) {
    .nav {
        padding: 16px 24px;
    }
    
    .logo-text {
        gap: 0; /* Keep text connected on tablet */
        font-size: 20px;
    }
    
    .nav-links {
        display: flex !important;
        position: static;
        background: none;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        border: none;
        gap: 24px;
        align-items: center; /* Center align all nav items */
    }
    
    .nav-link {
        padding: 10px 0; /* Match button padding for alignment */
        text-align: left;
        display: flex;
        align-items: center; /* Center align individual links */
        font-size: 14px; /* Consistent sizing */
        line-height: 1.2;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

@media (min-width: 1024px) {
    .logo-text {
        gap: 0; /* Keep text connected on desktop */
        font-size: 22px;
    }
    
    .nav-links {
        gap: 32px;
    }
}

/* Hero Section - Mobile First */
.hero {
    padding: 60px 0 40px; /* Optimized mobile padding */
    background: linear-gradient(135deg, var(--background-light) 0%, #f0f0f0 100%);
    position: relative;
    overflow: hidden;
    text-align: left; /* Left-aligned for better mobile UX */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23087CA7' fill-opacity='0.03'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

/* Mobile hero layout (single column) */
.hero .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.highlight {
    background: var(--gradient-electric);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px; /* Mobile size */
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 100%;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    flex-direction: column; /* Mobile stack */
    gap: 16px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%; /* Full width on mobile */
}

.hero-features {
    display: flex;
    flex-direction: column; /* Mobile stack */
    gap: 20px;
    align-items: flex-start; /* Left-aligned on mobile */
    margin-top: 8px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    width: 100%;
}

.feature-icon {
    font-size: 20px; /* Optimized mobile size */
    color: var(--primary-color);
    flex-shrink: 0; /* Prevent icon shrinking */
}

/* Tablet hero layout */
@media (min-width: 768px) {
    .hero {
        padding: 100px 0 70px;
        text-align: left;
    }
    
    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 36px;
        max-width: 450px;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 20px;
        margin-bottom: 40px;
        width: auto;
        max-width: none;
    }
    
    .hero-features {
        flex-direction: row;
        gap: 24px;
        justify-content: flex-start;
        align-items: center;
        margin-top: 0;
    }
    
    .feature-icon {
        font-size: 26px;
    }
}

/* Desktop hero layout */
@media (min-width: 1024px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero .container {
        gap: 60px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        margin-bottom: 40px;
        max-width: 500px;
    }
    
    .hero-buttons {
        margin-bottom: 48px;
    }
    
    .hero-features {
        gap: 32px;
    }
    
    .feature-icon {
        font-size: 28px;
    }
}

/* Hero Visual - Mobile First */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    order: -1; /* Show image first on mobile */
}

.charging-station-image {
    position: relative;
    width: 100%;
    max-width: 450px; /* Increased mobile size */
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-large);
    background: white;
}

.charging-station-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-large);
    transition: var(--transition);
}

.charging-station-image:hover img {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 15px; /* Mobile positioning */
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 12px; /* Mobile padding */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-small);
}

.charging-indicator {
    display: flex;
    align-items: center;
    gap: 6px; /* Mobile gap */
}

.charging-indicator::before {
    content: '⚡';
    color: var(--accent-color);
    font-size: 14px; /* Mobile size */
    margin-right: 2px;
}

.charging-dot {
    width: 6px; /* Mobile size */
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: charging-pulse 1.5s infinite ease-in-out;
}

.charging-dot:nth-child(1) { animation-delay: 0s; }
.charging-dot:nth-child(2) { animation-delay: 0.3s; }
.charging-dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes charging-pulse {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Tablet hero visual */
@media (min-width: 768px) {
    .hero-visual {
        order: 0; /* Normal order on tablet+ */
    }
    
    .charging-station-image {
        max-width: 500px; /* Increased tablet size */
        box-shadow: var(--shadow-large);
    }
    
    .image-overlay {
        top: 20px;
        right: 20px;
        padding: 10px 14px;
    }
    
    .charging-indicator {
        gap: 8px;
    }
    
    .charging-indicator::before {
        font-size: 16px;
        margin-right: 4px;
    }
    
    .charging-dot {
        width: 8px;
        height: 8px;
    }
}

/* Desktop hero visual */
@media (min-width: 1024px) {
    .charging-station-image {
        max-width: 600px; /* Increased desktop size */
    }
    
    .image-overlay {
        padding: 12px 16px;
    }
}

/* Section Styles - Mobile First */
section {
    padding: 70px 0; /* Mobile padding - increased for better spacing */
}

.section-header {
    text-align: center;
    margin-bottom: 48px; /* Mobile margin - increased */
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px; /* Add side padding for text breathing room */
}

.section-title {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 16px; /* Mobile size */
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Tablet sections */
@media (min-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
        max-width: 600px;
    }
    
    .section-title {
        margin-bottom: 14px;
    }
    
    .section-subtitle {
        font-size: 17px;
    }
}

/* Desktop sections */
@media (min-width: 1024px) {
    section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 64px;
    }
    
    .section-title {
        margin-bottom: 16px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
}

/* About Section */
.about {
    background: var(--background-primary);
}

/* About Grid - Mobile First */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 48px; /* Increased gap for better mobile spacing */
    align-items: stretch; /* Full width on mobile */
}

@media (min-width: 768px) {
    .about-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 50px;
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .about-grid {
        gap: 60px;
    }
}

.about-content h3 {
    margin-bottom: 24px;
    color: var(--text-primary);
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 24px;
    border-radius: var(--border-radius-large);
    margin: 16px 0 32px 0;
    box-shadow: var(--shadow-medium);
}

.highlight-box p {
    color: white;
    margin-bottom: 12px;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.list-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

/* About Stats - Mobile First */
.about-stats {
    display: flex;
    flex-direction: row; /* Mobile horizontal layout */
    gap: 20px;
    background: var(--background-secondary);
    padding: 32px 24px; /* Mobile padding - increased */
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    justify-content: space-around;
    width: 100%;
    margin: 0 auto; /* Center on mobile */
}

@media (min-width: 768px) {
    .about-stats {
        flex-direction: column;
        gap: 32px;
        padding: 32px;
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .about-stats {
        padding: 40px;
    }
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

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

/* Services Section */
.services {
    background: var(--background-light);
}

/* Services Grid - Mobile First */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 28px;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 32px;
    }
}

/* Service Card - Mobile First */
.service-card {
    background: var(--background-primary);
    padding: 32px 24px; /* Increased mobile padding for better touch */
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-small);
    transition: var(--transition);
    margin-bottom: 16px; /* Space between cards on mobile */
}

@media (min-width: 768px) {
    .service-card {
        padding: 32px;
    }
}

@media (min-width: 1024px) {
    .service-card {
        padding: 40px;
    }
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
}

.service-icon i {
    font-size: 24px;
}

.service-title {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-description {
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.service-features li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Why Choose Section */
.why-choose {
    background: var(--background-primary);
}

/* Features Grid - Mobile First */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 28px;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 32px;
    }
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--border-radius-large);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--background-secondary);
    transform: translateY(-2px);
}

.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin: 0 auto 20px;
}

.feature-card .feature-icon i {
    font-size: 32px;
}

.feature-card h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Contact Section */
.contact {
    background: var(--background-light);
}

/* Contact Content - Mobile First */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
}

@media (min-width: 768px) {
    .contact-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .contact-content {
        gap: 60px;
    }
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px; /* Optimized mobile spacing */
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
}

.contact-details h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

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

.contact-details p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 4px 0;
}

.cta-buttons {
    display: flex;
    flex-direction: column; /* Mobile: Stack vertically */
    gap: 16px;
    align-items: stretch; /* Full width on mobile */
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

/* Contact Form - Mobile First */
.contact-form-container {
    background: var(--background-primary);
    padding: 24px; /* Mobile padding */
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-small);
}

@media (min-width: 768px) {
    .contact-form-container {
        padding: 32px;
    }
}

@media (min-width: 1024px) {
    .contact-form-container {
        padding: 40px;
    }
}

.contact-form h3 {
    margin-bottom: 32px;
    color: var(--text-primary);
    text-align: center;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px; /* Larger mobile touch area */
    border: 2px solid var(--border-color); /* Thicker border for mobile */
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px; /* Prevents zoom on iOS */
    line-height: 1.4;
    transition: var(--transition);
    background: var(--background-primary);
    color: var(--text-primary);
    min-height: 44px; /* Minimum touch target */
    -webkit-appearance: none; /* Remove default mobile styling */
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
}

.form-note-small {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .brand {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand .brand-origami {
    color: white;
}

.footer-brand .brand-ev {
    color: var(--secondary-color);
}

.footer-brand .brand-connect {
    color: white;
}

.footer-brand p {
    color: #cccccc;
    margin-bottom: 0;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 16px;
    color: white;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    color: #cccccc;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
    text-align: center;
    color: #999999;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* Footer Responsive Design */
@media (min-width: 768px) {
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 60px;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        margin-bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        gap: 80px;
    }
}

/* Small Mobile Optimizations */
@media (max-width: 480px) {
    .btn-large {
        width: 100%;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px 16px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Mobile Performance & Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 767px) {
    * {
        /* Reduce heavy transitions on mobile for better performance */
        transition-duration: 0.15s;
    }
    
    /* Optimize mobile scrolling */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
    }
    
    /* Prevent horizontal scroll on mobile */
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-secondary: #000000;
    }
}
