/* ESM Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 90vh;
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;
    padding: 40px 0 40px;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

/* Slogan Header Section */
.slogan-header {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px 0 40px;
    margin-bottom: 40px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 30px;
}

/* Hero logo styling */
.hero-logo {
    height: 64px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.35));
}

.badge-text {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
}

.badge-text i { opacity: 0.95; }

@keyframes sparkle {
    0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    100% { transform: scale(1.1) rotate(10deg); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 18px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: slideInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-line {
    color: white;
    animation: slideInLeft 1.2s ease-out 0.3s both;
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title .highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(251, 191, 36, 0.5); }
    to { text-shadow: 0 0 30px rgba(251, 191, 36, 0.8); }
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 2px;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 100%; }
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 28px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.95; }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 28px;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    padding: 22px 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.4s ease;
}

.stat-icon i {
    font-size: 1.5rem;
    color: #fbbf24;
    transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(5deg);
}

.stat-item:hover .stat-icon i {
    color: white;
    transform: scale(1.2);
}

.stat-item:hover {
    transform: translateY(-4px) scale(1.01);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: #fbbf24;
    margin-bottom: 6px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

@keyframes countUp {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Hero CTA Buttons */
.hero-cta {
    margin-top: 28px;
    animation: fadeIn 1s ease-out 0.8s both;
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    border: none;
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.45);
}

.hero-cta .btn-primary:hover {
    filter: brightness(0.95);
    transform: translateY(-2px);
}

.hero-cta .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.hero-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-cta .btn i { transition: transform 0.25s ease; }
.hero-cta .btn:hover i { transform: translateX(2px); }

/* Form Icon */
.form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    animation: float 3s ease-in-out infinite;
}

.form-icon i {
    font-size: 2rem;
    color: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Form Styling */
.side-form {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    color: #1e3a8a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-header p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.input-with-icon {
    position: relative;
}

.input-with-icon img {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.8rem;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .hero-cta .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-item {
        padding: 20px;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 20px 0 30px;
        margin-top: 0;
    }
    
    .slogan-header {
        padding: 15px 0 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .stat-item {
        padding: 25px 20px;
        min-width: 200px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon i {
        font-size: 1.2rem;
    }
    
    .badge-text {
        font-size: 14px;
        padding: 12px 25px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .form-icon {
        width: 60px;
        height: 60px;
    }
    
    .form-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .badge-text {
        font-size: 12px;
        padding: 8px 20px;
    }
    
    .stat-item {
        min-width: 180px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .hero-section {
        margin-top: 0;
    }
}
