/* Modern Hero Section - Complete Redesign */
:root {
    --primary: #016A6E;
    --primary-light: #028a8f;
    --accent: #F3BD01;
    --accent-light: #FFE47A;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.85);
    --text-light: rgba(255, 255, 255, 0.7);
    --font: 'Vazirmatn', 'IRANSansWeb', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-glow: 0 0 40px rgba(243, 189, 1, 0.3);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.3);
    
    /* New colors for better logo contrast */
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-accent: #0f3460;
    --logo-bg: rgba(255, 255, 255, 0.95);
    --logo-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

/* Hero Section Container */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font);
    color: var(--text);
    background: 
        linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 30%, var(--bg-accent) 70%, var(--bg-primary) 100%),
        radial-gradient(circle at 30% 40%, rgba(243, 189, 1, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(1, 106, 110, 0.15) 0%, transparent 50%);
    padding: 2rem;
    overflow: hidden;
    animation: heroFadeIn 1.2s ease-out;
}

/* Enhanced Background Effects */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(243, 189, 1, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(243, 189, 1, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
        linear-gradient(45deg, rgba(1, 106, 110, 0.1) 0%, rgba(2, 138, 143, 0.1) 100%);
    z-index: 0;
    animation: backgroundFloat 20s ease-in-out infinite;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(243, 189, 1, 0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 20%, rgba(255, 255, 255, 0.02) 50%, transparent 80%);
    animation: shimmer 8s ease-in-out infinite;
    z-index: 1;
}

/* Main Container */
.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 0 auto;
    padding: 0 1rem;
    animation: slideUpFade 1.5s ease-out 0.3s both;
}

/* Logo Section */
.hero-logo {
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
}

.hero-logo img {
    width: 200px;
    height: auto;
    object-fit: contain;
    border-radius: 30px;
    background: var(--logo-bg);
    backdrop-filter: blur(20px);
    padding: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--logo-shadow),
        0 25px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-logo img::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.hero-logo img:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 
        0 0 60px rgba(243, 189, 1, 0.6),
        0 30px 100px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 1);
}

.hero-logo img:hover::before {
    left: 100%;
}

/* Content Section */
.hero-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    animation: contentSlideUp 1.8s ease-out 0.6s both;
}

/* Title Styling */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(243, 189, 1, 0.4);
    position: relative;
    animation: titleGlow 2s ease-out 0.9s both;
}

.hero-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
    animation: underlineExpand 1s ease-out 1.5s both;
}

/* Subtitle Styling */
.hero-subtitle {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 600;
    margin: 0;
    color: var(--text);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
    animation: subtitleFade 2s ease-out 1.2s both;
}

/* Description Styling */
.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 2;
    color: var(--text-muted);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: 2rem 2.5rem;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: descriptionSlide 2.2s ease-out 1.5s both;
    max-width: 800px;
    margin: 0 auto;
}

.hero-description::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.6;
}

/* Call to Action Button */
.hero-cta {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    animation: ctaBounce 2.5s ease-out 1.8s both;
}

.hero-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 60px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 15px 40px rgba(243, 189, 1, 0.4),
        0 0 0 0 rgba(243, 189, 1, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta .cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.hero-cta .cta-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.hero-cta .cta-button:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 
        0 20px 60px rgba(243, 189, 1, 0.6),
        0 0 0 15px rgba(243, 189, 1, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-cta .cta-button:hover::before {
    left: 100%;
}

.hero-cta .cta-button:hover::after {
    width: 300px;
    height: 300px;
}

.hero-cta .cta-button:active {
    transform: translateY(-2px) scale(1.05);
}

.hero-cta .cta-button svg {
    transition: transform 0.3s ease;
}

.hero-cta .cta-button:hover svg {
    transform: translateX(5px);
}

/* Animations */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes backgroundFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.8;
    }
    33% { 
        transform: translateY(-15px) rotate(0.5deg) scale(1.02); 
        opacity: 0.9;
    }
    66% { 
        transform: translateY(-10px) rotate(-0.5deg) scale(0.98); 
        opacity: 0.85;
    }
}

@keyframes shimmer {
    0% { 
        transform: translateX(-100%) skewX(-15deg); 
        opacity: 0;
    }
    50% { 
        transform: translateX(0%) skewX(0deg); 
        opacity: 1;
    }
    100% { 
        transform: translateX(100%) skewX(15deg); 
        opacity: 0;
    }
}

@keyframes backgroundPulse {
    0%, 100% { 
        opacity: 0.8; 
        transform: scale(1); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.05); 
    }
}

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

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

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

@keyframes titleGlow {
    from { 
        opacity: 0; 
        transform: scale(0.9); 
        filter: blur(10px); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
        filter: blur(0); 
    }
}

@keyframes underlineExpand {
    from { width: 0; }
    to { width: 80px; }
}

@keyframes subtitleFade {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 0.95; 
        transform: translateY(0); 
    }
}

@keyframes descriptionSlide {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes ctaBounce {
    0% { 
        opacity: 0; 
        transform: translateY(30px) scale(0.8); 
    }
    50% { 
        opacity: 1; 
        transform: translateY(-5px) scale(1.05); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        max-width: 1000px;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }
    
    .hero-logo img {
        width: 180px;
        padding: 25px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 1.5rem;
    }
    
    .hero-container {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hero-logo img {
        width: 160px;
        padding: 22px;
    }
    
    .hero-description {
        padding: 1.5rem 2rem;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1rem;
        min-height: 90vh;
    }
    
    .hero-container {
        gap: 1.8rem;
        padding: 0 0.5rem;
    }
    
    .hero-logo img {
        width: 140px;
        padding: 20px;
    }
    
    .hero-description {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        line-height: 1.8;
        max-width: 600px;
    }
    
    .hero-cta .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 0.8rem;
    }
    
    .hero-container {
        gap: 1.5rem;
        padding: 0 0.3rem;
    }
    
    .hero-logo img {
        width: 120px;
        padding: 18px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
        line-height: 1.7;
        max-width: 500px;
    }
    
    .hero-cta .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0.5rem;
    }
    
    .hero-container {
        gap: 1.2rem;
        padding: 0 0.2rem;
    }
    
    .hero-logo img {
        width: 100px;
        padding: 16px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        max-width: 400px;
    }
    
    .hero-cta .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    }
    