/* Hero Section Styles */
.hero-section {
    position: relative;
    padding: 120px 0 100px;
    background: url('../images/hero-background.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section h1 .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-section h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--secondary-color);
    opacity: 0.3;
    z-index: -1;
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 550px;
}

.search-container {
    max-width: 500px;
    margin-bottom: 40px;
}

.search-container form {
    display: flex;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.search-container input:focus {
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    outline: none;
}

.search-container input::placeholder {
    color: #666;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: var(--primary-dark);
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

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

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    transform: translateY(20px);
}

.hero-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 25px;
    color: var(--text-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.hero-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

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

.hero-card.active {
    transform: translateY(-15px) scale(1.05);
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.hero-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.hero-card p {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 15px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.card-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.card-link:hover {
    color: var(--primary-dark);
}

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

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.hero-scroll-down a {
    display: block;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.hero-scroll-down a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

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

/* Responsive Hero Section */
@media (max-width: 1200px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .search-container {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cards {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-card {
        transform: none !important;
        margin-top: 10px;
    }
    
    .hero-card.active {
        transform: none;
        border: 2px solid var(--primary-color);
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .stat-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}