/* Hero Section Styles */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f4c75 0%, #3282b8 50%, #2c7a2c 100%);
}

/* Background Video/Animation */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

/* Animated Background Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            135deg,
            rgba(15, 76, 117, 0.8) 0%,
            rgba(50, 130, 184, 0.6) 30%,
            rgba(44, 122, 44, 0.7) 70%,
            rgba(39, 174, 96, 0.8) 100%
    );
    z-index: 2;
    animation: gradientShift 8s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(
                135deg,
                rgba(15, 76, 117, 0.8) 0%,
                rgba(50, 130, 184, 0.6) 30%,
                rgba(44, 122, 44, 0.7) 70%,
                rgba(39, 174, 96, 0.8) 100%
        );
    }
    100% {
        background: linear-gradient(
                225deg,
                rgba(39, 174, 96, 0.8) 0%,
                rgba(44, 122, 44, 0.7) 30%,
                rgba(50, 130, 184, 0.6) 70%,
                rgba(15, 76, 117, 0.8) 100%
        );
    }
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 12px;
    height: 12px;
    top: 60%;
    right: 15%;
    animation-delay: -2s;
}

.particle:nth-child(3) {
    width: 6px;
    height: 6px;
    bottom: 30%;
    left: 20%;
    animation-delay: -4s;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    top: 40%;
    right: 30%;
    animation-delay: -1s;
}

.particle:nth-child(5) {
    width: 14px;
    height: 14px;
    bottom: 20%;
    right: 10%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-white);
    max-width: 900px;
    padding: 0 var(--spacing-xl);
}

/* Company Name */
.hero-brand {
    font-size: var(--fs-6xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(45deg, #ffffff, #e8f5e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Slogan */
.hero-slogan {
    font-size: var(--fs-2xl);
    font-weight: 300;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-slogan .highlight {
    font-weight: 600;
    color: #64ffda;
}

/* Description */
.hero-description {
    font-size: var(--fs-lg);
    line-height: 1.6;
    margin-bottom: var(--spacing-3xl);
    opacity: 0.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.6s both;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-btn {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--fs-lg);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 180px;
    justify-content: center;
}

.hero-btn-primary {
    background: linear-gradient(45deg, #2c7a2c, #27ae60);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(44, 122, 44, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(44, 122, 44, 0.4);
    background: linear-gradient(45deg, #27ae60, #2c7a2c);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    animation: fadeInUp 1s ease 1s both;
}

.hero-scroll-text {
    font-size: var(--fs-sm);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll-arrow {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: translateX(-50%) rotate(45deg);
}

@keyframes scrollBounce {
    0%, 100% {
        opacity: 0.5;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tech Icons Floating */
.hero-tech-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.tech-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    animation: techFloat 8s ease-in-out infinite;
}

.tech-icon:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.tech-icon:nth-child(2) {
    top: 25%;
    right: 8%;
    animation-delay: -2s;
}

.tech-icon:nth-child(3) {
    bottom: 25%;
    left: 8%;
    animation-delay: -4s;
}

.tech-icon:nth-child(4) {
    bottom: 15%;
    right: 5%;
    animation-delay: -6s;
}

@keyframes techFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-15px) rotate(90deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
        opacity: 0.3;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        text-align: center;
    }

    .hero-content {
        padding: 0 var(--spacing-lg);
    }

    .hero-brand {
        font-size: var(--fs-4xl);
    }

    .hero-slogan {
        font-size: var(--fs-xl);
    }

    .hero-description {
        font-size: var(--fs-base);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
    }

    .tech-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-brand {
        font-size: var(--fs-3xl);
    }

    .hero-slogan {
        font-size: var(--fs-lg);
    }

    .hero-description {
        font-size: var(--fs-sm);
    }
}