/* =============================================
   MODERN HERO SECTION — Premium Redesign
   ============================================= */

/* --- Keyframe Animations --- */
@keyframes heroBadgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(251, 146, 60, 0);
    }
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes badgeDotBlink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

/* --- Hero Section Container --- */
.hero-section {
    padding: 0;
    height: 90vh;
    background: #0a0f1e;
    /* dark fallback until JS loads */
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Subtle decorative ring */
.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(251, 146, 60, 0.1);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.08);
    pointer-events: none;
}

.hero-section .container {
    max-width: none;
    padding: 0;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 100%;
    padding: 0 3rem;
}

/* --- Hero Text Side --- */
.hero-text {
    padding-right: 2rem;
    margin-top: -3rem;
    /* Shifts the text block up slightly */
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
    color: #fb923c;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 0.8rem;
    animation: heroFadeUp 0.6s ease both, heroBadgePulse 3s ease infinite 1s;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fb923c;
    flex-shrink: 0;
    animation: badgeDotBlink 2s ease infinite;
}

/* Title */
.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: heroFadeUp 0.7s ease 0.1s both;
}

.hero-title-line {
    display: block;
    color: var(--text-primary);
}

.hero-title-gradient {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #fb923c 40%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 12px rgba(251, 146, 60, 0.35));
}

/* Description */
.hero-description {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    animation: heroFadeUp 0.7s ease 0.2s both;
}

/* --- Dual CTA Buttons --- */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: heroFadeUp 0.7s ease 0.3s both;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: none;
}

.cta-button i {
    transition: transform 0.3s ease;
    font-size: 0.95rem;
}

/* Primary Button */
.cta-primary {
    background: linear-gradient(135deg, #ff6b35, #fb923c);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.55);
}

.cta-primary:hover i {
    transform: translateX(3px);
}

/* Secondary Button */
.cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(251, 146, 60, 0.5);
    color: #fb923c;
    transform: translateY(-3px);
}

.cta-secondary:hover i {
    transform: rotate(-12deg);
}

/* --- Hero Features (Replaces Trust Badges) --- */
.hero-features {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    animation: heroFadeUp 0.7s ease 0.45s both;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hf-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.15), rgba(251, 146, 60, 0.05));
    border: 1px solid rgba(251, 146, 60, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    /* Using CSS token for primary color */
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(251, 146, 60, 0.1);
}

.hf-text {
    display: flex;
    flex-direction: column;
}

.hf-text strong {
    font-size: 0.8rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.hf-text span {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.2;
    margin-top: 2px;
}

/* =============================================
   SERVICES SECTION
   Horizontal Compact Layout
   ============================================= */

.services-section {
    padding: 2rem 3rem;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.services-section .container {
    max-width: none;
    padding: 0;
}

.services-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-2px);
}

.service-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-icon i {
    font-size: 1.3rem;
    color: white;
}

.service-content {
    text-align: left;
}

.service-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.service-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text {
        padding-right: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title, .hero-description {
        text-align: center;
    }

    .hero-cta-group, .hero-features {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid {
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2.5rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn-hero-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .services-section {
        padding: 1.5rem 0;
    }

    .services-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .service-card {
        width: 100%;
        max-width: 300px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .service-icon i {
        font-size: 1.1rem;
    }

    .service-content h3 {
        font-size: 0.9rem;
    }

    .service-content p {
        font-size: 0.75rem;
    }
}

/* =============================================
   POSTER SECTION - BELOW SERVICES
   Rounded corner poster display
   ============================================= */

.poster-section {
    padding: 1.5rem 0;
    /* Reduced from 3rem */
    background: var(--bg-primary);
}

.poster-section .container {
    max-width: none;
    padding: 0;
}

.poster-section .poster-slider {
    display: flex;
    width: 100%;
    height: 400px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* Poster Item */
.poster-section .poster-item {
    min-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.poster-section .poster-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Loading State */
.poster-section .poster-slider-loading {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.poster-section .poster-slider-loading p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Responsive Design for Poster */
@media (max-width: 992px) {
    .poster-section {
        padding: 2.5rem 0;
    }

    .poster-section .poster-slider {
        height: 350px;
    }

    .poster-wrapper {
        border-radius: 16px;
    }
}

@media (max-width: 576px) {
    .poster-section {
        padding: 2rem 0;
    }

    .poster-section .poster-slider {
        height: 250px;
    }

    .poster-wrapper {
        border-radius: 12px;
    }
}

/* Mobile responsive fix for Hero Slider */
@media (max-width: 768px) {
    .hero-section {
        height: auto !important;
        aspect-ratio: 16 / 7; /* Forces a horizontal banner look on mobile, preventing side-cropping */
    }
}