/* Hero Section with Static Image */
:root {
    --transition-duration: 1000ms;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #000;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: #000;
}

.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: brightness(0.6) contrast(1.1);
    object-fit: cover;
    object-position: center;
}

/* Responsive image sizing */
@media (min-aspect-ratio: 16/9) {
    .hero-image {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .hero-image {
        width: auto;
        height: 100%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(74, 144, 226, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    color: white;
    padding-top: 8vh;
}

.hero-text {
    max-width: 1000px;
    margin: 0 auto 3rem auto;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    color: white;
}

.hero-title .highlight {
    color: #4A90E2;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0 auto 2.5rem;
    max-width: 950px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Features Badges */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2.5rem 0 3rem 0;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(74, 144, 226, 0.2);
    border-color: rgba(74, 144, 226, 0.4);
    transform: translateY(-2px);
}

.feature-badge i {
    color: #4A90E2;
    font-size: 1rem;
}

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

.hero-buttons .btn {
    min-width: 180px;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border: 2px solid #4A90E2;
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #5BA0F2 0%, #4A8ACD 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons .btn i {
    font-size: 1rem;
}

/* Service Areas Section */
.service-areas {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 25px 45px;
    max-width: 96%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.areas-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.areas-text strong {
    color: #4A90E2;
    font-weight: 600;
}

/* Expandable Service Areas */
.expand-btn {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    color: #4A90E2;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.expand-btn:hover {
    background: rgba(74, 144, 226, 0.2);
    border-color: rgba(74, 144, 226, 0.5);
    transform: translateY(-1px);
}

.expand-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.expand-btn.expanded .expand-icon {
    transform: rotate(180deg);
}

/* Stats Section */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 6rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '+';
    position: absolute;
    top: -10px;
    right: -20px;
    font-size: 2rem;
    color: var(--primary);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Scroll Down Button */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-down:hover {
    opacity: 1;
    transform: translate(-50%, 5px);
}

.scroll-arrow {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin-top: 15px;
    animation: bounce 2s infinite;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-10px);
    }
    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        padding-top: 6vh;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-features {
        gap: 2rem;
        margin: 2rem 0 2.5rem 0;
    }
    
    .feature-badge {
        padding: 0.75rem 1.3rem;
        font-size: 0.9rem;
    }
    
    .service-areas {
        bottom: 40px;
        padding: 20px 35px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-content {
        padding: 0 20px;
        padding-top: 15vh;
        justify-content: flex-start;
    }
    
    .hero-text {
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.8rem;
        line-height: 1.4;
        max-width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        margin: 2rem 0;
    }
    
    .feature-badge {
        width: fit-content;
        min-width: 220px;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .hero-buttons .btn {
        min-width: 220px;
        justify-content: center;
    }
    
    .service-areas {
        bottom: 20px;
        padding: 15px 25px;
        max-width: 98%;
    }
    
    .areas-text {
        font-size: 0.82rem;
        line-height: 1.4;
    }
}

@media (max-width: 600px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 0 15px;
        padding-top: 12vh;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-text {
        max-width: 100%;
        margin-bottom: 1.5rem;
        width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        letter-spacing: -0.2px;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        padding: 0 5px;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
        max-width: 100%;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 5px;
    }
    
    .hero-features {
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .feature-badge {
        min-width: 200px;
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        gap: 1rem;
        margin-top: 1.2rem;
    }
    
    .hero-buttons .btn {
        min-width: 200px;
        padding: 0.9rem 1.8rem;
    }
    
    .service-areas {
        bottom: 15px;
        padding: 12px 20px;
        max-width: 97%;
    }
    
    .areas-text {
        font-size: 0.78rem;
        line-height: 1.35;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: 3vh;
    }
    
    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        margin: 1.2rem 0;
    }
    
    .feature-badge {
        min-width: 180px;
        padding: 0.65rem 1.1rem;
        font-size: 0.82rem;
    }
    
    .hero-buttons {
        margin-top: 1rem;
    }
    
    .hero-buttons .btn {
        min-width: 180px;
        padding: 0.85rem 1.6rem;
        font-size: 0.9rem;
    }
    
    .service-areas {
        bottom: 10px;
        padding: 10px 15px;
    }
    
    .areas-text {
        font-size: 0.75rem;
    }
}

/* Extra Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 0 10px;
        padding-top: 10vh;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-text {
        max-width: 100%;
        margin-bottom: 1.2rem;
        width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
        letter-spacing: -0.1px;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        padding: 0 5px;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
        max-width: 100%;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 5px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin: 1.2rem 0;
    }
    
    .feature-badge {
        min-width: 180px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .hero-buttons .btn {
        min-width: 180px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .service-areas {
        bottom: 10px;
        padding: 10px 15px;
        max-width: 95%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .areas-text {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .expand-btn {
        font-size: 0.7rem;
        padding: 3px 8px;
        margin-left: 8px;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        gap: 3rem;
        margin-top: 5rem;
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: 700px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        gap: 2rem;
        margin-top: 4rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .scroll-down {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 550px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}
