/* Base Styles & Variables */
:root {
    --primary: #A32A85;
    /* Deep Magenta/Purple from image */
    --primary-hover: #8B2371;
    --gold: #B88E45;
    /* Olive/Gold for accents */
    --gold-hover: #9E7A3B;
    --bg-light: #ffffff;
    --bg-pink: #FDF5F9;
    /* Pale pink for sections */
    --bg-gray: #EAEAEA;
    --bg-dark: #2B2C2D;
    /* Dark footer */
    --text-dark: #2C2C2C;
    --text-light: #5A5A5A;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-cursive: 'Alex Brush', cursive;
    --radius: 4px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

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

.color-primary {
    color: var(--primary);
}

.color-gold {
    color: var(--gold);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.3rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-pretitle {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.95rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(163, 42, 133, 0.2);
}

.btn-gold {
    background-color: var(--gold);
    color: #fff;
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(184, 142, 69, 0.2);
}

/* Header */
.header {
    padding: 30px 0;
    position: relative;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-cursive {
    font-family: var(--font-cursive);
    font-size: 2.5rem;
    color: var(--gold);
    line-height: 1;
}

.logo-img {
    height: 65px;
    /* Increased from 40px */
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    background-image: url('img/jufroes-bg.png');
    background-size: cover;
    background-position: center top;
    /* Center position works best for integrated layout */
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-wrapper.hero2 {
    background-image: url('img/hero2.jpg');
    /* Alternate hero background */
    background-position: top right;
    /* Move the visible area to the right top where the face likely is */
}

.hero {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 0 80px 0;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
}

.hero-content {
    max-width: 550px;
    padding-right: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge i {
    color: var(--primary);
    font-size: 1.4rem;
}

.hero-description {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.hero-actions {
    margin-top: 40px;
}

.hero-note {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
    margin-top: 15px;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
}

.about-img {
    border-radius: 0;
    /* Remove border radius since it's a transparent image with a stylized fade */
    box-shadow: none;
    max-width: 100%;
}

.about-decoration {
    display: none;
    /* Removed the background decoration for the new image style */
}

/* CRM Button styling for About */
.btn-crm {
    display: inline-flex;
    align-items: center;
    background-color: var(--gold);
    color: #fff;
    font-weight: 500;
    padding: 0;
    border-radius: 4px;
    margin-top: 15px;
    overflow: hidden;
    font-size: 1rem;
}

.btn-crm .crm-label {
    background-color: var(--gold-hover);
    padding: 12px 20px;
    font-weight: 600;
}

.btn-crm .crm-number {
    padding: 12px 20px;
}

.about-content {
    flex: 1.2;
}

.about-content .subtitle {
    font-family: var(--font-sans);
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-content p {
    font-size: 1.15rem;
}

.about-action {
    margin-top: 40px;
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background-color: var(--bg-pink);
}

.section-header {
    margin-bottom: 60px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.reason-card {
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 4px;
    /* Using subtle radius to match new layout */
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.reason-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    /* Solid colored background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #fff;
    /* White icon */
    font-size: 2rem;
}

.reason-card h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-family: var(--font-serif);
    font-size: 1.4rem;
}

.reason-card p {
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.8;
}

/* Benefits Section */
.benefits {
    padding: 100px 0 50px;
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 60px;
    margin-bottom: 80px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefit-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.benefit-text h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: var(--text-dark);
}

.benefit-text p {
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 1rem;
}

.benefits-action-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 50px;
}

.action-text h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-dark);
}

.action-text p {
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-light);
    /* Based on image, it looks like a white or very light background for this part */
}

/* In the original image, testimonials seem to be on white right under benefits which is also white. Let's add top border or subtle bg */
.testimonials {
    border-top: 1px solid var(--bg-gray);
}


.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    border: 1px solid var(--bg-pink);
    padding: 40px;
    border-radius: 10px;
    position: relative;
    text-align: center;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--bg-pink);
}

.quote-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}

.testimonial-card h3 {
    margin-bottom: 20px;
    color: var(--gold);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* CTA Banner */
.cta-banner {
    position: relative;
    padding: 60px 0;
    background-image: url('img/jufroes-bd-agede-consulta.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.cta-banner-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
}

.cta-banner-content {
    max-width: 580px;
}

.cta-banner-content h2 {
    color: var(--text-dark);
    font-size: 2rem;
    font-family: var(--font-serif);
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #fff;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(163, 42, 133, 0.1);
}

.btn-block {
    margin-top: 30px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    /* Darker background from mockup */
    color: #fff;
    padding: 80px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-logo-img {
    height: 80px;
    /* Larger logo */
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col-left {
    display: flex;
    gap: 80px;
}

.footer-contact h4,
.footer-social h4,
.footer-address-item h4 {
    color: #888;
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-contact ul li {
    margin-bottom: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
}

.footer-contact ul li i {
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    opacity: 0.8;
}

.footer-address-item {
    margin-bottom: 25px;
}

.footer-address-item p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

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

.footer-crm {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-crm p {
    color: #ccc;
    font-size: 1rem;
    margin: 0;
}

.footer-crm strong {
    color: #fff;
    margin-right: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
    color: inherit;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #666;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: #fff;
}

/* Responsiveness */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .hero-container {
        flex-direction: column;
    }

    .hero-wrapper,
    .hero-wrapper.hero2 {
        background-image: none;
        background-color: #f0f0f0;
        /* Light gray background for mobile */
    }

    .header-container {
        justify-content: center;
        /* Center the logo */
    }

    .header-container .btn {
        display: none;
        /* Hide CTA button in mobile header */
    }

    .hero {
        padding: 40px 0 80px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        padding: 40px 20px;
        margin: 0 auto;
        background-color: transparent;
        /* Remove blur box since background is flat gray */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .about-container {
        flex-direction: column;
    }

    .cta-banner {
        background-image: none;
        background-color: #DFDFDF;
        padding: 60px 0;
        text-align: center;
    }

    .cta-banner-container {
        justify-content: center;
    }

    .cta-banner-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .benefits-action-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-top {
        flex-wrap: wrap;
    }
}

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

    h2 {
        font-size: 2rem;
    }

    .reasons-grid,
    .testimonials-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-middle {
        flex-direction: column;
        gap: 40px;
    }

    .footer-col-left {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .footer-col-right.text-right {
        text-align: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cta-banner-content h2 {
        font-size: 2.2rem;
    }
}