:root {
    --primary-dark: #0F3D20;
    --primary-deeper: #0A2F18;
    --primary: #14532D;
    --primary-medium: #166534;
    --accent: #22C55E;
    --accent-hover: #16A34A;
    --bg-light: #F8FAF9;
    --bg-white: #ffffff;
    --bg-green-soft: #E9F7EF;
    --text-dark: #111827;
    --text-body: #374151;
    --text-muted: #6B7280;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 50px rgba(15,61,32,0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --navbar-height: 72px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-family);
    background: var(--bg-light);
    color: var(--text-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    transition: color 0.2s;
}
a:hover {
    color: var(--accent-hover);
}

/* ---- NAVBAR ---- */
.navbar {
    min-height: var(--navbar-height);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.88) !important;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(15,61,32,0.08);
    background: rgba(255,255,255,0.96) !important;
}
.navbar .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    color: var(--text-body);
    font-weight: 500;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.navbar .nav-link:hover {
    color: var(--primary);
}
.btn {
    font-weight: 500;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn:active {
    transform: scale(0.97);
}

.navbar-custom {
    border-color: var(--border) !important;
}
.navbar-brand-custom {
    font-size: 1.2rem;
    color: var(--primary);
    transition: color 0.2s;
}
.navbar-brand-custom:hover {
    color: var(--accent-hover);
}
.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-medium));
    color: #fff;
    font-size: 1.2rem;
    border-radius: 12px;
    flex-shrink: 0;
}
.navbar-toggler-custom {
    font-size: 1.4rem;
    padding: 0.25rem 0.5rem;
}
.navbar-toggler-custom:focus {
    box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
}
.nav-link-custom {
    font-size: 0.95rem;
    padding: 0.55rem 1rem;
    color: var(--text-body);
}
.nav-link-custom:hover {
    color: var(--primary);
}
.btn-outline-custom {
    color: var(--primary);
    border-color: var(--primary);
    border-width: 1.5px;
}
.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary-custom {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border: none;
    color: #fff;
    box-shadow: 0 8px 20px rgba(34,197,94,0.28);
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--accent-hover), #15803D);
    color: #fff;
    box-shadow: 0 10px 28px rgba(34,197,94,0.38);
    transform: translateY(-1px);
}

/* ---- HERO ---- */
.hero-section {
    padding-top: var(--navbar-height);
    min-height: 100vh;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(34,197,94,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(20,83,45,0.05) 0%, transparent 50%),
        linear-gradient(180deg, #F6FBF7 0%, #F8FAF9 100%);
}
.hero-left {
    background: transparent;
    padding: 2rem 0;
}
.hero-copy {
    max-width: 680px;
    margin-left: auto;
    margin-right: 0;
}
.hero-heading {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}
.hero-highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text {
    margin-top: 1.25rem;
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 520px;
}
.hero-btn {
    font-size: 1.05rem;
    min-height: 52px;
    padding: 0.85rem 2.25rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border: none;
    box-shadow: 0 8px 24px rgba(34,197,94,0.3);
}
.hero-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), #15803D);
    box-shadow: 0 12px 32px rgba(34,197,94,0.4);
    transform: translateY(-2px);
    color: #fff;
}

.hero-right {
    min-height: 600px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, rgba(34,197,94,0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 40%),
        linear-gradient(160deg, #14532D 0%, #0F3D20 60%, #0A2F18 100%);
}
.hero-right-inner {
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: inherit;
}
.hero-wave {
    left: -60px;
    top: 0;
    height: 100%;
    width: 120px;
    z-index: 1;
    pointer-events: none;
}
.hero-stats-block {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero-stat-header {
    margin-bottom: 1.75rem;
}
.hero-stat-main {
    font-size: clamp(2.75rem, 5vw, 3.75rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.03em;
}
.hero-stat-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.82);
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-weight: 500;
}
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
}
.hero-stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.14);
    min-height: 100px;
    border-radius: 16px;
    padding: 1rem 0.65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.hero-stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.22);
}
.hero-stat-number {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.78);
    font-weight: 500;
    margin-top: 0.4rem;
    line-height: 1.35;
}
.hero-icons-wrapper {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}
.hero-info-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: transform 0.25s ease, background 0.25s ease;
}
.hero-info-icon:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.2);
}

/* ---- ORBIT ANIMATION ---- */
.orbit-container {
    width: 260px;
    height: 260px;
}
.orbit-ring {
    top: 0;
    left: 0;
}
.orbit-wrapper {
    width: 100%;
    height: 100%;
}
.central-badge {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    font-size: 2rem;
    box-shadow: 0 0 40px rgba(34,197,94,0.4);
    z-index: 2;
}
.orbit-item {
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    animation: orbitRotate 35s linear infinite;
}
.orbit-item:nth-child(3) { animation-delay: -7s; }
.orbit-item:nth-child(4) { animation-delay: -14s; }
.orbit-item:nth-child(5) { animation-delay: -21s; }
.orbit-item:nth-child(6) { animation-delay: -28s; }
.orbit-icon {
    width: 52px;
    height: 52px;
    animation: counterRotate 35s linear infinite;
    font-size: 1.3rem;
    color: var(--primary);
    left: -26px;
    top: -130px;
    border: 1px solid rgba(20,83,45,0.06);
}
.orbit-svg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes counterRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

/* ---- CATEGORIES ---- */
.categories-section {
    background: var(--bg-white);
}
.categories-panel {
    background: var(--bg-white);
    border: 1px solid rgba(20,83,45,0.08);
    box-shadow: var(--shadow-md);
}
.badge-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(34,197,94,0.12);
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.75rem;
}
.pill-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(22,163,74,0.08);
    color: var(--primary);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}
.pill-chip:hover {
    background: rgba(22,163,74,0.16);
    transform: translateY(-1px);
}

/* Category wheel — fixed animation bug */
.category-wheel {
    width: min(100%, 420px);
    aspect-ratio: 1 / 1;
    position: relative;
    margin: 0 auto;
}
.category-wheel .wheel-track {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 2px dashed rgba(20,83,45,0.18);
}
.category-wheel .wheel-spinner {
    position: absolute;
    inset: 0;
    animation: spinWheel 30s linear infinite;
}
.category-wheel .wheel-center {
    width: 140px;
    height: 140px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    box-shadow: 0 20px 50px rgba(22,163,74,0.25);
    z-index: 3;
}
.wheel-center-label-sm {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.wheel-center-label-lg {
    font-size: 1.35rem;
    color: #fff;
    font-weight: 700;
}
.wheel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: rotate(var(--rotate)) translateY(-165px);
}
.wheel-badge-counter {
    animation: spinWheel 30s linear infinite reverse;
}
.wheel-item .wheel-badge {
    width: 88px;
    height: 88px;
    margin-left: -44px;
    margin-top: -44px;
    padding: 0.6rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(20,83,45,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15,61,32,0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.wheel-item:hover .wheel-badge {
    box-shadow: 0 14px 36px rgba(15,61,32,0.18);
    transform: scale(1.06);
}
.wheel-item .wheel-badge i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}
.wheel-item .wheel-badge span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

@keyframes spinWheel {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ---- SECTIONS ---- */
.section-padding {
    padding: 80px 0;
}
.section-title {
    color: var(--primary);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.section-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}
.section-light {
    background: var(--bg-light);
}
.section-green {
    background: var(--bg-green-soft);
}

/* ---- SERVICE CARDS ---- */
.service-card {
    background: var(--bg-white);
    border: 1px solid rgba(20,83,45,0.06);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: var(--shadow);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(34,197,94,0.2);
}
.service-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(34,197,94,0.06));
    color: var(--accent-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.5rem;
}
.service-card-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 1rem;
}
.service-card-text {
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0.75rem 0 1rem;
}
.service-card-link {
    color: var(--accent-hover);
    font-weight: 600;
    font-size: 0.93rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}
.service-card-link:hover {
    color: var(--primary);
    gap: 0.55rem;
}
.service-card:hover .service-card-link i {
    transform: translateX(3px);
}
.service-card-link i {
    transition: transform 0.2s ease;
    font-size: 0.85rem;
}

/* ---- FACTS ---- */
.facts-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.fact-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(20,83,45,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.fact-number {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--accent-hover);
    line-height: 1;
    letter-spacing: -0.02em;
}
.fact-title {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 0.75rem;
}
.fact-copy {
    margin-top: 0.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.93rem;
}

/* ---- CTA ---- */
.cta-section {
    background:
        radial-gradient(ellipse 70% 80% at 50% 120%, rgba(34,197,94,0.2) 0%, transparent 60%),
        linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section .section-title {
    color: #fff;
}
.cta-section .section-description {
    color: rgba(255,255,255,0.88);
}
.btn-cta {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.9rem 2.25rem;
    min-height: 52px;
    font-size: 1.05rem;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.btn-cta:hover {
    background: #f0fdf4;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

/* ---- FOOTER ---- */
.footer-dark {
    background: var(--primary-deeper);
    color: rgba(255,255,255,0.92);
}
.footer-brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    font-size: 1.2rem;
    border-radius: 12px;
    flex-shrink: 0;
}
.footer-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}
.footer-text {
    font-size: 0.93rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.7);
}
.footer-subtitle {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.footer-contact {
    font-size: 0.95rem;
    line-height: 2;
    color: rgba(255,255,255,0.7);
}
.footer-contact i {
    color: var(--accent);
}
.footer-social-link {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social-link:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
}
.footer-bottom-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
}
.footer-bottom-link {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.88rem;
    margin-left: 1.25rem;
    transition: color 0.2s;
}
.footer-bottom-link:first-child {
    margin-left: 0;
}
.footer-bottom-link:hover {
    color: var(--accent);
}

/* ---- BUTTONS ---- */
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    box-shadow: 0 4px 14px rgba(34,197,94,0.35);
}

/* ---- FORMS ---- */
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ---- FADE IN ---- */
.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .orbit-item {
        animation: none !important;
    }
    .orbit-icon {
        animation: none !important;
    }
    .category-wheel .wheel-spinner,
    .wheel-badge-counter {
        animation: none !important;
    }
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
    }
    .hero-left {
        padding: 3rem 1rem 2rem;
    }
    .hero-copy {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-right {
        min-height: 420px;
    }
    .hero-stats-block {
        max-width: 400px;
    }
    .hero-wave {
        display: none;
    }
    .navbar-collapse {
        padding: 1rem 0;
    }
    .navbar-nav {
        gap: 0.5rem !important;
    }
    .navbar-nav .nav-item .btn {
        width: 100%;
        text-align: center;
    }
    .category-wheel {
        margin-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    :root {
        --navbar-height: 64px;
    }
    .section-padding {
        padding: 56px 0;
    }
    .orbit-container {
        width: 220px !important;
        height: 220px !important;
    }
    .orbit-icon {
        top: -110px !important;
    }
    .navbar-brand-custom {
        font-size: 1.05rem;
    }
    .brand-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .category-wheel {
        width: min(100%, 340px);
    }
    .wheel-item {
        transform: rotate(var(--rotate)) translateY(-135px);
    }
    .wheel-item .wheel-badge {
        width: 76px;
        height: 76px;
        margin-left: -38px;
        margin-top: -38px;
    }
    .hero-icons-wrapper {
        gap: 0.5rem;
    }
    .hero-info-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .hero-stats-grid {
        gap: 0.5rem;
    }
    .hero-stat-card {
        min-height: 88px;
        padding: 0.75rem 0.4rem;
    }
    .hero-stat-label {
        font-size: 0.72rem;
    }
}
