/* ===================================
   MODERN HOMEPAGE HERO SECTION
   =================================== */

/* Hero Background & Container */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 20px 0 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 0;
}

/* Floating Background Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 70%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 15%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 50%;
    animation-delay: 1s;
    animation-duration: 28s;
}

.shape-5 {
    width: 180px;
    height: 180px;
    top: 70%;
    left: 20%;
    animation-delay: 3s;
    animation-duration: 24s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.4;
    }
}

/* Hero Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Text Section */
.hero-text-section {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 0.6s ease-out 0.2s both;
}

.hero-badge i {
    color: #ffd700;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0 0 35px 0;
    max-width: 90%;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Search Form */
.hero-search-container {
    margin-bottom: 40px;
    animation: scaleIn 0.6s ease-out 0.5s both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modern-search-form {
    width: 100%;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    padding: 8px 8px 8px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.search-icon {
    color: #667eea;
    font-size: 18px;
    margin-right: 15px;
}

.modern-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #2c3e50;
    background: transparent;
    padding: 12px 0;
}

.modern-search-input::placeholder {
    color: #a0aec0;
}

.modern-search-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.modern-search-button:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.modern-search-button i {
    transition: transform 0.3s ease;
}

.modern-search-button:hover i {
    transform: translateX(5px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 30px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 24px;
    color: #ffd700;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-content strong {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-content span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Image Section */
.hero-image-section {
    position: relative;
    animation: slideInRight 0.8s ease-out 0.4s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-container {
    position: relative;
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-illustration {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-text-section {
        text-align: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        justify-content: center;
    }

    .search-input-wrapper {
        flex-direction: column;
        padding: 15px;
        border-radius: 20px;
    }

    .modern-search-input {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .modern-search-button {
        width: 100%;
        justify-content: center;
    }

    .hero-wave svg {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .modern-search-input {
        font-size: 14px;
    }

    .modern-search-button {
        font-size: 14px;
        padding: 12px 24px;
    }
}