/* =====================================================
   Service 24 Support - Homepage Styles
   ===================================================== */

/* ===================
   Hero Section
   =================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float-particle 15s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 20%;
    top: 60%;
    animation-delay: 2s;
    animation-duration: 18s;
    width: 15px;
    height: 15px;
}

.particle:nth-child(3) {
    left: 50%;
    top: 30%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.particle:nth-child(4) {
    left: 70%;
    top: 70%;
    animation-delay: 1s;
    animation-duration: 16s;
    width: 8px;
    height: 8px;
}

.particle:nth-child(5) {
    left: 85%;
    top: 40%;
    animation-delay: 3s;
    animation-duration: 20s;
    width: 12px;
    height: 12px;
}

.particle:nth-child(6) {
    left: 40%;
    top: 80%;
    animation-delay: 5s;
    animation-duration: 15s;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(30px, -50px) scale(1.2);
        opacity: 0.6;
    }

    50% {
        transform: translate(-20px, -80px) scale(0.8);
        opacity: 0.4;
    }

    75% {
        transform: translate(40px, -40px) scale(1.1);
        opacity: 0.5;
    }
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    filter: blur(60px);
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    padding: var(--space-12) 0;
}

.hero-content {
    color: var(--color-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-6);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: var(--font-extrabold);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--color-white);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    opacity: 0.9;
    margin-bottom: var(--space-8);
    max-width: 540px;
    color: var(--color-white);
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-trust .trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    opacity: 0.9;
    color: var(--color-white);
}

.hero-trust .trust-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-accent);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-image-card {
    position: relative;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-3xl);
    padding: var(--space-4);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.hero-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    border-radius: var(--radius-3xl) var(--radius-3xl) 50% 50%;
    pointer-events: none;
}

.hero-photo {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
}

.care-illustration svg {
    width: 100%;
    max-width: 300px;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(165deg, var(--color-white) 0%, rgba(248, 250, 252, 1) 100%);
    border-radius: var(--radius-xl);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-dark);
    animation: float 3s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.floating-badge svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-secondary);
}

.badge-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-white);
    opacity: 0.7;
    font-size: var(--text-sm);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(12px);
        opacity: 0.3;
    }
}

/* ===================
   Stats Section
   =================== */
.stats-section {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding-bottom: var(--space-16);
}

/* ===================
   Services Section
   =================== */
.services-section {
    background: var(--gradient-section);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.service-card-cta {
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-card-cta::before {
    display: none;
}

.service-cta-content {
    color: var(--color-white);
}

.service-cta-content h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3);
    color: var(--color-white);
}

.service-cta-content p {
    opacity: 0.9;
    margin-bottom: var(--space-6);
    color: var(--color-white);
}

.service-cta-content .btn {
    background: var(--color-white);
    color: var(--color-primary);
}

.service-cta-content .btn:hover {
    background: var(--color-accent);
    color: var(--color-dark);
}

/* ===================
   About Preview Section
   =================== */
.about-preview {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-text {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.about-feature .feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(45, 138, 127, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature .feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-secondary);
}

.about-feature h4 {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-dark);
    margin-bottom: var(--space-1);
}

.about-feature p {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin: 0;
}

.about-image {
    position: relative;
}

.about-image-card {
    position: relative;
    background: var(--gradient-primary);
    border-radius: var(--radius-3xl);
    padding: var(--space-4);
    min-height: 450px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(30, 58, 95, 0.25),
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.about-photo {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.about-image-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-stats-card {
    position: absolute;
    bottom: var(--space-8);
    right: var(--space-8);
    background: linear-gradient(165deg, var(--color-white) 0%, rgba(248, 250, 252, 1) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.about-stat .stat-value {
    display: block;
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat .stat-desc {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    font-weight: var(--font-medium);
}

/* ===================
   Testimonials Section
   =================== */
.testimonials-section {
    background: var(--color-light);
}

.testimonials-slider {
    overflow: hidden;
    margin: 0 calc(-1 * var(--space-4));
    padding: 0 var(--space-4);
}

.testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* ===================
   Jobs Section
   =================== */
.jobs-section {
    background: var(--color-white);
}

.jobs-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-light);
    border-radius: var(--radius-3xl);
    overflow: hidden;
}

.jobs-content {
    padding: var(--space-12);
}

.jobs-content p {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    margin-bottom: var(--space-6);
}

.jobs-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.job-benefit {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-gray-700);
}

.job-benefit svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-success);
}

.jobs-image {
    background: var(--gradient-primary);
    position: relative;
    min-height: 300px;
}

.jobs-image-decoration {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='2'/%3E%3C/svg%3E");
    background-size: 100px;
}

/* ===================
   Responsive Styles
   =================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: var(--text-5xl);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .about-image {
        order: -1;
    }

    .testimonials-track {
        grid-template-columns: 1fr;
    }

    .jobs-card {
        grid-template-columns: 1fr;
    }

    .jobs-image {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--header-height) + var(--space-8));
        min-height: auto;
        padding-bottom: var(--space-20);
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: var(--space-3);
    }

    .hero-scroll {
        display: none;
    }

    .stats-section {
        margin-top: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .jobs-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-badge {
        font-size: var(--text-xs);
    }

    .section-title-lg {
        font-size: var(--text-3xl);
    }
}