/* Modern Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0d1b2a;
    color: white;
    overflow: hidden;
    padding: 0;
}

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

.hero-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out; /* Faster transition */
}

.hero-background img.active {
    opacity: 0.8;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 2; /* Below content, above background */
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.company-name {
    font-size: 4.5rem;
    font-weight: 700;
    color: #497EE6;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap; /* Keep company name on one line */
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.4;
    color: #ffffff !important; /* Force white color */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title .text-accent {
    color: #ffffff !important; /* Force white color */
    font-weight: 600;
    display: block;
    margin-top: 0.8rem;
}

.hero-subtitle {
    font-size: 1.6rem; /* Increased from 1.4rem */
    margin: 1.5rem auto; /* Adjusted vertical margin for centering */
    line-height: 1.7; /* Increased from 1.6 */
    max-width: 800px; /* Increased from 700px */
    padding: 0 1.5rem; /* Added horizontal padding */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Scroll down indicator has been removed */

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



/* Featured Categories Section */
.featured-categories {
    margin-top: 80px; /* Account for fixed header */
    padding: 5rem 2rem;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #0d1b2a;
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 3rem;
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px;
    aspect-ratio: 1.8;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, rgba(13,27,42,0.6) 0%, rgba(13,27,42,0.4) 50%, rgba(13,27,42,0.2) 100%);
    padding: 2rem 2.5rem 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    box-sizing: border-box;
}

.category-title {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    font-weight: 700;
    max-width: 80%;
    color: #ffffff; /* Changed back to white as requested */
}

.category-link {
    display: inline-flex;
    align-items: center;
    color: #ffffff; /* White text for better contrast on blue */
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #497EE6; /* Blue background */
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    border: 2px solid #497EE6; /* Blue border to match background */
    width: fit-content;
    box-shadow: 0 4px 15px rgba(73, 126, 230, 0.3);
}

.category-link:hover {
    color: #ffffff;
    background: #3a6ed5; /* Slightly darker blue on hover */
    border-color: #3a6ed5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(73, 126, 230, 0.4);
}

.category-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.category-link:hover i {
    transform: translateX(5px);
}
