/* Hero Section Styles */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: zoomOut 20s ease forwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.45) 100%
    );
    padding-top: 80px;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero-text {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInFromLeft 1s ease forwards;
    text-align: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    font-weight: 500;
    color: var(--white);
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn-emergency {
    background: #0066cc;
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    animation: pulse 3s infinite;
    margin: 2rem auto 0;
}

.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.5);
    background: #0052a3;
}

.btn-emergency i {
    font-size: 1.5rem;
    animation: shake 1s ease infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(0, 102, 204, 0.5);
    }
    100% {
        box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    }
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInFromRight 1s ease forwards 0.5s;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card span {
    font-size: 1rem;
    font-weight: 500;
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: -60px;
        min-height: 600px;
    }

    .hero-content {
        padding-bottom: 3rem;
        transform: translateY(-8%);
    }

    .hero-text {
        margin-bottom: 2rem;
    }

    .hero .container {
        padding-top: 60px;
    }

    .hero-overlay {
        padding-top: 60px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-text h2 {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .btn-emergency {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .feature-card {
        padding: 1rem;
    }
}
