/* ══════════════════════════════════════════════════════════
   Home Page Styles
   ══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   Hero Section
   ══════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 6rem 0 3rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.15) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(52,211,153,.4) 0%, transparent 50%),
        radial-gradient(circle at 75% 85%, rgba(255,255,255,.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .35;
    pointer-events: none;
}

.hero-blob-1 {
    width: 350px;
    height: 350px;
    background: #34d399;
    top: -100px;
    left: -80px;
    animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-2 {
    width: 280px;
    height: 280px;
    background: #6ee7b7;
    bottom: -80px;
    right: 5%;
    animation: blobFloat 10s ease-in-out infinite reverse;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: .55rem 1.1rem;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    border: 1px solid var(--glass-border);
}

.hero-badge i { color: var(--warning); }

.hero-title {
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.22;
    margin-bottom: var(--space-lg);
}

.hero-title span {
    background: linear-gradient(90deg, #a7f3d0, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.85;
    margin-bottom: 2.5rem;
    opacity: .92;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) 2.1rem;
    background: #fff;
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-lg);
}

.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,0,0,.25);
    color: var(--primary-dark);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) 2.1rem;
    background: rgba(255,255,255,.05);
    color: #fff;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all .35s cubic-bezier(.4,0,.2,1);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image-wrap {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 3.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: .5; transform: scale(1); }
    50% { opacity: .9; transform: scale(1.06); }
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 25px 60px rgba(0,0,0,.3));
    animation: heroFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

.hero-orbit-icon {
    position: absolute;
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    z-index: 3;
    animation: orbitFloat 5s ease-in-out infinite;
}

.hero-orbit-icon.o1 { top: 10%; right: -5%; animation-delay: 0s; }
.hero-orbit-icon.o2 { bottom: 15%; left: -6%; animation-delay: 1.5s; }
.hero-orbit-icon.o3 { top: 55%; right: -8%; animation-delay: 3s; }

@keyframes orbitFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(6deg); }
}

/* ══════════════════════════════════════════════════════════
   Section Header (shared)
   ══════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1.1rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: .75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Shared white icon on green container */
.icon-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 10px 26px var(--primary-shadow);
    flex-shrink: 0;
}

.icon-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: rgba(255,255,255,.35);
    transform: rotate(25deg);
    transition: left .6s ease;
}

.icon-box:hover::after { left: 130%; }

/* ══════════════════════════════════════════════════════════
   Features Section
   ══════════════════════════════════════════════════════════ */
.features-section {
    padding: 5.5rem 0;
    background: var(--bg-primary);
}

.feature-card {
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px var(--primary-shadow);
    border-color: var(--primary);
}

.feature-card .icon-box {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-lg);
    border-radius: 20px;
    font-size: 2rem;
    transition: transform .4s ease;
}

.feature-card:hover .icon-box {
    transform: rotate(-8deg) scale(1.08);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .75rem;
}

.feature-desc {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════
   Services Section
   ══════════════════════════════════════════════════════════ */
.services-section {
    padding: 5.5rem 0;
    background: var(--surface-secondary);
}

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .4s cubic-bezier(.4,0,.2,1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: var(--primary-gradient);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .88;
    transition: transform .5s ease, opacity .5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
    opacity: 1;
}

.service-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,138,134,.55) 0%, transparent 55%);
    z-index: 1;
}

.service-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: .35rem .9rem;
    background: rgba(255,255,255,.95);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: .78rem;
    font-weight: 700;
    z-index: 2;
}

.service-icon-badge {
    position: absolute;
    bottom: -26px;
    right: var(--space-lg);
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.5rem;
    border: 4px solid var(--bg-primary);
    z-index: 3;
}

.service-body {
    padding: 2.25rem 1.75rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .75rem;
}

.service-desc {
    font-size: .93rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.25rem;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--primary);
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    transition: gap .3s ease;
}

.service-link:hover {
    gap: .75rem;
    color: var(--primary-dark);
}

/* ══════════════════════════════════════════════════════════
   Stats Section
   ══════════════════════════════════════════════════════════ */
.stats-section {
    padding: 5.5rem 0;
    background: var(--gradient-hero);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.15) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    opacity: .5;
}

.stat-card {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: var(--space-lg);
}

.stat-card .icon-box {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 18px;
    font-size: 1.7rem;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    box-shadow: none;
    border: 1px solid var(--glass-border);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 1.05rem;
    opacity: .92;
    font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   How It Works Section
   ══════════════════════════════════════════════════════════ */
.how-section {
    padding: 5.5rem 0;
    background: var(--bg-primary);
}

.steps-row {
    position: relative;
}

.steps-row::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary) 0 10px, transparent 10px 20px);
    opacity: .35;
    z-index: 0;
}

.step-card {
    position: relative;
    text-align: center;
    padding: var(--space-xl) 1.25rem;
    z-index: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-lg);
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 10px 26px var(--primary-shadow);
    border: 4px solid var(--bg-primary);
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.step-card:hover .step-number {
    transform: rotate(360deg) scale(1.08);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .75rem;
}

.step-desc {
    font-size: .93rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════
   Testimonials Section
   ══════════════════════════════════════════════════════════ */
.testimonials-section {
    padding: 5.5rem 0;
    background: var(--surface-secondary);
}

.testimonial-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    height: 100%;
    transition: all .4s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.testimonial-quote-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: 1.25rem;
}

.testimonial-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 6px 18px var(--primary-shadow);
}

.testimonial-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .2rem;
}

.testimonial-info p {
    font-size: .88rem;
    color: var(--text-tertiary);
    margin: 0;
}

.testimonial-rating {
    color: var(--warning);
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.85;
    font-style: italic;
}

/* ══════════════════════════════════════════════════════════
   Team Section
   ══════════════════════════════════════════════════════════ */
.team-section {
    padding: 5.5rem 0;
    background: var(--bg-primary);
}

.team-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: all .4s cubic-bezier(.4,0,.2,1);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    height: 280px;
    background: var(--primary-gradient);
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.06);
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(12,138,134,.85), transparent);
    display: flex;
    gap: .75rem;
    justify-content: center;
    transform: translateY(100%);
    opacity: 0;
    transition: all .35s ease;
}

.team-card:hover .team-social {
    transform: translateY(0);
    opacity: 1;
}

.team-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.15);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 1rem;
    text-decoration: none;
    transition: all .3s ease;
    border: 1px solid var(--glass-border);
}

.team-social a:hover {
    background: #fff;
    color: var(--primary-dark);
}

.team-body {
    padding: 1.75rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: .35rem;
}

.team-role {
    font-size: .9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: .75rem;
}

.team-bio {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   CTA Section
   ══════════════════════════════════════════════════════════ */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-hero);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.12) 0%, transparent 60%);
}

.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .3;
}

.cta-blob-1 { width: 300px; height: 300px; background: #34d399; top: -60px; left: 8%; }
.cta-blob-2 { width: 260px; height: 260px; background: #6ee7b7; bottom: -60px; right: 10%; }

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content .icon-box {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.75rem;
    border-radius: 24px;
    font-size: 2.4rem;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    box-shadow: none;
    border: 1px solid var(--glass-border);
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    line-height: 1.25;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: .92;
    line-height: 1.75;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .cta-title { font-size: 2.25rem; }
    .steps-row::before { display: none; }
    .hero-orbit-icon { display: none; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2rem; }
    .hero-cta { flex-direction: column; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
}
