/* Hero Section - Modern Design */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 77, 85, 0.95), rgba(26, 77, 85, 0.90)),
        url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 2rem 0 4rem;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(110, 187, 69, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(230, 196, 150, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Animated Particles */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 15s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 1s;
    animation-duration: 14s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 3s;
    animation-duration: 16s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.hero-badge {
    display: inline-block;
    background: rgba(110, 187, 69, 0.2);
    border: 1px solid rgba(110, 187, 69, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    margin-top: 0.5rem;
    max-width: 600px;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--secondary-color), #5da838);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    box-shadow: 0 8px 20px rgba(110, 187, 69, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero-primary:hover::before {
    width: 300px !important;
    height: 300px !important;
}

.btn.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(110, 187, 69, 0.5) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--secondary-color), #5da838) !important;
}

.btn-hero-primary:hover i {
    animation: phoneRing 0.5s ease !important;
}

@keyframes phoneRing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    75% {
        transform: rotate(15deg);
    }
}

.btn-hero-secondary {
    background: transparent;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-hero-secondary::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.5s;
}

.btn-hero-secondary:hover::before {
    left: 100% !important;
}

.btn.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2) !important;
}

.btn-hero-secondary:hover i {
    animation: gridPulse 0.6s ease !important;
}

@keyframes gridPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating Badges */
.hero-floating-badge {
    position: absolute;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatBadge 3s ease-in-out infinite;
}

.hero-floating-badge i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.hero-floating-badge strong {
    display: block;
    font-size: 1.25rem;
    color: var(--primary-color);
    line-height: 1;
}

.hero-floating-badge small {
    display: block;
    font-size: 0.75rem;
    color: #666;
    line-height: 1;
}

.badge-1 {
    top: -20%;
    right: -20%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: -15%;
    left: -20%;
    animation-delay: 1.5s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-indicator span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }
}

/* Desktop (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Tablet Landscape & Small Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-section {
        min-height: 90vh;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .hero-floating-badge {
        padding: 12px 16px;
    }
}

/* Tablet Portrait (768px to 991px) */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-floating-badge {
        display: none;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section {
        padding: 3rem 0 2.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 16px;
    }

    .hero-content {
        padding: 0 1rem;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .hero-section {
        padding: 2.5rem 0 2rem;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 14px;
        margin-bottom: 1rem;
    }

    .hero-features {
        font-size: 0.85rem;
        gap: 0.75rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .hero-particles {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-features {
        font-size: 0.8rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}