/* --- Base & Variables --- */
:root {
    --primary-color: #007bff; /* Example Blue - Adjust to match Avanflow/Playmedic */
    --secondary-color: #6c757d; /* Example Gray */
    --light-bg: #f8f9fa;
    --dark-text: #343a40;
    --light-text: #ffffff;
    --heading-font: 'Poppins', sans-serif; /* Example Font - Choose appropriate */
    --body-font: 'Lato', sans-serif;      /* Example Font - Choose appropriate */
    --navbar-height: 70px;
}

/* Import Fonts (Example - Host locally or use CDN) */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@500;600;700&display=swap');

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

body {
    font-family: var(--body-font);
    color: var(--dark-text);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.light-bg { background-color: var(--light-bg); }
.section-padding { padding: 80px 0; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--heading-font);
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
    color: var(--light-text);
    text-decoration: none;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-nav-cta {
    background-color: var(--primary-color);
    color: var(--light-text);
    margin-left: 15px; /* Adjust as needed */
}
.btn-nav-cta:hover {
     background-color: darken(var(--primary-color), 10%);
     color: var(--light-text);
     text-decoration: none;
}


/* --- Header & Navigation --- */
.site-header {
    background-color: var(--light-text);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: var(--navbar-height);
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color); /* Or your brand color */
}
.logo-text-footer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text); /* Or your brand color */
    display: block;
    margin-bottom: 10px;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
}

.main-nav .nav-list li {
    margin-left: 25px; /* Adjust spacing */
}

.main-nav .nav-list a {
    color: var(--dark-text);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}
.main-nav .nav-list a:not(.btn):hover {
    color: var(--primary-color);
    text-decoration: none;
}
.main-nav .nav-list a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.main-nav .nav-list a:not(.btn):hover::after {
    width: 100%;
}


.mobile-nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark-text);
    cursor: pointer;
}
.mobile-nav-toggle .close-icon { display: none; }


/* --- Hero Section --- */
.hero-section {
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1920x800/cccccc/969696?text=Hero+Background+Image');*/ /* Replace with your image */
	background: url('../img/doctors.jpg'); 
	background-color: rgba(255,255,255,0.6);
    background-blend-mode: lighten;
	
    background-size: cover;
    background-position: center;
    /*color: var(--light-text);*/
	color: var(--dark-text);
    padding: 150px 0; /* Adjust padding */
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-section h1 {
    font-size: 3.2rem; /* Larger font */
    margin-bottom: 0.5em;
}

.hero-section .subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
}

.hero-quick-benefits {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.9rem;
    opacity: 0.8;
}
.hero-quick-benefits span i {
    margin-right: 8px;
    color: var(--primary-color); /* Or light color */
}

/* --- Trusted By Section --- */
.trusted-by-section {
    padding: 40px 0;
}
.trusted-by-section h2 {
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.logos-container img {
    max-height: 40px; /* Adjust size */
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.logos-container img:hover {
    opacity: 1;
}

/* --- Section Header --- */
.section-header {
    margin-bottom: 60px;
}
.section-header h2 {
     margin-bottom: 15px;
}
.section-header p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary-color);
}

/* --- Features/Solutions Grid --- */
.features-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item, .benefit-item {
    background-color: var(--light-text); /* Or light-bg if section is white */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.light-bg .feature-item, .light-bg .benefit-item {
     background-color: var(--light-text); /* Cards are white on light bg */
     box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
/* Add hover effect */
.feature-item:hover, .benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon, .benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block; /* Or inline-block */
}
.feature-item h3, .benefit-item h3 {
    margin-bottom: 10px;
}
.feature-item p, .benefit-item p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* --- Designed For Section --- */
.designed-for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.designed-for-item {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
}
.icon-large {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}
.designed-for-item h3 {
     margin-bottom: 15px;
}
.designed-for-item p {
     color: var(--secondary-color);
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    position: relative;
    /* Add quote style if desired */
}
.testimonial-card::before { /* Optional quote symbol */
    content: '\f10d'; /* Font Awesome quote-left */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.1;
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}
.testimonial-card .author {
    font-weight: bold;
    margin-bottom: 0.2rem;
    color: var(--dark-text);
}
.testimonial-card .company {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* --- Final CTA Section --- */
.final-cta-section {
     background-color: var(--primary-color); /* Or a gradient/image */
     color: var(--light-text);
}
.final-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.final-cta-section p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}
.final-cta-section .btn-primary {
    background-color: var(--light-text);
    color: var(--primary-color);
    border-color: var(--light-text);
}
.final-cta-section .btn-primary:hover {
     background-color: #f0f0f0;
     border-color: #f0f0f0;
      color: var(--primary-color);
}
.final-cta-section .contact-link {
    margin-top: 20px;
    font-size: 0.9rem;
}
.final-cta-section .contact-link a {
    color: var(--light-text);
    opacity: 0.8;
    text-decoration: underline;
}
.final-cta-section .contact-link a:hover {
     opacity: 1;
}


/* --- Contact Section --- */
.contact-section p {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}
.contact-section strong {
    color: var(--dark-text);
}


/* --- Footer --- */
.site-footer {
    background-color: #222; /* Dark footer */
    color: #ccc;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 10px;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.footer-col ul li a:hover {
    color: var(--light-text);
    text-decoration: none;
}

.social-links a {
    display: inline-block;
    color: #ccc;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 20px 0;
    margin-top: 30px;
}
.footer-bottom p {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 0;
}


/* --- Responsive --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .hero-section h1 { font-size: 2.8rem; }
    .features-grid, .benefits-grid, .testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }
    .hero-section { padding: 100px 0; min-height: auto; }
    .hero-section h1 { font-size: 2.4rem; }
     .hero-section .subtitle { font-size: 1.1rem; }
     .hero-quick-benefits { flex-direction: column; gap: 15px; align-items: center; }

    .main-nav .nav-list {
        position: fixed;
        inset: 0 0 0 30%; /* Slide from right */
        flex-direction: column;
        padding: min(20vh, 10rem) 2em;
        background: var(--light-text);
        transform: translateX(100%);
        transition: transform 350ms ease-out;
        z-index: 999; /* Below header but above content */
        gap: 1.5em; /* Spacing for mobile links */
        align-items: flex-start; /* Align text left */
    }

    .main-nav .nav-list[data-visible="true"] {
        transform: translateX(0%);
    }

    .main-nav .nav-list li { margin-left: 0; }
    .main-nav .nav-list a { font-size: 1.1rem; } /* Larger text on mobile nav */
    .main-nav .nav-list .btn-nav-cta { margin-left: 0; margin-top: 1em; } /* Stack button */

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        z-index: 1001; /* Above nav menu */
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger-icon { display: none; }
    .mobile-nav-toggle[aria-expanded="true"] .close-icon { display: block; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col { margin-bottom: 20px; }
    .social-links { text-align: center; margin-top: 10px; }
}

@media (max-width: 576px) {
    body { font-size: 15px; }
    h1 { font-size: 1.8rem; }
    .hero-section h1 { font-size: 2rem; }
    .hero-section .subtitle { font-size: 1rem; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .btn-lg { padding: 12px 25px; font-size: 1rem; }
    .features-grid, .benefits-grid, .testimonials-grid, .designed-for-grid { grid-template-columns: 1fr; }
    .logos-container { gap: 25px; }
    .logos-container img { max-height: 30px; }

    /* Adjust mobile nav slide width for very small screens if needed */
     .main-nav .nav-list { inset: 0 0 0 15%; }
}