@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --color-bg: #ffffff;
    --color-surface: #f8fafc;
    --color-text-main: #111827;
    --color-text-sub: #4b5563;
    --color-primary: #000000;
    --color-accent: #3b82f6;

    --font-main: 'Outfit', sans-serif;

    --radius-xl: 40px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --radius-pill: 100px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-pill {
    background: #ffffff;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 100px;
    padding: 0.75rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links>li {
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-sub);
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.2s;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Dropdown Styles */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content li a {
    padding: 0.75rem 1.5rem;
    color: var(--color-text-sub);
    font-size: 0.85rem;
    display: block;
    width: 100%;
}

.dropdown-content li a:hover {
    background: #f8fafc;
    color: var(--color-primary);
}

.btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
    display: inline-block;
}

.btn-black {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
}

.btn-white {
    background: #fff;
    color: #000;
    border: 1px solid #ddd;
}

/* Hero */
.hero-wrapper {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111827;
    /* Dark fallback */
    background-image: url("../images/pexels-fauxels-3183197.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    color: #111827;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay for white text contrast */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 850;
    margin-bottom: 2rem;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #ffffff;
    /* Softer charcoal instead of flat black */
}

.hero-content p {
    font-size: 1.1rem;
    color: #eff0f1;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.btn-transparent-pill {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    border: 1px solid #eee;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
}

/* Brands */
.brand-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.5;
    padding: 2rem 0;
}

.brand-bar img {
    height: 25px;
    filter: grayscale(1);
    transition: 0.3s;
}

.brand-bar img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Sections Header */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-sub);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 800;
}

.stat-item p {
    color: var(--color-text-sub);
    font-weight: 500;
}

/* Categories / Solutions */
.zigzag-container {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 2rem 0;
}

.zigzag-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #eee, transparent);
    z-index: 0;
}

.zigzag-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 1;
}

.zigzag-item:nth-child(even) {
    flex-direction: row-reverse;
}

.zigzag-content {
    flex: 1;
    text-align: left;
}

.zigzag-item:nth-child(even) .zigzag-content {
    text-align: right;
}

.zigzag-media {
    flex: 1;
    position: relative;
}

.zigzag-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: 0.4s;
}

.zigzag-media img:hover {
    transform: scale(1.02);
}

.zigzag-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border: 3px solid #fff;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.zigzag-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.zigzag-content p {
    color: var(--color-text-sub);
    line-height: 1.7;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .zigzag-container::before {
        display: none;
    }

    .zigzag-item,
    .zigzag-item:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .zigzag-content,
    .zigzag-item:nth-child(even) .zigzag-content {
        text-align: center;
    }

    .zigzag-dot {
        display: none;
    }
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    color: var(--color-text-sub);
    padding-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 1rem;
}

/* Feature Sections */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    padding: 1rem 0;
    border-top: 1px solid #eee;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: left;
}

.feature-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    aspect-ratio: 16/10;
    object-fit: cover;
}

/* Approach Redesign */
.approach-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent);
}

.approach-badge {
    background: #f1f5f9;
    color: var(--color-accent);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.approach-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.approach-img-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.approach-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials */
.testimonial-section {
    background: #fdfdfd;
}

.testimonial-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    padding: 4rem;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: #f3f4f6;
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 0;
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    padding: 5rem 0 2rem;
    background: #fff;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #999;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--color-text-sub);
    font-size: 0.95rem;
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

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

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

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

/* --- Additional Page Styles --- */

.approach-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid #f1f5f9;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.approach-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--color-surface);
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.approach-img-wrapper {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2rem;
}

.approach-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.8rem 0;
}

.feature-list li:last-child {
    border-bottom: none;
}