/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c0649;
    --secondary-color: #ef8354;
    --accent-color: #4f5d75;
    --light-bg: #fafafa;
    --white: #ffffff;
    --text-dark: #2c0649;
    --text-light: #2c0649;
    --font-sans: 'DM Sans', 'Droid Sans', sans-serif;
    --font-serif: 'Droid Serif', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    background: transparent;
    padding: 1.5rem 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Buttons */
.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.125rem;
}

.btn-pill {
    background: transparent;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
    font-size: 0.9375rem;
}

.btn-pill:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: var(--white);
    padding: 0;
    display: flex;
    justify-content: center;
}

.hero-content {
    display: flex;
    align-items: stretch;
    height: 100vh;
    max-width: 1200px;
    width: 100%;
}

.hero-video {
    flex: 0 0 66.666%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-text {
    flex: 0 0 33.333%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    background: var(--white);
}

.hero-text p {
    font-size: 2em;
    color: var(--text-dark);
    line-height: 1.2em;
    margin-bottom: 1.5rem;
}

.hero-text p:last-child {
    margin-bottom: 0;
}

/* Intake Form Section */
.intake-form-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    background-color: #f9f0df;
    background-image: url('vector-98.png');
    background-repeat: repeat;
    background-position: center;
    background-size: 50%;
}

.intake-form-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.form-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-container iframe {
    border-radius: 8px;
}

.form-container form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 6, 73, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-container button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
    background: var(--text-dark);
    border-color: var(--text-dark);
}

.form-container button[type="submit"]:hover {
    background: transparent;
    color: var(--text-dark);
}

.hidden {
    display: none;
}

/* We Believe Section */
.we-believe {
    padding: 6rem 0;
    background: var(--white);
}

.we-believe h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel {
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    padding: 0 10px;
}

.belief-content {
    text-align: center;
}

.belief-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.belief-text {
    font-size: 1.375rem;
    color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    padding: 0 2rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-btn:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.prev img {
    transform: rotate(180deg);
}

.carousel-btn.next {
    right: 0;
}

.carousel-btn img {
    width: 20px;
    height: 20px;
}

/* Carousel Dots */
.carousel-dots,
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.dot.active {
    background: var(--secondary-color);
    width: 14px;
    height: 14px;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--light-bg);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.testimonial-carousel {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-item {
    min-width: 100%;
    padding: 0 10px;
}

.testimonial-item blockquote {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-item p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-item footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.testimonial-item cite {
    font-style: normal;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.testimonial-item span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* What We Do Section */
.what-we-do {
    padding: 6rem 0;
    background: var(--white);
    text-align: center;
}

.what-we-do h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.section-intro {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-dark);
}

/* Why Sections */
.why-sections {
    padding: 6rem 0;
    background: var(--light-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.why-item {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.why-item:hover {
    transform: translateY(-5px);
}

.why-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-item p {
    color: var(--text-dark);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta-section .btn-primary:hover {
    background: transparent;
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 60px;
}

.footer-copyright p {
    color: var(--white);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar .btn-primary {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        min-height: auto;
    }

    .hero-video {
        flex: 1 1 auto;
        min-height: 300px;
    }

    .hero-text {
        flex: 1 1 auto;
        padding: 2rem 1.5rem;
    }

    .hero-text p {
        font-size: 1.5em;
    }

    .carousel-container {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .belief-content img {
        height: 300px;
    }

    .belief-text {
        font-size: 1.125rem;
        padding: 0 1rem;
    }

    .testimonial-item blockquote {
        padding: 2rem 1.5rem;
    }

    .testimonial-item p {
        font-size: 1.0625rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-btn img {
        width: 15px;
        height: 15px;
    }

    .belief-content img {
        height: 250px;
    }

    .why-item {
        padding: 2rem 1.5rem;
    }
}
