/* Hero section */
.hero {
    position: relative;
    min-height: 90vh; /* Reduced from 100vh */
    width: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(18, 61, 0, 0.8) 0%, #000 100%);
    overflow: hidden;
    padding: 60px 0; /* Added padding for better vertical spacing */
}

/* Background shape */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 70%;
    height: 200%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0 100% 100% 0 / 50%;
    z-index: 0;
}

/* Hero content layout */
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Text content styles */
.hero-text {
    flex: 1;
    max-width: 600px;
}

/* Company name styling */
.company-name {
    font-size: 5rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* Tagline styling */
.tagline {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
}

.emphasis {
    font-weight: 700;
}

/* Description text */
.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* CTA buttons container */
.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* Image styles - reduce size */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 45%; /* Control maximum width */
}

.hero-image img {
    max-width: 100%;
    max-height: 450px; /* Set a maximum height */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    object-fit: contain; /* Ensure the image maintains its aspect ratio */
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding: 80px 0;
    }
    
    .company-name {
        font-size: 4rem;
    }
    
    .tagline {
        font-size: 3rem;
    }
    
    .hero-image img {
        max-height: 380px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
        max-width: 100%;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 30px;
        max-width: 70%; /* Wider on tablets */
    }
    
    .hero-image img {
        max-height: 300px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .company-name {
        font-size: 3.5rem;
    }
    
    .tagline {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .company-name {
        font-size: 2.8rem;
    }
    
    .tagline {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-image {
        max-width: 85%; /* Even wider on mobile */
    }
    
    .hero-image img {
        max-height: 250px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}