/* Base Styles */
:root {
    /* New consistent color palette */
    --primary-blue: #0077cc;
    --primary-dark: #005a9e;
    --primary-light: #e6f3ff;
    --accent: #00a0e3;
    --secondary: #2c3e50;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #e74c3c;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #343a40;
    --background-section: #f5f9fc;
    --border-light: #e1e8ed;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    margin-right: 10px;
}

.logo h1 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin: 0;
}

/* Hero Section */
.hero {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding-top: 120px;
}

.hero .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 2rem;
    flex: 1;
    min-width: 300px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
}

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

.hero h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Client Inquiry Card */
.client-inquiry {
    max-width: 400px;
    margin: 0 auto;
}

.inquiry-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.inquiry-icon {
    background-color: var(--primary-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.inquiry-icon i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.inquiry-content h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.inquiry-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-light);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-step i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.process-step span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.process-arrow {
    color: var(--primary-blue);
    opacity: 0.7;
}

@media (max-width: 480px) {
    .process-flow {
        flex-direction: column;
        padding: 15px 10px;
    }
    
    .process-step {
        margin-bottom: 10px;
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
    }
    
    .process-step i {
        margin-right: 10px;
        margin-bottom: 0;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
}

/* Pain Points Section */
.pain-points {
    background-color: var(--background-section);
    color: var(--text-dark);
    border-top: 1px solid var(--border-light);
}

.pain-points h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.symptoms {
    max-width: 800px;
    margin: 0 auto;
}

.symptoms h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.symptom-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.symptom-item i {
    color: var(--primary-blue);
    margin-right: 10px;
    font-size: 1.2rem;
    margin-top: 3px;
}

.cta-text {
    text-align: center;
    margin-top: 2rem;
    font-weight: 600;
    font-size: 1.2rem;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    background-color: var(--accent);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Why Us Section */
.why-us {
    background-color: var(--secondary);
    color: var(--text-light);
}

.why-us h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.profile-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
}

.profile-image {
    flex: 0 0 200px;
    margin-right: 30px;
    margin-bottom: 20px;
}

.profile-photo {
    width: 100%;
    border-radius: 50%;
    border: 4px solid var(--primary-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.profile-content {
    flex: 1;
    min-width: 300px;
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.profile-description {
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.benefit {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.benefit i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Final CTA Section */
.final-cta {
    background-color: var(--accent);
    color: var(--text-light);
    text-align: center;
}

.final-cta h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.pain-list {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.pain-list p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.pain-point-item {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-point-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.pain-icon {
    margin-right: 15px;
    background-color: rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pain-icon i {
    color: var(--text-light);
    font-size: 1.2rem;
}

.pain-point-item p {
    margin: 0;
    font-size: 1rem;
}

.cta-conclusion {
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem !important;
    margin-top: 1rem;
    margin-bottom: 2rem !important;
}

#final-cta-button {
    font-size: 1.2rem;
    padding: 15px 40px;
    background-color: #ffffff;
    color: var(--accent);
    border: 3px solid #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

#final-cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 40px 0;
}

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

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-logo h2 {
    margin-bottom: 0.5rem;
}

.slogan {
    font-style: italic;
    max-width: 600px;
}

.footer-links {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Changed from flex-end to center */
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Changed from flex-end to center */
    margin-bottom: 15px;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 10px 10px; /* Changed margin-left to margin for even spacing */
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-light);
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    color: var(--text-dark);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--primary-dark);
}

.legal-content {
    margin-top: 20px;
}

.legal-content h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding-top: 100px; /* Adjusted for smaller header */
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .cta-button {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .step {
        margin-bottom: 40px;
    }
    
    .profile-image {
        margin: 0 auto 20px;
    }
    
    .profile-content {
        text-align: center;
    }
    
    .quote {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1rem;
    }
    
    .section-intro {
        font-size: 1.1rem;
    }
    
    .step h3 {
        font-size: 1.3rem;
    }
    
    .quote {
        font-size: 1.2rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}
