/* Color Palette based on updated logo */
:root {
    /* Primary brand tones (refined to match updated logo) */
    --primary-teal: #13877f; /* deeper teal for stronger contrast */
    --light-teal: #49d9c8;
    --dark-teal: #0f6b69;
    --accent-teal: #2fe0cf;

    /* Blues used across the site */
    --primary-blue: #1e6fb3; /* new primary blue for gradients */
    --secondary-blue: #4682B4;
    --accent-blue: #6fb7e6;
    --light-blue: #87CEEB;
    --dark-blue: #1e40af;

    --secondary-gray: #64748b;
    --light-gray: #f0f9f8;
    --medium-gray: #f7fafc;
    --white: #ffffff;
    --text-dark: #1f2933;
    --text-light: #4a5568;
    --success-green: #10b981;
    --warning-yellow: #f59e0b;
    --accent-purple: #805AD5;
    --brand-orange: #ff8a00; /* orangish color to match logo (adjustable) */
}

* {
    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(--white);
    /* Improve text rendering on mobile */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent text size adjustment on mobile */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    /* Larger tap targets for mobile */
    .btn,
    a.btn {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remove hover effects on touch devices */
    .service-card:hover,
    .feature:hover,
    .partner-card:hover {
        transform: none;
    }
    
    /* Add active states instead */
    .btn:active,
    .service-card:active,
    .feature:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

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

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

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 0;
}

.logo-img {
    height: 91px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

.logo-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-teal);
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-teal);
}

.nav-menu a.active {
    color: var(--primary-teal);
    font-weight: 600;
}

.btn-portal {
    background: var(--brand-orange);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(255, 138, 0, 0.15);
}

.btn-portal:hover {
    background: color-mix(in srgb, var(--brand-orange) 80%, black 20%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(255, 138, 0, 0.18);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-logo-section {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-logo {
    height: 240px;
    width: auto;
    margin-bottom: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(32, 178, 170, 0.4);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image i {
    font-size: 8rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: color-mix(in srgb, var(--brand-orange) 85%, black 15%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--brand-orange);
    border: 2px solid var(--brand-orange);
}

.btn-outline:hover {
    background: var(--brand-orange);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light-gray);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.approach-overview {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    border: 2px solid var(--primary-teal);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(32, 178, 170, 0.15);
    position: relative;
    overflow: hidden;
}

.approach-overview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-teal), var(--secondary-blue));
    border-radius: 20px 20px 0 0;
}

.approach-overview p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
    text-align: justify;
    max-width: none;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.2);
}

.service-icon i {
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.about-image {
    text-align: center;
}

.about-image i {
    font-size: 6rem;
    color: var(--primary-teal);
    opacity: 0.7;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: #e0e0e0;
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.footer-section strong {
    color: #f0f0f0;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta h2 {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .cta p {
        font-size: 1rem;
    }

    /* Improve button spacing on mobile */
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Better card padding on mobile */
    .service-card,
    .feature {
        padding: 1.5rem;
    }

    /* Improve text readability */
    body {
        font-size: 16px;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 0.9rem;
        display: none; /* Hide on very small screens to save space */
    }

    .logo-img {
        height: 60px; /* Smaller logo on mobile */
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
    }

    .services,
    .about-preview,
    .features,
    .cta {
        padding: 50px 0;
    }

    .container {
        padding: 0 15px; /* Tighter margins on small screens */
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Stack buttons vertically with full width */
    .hero-buttons .btn {
        width: 100%;
    }
}

/* Animation and Transitions */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* FAQ Page Styles */
.page-hero {
    /* Use brand gradient (teal → blue) to match site color scheme */
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
}

/* Blog byline style */
.page-hero .byline {
    margin-top: 0.5rem;
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    font-size: 1rem;
    opacity: 0.95;
}

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

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.faq-section {
    padding: 80px 0;
}

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

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: var(--primary-teal);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-contact {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.faq-contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.faq-contact p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Pricing Page Styles */
.pricing-intro {
    padding: 60px 0;
    background: var(--light-gray);
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.intro-icon {
    text-align: center;
}

.intro-icon i {
    font-size: 5rem;
    color: var(--primary-blue);
    opacity: 0.7;
}

.pricing-cards {
    padding: 80px 0;
}

.pricing-cards h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Make pricing cards more compact for 4-column layout */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Adjust padding for smaller screens */
@media (max-width: 1200px) {
    .pricing-card {
        padding: 2rem;
    }
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary-blue);
    transform: scale(1.02);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

/* Reduce featured card scaling on mobile */
@media (max-width: 1200px) {
    .pricing-card.featured {
        transform: scale(1.05);
    }
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 1rem;
}

.pricing-header h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 0.3rem;
}

.duration {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Increase spacing for tablets */
@media (max-width: 1200px) {
    .pricing-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .pricing-header h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .price {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    .duration {
        font-size: 1rem;
    }
}

.pricing-features {
    list-style: none;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.pricing-features i {
    color: var(--success-green);
    margin-right: 0.6rem;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: auto;
}

/* Increase spacing for tablets */
@media (max-width: 1200px) {
    .pricing-features {
        margin-bottom: 1.5rem;
    }

    .pricing-features li {
        margin-bottom: 0.75rem;
        font-size: 1rem;
    }

    .pricing-features i {
        margin-right: 0.75rem;
        font-size: 1rem;
    }

    .pricing-note {
        font-size: 0.9rem;
    }
}

.payment-options {
    padding: 80px 0;
    background: var(--light-gray);
}

.payment-options h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.payment-option {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.payment-icon {
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.2);
}

.payment-icon i {
    font-size: 2rem;
}

.payment-option h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.payment-option p {
    color: var(--text-light);
    line-height: 1.6;
}

.insurance-info {
    padding: 80px 0;
}

.insurance-info h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.insurance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.insurance-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: var(--primary-teal);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.insurance-tips {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

.insurance-tips h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.insurance-tips ul {
    list-style: none;
}

.insurance-tips li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.insurance-tips li::before {
    content: "•";
    color: var(--primary-teal);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.good-faith-estimate {
    padding: 60px 0;
    background: var(--light-gray);
}

.gfe-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.gfe-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.gfe-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.gfe-text a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.gfe-text a:hover {
    text-decoration: underline;
}

.gfe-icon {
    text-align: center;
}

.gfe-icon i {
    font-size: 5rem;
    color: var(--primary-teal);
    opacity: 0.7;
}

.pricing-cta {
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.pricing-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Patient Portal Page Styles */
.portal-intro {
    padding: 60px 0;
    background: var(--light-gray);
}

.portal-features {
    list-style: none;
    margin-top: 1.5rem;
}

.portal-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.portal-features i {
    color: var(--primary-teal);
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 20px;
}

.launch-notice {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-teal));
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.2);
}

.launch-notice strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.launch-notice p {
    margin: 0;
    opacity: 0.95;
}

.portal-access {
    padding: 80px 0;
}

.portal-access h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.portal-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.portal-option-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portal-icon {
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.2);
}

.portal-icon i {
    font-size: 2rem;
}

.portal-option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.portal-option-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.portal-features-detailed {
    padding: 80px 0;
    background: var(--light-gray);
}

.portal-features-detailed h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-detailed {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-detailed:hover {
    transform: translateY(-3px);
}

.feature-detailed-icon {
    background: var(--primary-teal);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-detailed-icon i {
    font-size: 1.5rem;
}

.feature-detailed-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-detailed-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.getting-started {
    padding: 80px 0;
}

.getting-started h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.step-number {
    background: var(--primary-teal);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.portal-security {
    padding: 60px 0;
    background: var(--light-gray);
}

.security-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.security-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.security-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.security-features {
    list-style: none;
}

.security-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.security-features i {
    color: var(--success-green);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.security-icon {
    text-align: center;
}

.security-icon i {
    font-size: 5rem;
    color: var(--primary-teal);
    opacity: 0.7;
}

.portal-support {
    padding: 80px 0;
}

.portal-support h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-option {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.support-icon {
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.2);
}

.support-icon i {
    font-size: 1.5rem;
}

.support-option h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.support-option p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.support-option strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.portal-cta {
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.portal-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.portal-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-teal);
}

/* Contact Form Styles */
.contact-form-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-form-section > .container > p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.inquiry-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
}

.form-group input:invalid {
    border-color: var(--warning-yellow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-notice {
    background: var(--medium-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-teal);
}

.form-notice p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.form-notice strong {
    color: var(--text-dark);
}

.form-submit {
    text-align: center;
}

.btn-text,
.btn-loading {
    transition: opacity 0.3s ease;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-loading i {
    font-size: 1rem;
}

.form-message {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Form Styles */
@media (max-width: 768px) {
    .contact-form-section h2 {
        font-size: 2rem;
    }

    .inquiry-form {
        padding: 2rem;
        margin: 0 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem;
    }
}

/* About Page Styles */
.doctor-bio {
    padding: 80px 0;
    background: var(--light-gray);
}

.bio-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.bio-image {
    text-align: center;
}

.bio-image i {
    font-size: 8rem;
    color: var(--primary-teal);
    opacity: 0.7;
}

.dr-nash-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dr-nash-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(32, 178, 170, 0.4);
}

.bio-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.bio-text h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-teal);
}

.bio-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.philosophy {
    padding: 80px 0;
}

.philosophy h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.philosophy-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.philosophy-icon {
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.2);
}

.philosophy-icon i {
    font-size: 2rem;
}

.philosophy-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.philosophy-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.expertise {
    padding: 80px 0;
    background: var(--light-gray);
}

.expertise h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.expertise-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.expertise-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.expertise-item h3 i {
    color: var(--primary-teal);
    font-size: 1.2rem;
    width: 24px;
}

.expertise-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin-left: 2.2rem;
}

.expertise-visual {
    text-align: center;
}

.expertise-visual i {
    font-size: 6rem;
    color: var(--primary-teal);
    opacity: 0.7;
}

.credentials {
    padding: 80px 0;
}

.credentials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.credential-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.credential-item:hover {
    transform: translateY(-3px);
}

.credential-icon {
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.2);
}

.credential-icon i {
    font-size: 1.8rem;
}

.credential-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.credential-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.approach {
    padding: 80px 0;
    background: var(--light-gray);
}

.approach-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.approach-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.approach-image {
    text-align: center;
}

.approach-image i {
    font-size: 5rem;
    color: var(--primary-teal);
    opacity: 0.7;
}

.practice-details {
    padding: 80px 0;
}

.practice-details h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.detail-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.detail-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.detail-item h3 i {
    color: var(--primary-teal);
    font-size: 1.2rem;
}

.detail-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-cta {
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Active navigation state */
.nav-menu a.active {
    color: var(--primary-teal);
    font-weight: 600;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .bio-content,
    .expertise-content,
    .approach-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bio-text,
    .approach-text {
        text-align: center;
    }

    .bio-image i,
    .expertise-visual i,
    .approach-image i {
        font-size: 5rem;
    }

    .dr-nash-photo {
        max-width: 280px;
    }

    .expertise-item p {
        margin-left: 0;
    }
}

/* Responsive Design for Patient Portal */
@media (max-width: 768px) {
    .intro-content,
    .security-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-text,
    .security-text {
        text-align: center;
    }

    .feature-detailed {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .feature-detailed-icon {
        margin: 0 auto;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Responsive Design for Pricing */
@media (max-width: 768px) {
    .intro-content,
    .insurance-content,
    .gfe-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-text,
    .gfe-text {
        text-align: center;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

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

    .step-number {
        margin: 0 auto 1rem;
    }
}

/* How it Works Section */
.how-it-works {
    padding: 60px 0;
    background: var(--white);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.how-it-works-steps {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    border-radius: 15px;
    border-left: 4px solid var(--primary-teal);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-teal), var(--accent-teal));
    opacity: 0.8;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(32, 178, 170, 0.15);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(32, 178, 170, 0.25);
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.step-content {
    flex: 1;
    padding-top: 0.2rem;
}

.step-content p {
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

/* Responsive Design for How it Works */
@media (max-width: 768px) {
    .how-it-works {
        padding: 40px 0;
    }

    .how-it-works h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .how-it-works-steps {
        gap: 1rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1rem 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin: 0 auto;
    }

    .step-content {
        padding-top: 0;
    }

    .step-content p {
        font-size: 0.95rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Blog Page Styles */
.blog-content {
    padding: 80px 0;
    background: var(--white);
}

/* Newsletter Section */
.blog-newsletter {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-blue) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(32, 178, 170, 0.2);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 1rem;
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-input-group input {
    flex: 1;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter-input-group button {
    padding: 1rem 1.5rem;
    border: 2px solid var(--white);
    background: var(--white);
    color: var(--primary-teal);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-input-group button:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.newsletter-note {
    color: var(--white);
    opacity: 0.8;
    font-size: 0.9rem;
}

.newsletter-note i {
    margin-right: 0.5rem;
}

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

.blog-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    opacity: 0.9;
}

.blog-content-card {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-category {
    background: var(--primary-teal);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-content-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.author-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.author-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.blog-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.placeholder-icon {
    font-size: 4rem;
    color: var(--primary-teal);
    margin-bottom: 2rem;
    opacity: 0.7;
}

.blog-placeholder h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-placeholder p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Blog Categories Section */
.blog-categories {
    padding: 80px 0;
    background: var(--light-gray);
}

.blog-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-icon {
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.2);
}

.category-icon i {
    font-size: 2rem;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.category-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Blog Article Page Styles */
.article-header {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    text-align: center;
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.article-content {
    padding: 80px 0;
    background: var(--white);
}

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

.article-container h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--text-dark);
}

.article-container h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.article-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.article-container ul,
.article-container ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-container li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.article-blockquote {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-teal);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.article-blockquote p {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
}

.article-footer {
    padding: 40px 0;
    background: var(--light-gray);
    text-align: center;
}

.author-bio {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.author-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-bio-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.author-bio-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Related Articles */
.related-articles {
    padding: 60px 0;
    background: var(--white);
}

.related-articles h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .article-container {
        padding: 0 1rem;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .blog-placeholder {
        padding: 3rem 1rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}