/* Variables (Optional, but good practice) */
:root {
    --primary-color: #1C64F2; /* Blue from buttons */
    --secondary-color: #f4f4f4;
    --light-bg: #EBF5FF; /* Approximation of hero background */
    --text-color: #333;
    --white-color: #fff;
    --grey-color: #555;
    --border-color: #ddd;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 18px; /* Increase base font size */
}

.container {
    max-width: 1280px; /* Updated from 1200px */
    margin: 0 auto;
    padding: 0 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #2a3b7a; /* Updated color */
    margin-bottom: 1rem; /* Default bottom margin */
    line-height: 1.3; /* Adjust line height for headings */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #1a58d1; /* Slightly darker blue */
}

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

.btn-secondary:hover {
    background-color: var(--secondary-color);
}

/* Header */
header {
    background: var(--white-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 100;
}

header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
    z-index: 1000;
}

body.sticky-header-padding {
    padding-top: 0;
}

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

header .logo a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.8rem; /* Slightly larger logo */
    font-weight: bold;
    font-family: 'Plus Jakarta Sans', sans-serif; /* Apply font */
    display: inline-block; /* Needed for image sizing */
    /* border: 1px solid red; REMOVE DEBUG */
    flex-shrink: 0; /* Prevent logo shrinking */
}

#logo-image {
    height: 40px; /* Adjust height as needed */
    width: auto; /* Maintain aspect ratio */
    vertical-align: middle; /* Align better with nav */
}

/* Styles for the new nav/buttons wrapper */
/* .header-main-nav {
    display: flex;
    align-items: center;
    gap: 30px; 
    flex-grow: 1; 
} */

/* Remove specific centering/grow from nav */
header nav {
    flex-grow: 1; /* Let the nav itself expand to fill middle */
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    justify-content: center; /* Center items within the expanded nav */
}

header nav ul li {
    /* Remove margin if using gap */
    /* margin: 0 15px; */ 
}

header nav ul li a {
    text-decoration: none;
    color: var(--grey-color);
    padding: 5px 0; /* Add padding for better hover area */
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif; /* Apply font */
}

header nav ul li a:hover {
    color: #000;
}

/* Optional: Add an underline effect on hover */
/* header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--primary-color);
    transition: width .2s ease;
    -webkit-transition: width .2s ease;
}
header nav ul li a:hover::after {
    width: 100%;
    left: 0;
    background-color: var(--primary-color);
} */

/* Container for desktop nav + buttons -- REMOVE THIS RULE */
/* .desktop-nav-container {
    display: flex;
    align-items: center;
    gap: 30px; 
} */

.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between buttons */
    flex-shrink: 0; /* Prevent buttons shrinking */
}

.header-buttons .btn-secondary {
    border: none; /* Customer login has no border in image */
    background: transparent;
}

.header-buttons .btn {
    font-family: 'Plus Jakarta Sans', sans-serif; /* Apply font */
    /* Inherit other .btn styles */
}

/* Main Content Sections */
main section {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

main section:last-child {
    border-bottom: none;
}

main p {
    margin-bottom: 1rem;
    color: var(--grey-color);
}

/* Hero Banner */
.hero-banner {
    background: var(--light-bg);
    text-align: left; /* Align text left */
    padding: 4rem 0; /* Adjust padding */
    border-bottom: none; /* Remove border after hero */
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 2rem; /* Space between text and image */
}

.hero-text {
    flex: 52; /* Updated from flex: 1 for 55% distribution */
}

.hero-image {
    flex: 48; /* Updated from flex: 1 for 45% distribution */
    /* max-width: 50%; Remove max-width constraint */
    height: 400px; /* Set fixed height (400px placeholder - 100px) */
    display: flex; /* Enable flexbox for centering */
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center (optional, but good) */
    overflow: hidden; /* Hide parts of image outside the container */
    border-radius: 8px; /* Keep rounded corners on the container */
}

.hero-image img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    /* Remove border-radius from img if it's on container now */
    /* border-radius: 8px; */ 
    flex-shrink: 0; /* Prevent image from shrinking */
    min-width: 100%; /* Ensure image covers container width if aspect ratio allows*/
    min-height: 100%; /* Ensure image covers container height if aspect ratio allows */
    object-fit: cover; /* Cover the container, cropping if necessary */
}

.hero-banner h1 {
    font-size: 58px; /* Updated from 3rem */
    font-weight: 800; /* Bolder font - updated */
    /* Color inherited from general headings */
}

.hero-banner p {
    font-size: 1.1rem; /* Adjust paragraph size */
    color: #2a3b7a; /* Updated color */
    font-weight: 400; /* Updated weight */
    margin-bottom: 2rem; /* Space before buttons */
}

.hero-buttons {
    display: flex;
    gap: 1rem; /* Space between buttons */
}

/* Section Title Centered */
.section-title-center {
    text-align: center;
    font-size: 2.2rem; /* Adjust size as needed */
    margin-bottom: 2.5rem;
}

/* Comparison Section Styles */
.comparison-container {
    display: flex;
    gap: 3rem; /* Space between columns */
    align-items: flex-start; /* Align items at the top */
    margin-top: 2rem;
}

.comparison-column {
    flex: 1; /* Each column takes equal space */
    text-align: center; /* Center text within columns */
}

.comparison-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.comparison-column p {
    color: var(--grey-color);
    font-size: 1rem; /* Increased from 0.95rem */
    max-width: 400px; /* Limit paragraph width */
    margin: 1rem auto 0 auto; /* Center paragraph */
}

/* Style images within comparison columns */
.comparison-column img {
    max-width: 100%; /* Ensure image fits column */
    height: auto; /* Maintain aspect ratio */
    /* margin-bottom: 1rem; Remove space below image */
}

/* Grow & Retain Section */
#grow-retain {
    /* Add padding or other base styles for the section if needed */
     padding: 4rem 0;
}

.grow-retain-top {
    display: flex;
    gap: 3rem; /* Adjust gap between top columns */
    margin-bottom: 4rem; /* Space between top part and cards */
    align-items: flex-start; /* Align tops of columns */
}

.top-col {
    flex: 1; /* Equal width columns by default */
}

.top-col-left h1 {
    font-size: 2.8rem; /* Adjust size */
    line-height: 1.2;
}

.highlight-orange {
    color: #F59E0B; /* Example orange color - adjust as needed */
}

.top-col-right .subheading {
    font-size: 1.5rem; /* Adjust size */
    font-weight: bold; 
    margin-bottom: 0.5rem; /* Space below subheading */
}

.top-col-right p {
    color: var(--grey-color); /* Use standard grey or specific color */
}

/* Card Layout */
.card-container {
    display: flex;
    gap: 2rem; /* Space between cards */
    justify-content: space-between;
}

.card {
    /* flex: 1; Distribute space evenly */
    flex: 1 1 31%; /* Suggest a basis of ~31%, allow shrinking/growing */
    padding: 2rem;
    border-radius: 12px;
    display: flex; /* Use flex for content stacking */
    flex-direction: column;
    /* Optional shadow */
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.08); */ 
}

.card-green {
    background-color: #D1FAE5; /* Example Green */
}
.card-orange {
     background-color: #FFE4C4; /* Example Orange (Bisque) */
}
.card-red {
     background-color: #FEE2E2; /* Example Red */
}

.card h3 {
    font-size: 1.4rem; /* Adjust card heading size */
    margin-bottom: 1rem;
    color: #111827; /* Darker text for cards */
}

.card p {
    color: #374151; /* Slightly lighter dark text */
    font-size: 1rem; /* Increased from 0.95rem */
    flex-grow: 1; /* Allow text to push image down */
    margin-bottom: 1.5rem;
}

.card-image {
    width: 100%; 
    height: auto; /* Maintain aspect ratio for real images */
    margin-top: auto; /* Push image to bottom */
    align-self: center; /* Center image */
    /* max-width: 250px; Remove explicit max-width */
    border-radius: 8px;
}

.card-image.placeholder-image {
     min-height: 180px; /* Give placeholder some height */
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100; /* Ensure it's above sticky header */
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Styles for when mobile menu is open (toggled via JS) */
.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Service Section Specific Styles */
.service-section {
    background-image: url('../img/purple_background.jpg'); /* Use .. to go up one level */
    background-size: cover; /* Cover the entire section */
    background-position: center center; /* Center the background */
    background-repeat: no-repeat;
    color: #333; /* Adjust text color for readability on background */
}

.service-container {
    display: flex;
    align-items: center;
    gap: 2rem; /* Space between text and image */
}

.service-text {
    flex: 6; /* Give more space to text (60%) */
    padding-right: 1rem; /* Add some space */
}

.service-text h2 {
     /* Use inherited h2 styles or add specifics */
     font-size: 2.5rem; /* Example size */
     margin-bottom: 1.5rem;
}

.service-text p {
    /* Use inherited p styles or add specifics */
    color: inherit; /* Inherit color from .service-section */
    margin-bottom: 2rem;
}

.service-buttons {
    /* Similar to hero-buttons if needed */
    display: flex;
}

.service-image {
    flex: 4; /* Give less space to image (40%) */
    text-align: center; /* Center image if needed */
}

.service-image img {
    max-width: 80%; /* Limit image width to 80% of its container */
    height: auto;
    border-radius: 8px; /* Optional */
}

/* Grow & Retain CTA */
.grow-retain-cta {
    text-align: center;
    margin-top: 4rem; /* Space above CTA */
    padding: 2rem 0; /* Add some padding */
    border-top: 1px solid #eee; /* Optional separator */
}

.grow-retain-cta h2 {
    font-size: 2rem; /* Adjust size */
    margin-bottom: 2rem;
}

.cta-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* Space between button and text */
}

.cta-content p {
    margin-bottom: 0; /* Remove default bottom margin */
    color: var(--grey-color);
    max-width: 300px; /* Limit text width */
    text-align: left;
}

/* Platform Features Section */
#platform-features {
    padding: 5rem 0;
    background-image: url('../img/blue_gradient.jpg');
    background-size: cover;
    background-position: center center;
}

.section-header.text-center {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px; /* Limit width of header text */
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem; /* Adjust as needed */
    margin-bottom: 1rem;
    color: #111827; /* Darker color for this background */
}

.section-header p {
    font-size: 1.1rem;
    color: var(--grey-color);
    line-height: 1.7;
}

.feature-card-container {
    display: grid; /* Use Grid for easy column layout */
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 1.5rem; /* Gap between cards */
    margin-bottom: 4rem; /* Space before optional CTA */
}

.feature-card {
    background-color: var(--white-color);
    border-radius: 12px;
    overflow: hidden; /* Clip image to rounded corners */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07); /* Optional subtle shadow */
}

.feature-card-img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below image */
}

.feature-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow content to take remaining space */
}

.feature-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.feature-card-content p {
    font-size: 1rem; /* Increased from 0.9rem */
    color: #4b5563;
    line-height: 1.6;
    flex-grow: 1; /* Allow text to push footer content down if needed */
    margin-bottom: 0;
}

/* Image Placeholders */
.placeholder-image {
    min-height: 180px; /* Give placeholder some height */
}

/* Testimonials Section */
#testimonials {
    padding: 5rem 0;
    background-color: #f8f9fa; /* Light background for contrast */
}

#testimonials .section-header h2 {
    color: #2a3b7a; /* Match other headings */
}

.testimonial-swiper {
    width: 100%;
    padding-top: 2rem; /* Space for potential title/nav */
    padding-bottom: 4rem; /* Space for nav buttons */
    position: relative; /* Needed for positioning nav buttons */
}

.testimonial-slide {
    background-color: #EBF5FF; /* Light blue from image */
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    height: auto; /* Let content determine height */
    min-height: 350px; /* Ensure a minimum height */
    box-sizing: border-box; /* Include padding in height/width */
}

.testimonial-slide blockquote {
    font-size: 1rem;
    color: #334155; /* Dark grey text */
    line-height: 1.7;
    margin: 0 0 1.5rem 0; /* Space below quote */
    font-style: normal;
    flex-grow: 1; /* Allow quote to take up space */
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto; /* Push author to bottom */
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Circular logo */
    margin-right: 1rem;
    object-fit: contain; /* Prevent distortion */
}

.testimonial-author .author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author cite {
    font-weight: bold;
    color: #111827; /* Darker text for name */
    font-style: normal;
    margin-bottom: 0.1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #4B5563; /* Slightly lighter text */
}

/* Swiper Navigation Arrows */
.testimonial-swiper .swiper-button-prev,
.testimonial-swiper .swiper-button-next {
    color: var(--primary-color); /* Use primary blue */
    width: 40px;
    height: 40px;
    background-color: var(--white-color);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background-color 0.2s ease;
    position: absolute; /* Position relative to swiper container */
    bottom: 0; /* Position at the bottom */
    top: auto; /* Override default top positioning */
    transform: translateY(50%); /* Center vertically relative to bottom edge */
}

.testimonial-swiper .swiper-button-prev::after,
.testimonial-swiper .swiper-button-next::after {
    font-size: 18px; /* Adjust arrow size */
    font-weight: bold;
}

.testimonial-swiper .swiper-button-prev:hover,
.testimonial-swiper .swiper-button-next:hover {
    background-color: #f0f0f0;
}

/* Adjust positioning if needed */
.testimonial-swiper .swiper-button-prev {
    left: calc(50% - 40px - 10px); /* Center - button width - half gap */
}

.testimonial-swiper .swiper-button-next {
    right: calc(50% - 40px - 10px); /* Center - button width - half gap */
}

/* Client Logos Section */
#client-logos {
    padding: 4rem 0;
    background-color: var(--white-color); /* Or another background */
}

#client-logos .section-header h2 {
     color: #2a3b7a; /* Match other headings */
}

.logo-swiper {
    width: 100%;
    padding: 2rem 0; /* Add some vertical padding */
}

.logo-swiper .swiper-wrapper {
    align-items: center; /* Vertically align logos if they have different heights */
}

.logo-slide {
    text-align: center; /* Center logo within slide */
    box-sizing: border-box;
}

.logo-slide img {
    max-width: 100%; /* Ensure logo fits */
    max-height: 100px; /* Control the max height */
    width: auto; /* Maintain aspect ratio */
    
   
    
}

.logo-slide:hover img {
    opacity: 1; /* Full opacity on hover */
    filter: grayscale(0%); /* Full color on hover */
}

/* FAQ Section */
#faq {
    padding: 5rem 0;
    background-image: url('../img/blue_gradient.jpg'); /* Reuse gradient */
    background-size: cover;
    background-position: center center;
}

.faq-container {
    display: flex;
    gap: 4rem; /* Adjust gap between title and accordion */
}

.faq-title-column {
    flex: 1; /* Adjust ratio if needed, e.g., flex: 1 */
}

.faq-title-column h2 {
    font-size: 2.8rem; /* Adjust size */
    color: #2a3b7a; /* Match other headings */
    line-height: 1.3;
}

.faq-accordion-column {
    flex: 2; /* Adjust ratio if needed, e.g., flex: 2 */
}

.faq-item {
    border-bottom: 1px solid #e0e7ff; /* Light blue separator */
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px; /* Increased from 1.1rem */
    font-weight: bold;
    color: #2a3b7a; /* Match heading color */
}

.faq-question span:first-child {
    padding-right: 1rem; /* Space between text and icon */
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

/* Style Font Awesome icons */
.faq-icon i {
    font-size: 0.9rem; /* Adjust icon size */
    line-height: 1;
}

/* Hide the 'opened' icon by default */
.faq-icon .icon-opened {
    display: none;
}

.faq-question[aria-expanded="true"] .faq-icon {
    background-color: #e0e7ff; /* Lighter background when open */
    color: var(--primary-color);
}

/* Show the 'opened' icon and hide 'closed' icon when expanded */
.faq-question[aria-expanded="true"] .faq-icon .icon-closed {
    display: none;
}
.faq-question[aria-expanded="true"] .faq-icon .icon-opened {
    display: inline-block;
}

.faq-answer {
    padding: 0 0 1.5rem 0; /* Padding below question, before separator */
    color: #4b5563; /* Match text color from features */
    line-height: 1.6;
    font-size: 1rem; /* Increased from 0.95rem */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    max-height: 0;
    padding-bottom: 0; /* Start with no bottom padding */
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Allow space for content to expand */
    padding-bottom: 1.5rem; /* Add padding back when open */
}

/* Contact Us Section */
#contact-us {
    background-color: #1f2937; /* Dark background */
    padding: 5rem 0 0 0; /* Remove bottom padding */
    border-bottom: none; /* Remove default border */
    /* Add margin to push footer down IF needed, but negative margin on box is better */
    /* margin-bottom: 50px; */ 
}

.contact-box {
    background-color: var(--primary-color); /* Blue background */
    color: var(--white-color);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start; /* Align tops */
    position: relative; /* Needed for z-index */
    z-index: 2; /* Ensure it's above the footer */
    margin-bottom: -80px; /* Pull the box down over the footer. Adjust value as needed */
}

.contact-text-column {
    flex: 1; /* Adjust ratio if needed */
}

.contact-text-column h2 {
    color: var(--white-color);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-text-column .subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #d1d5db; /* Lighter grey/white */
}

.contact-text-column .intro {
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--white-color);
    font-size: 1.1rem;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    color: #d1d5db; /* Lighter grey/white */
    font-size: 1rem;
}

.benefits-list i {
    margin-right: 0.75rem;
    color: #34d399; /* Example checkmark color */
    font-size: 1.1rem;
    margin-top: 0.2rem; /* Align icon better */
}

.contact-form-column {
    flex: 1; /* Adjust ratio if needed */
}

.form-wrapper {
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 0; /* Padding is handled by iframe content usually */
    overflow: hidden; /* Ensure iframe stays contained */
}

/* Simple Site Footer */
.site-footer {
    text-align: center;
    padding: 1.5rem 0;
    /* Add extra top padding to account for the overlapping box */
    padding-top: 100px; /* Adjust value (must be > negative margin-bottom of contact-box) */
    background-color: #111827; /* Even darker background */
    color: #9ca3af; /* Lighter text */
    font-size: 0.9rem;
    position: relative; /* Needed for z-index context if overlapping */
    z-index: 1; /* Below contact box */
}

.site-footer p {
    margin-bottom: 0;
}

/* --- Media Queries for Responsiveness --- */

/* Adjust breakpoint as needed (e.g., 992px for tablets and below) */
@media (max-width: 992px) { 

    header .container {
        /* Ensure logo and toggle are spaced */
        justify-content: space-between;
    }

    /* Add this new rule for when the menu is open */
    .mobile-menu-open header .container {
        flex-wrap: wrap;
        align-items: flex-start; /* Align items like nav/buttons to the top when they wrap */
    }

    /* Add ordering for items when mobile menu is open */
    .mobile-menu-open header .logo {
        order: 1;
    }
    .mobile-menu-open header .mobile-menu-toggle {
        order: 2;
    }
    .mobile-menu-open header nav {
        order: 3;
        /* Existing styles for .mobile-menu-open header nav will still apply */
        /* e.g., text-align, margin-bottom, flex-grow */
    }
    .mobile-menu-open header .header-buttons {
        order: 4;
        /* Existing styles for .mobile-menu-open .header-buttons will still apply */
        /* e.g., flex-direction, align-items, gap */
    }

    .mobile-menu-toggle {
        display: block; /* Show hamburger */
    }

    /* Hide nav and buttons by default on mobile */
    header nav,
    .header-buttons {
        display: none; 
    }

    /* Mobile menu container needs explicit positioning and styles */
    .mobile-menu-content { /* NEW class maybe needed, or style nav/buttons directly */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        border-top: 1px solid var(--border-color);
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1050;
    }

    /* When mobile menu is open, show nav and buttons */
    .mobile-menu-open nav,
    .mobile-menu-open .header-buttons {
        display: block; /* Or flex depending on desired layout */
        width: 100%;    /* ADDED: Ensure they take full width to wrap properly */
        margin-top: 1rem; /* ADDED: Space from the logo/toggle line */
        /* The order property is now handled by more specific rules above for header context */
    }

    /* Stack nav and buttons if shown directly */
    .mobile-menu-open header nav {
        text-align: left; 
        margin-bottom: 1rem; 
        flex-grow: 0; /* Reset desktop grow */
    }
    .mobile-menu-open header nav ul {
        display: block; 
        text-align: center; 
        justify-content: initial; /* Reset desktop centering */
    }
    .mobile-menu-open header nav ul li a {
        display: block; 
        padding: 0.8rem 20px; 
        border-bottom: 1px solid #eee;
    }
    .mobile-menu-open header nav ul li:last-child a {
        border-bottom: none;
    }
    .mobile-menu-open .header-buttons {
        display: flex; /* ADDED: Make this a flex container */
        flex-direction: column; 
        align-items: center; 
        gap: 1rem; 
        padding: 0 20px; 
        flex-shrink: initial; /* Reset desktop shrink */
    }
    .mobile-menu-open .header-buttons .btn {
        width: 80%; 
        max-width: 300px;
    }

    /* Remove old wrapper rules */
    /* .header-main-nav { ... } */
    /* .mobile-menu-open .header-main-nav { ... } */

    /* Adjust Hero section for smaller screens */
    .hero-container {
        flex-direction: column; /* Stack text and image */
        text-align: center; /* Center text */
    }

    .hero-text {
        order: 2; /* Put text below image on mobile */
    }

    .hero-image {
        order: 1; /* Put image above text */
        width: 100%; /* Make image full width */
        height: auto; /* Let height adjust automatically */
        max-height: 250px; /* Crop height on mobile */
        margin-bottom: 2rem;
        /* overflow: hidden; is inherited */
    }

    /* Ensure image within cropped container behaves correctly */
    .hero-image img {
       /* object-fit: cover; is inherited */
       /* Add any specific mobile overrides if needed */
    }

    .hero-banner h1 {
        font-size: 2.8rem; /* Smaller H1 for mobile */
    }

    .hero-buttons {
        justify-content: center; /* Center buttons */
    }

    /* Adjust Comparison section */
    .comparison-container {
        flex-direction: column; /* Stack columns */
        gap: 2rem;
    }

    /* Adjust Grow & Retain Top section */
    .grow-retain-top {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 3rem;
        text-align: center;
    }

    .top-col-left h1 {
        font-size: 2.4rem; /* Slightly smaller for mobile */
    }

    /* Adjust Card Layout */
    .card-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    /* Adjust Service section */
    .service-container {
        flex-direction: column;
        text-align: center;
    }

    .service-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .service-buttons {
        justify-content: center;
    }

    .service-image {
        /* Adjustments if needed */
    }

    /* Adjust Grow & Retain CTA */
    .grow-retain-cta {
        margin-top: 3rem;
        padding: 1.5rem 0;
    }
    .cta-content {
        flex-direction: column;
        gap: 1rem;
    }
    .cta-content p {
        text-align: center;
    }

    /* Adjust Platform Features Section */
    .feature-card-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }

    /* Adjust FAQ section */
    .faq-container {
        flex-direction: column;
        gap: 2rem;
    }

    .faq-title-column {
        text-align: center;
    }

    .faq-title-column h2 {
        font-size: 2.4rem;
    }

    /* Adjust Contact Us section */
    .contact-box {
        flex-direction: column;
        padding: 2rem;
    }

    .contact-text-column {
        text-align: center;
        margin-bottom: 2rem;
    }

    .benefits-list {
       display: inline-block; /* Center list items */
       text-align: left;
    }

} 

/* Add a breakpoint for smaller mobile */
@media (max-width: 600px) { 
    .feature-card-container {
        grid-template-columns: 1fr; /* 1 column on small mobile */
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Adjust testimonial button position */
    .testimonial-swiper .swiper-button-prev {
        left: 10px;
    }
    .testimonial-swiper .swiper-button-next {
        right: 10px;
    }

    .faq-question {
        font-size: 1rem;
    }
} 