/* === UNIVERSAL STYLES === */
/* Universal: base.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-green: #22c55e;
    --bg-color: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --card-bg: #f9fafb;
    --border-color: #e5e7eb;
    --hover-bg: #f3f4f6;
}

[data-theme="dark"] {
    --bg-color: #111827;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --card-bg: #1f2937;
    --border-color: #374151;
    --hover-bg: #374151;
}

body {
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
button,
a {
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
}

.max-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.compact-width {
    max-width: 1050px;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    margin: 0 auto;
}

/* Universal: header.css */
/* Header */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-bar {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
    border-radius: 99px;
    box-shadow:
        0 0px 0px rgba(0, 0, 0, 0.06),
        0 0 0 0px var(--border-color);
}

[data-theme="dark"] .header .header-bar {
    background: rgba(17, 24, 39, 0);
    box-shadow:
        0 0px 0px rgba(0, 0, 0, 0.18),
        0 0 0 0px var(--border-color);
}

.header.scrolled .header-bar {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.13),
        0 0 0 1px var(--border-color);
}

[data-theme="dark"] .header.scrolled .header-bar {
    background: rgba(17, 24, 39, 0.8);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.32),
        0 0 0 1px var(--border-color);
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--brand-green);
    text-decoration: none;
}

.theme-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    border-radius: 99px;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: var(--hover-bg);
}



/* === APP STYLES === */
/* animations.css */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* benefits.css */
.benefits {
    background: var(--card-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 15px;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--brand-green);
}

.benefit-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.highlight {
    color: var(--brand-green);
    font-weight: 700;
}

/* buttons.css */
.cta-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-green);
    color: white;
    padding: 14px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 99px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-main:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.cta-secondary {
    display: inline-block;
    background: transparent;
    color: var(--brand-green);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 99px;
    border: 1px solid var(--brand-green);
}

.cta-secondary:hover {
    background: var(--brand-green);
    color: white;
}

/* contact.css */
.contact-content .section-title {
    padding: 0;
}

.contact-content {
    margin: 0 auto;
    padding: 40px;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

/* footer.css */
footer {
    background: var(--card-bg);
    color: var(--text-secondary);
    text-align: center;
    padding: 30px 0;
}

footer .compact-width {
    border: none;
}

/* hero.css */
.hero {
    padding-top: 100px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: -600px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(2rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 600px;
}

.reviews-preview {
    text-align: right;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stars-large {
    font-size: 2rem;
    line-height: 1;
    color: #fbbf24;
}

.rating-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.review-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* responsive.css */
/* Mobile Styles */
@media (max-width: 768px) {
    .reviews-preview {
        text-align: center;
    }

    .compact-width {
        border: none !important;
    }

    .section-title {
        padding: 16px 0 !important;
    }

    .max-width {
        padding: 0 15px;
    }

    .compact-width {
        padding: 20px;
    }

    .service-card {
        border-radius: 10px;
    }

    .header {
        top: 10px;
        padding: 0 10px;
    }

    .header-bar {
        padding: 12px 24px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

    .service-card {
        padding: 25px 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reviews-container {
        border-top: none;
    }

    .review-nav {
        opacity: 1;
        pointer-events: all;
    }

    .review-card {
        padding: 30px 80px;
    }
}

/* reviews.css */
.reviews-section {
    background: var(--card-bg);
}

.reviews-header {
    text-align: center;
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reviews-stats {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    margin-bottom: 10px;
    flex-direction: column;
}

.stars-display {
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.stars-display .filled {
    color: #fbbf24;
}

.stars-display .empty {
    color: #d1d5db;
}

.rating-info {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.reviews-container {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    cursor: grab;
}

.reviews-container:active {
    cursor: grabbing;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease, height 0.5s ease;
    will-change: transform, height;
    /* Remove any fixed height - will be set dynamically */
}

.review-card {
    width: 100%;
    padding: 20px 60px;
    flex-shrink: 0;
    height: fit-content;
    box-sizing: border-box;
}

.review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-stars {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.review-stars .filled {
    color: #fbbf24;
}

.review-stars .empty {
    color: #d1d5db;
}

.review-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.6;
    font-style: italic;
}

.review-author {
    font-weight: 600;
    color: var(--brand-green);
}

.review-image {
    margin-top: 16px;
    text-align: center;
}

.review-image img {
    max-width: 300px;
    max-height: 300px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    opacity: 0.8;
    z-index: 10;
}

.review-nav:hover {
    background: var(--brand-green);
    color: white;
    border-color: var(--brand-green);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.review-nav.prev {
    left: 10px;
}

.review-nav.next {
    right: 10px;
}

/* sections.css */
.section {
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    padding: 10px 20px;
    color: var(--text-primary);
}

.benefits .section-title {
    text-align: center;
}

.benefits .compact-width {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* services.css */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    margin: -1px;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    border-color: var(--brand-green);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 5px;
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

