/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #1c3765, transparent);
    top: -10%;
    left: -10%;
}

.hero-orb-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #489156, transparent);
    bottom: -10%;
    right: -10%;
    animation-delay: 2s;
}

.hero-orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3a5a9a, transparent);
    top: 40%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

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

.hero-subtitle {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Rotating text gradient - colorful variants */
.rotating-text {
    display: inline-block;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: background 0.3s ease;
    width: 650px;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
    overflow: visible;
}

/* Mobile responsive width */
@media (max-width: 768px) {
    .rotating-text {
        width: 300px;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .rotating-text {
        width: 260px;
        font-size: 0.75em;
    }
}

/* Gradient variant 1 - Blue → Purple → Pink */
.rotating-text.gradient-1 {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient variant 2 - Green → Blue → Purple */
.rotating-text.gradient-2 {
    background: linear-gradient(135deg, #10b981, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient variant 3 - Orange → Pink → Purple */
.rotating-text.gradient-3 {
    background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto 3rem;
}

body.dark-theme .hero-description {
    color: var(--dark-text-light);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-button {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.hero-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    box-shadow: 0 8px 24px rgba(28, 55, 101, 0.3);
}

body.dark-theme .primary-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    box-shadow: 0 8px 24px rgba(72, 145, 86, 0.4);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--dark-text);
    border: 2px solid rgba(28, 55, 101, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.secondary-btn:hover {
    background: rgba(28, 55, 101, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 8px 32px rgba(28, 55, 101, 0.3);
}

body.dark-theme .secondary-btn {
    color: var(--light-text);
    border-color: rgba(72, 145, 86, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

body.dark-theme .secondary-btn:hover {
    background: rgba(72, 145, 86, 0.2);
    border-color: var(--primary-green);
    color: var(--primary-green);
    box-shadow: 0 8px 32px rgba(72, 145, 86, 0.4);
}

/* Hero Services Journey */
.hero-services {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 3rem;
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(72, 145, 86, 0.1);
    flex-wrap: nowrap;
    max-width: 100%;
}

body.dark-theme .hero-services {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(72, 145, 86, 0.2);
}

.hero-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hero-service-item i {
    font-size: 1.2rem;
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(28, 55, 101, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

body.dark-theme .hero-service-item i {
    color: var(--primary-green);
    background: rgba(72, 145, 86, 0.1);
}

.hero-service-item:hover i {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    box-shadow: 0 6px 16px rgba(28, 55, 101, 0.3);
}

body.dark-theme .hero-service-item:hover i {
    box-shadow: 0 6px 16px rgba(72, 145, 86, 0.4);
}

.hero-service-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-text);
    text-align: center;
    white-space: nowrap;
}

body.dark-theme .hero-service-item span {
    color: var(--light-text);
}

.hero-service-divider {
    font-size: 1.2rem;
    color: var(--primary-green);
    font-weight: 300;
    opacity: 0.4;
    margin: 0 0.2rem;
}

body.dark-theme .hero-service-divider {
    color: var(--primary-green);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-services {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.8rem 0.5rem;
        padding: 1.5rem 1rem;
    }

    .hero-service-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .hero-service-divider:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .hero-service-item:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
    }

    .hero-service-divider:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
        transform: rotate(90deg);
    }

    .hero-service-item:nth-child(5) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .hero-service-divider:nth-child(6) {
        grid-column: 2;
        grid-row: 3;
        transform: rotate(90deg);
    }

    .hero-service-item:nth-child(7) {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark-text);
}

body.dark-theme .stat-number {
    color: var(--primary-green);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 2px;
}