/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    color: #ffd700;
    animation: electricPulse 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.phone-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    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(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 180px;
    justify-content: center;
}

.btn-primary {
    background: #ff6b35;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.service-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    line-height: 1.5;
}

/* Why Choose Us */
.why-choose {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-choose h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature i {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 20px;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature p {
    color: #666;
}

/* Emergency Section */
.emergency {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    text-align: center;
}

.emergency h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.emergency p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.emergency-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-emergency {
    background: white;
    color: #ff6b35;
    font-size: 1.2rem;
    padding: 18px 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-emergency:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-whatsapp-emergency {
    background: #25d366;
    color: white;
    font-size: 1.2rem;
    padding: 18px 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-emergency:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-section i {
    margin-right: 10px;
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    opacity: 0.7;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.fab-phone, .fab-whatsapp {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.fab-phone {
    background: #ff6b35;
}

.fab-whatsapp {
    background: #25d366;
}

.fab-phone:hover, .fab-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

@keyframes electricPulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        color: #ffd700;
    }
    25% {
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
        color: #ffff00;
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
        color: #ffffff;
    }
    75% {
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
        color: #ffff00;
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        color: #ffd700;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        z-index: 10;
        position: relative;
    }
    
    .hero h2 {
        font-size: 2rem;
        color: white;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    
    .hero p {
        font-size: 1rem;
        color: white;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid, .features {
        grid-template-columns: 1fr;
    }
    
    .emergency-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .emergency-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .fab-phone, .fab-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 40px;
        min-height: 100vh;
    }
    
    .hero h2 {
        font-size: 1.8rem;
        color: white;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 0.9rem;
        color: white;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
        margin-bottom: 25px;
    }
    
    .services h3, .why-choose h3, .emergency h3 {
        font-size: 1.8rem;
    }
    
    .service-card, .feature {
        padding: 20px 15px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .floating-buttons, .header {
        display: none;
    }
    
    .hero {
        padding: 20px 0;
    }
}
