/* Base Styles */
:root {
    --primary: #191970;
    --secondary: #E27D60;
    --accent: #41B3A3;
    --neutral-light: #E8E8E8;
    --neutral-dark: #333333;
    --white: #FFFFFF;
    --black: #000000;
}
/* ---- START: Global Layout Consistency Fixes ---- */
*,
*::before,
*::after {
  box-sizing: border-box; /* Apply border-box universally */
}

body {
}

.container {
    width: 100%;
    max-width: 1200px; /* Keep max desktop width */
    margin-left: auto; /* Center the container */
    margin-right: auto; /* Center the container */
    padding: 0 1.5rem; /* Default desktop padding */
}
/* ---- END: Global Layout Consistency Fixes ---- */
body {
    font-family: 'Lato', sans-serif;
    color: var(--neutral-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    margin-top: 0;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

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

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    font-size: 1.8rem;
}
.logo-icon {
    /* Adjust height as desired - this controls the size */
    height: 60px; /* Example: Set a specific height */
    width: auto; /* Allow width to adjust automatically */
    max-width: 100%; /* Prevent overflow if container is small */
    display: block; /* Prevents extra space below image */
    margin-right: 10px; /* Space between icon and text */
}

footer .footer-logo img {
    display: block; /* Prevent extra bottom space */
    max-width: 180px; /* Set a maximum width appropriate for footer */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 1rem; /* Space below logo */
    margin-left: auto; /* Center the logo if footer text is centered */
    margin-right: auto; /* Center the logo if footer text is centered */
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--accent); /* Teal color */
    font-size: 1.8rem;
    display: block;
    line-height: 1; /* Closer spacing */
}

.logo-slogan {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem; /* Smaller size */
    color: var(--neutral-dark); /* Dark Grey */
    display: block;
    line-height: 1.2;
    margin-top: -2px; /* Fine-tune vertical position */
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--neutral-dark);
    position: relative;
}

.main-nav a:hover {
    color: var(--accent);
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}
/* ---- START: Hero Content Base Styles ---- */
.hero-content {
    /* Add max-width if needed for desktop centering */
    /* max-width: 600px; */ /* Example: Uncomment if desktop text is too wide */
    /* margin-left: auto; */  /* Uncomment with max-width for centering */
    /* margin-right: auto; */ /* Uncomment with max-width for centering */
    
    margin-bottom: 2rem; /* Add default bottom margin */
    padding-bottom: 1rem; /* Add bottom padding */
    /* Ensure default text align is left for desktop */
    text-align: left; 
}
/* ---- END: Hero Content Base Styles ---- */


/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background-color: var(--neutral-light);
}

.hero-content {
    max-width: 600px;
    min-width: 0;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.sub-headline {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--neutral-dark);
    margin-bottom: 1.5rem;
    line-height: 36px;
    padding-bottom: 2px;
    
}

.core-message {
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.text-link {
    color: var(--accent);
    font-weight: 600;
    text-align: center;
}

.text-link:hover {
    text-decoration: underline;
}

.trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-signals span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--neutral-dark);
}

.trust-signals i {
    color: var(--accent);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Challenges Section */
.challenges-section {
    padding: 4rem 0;
    background-color: var(--white);
}

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

.pain-point {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--neutral-light);
    transition: transform 0.3s ease;
}

.pain-point:hover {
    transform: translateY(-5px);
}

.pain-point i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.pain-point h3 {
    margin-bottom: 0.5rem;
}

.transition-text {
    font-style: italic;
    text-align: center;
    margin: 2rem 0;
    color: var(--secondary);
    font-weight: 500;
}

.partner-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.trust-snippets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-quote {
    background-color: var(--neutral-light);
    padding: 1.5rem;
    border-radius: 8px;
    position: relative;
    font-style: italic;
}

.client-quote:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -1rem;
    left: 0.5rem;
    color: var(--accent);
    opacity: 0.2;
}

/* Solutions Section */
.solutions-section {
    padding: 4rem 0;
    background-color: var(--neutral-light);
    text-align: center;
}

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

.solution-item {
    padding: 2rem 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.solution-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.tiers-mention {
    margin: 2rem 0;
    font-weight: 500;
}

.tiers-mention span {
    color: var(--accent);
    font-weight: 600;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background-color: var(--white);
    text-align: center;
}

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

.benefit-item {
    padding: 2rem 1.5rem;
    background-color: var(--neutral-light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

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

/* Process Section */
.process-section {
    padding: 4rem 0;
    background-color: var(--neutral-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.process-step {
    position: relative;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    position: absolute;
    top: -1.5rem;
    left: 1.5rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-graphic img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Results Section */
.results-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.case-study {
    background-color: var(--neutral-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.client-logo {
    padding: 2rem;
    background-color: var(--white);
    text-align: center;
}

.client-logo img {
    max-width: 200px;
    max-height: 80px;
    margin: 0 auto;
}

.client-info {
    padding: 0 2rem;
    font-size: 0.9rem;
    color: var(--neutral-dark);
    font-style: italic;
    margin: 1rem 0;
}

.case-details {
    padding: 0 2rem 1rem;
}

.case-details p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

blockquote {
    padding: 1.5rem 2rem;
    background-color: var(--accent);
    color: var(--white);
    font-style: italic;
    margin: 0;
    position: relative;
}

blockquote:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -1rem;
    left: 0.5rem;
    opacity: 0.2;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    background-color: var(--neutral-light);
    text-align: center;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.team-member {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.member-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--accent);
}

.member-title {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    margin-bottom: 1.5rem;
}

.member-contact a {
    color: var(--accent);
    font-weight: 500;
}

.location-graphic img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Conversion Section */
.conversion-section {
    padding: 4rem 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.conversion-section h2 {
    color: var(--white);
}

.conversion-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
}

/* Footer Styles */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 0 0;
}

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

.footer-logo h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    width: 1.2rem;
    text-align: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.legal-links {
    margin-bottom: 1rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0.5rem;
}

.legal-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 1rem;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0;
        padding: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .pain-points,
    .solutions-grid,
    .benefits-grid,
    .process-steps,
    .case-studies,
    .team-members {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    /* ---- START: Additions/Modifications for V2 Mobile Fixes (768px) ---- */

/* Hide desktop nav & CTA, show mobile toggle */
.main-nav {
    display: none; /* Hide desktop nav list */
    width: 100%;   /* Ensure it takes full width if shown */
    order: 3;      /* Make it appear below logo/toggle if needed */
    margin-top: 1rem;
}
.header-cta {
    display: none; /* Hide desktop CTA button */
}
.mobile-menu-toggle {
    display: flex; /* Ensure mobile toggle button IS visible */
}

/* Make grids stack into single columns */
.pain-points,
.solutions-grid,
.benefits-grid,
.process-steps,
.case-studies,
.team-members,
.footer-content { /* Added footer here */
    grid-template-columns: 1fr; /* Force single column */
}

/* Adjust container padding for smaller screens */
.container {
    padding-left: 1rem; 
    padding-right: 1rem; 
}

/* Adjust team member layout */
.team-member {
    text-align: center; /* Center content within stacked items */
}

/* Adjust footer layout */
.footer-content > div { /* Target direct children divs in footer */
   margin-bottom: 2rem; /* Add space between stacked footer sections */
}
.footer-logo,
.footer-social,
.footer-contact,
.footer-links {
    text-align: center; /* Center footer content */
}
.social-icons {
    justify-content: center; /* Center social icons */
}

/* ---- END: Additions/Modifications for V2 Mobile Fixes (768px) ---- */
/* ---- START: V2 Mobile Centering Fixes (768px) ---- */

/* Center headings and text within key sections on mobile */
.hero-content,
.challenges-section .container > h2, /* Target section heading */
.partner-content,
.solutions-section, /* Center text within the whole section */
.benefits-section,  /* Center text within the whole section */
.process-section .container > h2, /* Target section heading */
.results-section .container > h2, /* Target section heading */
.conversion-section .container > h2, /* Target section heading */
.conversion-section .container > p,  /* Target section paragraph */
.contact-section .container > h2, /* Target section heading */
.contact-form { /* Center form elements if needed */
    text-align: center;
}

/* Ensure grid/flex items themselves might need text centering too */
.pain-point,
.solution-item,
.benefit-item,
.process-step {
     text-align: center; /* Center content inside these items */
}

/* Center text in CTA groups */
.cta-group {
    text-align: center;
}


/* ---- END: V2 Mobile Centering Fixes (768px) ---- */

    
}
.hero-content {
     max-width: 100%; /* Prevent overflow */
     box-sizing: border-box; /* Include padding/border in width calc */
     margin-left: auto; /* Center the block itself if needed */
     margin-right: auto; /* Center the block itself if needed */
}


@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .cta-group {
        flex-direction: column;
    }
    /* ---- START: Additions/Modifications for V2 Mobile Fixes (480px) ---- */

/* Adjust button widths - maybe not all need to be full width */
/* Keep the general rule for forms perhaps */
.contact-form .btn {
    width: 100%;
}
/* But make other CTAs potentially centered with auto width */
.cta-group .btn {
    width: auto; /* Let button size naturally */
    margin-left: auto;
    margin-right: auto;
    max-width: 300px; /* Prevent excessively wide buttons */
    display: block; /* To allow margin auto centering */
}
.cta-group .text-link {
    display: block; /* Ensure link is also block for spacing */
    margin-top: 0.5rem;
}

/* Further reduce heading sizes if needed */
h1 {
    font-size: 1.6rem;
}
h2 {
    font-size: 1.4rem;
}
.hero-content h1 {
    font-size: 1.8rem;
}




/* ---- END: Additions/Modifications for V2 Mobile Fixes (480px) ---- */
    
}