:root {
    --primary-teal: #005B66;
    --secondary-teal: #00A0A8;
    --light-aqua: #E0F7F9;
    --text-dark: #333333;
    --text-light: #ffffff;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.2s ease;
    --transition-norm: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    /* Adjust based on actual logo aspect ratio */
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

nav a:hover {
    color: var(--primary-teal);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-teal);
    transition: width var(--transition-fast);
}

nav a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--secondary-teal);
    color: var(--white);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-norm);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    background-color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-small {
    padding: 0.6rem 1.6rem;
    background-color: var(--primary-teal);
    color: var(--white);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-small:hover {
    background-color: var(--secondary-teal);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Hero */
/* Hero */
.hero {
    padding: 4rem 0 6rem;
    background: linear-gradient(145deg, var(--light-aqua) 0%, rgba(255, 255, 255, 0.8) 100%);
    overflow: hidden;
    /* Prevent floating elements from causing scroll */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    /* Slightly larger */
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #555;
    max-width: 90%;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    /* Fixed height for consistency */
}

.hero-circle-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(0, 160, 168, 0.1) 0%, rgba(0, 91, 102, 0.05) 100%);
    border-radius: 50%;
    z-index: 0;
}

.hero-img-circle {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(0, 91, 102, 0.15);
    border: 8px solid var(--white);
    z-index: 1;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

/* Floating Graphics */
.floating-card {
    position: absolute;
    background: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 2;
    font-weight: 600;
    color: var(--primary-teal);
    font-size: 0.95rem;
    white-space: nowrap;
}

.floating-card .material-icons {
    color: var(--secondary-teal);
    font-size: 1.5rem;
}

.float-1 {
    top: 15%;
    left: 0;
    animation: float 5s ease-in-out infinite 0.5s;
}

.float-2 {
    bottom: 20%;
    right: -20px;
    animation: float 7s ease-in-out infinite 1s;
}

.float-3 {
    top: 50%;
    left: -40px;
    animation: float 6s ease-in-out infinite 1.5s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {
    .hero-image-wrapper {
        height: 400px;
        margin-top: 2rem;
    }

    .hero-img-circle {
        width: 300px;
        height: 300px;
    }

    .hero-circle-bg {
        width: 340px;
        height: 340px;
    }

    .float-1 {
        top: 10%;
        left: -10px;
    }

    .float-2 {
        bottom: 15%;
        right: 0;
    }

    .float-3 {
        display: none;
    }

    /* Hide one on mobile to reduce clutter */
}

/* Sections */
section {
    padding: var(--spacing-lg) 0;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-teal);
    margin-bottom: 3rem;
}

.section-light {
    background-color: var(--light-aqua);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform var(--transition-norm), box-shadow var(--transition-norm);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    color: var(--secondary-teal);
    margin-bottom: 1rem;
}

/* What We Do */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.col-patient {
    background: var(--primary-teal);
    color: var(--white);
    padding: 3rem;
}

.col-practice {
    background: #f0f0f0;
    padding: 3rem;
}

.comparison-grid h3 {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.col-practice h3 {
    border-color: #ddd;
    color: var(--primary-teal);
}

.comparison-grid ul {
    list-style-position: inside;
}

.comparison-grid li {
    margin-bottom: 0.8rem;
}

/* Model */
.section-teal {
    background-color: var(--primary-teal);
    color: var(--white);
    text-align: center;
}

.section-teal h2 {
    color: var(--white);
}

.lead {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Steps */
.steps-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--secondary-teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
    transition: transform var(--transition-norm);
}

.step:hover .step-num {
    transform: scale(1.1);
    background-color: var(--primary-teal);
    box-shadow: 0 0 0 8px var(--light-aqua);
}

.step {
    text-align: center;
    flex: 1;
    min-width: 150px;
    position: relative;
}

/* Arrows between steps */
.step:not(:last-child)::after {
    content: 'arrow_forward';
    font-family: 'Material Icons';
    position: absolute;
    top: 25px;
    /* Half of step-num height (50px) to align with circle center */
    right: -20px;
    transform: translate(50%, -50%);
    font-size: 2rem;
    color: #cbd5e1;
    /* Subtle gray initially */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.step:hover::after {
    color: var(--secondary-teal);
    right: -30px;
    /* Move arrow forward */
    transform: translate(50%, -50%) scale(1.2);
}

/* Adjust for when steps wrap or on mobile */
@media (max-width: 900px) {
    .step:not(:last-child)::after {
        display: none;
    }
}

/* Pricing */
/* Pricing */
#pricing p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #555;
    font-size: 1.1rem;
}

.pricing-card {
    max-width: 450px;
    margin: 2rem auto 0;
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    /* Content handles padding */
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Deep soft shadow */
    border-top: 6px solid var(--secondary-teal);
    /* Brand accent */
    overflow: hidden;
    transition: transform var(--transition-norm), box-shadow var(--transition-norm);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 3rem 2rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.card-header h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin: 1rem 0 0.5rem;
    line-height: 1.1;
}

.price-subtitle {
    color: #666;
    font-size: 0.95rem;
}

.card-features {
    padding: 2rem;
    text-align: left;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #444;
    font-weight: 500;
}

.card-features li:last-child {
    margin-bottom: 0;
}

.card-features .material-icons {
    color: var(--secondary-teal);
    font-size: 1.25rem;
}

.card-footer {
    padding: 0 2rem 3rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Contact */
.section-dark {
    background-color: #222;
    color: var(--white);
    text-align: center;
}

.section-dark h2 {
    color: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border-radius: 4px;
    border: none;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.btn-submit {
    padding: 1rem;
    background: var(--secondary-teal);
    border: none;
    color: white;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 4px;
}

.btn-submit:hover {
    background: var(--primary-teal);
}

/* Footer */
footer {
    background: #111;
    color: #888;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .grid-2-feature {
        grid-template-columns: 1fr;
    }

    .grid-2-feature.reverse {
        flex-direction: column-reverse;
        display: flex;
    }
}

/* New Layout & Placeholders */
.grid-2-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 2rem;
}

.feature-image-placeholder {
    background-color: #f0f8fa;
    height: 400px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    /* Removed dashed border for cleaner look */
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0, 91, 102, 0.05);
    /* SVG Background Pattern */
    background-image: radial-gradient(#00A0A8 1px, transparent 1px);
    background-size: 24px 24px;
}

.feature-image-placeholder::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.feature-image-placeholder::after {
    /* Icon handled by specific classes or generically here */
    content: 'add_a_photo';
    /* Fallback to text icon if font loaded, or simple shape */
    font-family: 'Material Icons', sans-serif;
    /* Assuming material icons or similar, else simple content */
    font-weight: 900;
    font-size: 3rem;
    color: var(--secondary-teal);
    position: absolute;
    z-index: 2;
}

/* Specific Placeholder Icons */
#problems .feature-image-placeholder::after {
    content: 'warning';
    /* Material Icon name */
    font-family: 'Material Icons';
    font-size: 5rem;
    color: var(--secondary-teal);
}

#what-we-do .feature-image-placeholder::after {
    content: 'support_agent';
    /* Material Icon name */
    font-family: 'Material Icons';
    font-size: 5rem;
    color: var(--secondary-teal);
}

/* Feature Images */
.feature-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.feature-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform var(--transition-norm);
}

.feature-img:hover {
    transform: scale(1.02);
}

.placeholder-content {
    display: none;
    /* Hiding old text content in favor of icon */
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation Initial State */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.item-hidden {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible .item-hidden {
    opacity: 1;
    transform: scale(1);
}

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Stagger delays handled by script or simple nth-child if static count is known, 
   but script is cleaner for scroll reveal */
.scroll-animate.visible .stagger-item:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-animate.visible .stagger-item:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-animate.visible .stagger-item:nth-child(3) {
    transition-delay: 0.3s;
}

.scroll-animate.visible .stagger-item:nth-child(4) {
    transition-delay: 0.4s;
}

.scroll-animate.visible .stagger-item:nth-child(5) {
    transition-delay: 0.5s;
}

.scroll-animate.visible .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

.thank-you-page {
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.thank-you-content h1 {
    color: #0d6efd; /* or your teal color */
    margin-bottom: 20px;
}
.thank-you-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.what-happens-next {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: 30px 0;
}
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: #0d6efd; /* teal/blue */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}
.btn:hover {
    background: #0b5ed7;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d6efd; /* your teal/blue */
    box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: #0d6efd; /* teal/blue accent */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #0b5ed7;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 24px;
    }
}