.nav-item .dropdown-menu {
    margin-top: -5px;
    min-width: 12rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1) !important;
}
.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #eee;
}

.ftco-navbar-light .navbar-toggler {
    color: #fff !important;
    font-size: 22px;
}
.contact-form .error {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    background-color: #f00;
    border-radius: 5px;
    padding: 0 5px;
}

div#formMessage p {
    margin: 0;
    background: #fff;
    padding: 10px 20px;
}
section.ftco-intro {
    background: #589167;
    margin-top: -50px;
    position: relative;
}

.ftco-intro .intro {
    margin-top: 0 !important;
}
ul.footer-links {
    list-style: none;
    display: flex;
    justify-content: end;
    gap: 15px;
    margin: 0;
}

.navbar-brand img {
    max-height: 60px;
}
.ftco-footer-social li {
    margin-right: 0;
}
.ftco-footer-social li a {
    width: 30px;
    height: 30px;
}

/* =========================================================
   FAQ Section — 2-column card layout
   ========================================================= */
.faq-section {
    margin: 50px 0 30px;
}
.faq-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}
.faq-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #1a73e8;
    margin: 10px auto 30px;
    border-radius: 2px;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
.faq-item {
    border: 1px solid #1a73e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(26, 115, 232, 0.06);
    transition: box-shadow 0.2s ease;
}
.faq-item:hover {
    box-shadow: 0 4px 16px rgba(26, 115, 232, 0.18);
}
.faq-question-btn {
    width: 100%;
    background: #fff;
    border: none;
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: #000;
    transition: background 0.2s ease, color 0.2s ease;
    outline: none;
    gap: 12px;
    line-height: 1.5;
}
.faq-question-btn:hover {
    background: #eef3fc;
    color: #1a73e8;
}
.faq-question-btn[aria-expanded="true"] {
    background: #eef3fc;
    color: #1a73e8;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #1a73e8;
}
.faq-icon {
    font-size: 1.3rem;
    font-weight: 300;
    color: #1a73e8;
    min-width: 22px;
    text-align: center;
    transition: transform 0.25s ease;
    line-height: 1.4;
    flex-shrink: 0;
}
.faq-question-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}
.faq-answer-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
    padding: 0 20px;
}
.faq-answer-body.faq-open {
    max-height: 600px;
    padding: 14px 20px 18px;
}
.faq-answer-body p {
    margin: 0;
    color: #222;
    font-size: 0.9rem;
    line-height: 1.7;
}
/* =========================================================
   End FAQ Section
   ========================================================= */

/* =========================================================
   Mega Dropdown Menu — Services (2-column grid)
   ========================================================= */
.mega-dropdown {
    position: static !important;
}
.mega-dropdown-menu {
    width: 700px !important;
    max-width: 95vw;
    left: auto !important;
    right: 0 !important;
    padding: 20px 10px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.13) !important;
    border: 1px solid #e2ede6 !important;
    background: #fff !important;
}
.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 10px;
}
.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 0.87rem;
    font-weight: 500;
    color: #2d4a35;
    border-radius: 7px;
    text-decoration: none !important;
    transition: background 0.18s ease, color 0.18s ease;
    line-height: 1.4;
}
.mega-menu-item:hover {
    background: #f0f8f3;
    color: #589167;
    text-decoration: none !important;
}
.mega-menu-arrow {
    color: #589167;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}
.mega-menu-item:hover .mega-menu-arrow {
    transform: translateX(3px);
}
@media (max-width: 991px) {
    .mega-dropdown-menu {
        width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        padding: 5px 0 !important;
    }
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .mega-menu-item {
        padding: 10px 20px;
        border-radius: 0;
        font-size: 0.9rem;
        border-bottom: 1px solid #f0f0f0;
    }
}
/* =========================================================
   End Mega Dropdown Menu
   ========================================================= */

/* =========================================================
   Specialty Service Page — Content Styles
   ========================================================= */
.specialty-page-content {
    padding-bottom: 20px;
}
.specialty-intro-section {
    margin-bottom: 30px;
}
.specialty-intro-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #444;
    border-left: 4px solid #589167;
    padding-left: 18px;
    background: #f6faf7;
    padding: 18px 20px;
    border-radius: 0 8px 8px 0;
}
.specialty-body-section,
.specialty-services-list-section,
.specialty-why-section {
    margin-bottom: 36px;
}
.specialty-body-section h2,
.specialty-services-list-section h2,
.specialty-why-section h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #2d4a35;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dde8e1;
}
.specialty-key-services {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}
.specialty-key-services li {
    position: relative;
    padding-left: 22px;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
}
.specialty-key-services li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #589167;
    font-size: 0.85rem;
    top: 2px;
}
@media (max-width: 600px) {
    .specialty-key-services {
        grid-template-columns: 1fr;
    }
}
/* Why Choose Us — 2x2 grid */
.specialty-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.specialty-why-card {
    background: #f6faf7;
    border: 1px solid #dde8e1;
    border-radius: 10px;
    padding: 20px;
    transition: box-shadow 0.2s ease;
}
.specialty-why-card:hover {
    box-shadow: 0 4px 16px rgba(88,145,103,0.13);
}
.specialty-why-icon {
    color: #589167;
    font-size: 0.85rem;
    margin-right: 6px;
}
.specialty-why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #2d4a35;
    margin-bottom: 8px;
}
.specialty-why-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 600px) {
    .specialty-why-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   End Specialty Service Page Content
   ========================================================= */

/* =========================================================
   Other Medical Billing Specialties We Serve — Grid
   ========================================================= */
.other-specialties-section {
    margin-top: 50px;
    padding-top: 36px;
    border-top: 2px solid #dde8e1;
}
.other-specialties-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
}
.other-specialties-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #1a73e8;
    margin: 10px auto 30px;
    border-radius: 2px;
}
.other-specialties-intro {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 991px) {
    .specialty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .specialty-grid {
        grid-template-columns: 1fr;
    }
}
.specialty-card {
    background: #f6faf7;
    border: 1px solid #dde8e1;
    border-radius: 10px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: box-shadow 0.22s ease, transform 0.18s ease;
}
.specialty-card:hover {
    box-shadow: 0 6px 22px rgba(88, 145, 103, 0.16);
    transform: translateY(-2px);
}
.specialty-card-icon {
    color: #589167;
    font-size: 1.1rem;
    line-height: 1;
}
.specialty-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d4a35;
    margin: 0;
    line-height: 1.4;
}
.specialty-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #589167;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.18s ease;
}
.specialty-card-link:hover {
    color: #2d4a35;
    text-decoration: none;
}
/* =========================================================
   End Other Specialties Grid
   ========================================================= */

/* =========================================================
   Page Top Title Section (pill badge + meta_title + meta_description)
   ========================================================= */
.page-top-title-section {
    background: #fff;
    padding: 48px 0 24px;
}
.page-top-title-badge {
    display: inline-block;
    background: #efefef;
    color: #333;
    border-radius: 50px;
    padding: 6px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 18px;
}
.page-top-meta-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 16px;
}
.page-top-meta-desc {
    font-size: 1rem;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}
@media (max-width: 767px) {
    .page-top-meta-title { font-size: 1.7rem; }
    .page-top-title-section { padding: 32px 0 16px; }
}
/* =========================================================
   End Page Top Title Section
   ========================================================= */

/* =========================================================
   Page Banner Hero — 2-Column Layout (AnnexMed style)
   ========================================================= */
.page-banner-hero {
    background: #f7f8f9;
    padding: 60px 0 50px;
}
.page-banner-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 22px;
}
.page-banner-text .content {
    font-size: 0.97rem;
    line-height: 1.9;
    color: #555;
    text-align: justify;
}
.page-banner-image-col {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.page-banner-image-wrap {
    background: #ececec;
    border-radius: 18px;
    padding: 10px;
    box-shadow: 10px 10px 35px rgba(0, 0, 0, 0.10);
    display: inline-block;
}
.page-banner-image {
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    display: block;
    object-fit: cover;
}
@media (max-width: 767px) {
    .page-banner-hero {
        padding: 36px 0 30px;
    }
    .page-banner-title {
        font-size: 1.7rem;
    }
    .page-banner-image-col {
        margin-top: 28px;
    }
}
/* =========================================================
   End Page Banner Hero
   ========================================================= */
.page-banner-desc {
    font-size: 0.96rem;
    line-height: 1.85;
    color: #555;
    text-align: justify;
    margin-bottom: 18px;
}
.page-banner-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.page-banner-kw-badge {
    display: inline-block;
    background: #eef4f0;
    color: #2d4a35;
    border: 1px solid #c8ddd0;
    border-radius: 20px;
    padding: 4px 13px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}
/* =========================================================
   End Page Banner Meta Badges
   ========================================================= */

.page-top-keywords-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.page-content-section {
    background: #fff;
    padding-top: 50px;
    padding-bottom: 70px;
}

.page-content-section .content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #444;
}

/* =========================================================
   Custom Services Grid Section [GRID]...[/GRID]
   ========================================================= */
.services-grid-section {
    margin: 40px 0;
    padding: 30px 0;
}
.services-grid-section-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
    position: relative;
}
.services-grid-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #1a73e8;
    margin: 10px auto 30px;
    border-radius: 2px;
}
.services-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 991px) {
    .services-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .services-grid-container {
        grid-template-columns: 1fr;
    }
    .services-grid-section-title {
        font-size: 1.6rem;
    }
}
.services-grid-item {
    background: #fff;
    border: 1px solid #1a73e8;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(26,115,232,0.04);
    transition: all 0.2s ease;
}
.services-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,115,232,0.12);
    border-color: #1565c0;
}
.services-grid-icon {
    color: #1a73e8;
    font-size: 1.25rem;
    line-height: 1;
}
.services-grid-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.4;
}
.services-grid-item-content {
    font-size: 0.9rem;
    color: #222;
    line-height: 1.65;
    margin: 0;
}

/* =========================================================
   Contact Form Section — clean white, responsive
   ========================================================= */

/* Remove green overlay */
.ftco-appointment .overlay {
    background: #1a73e8 !important;
    opacity: 0.08 !important;
}

/* Section background */
.ftco-appointment {
    background-color: #f4f7fb !important;
}

/* Title */
.ftco-appointment .half h2 {
    color: #1a1a1a !important;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
}

/* Form card */
.ftco-appointment .appointment {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 4px 24px rgba(26, 115, 232, 0.08);
    border: 1px solid #dce8fc;
}

/* Inputs */
.ftco-appointment .appointment .form-control {
    border: 1px solid #cdd9f0 !important;
    border-radius: 8px !important;
    background: #f9fbff !important;
    color: #1a1a1a !important;
    font-size: 0.95rem !important;
    height: 48px !important;
    padding: 10px 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ftco-appointment .appointment .form-control:focus {
    border-color: #1a73e8 !important;
    box-shadow: 0 0 0 3px rgba(26,115,232,0.12) !important;
    background: #fff !important;
}
.ftco-appointment .appointment textarea.form-control {
    height: auto !important;
    min-height: 120px;
    resize: vertical;
}
.ftco-appointment .appointment .form-control::placeholder {
    color: #9aadcc !important;
    font-weight: 400;
}

/* Submit button */
.ftco-appointment .appointment .btn-primary {
    background: #1a73e8 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 13px 30px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    width: 100%;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.ftco-appointment .appointment .btn-primary:hover,
.ftco-appointment .appointment .btn-primary:focus {
    background: #1558b0 !important;
    box-shadow: 0 4px 14px rgba(26,115,232,0.3) !important;
}

/* Responsive — stack form fields on mobile */
@media (max-width: 767px) {
    .ftco-appointment .half h2 {
        font-size: 1.4rem;
    }
    .ftco-appointment .appointment {
        padding: 20px 14px;
    }
    .ftco-appointment .appointment .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .ftco-appointment .appointment .form-group {
        margin-bottom: 12px;
    }
}

/* =========================================================
   End Contact Form Section
   ========================================================= */
