:root {
    --theme-color: #E63946;
    /* Vibrant Red */
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --bg-white: #ffffff;
    --bg-nav: rgba(100, 100, 100, 0.2);
    /* Semi-transparent grey for nav */
    --transition-speed: 0.3s;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #ffffff;
    /* Low opacity red design - Abstract geometric shapes */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(230, 57, 70, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(230, 57, 70, 0.05) 0%, transparent 25%),
        linear-gradient(rgba(230, 57, 70, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230, 57, 70, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 20px;
}

/* Button Styles */
.btn-primary {
    display: inline-block;
    background-color: var(--theme-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

/* Navigation */
.navbar-wrapper {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1000;
}

.nav-pill {
    background-color: rgba(0, 0, 0, 0.5);
    /* Grey semi-transparent */
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 50px;
    display: flex;
    gap: 20px;
}

.nav-pill a {
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-pill a:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto 40px;
}

/* Works Section - Marquee */
.works-section-full {
    padding: 80px 0;
    /* Full bleed means no side padding on container if possible, but we want vertical */
    overflow: hidden;
    position: relative;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    /* Red glows on edges for effect - optional but requested 'Red theme' */
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: fit-content;
    animation: scroll-left 60s linear infinite;
    /* Adjust speed here */
}

.marquee-track.stopped {
    animation: none;
    width: 100%;
    justify-content: center;
}

.marquee-item {
    flex-shrink: 0;
    width: 300px;
    /* Fixed width for consistency */
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(230, 57, 70, 0.3);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.3s;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover Effects */
.marquee-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.6);
    /* Stronger red glow */
    z-index: 10;
}

/* Pause animation when hovering over the track */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
        /* Using -50% because we duplicate the content once */
    }
}

/* About Section */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.glowing-shape {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    filter: drop-shadow(0 0 15px rgba(230, 57, 70, 0.4));
}

.glowing-shape img {
    width: 150%;
    height: auto;
    display: block;
}

.about-text h2 {
    font-size: 3rem;
    color: var(--theme-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.6;
}

.about-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.check-icon {
    color: var(--theme-color);
    font-weight: bold;
}

/* Why Choose Me */
.centered-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.centered-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--theme-color);
    color: white;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    /* To insure icon overlap works, margin-top needed if icon is huge, but here we adjust icon pos */
}

.card-icon {
    position: absolute;
    top: -20px;
    left: -10px;
    background: white;
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
}

.feature-card h3 {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Analytics Section */
.analytics-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background-color: #0d0d0d;
    color: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
    /* Red glow */
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pill-tag {
    background-color: var(--theme-color);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.analytics-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

/* Testimonials */
.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-center h2 {
    font-size: 2.5rem;
    margin-top: 15px;
}

.reviews-scroller {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
}

.reviews-scroller::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

.review-card {
    background-color: white;
    /* Changed from theme-color to white */
    border: 2px solid var(--theme-color);
    /* Red border */
    color: var(--text-dark);
    min-width: 350px;
    width: 350px;
    padding: 30px;
    border-radius: 30px;
    /* Rounded corners */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    white-space: normal;
    /* Reset whitespace inheritance from marquee */
}

.reviewer-header {
    margin-bottom: 10px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--theme-color);
    margin-bottom: 15px;
}

.stars {
    color: #FF00E5;
    /* Magenta/Pink stars as per image, or stick to Gold? Image shows pinkish */
    /* Let's use a vibrant pink/magenta to match the reference image style */
    color: #ff00bf;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-separator {
    height: 1px;
    background-color: #ffb3f0;
    /* Light pinkish separator */
    margin: 10px 0 20px;
    width: 100%;
}

.reviewer-footer h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.reviewer-footer p {
    font-size: 0.9rem;
    color: #888;
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border-radius: 12px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background-color: var(--theme-color);
    color: white;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 300;
}

.accordion-content {
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border: 1px solid #eee;
    border-top: none;
}

.accordion-content p {
    padding: 20px;
    color: var(--text-dark);
}

.faq-footer {
    text-align: center;
    margin-top: 50px;
    background-color: #f5f5f5;
    padding: 40px;
    border-radius: 20px;
}

.faq-footer p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer */
.footer {
    margin-top: 80px;
    padding: 50px 0 20px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.footer-left h3 {
    font-size: 1.5rem;
    margin: 20px 0;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: right;
}

.footer-nav a:hover {
    color: var(--theme-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-circle {
    width: 32px;
    height: 32px;
    background-color: #eee;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 4rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-list {
        justify-content: center;
        display: inline-block;
        text-align: left;
    }

    .analytics-layout {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        order: 2;
    }

    .analytics-text {
        order: 1;
        text-align: center;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .navbar-wrapper {
        top: 0;
        background: white;
        padding: 10px 20px;
    }

    .nav-pill {
        display: none;
    }

    /* Simplified for mobile */
    .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav {
        text-align: left;
    }
}

/* Contact Form Section */
.contact-section {
    position: relative;
    padding: 80px 20px;
    background: white;
}

.contact-form-container {
    background-color: var(--theme-color);
    border-radius: 30px;
    padding: 60px 40px;
    max-width: 800px;
    margin: 50px auto 0;
    color: white;
    box-shadow: 0 10px 40px rgba(230, 57, 70, 0.4);
    text-align: center;
}

.contact-form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-form-container p {
    margin-bottom: 40px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
}

textarea.form-input {
    border-radius: 20px;
    resize: vertical;
    min-height: 150px;
}

.btn-white {
    background-color: white;
    color: var(--theme-color);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form-container {
        padding: 40px 20px;
    }
}