/* ==========================================================================
   Codontix Brand Color Overrides
   Loaded AFTER style.css to override medicalcenter template defaults.

   Color Mappings:
     #0f61ef  (primary theme)       -> #5D7CE9
     #1f2b7b  (dark accent)         -> #4A63C9
     #0d4ac4  (button bg)           -> #5D7CE9
     #396cf0, #3957ff (hero/footer) -> #5D7CE9
     gradient rgb(36,192,241)->rgb(76,154,254)
           -> rgb(93,124,233)->rgb(74,99,201)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Header Navigation
   -------------------------------------------------------------------------- */
.main-menu ul li a:hover,
.main-menu ul li .active {
    color: #5D7CE9 !important;
}

/* --------------------------------------------------------------------------
   2. Header Button
   -------------------------------------------------------------------------- */
.header-btn {
    background: #5D7CE9 !important;
    border-color: #5D7CE9 !important;
}

.header-btn:hover {
    background: #4A63C9 !important;
    border-color: #4A63C9 !important;
}

/* --------------------------------------------------------------------------
   3. Hero Section
   -------------------------------------------------------------------------- */
.slider-area {
    background-image: none;
    background-color: #cdc7ef;
}

.slider-area .single-slider {
    background-color: #cdc7ef;
    background-image: url("../img/hero/h1_hero.webp");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto;
}

.slider-area .hero__caption h1 {
    font-size: clamp(3rem, 4.5vw, 4rem);
    line-height: 1.05;
}

.slider-area .hero__caption .hero-lead,
.slider-area .hero__caption .hero-note {
    font-size: clamp(1.1rem, 1.6vw, 1.25rem) !important;
    line-height: 1.45;
    margin-bottom: 20px !important;
    padding-right: 0 !important;
}

.slider-area .hero__caption .hero-footnote {
    font-size: 1rem !important;
    line-height: 1.45;
    opacity: 0.85;
    margin: 12px 0 0 !important;
    padding-right: 0 !important;
}

.slider-area .hero__caption {
    min-width: 600px;
}

@media (max-width: 1439px) {
    .slider-area .single-slider > .container > .row {
        justify-content: center;
    }

    .slider-area .single-slider > .container > .row > [class*="col-"] {
        display: flex;
        justify-content: center;
    }

    .slider-area .hero__caption {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .slider-area .hero__caption {
        min-width: auto;
        padding-bottom: 24px;
    }
    .slider-area .single-slider {
        height: auto !important;
        min-height: 0;
        padding: 48px 0 56px;
    }
    .slider-area .hero__caption h1 {
        font-size: clamp(2.25rem, 9vw, 3rem);
        line-height: 1.12;
        margin-bottom: 18px;
    }
    .slider-area .hero__caption .cd-headline {
        font-size: 1.15rem !important;
        line-height: 1.35;
    }
    .slider-area .hero__caption .hero-lead,
    .slider-area .hero__caption .hero-note {
        font-size: 1rem !important;
        line-height: 1.55;
    }
    .slider-area .hero__caption .hero-footnote {
        font-size: 0.85rem !important;
    }

    /* Comparison table — prevent horizontal scroll, wrap text instead */
    .table-responsive {
        overflow-x: visible !important;
    }
    .table-responsive .table {
        table-layout: fixed !important;
        width: 100% !important;
        font-size: 16px !important;
    }
    .table-responsive .table td:first-child,
    .table-responsive .table th:first-child {
        white-space: normal !important;
        word-break: keep-all !important;
        width: 26% !important;
        padding: 10px 8px !important;
    }
    .table-responsive .table td,
    .table-responsive .table th {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        padding: 10px 8px !important;
    }

    /* FAQ accordion — readable question text, allow wrapping */
    #faqAccordion .btn {
        font-size: 16px !important;
        white-space: normal !important;
        text-align: left !important;
        padding: 14px 16px !important;
    }

    /* Blog tags — own line above title */
    .blog_details .blog-info-link {
        display: block !important;
        overflow: hidden !important;
        margin-bottom: 10px !important;
    }
    .blog_details .blog-info-link li {
        float: none !important;
        display: block !important;
    }
    .blog_details .blog-info-link + a {
        display: block !important;
        clear: both !important;
    }

    /* CTA buttons — fit both on one line */
    .section-padding2 .about-btn,
    .section-padding2 .hero-btn {
        padding: 10px 16px !important;
        font-size: 16px !important;
    }
    .section-padding2 .about-btn {
        margin-right: 8px !important;
    }

    /* Center the Contact Info footer column */
    .footer-area .single-footer-caption .footer-tittle {
        text-align: center;
    }
    .footer-area .footer-social {
        width: 100% !important;
        justify-content: center !important;
    }
    .footer-area .footer-social a {
        padding-right: 0 !important;
    }

    .ti-arrow-right {
        left: 0px !important;
    }

    .btn {
        padding: 18px 40px 18px 40px !important;
    }

    /* Contact page — center contact info block */
    .media.contact-info {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .media.contact-info .media-body {
        text-align: center !important;
    }
    .contact-info__icon {
        padding-bottom: 8px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .slider-area .hero__caption h1 {
        font-size: clamp(3rem, 6vw, 4rem);
    }
    .slider-area .hero__caption .cd-headline {
        font-size: 1.35rem !important;
    }
}

.slider-area .hero__caption span,
.hero__caption > span {
    color: #5D7CE9 !important;
    font-weight: 800;
    display: inline-flex !important;
    align-items: center;
    gap: 15px;
    padding-left: 0 !important;
}

.hero__caption > span::before {
    content: "" !important;
    position: static !important;
    transform: none !important;
    width: 70px !important;
    height: 2px !important;
    background: #5D7CE9 !important;
    flex-shrink: 0;
}

.hero__caption > span::after {
    content: "";
    width: 70px;
    height: 2px;
    background: #5D7CE9;
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .hero__caption > span::before,
    .hero__caption > span::after {
        width: 32px !important;
    }
}

/* Remove inherited hero-caption span styles from the animated words wrapper */
.hero__caption .cd-words-wrapper {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    font-size: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.hero__caption .cd-words-wrapper::before {
    display: none !important;
}

/* Left-align all rotating words consistently */
.hero__caption .cd-words-wrapper b {
    text-align: left !important;
}

@media (min-width: 1200px) {
    .slider-area .hero__caption {
        transform: none;
    }
}

@media (min-width: 1200px) {
    .slider-area .single-slider {
        background-color: #cdc7ef;
        background-position: max(0px, calc((100vw - 1920px) / 2)) top;
        background-repeat: no-repeat;
        background-size: auto;
        overflow: hidden;
    }

    .slider-area .single-slider::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: max(0px, calc((100vw - 1920px) / 2));
        background-image: url("../img/hero/h1_hero.webp");
        background-position: left top;
        background-repeat: no-repeat;
        transform: scaleX(-1);
        z-index: -2;
        pointer-events: none;
    }

    .slider-area .single-slider > .container {
        position: relative;
        z-index: 1;
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .slider-area .single-slider > .container > .row {
        justify-content: flex-start;
        margin-left: 0;
        margin-right: 0;
    }

    .slider-area .single-slider > .container > .row > [class*="col-"] {
        display: block;
        flex: 0 0 600px;
        max-width: 600px;
        margin-left: max(310px, calc((100vw - 1920px) / 2 + 310px));
        padding-left: 0;
        padding-right: 0;
    }

    .slider-area .hero__caption {
        width: 600px;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-btn {
    background: #5D7CE9 !important;
    border-color: #5D7CE9 !important;
}

.hero-btn:hover {
    background: #4A63C9 !important;
    border-color: #4A63C9 !important;
}

.index-hero-cta {
    padding: 1.05em 2.7em !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
}

@media (max-width: 575px) {
    .index-hero-cta {
        padding: 0.9em 2em !important;
        font-size: 1.0625rem !important;
    }
}

/* --------------------------------------------------------------------------
   4. Section Titles
   -------------------------------------------------------------------------- */
.section-tittle {
    text-align: center !important;
}

.section-tittle h2 {
    text-align: center !important;
}

.section-tittle span {
    color: #5D7CE9 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-left: 0 !important;
}

.section-tittle span::before {
    position: static !important;
    transform: none !important;
    flex-shrink: 0;
    background: #5D7CE9 !important;
}

.section-tittle span::after {
    content: "";
    width: 50px;
    height: 2px;
    background: #5D7CE9;
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .section-tittle span::before,
    .section-tittle span::after {
        width: 40px !important;
    }
}

/* --------------------------------------------------------------------------
   5. About Buttons
   -------------------------------------------------------------------------- */
.about-btn {
    background: #5D7CE9 !important;
    border-color: #5D7CE9 !important;
    padding: 19px 22px 19px 20px !important;
}

.about-btn:hover {
    background: #4A63C9 !important;
    border-color: #4A63C9 !important;
}

/* --------------------------------------------------------------------------
   6. Department Tabs
   -------------------------------------------------------------------------- */
.depart_ment_tab .nav-link.active,
.depart_ment_tab .nav-link:hover {
    background: linear-gradient(to right, #5D7CE9, #4A63C9) !important;
    background: -webkit-linear-gradient(to right, #5D7CE9, #4A63C9) !important;
    border-color: #5D7CE9 !important;
    color: #fff !important;
}

.depart_ment_tab .nav-link.active i,
.depart_ment_tab .nav-link:hover i {
    color: #fff !important;
}

.depart_ment_tab .nav-link:hover h4 {
    color: #fff !important;
}

.depart_ment_tab .tab-content .dept_info {
    background: linear-gradient(to right, #5D7CE9, #4A63C9) !important;
    padding: 30px;
    border-radius: 4px;
}

.depart_ment_tab .tab-content .dept_info h2,
.depart_ment_tab .tab-content .dept_info h3,
.depart_ment_tab .tab-content .dept_info h4,
.depart_ment_tab .tab-content .dept_info p,
.depart_ment_tab .tab-content .dept_info li,
.depart_ment_tab .tab-content .dept_info a {
    color: #fff !important;
}

/* Department tab equal sizing */
.depart_ment_tab .nav {
    display: flex !important;
    flex-wrap: wrap !important;
}

.depart_ment_tab .nav-item {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 10px !important;
}

.depart_ment_tab .nav-item:first-child {
    margin-left: 0 !important;
}

.depart_ment_tab .nav-item:last-child {
    margin-right: 0 !important;
}

/* Non-selected tab: light blue background */
.depart_ment_tab .nav-link {
    background: #eceef9 !important;
}

/* Allow line breaks in tab titles */
.depart_ment_tab .nav li a h4 br {
    display: inline !important;
}

/* Department tab PNG icons — no color filter, just display the black outline PNGs as-is */
.dept-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
}

.depart_ment_tab .nav-link.active .dept-icon,
.depart_ment_tab .nav-link:hover .dept-icon {
    filter: brightness(0) invert(1);
}

.dep-btn {
    color: #5D7CE9 !important;
}

.dep-btn:hover {
    background: #5D7CE9 !important;
    border-color: #5D7CE9 !important;
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   7. Testimonial Section
   -------------------------------------------------------------------------- */
.testimonial-caption .testimonial-top-cap p {
    color: #5D7CE9 !important;
}

.testimonial-caption .testimonial-top-cap span,
.testimonial-caption .testimonial-top-cap .quotes-icon {
    color: #5D7CE9 !important;
}

/* --------------------------------------------------------------------------
   8. Team Social Hover
   -------------------------------------------------------------------------- */
.team-social a:hover {
    background: #5D7CE9 !important;
    border-color: #5D7CE9 !important;
}

.specialist-section-title {
    text-align: center;
    color: #5D7CE9;
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 2rem;
}

.specialist-photo-wrap,
.specialist-caption {
    text-align: center;
}

.specialist-photo {
    width: min(350px, 100%) !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50% !important;
    border: 4px solid #5D7CE9;
    display: block;
    margin: 0 auto;
}

.specialist-name {
    font-size: 1.8rem;
    font-weight: 800;
}

.specialist-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.specialist-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #5D7CE9;
    color: #fff;
    font-size: 1.2rem;
    border: 0;
    cursor: pointer;
}

.specialist-link:hover {
    color: #fff;
    background: #4A63C9;
}

.education-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.education-modal-dialog {
    background: #fff;
    border-radius: 12px;
    padding: 35px 40px;
    max-width: 540px;
    width: 90%;
    text-align: left;
    position: relative;
}

.education-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.education-modal-title {
    margin: 0 0 20px;
    font-weight: 800;
    font-size: 1.3rem;
}

.education-modal-item {
    margin: 0 0 10px;
    color: #555;
}

.education-modal-item-last {
    margin-bottom: 0;
}

.license-map-section {
    margin: 56px auto 0;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.license-map-copy {
    margin-bottom: 18px;
    text-align: center;
    width: 100%;
}

.license-map-eyebrow {
    display: block;
    color: #5D7CE9;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    margin-bottom: 14px;
}

.license-map-copy h3 {
    font-size: 2.4rem;
    font-weight: 900 !important;
    line-height: 1.08;
    margin-bottom: 0;
}

.license-map {
    width: 100%;
    aspect-ratio: 12 / 7;
}

.license-map-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.license-map-svg path {
    transition: fill 0.18s ease, opacity 0.18s ease;
}

.license-map-svg path:hover {
    opacity: 0.84;
}

.license-map-status {
    color: #69758f;
    font-size: 0.9rem !important;
    line-height: 1.4;
    margin: 12px 0 0;
    text-align: center;
}

@media (max-width: 991px) {
    .license-map-section {
        margin-top: 42px;
    }

    .license-map-copy h3 {
        font-size: 2.1rem;
    }
}

@media (max-width: 575px) {
    .license-map-copy h3 {
        font-size: 1.85rem;
    }
}

/* --------------------------------------------------------------------------
   9. Blog Dates & Read More
   -------------------------------------------------------------------------- */
.date-info span {
    background: #5D7CE9 !important;
}

.blog_item_date,
.blog_item_date:hover {
    background: #5D7CE9 !important;
    text-decoration: none;
    opacity: 1;
}

.read-more1:hover {
    color: #5D7CE9 !important;
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.footer-area .footer-number h4 span {
    color: #5D7CE9 !important;
}

.footer-social a:hover {
    color: #5D7CE9 !important;
}

.newsletter-submit,
.email_icon {
    background: #5D7CE9 !important;
    border-color: #5D7CE9 !important;
}

.newsletter-submit:hover,
.email_icon:hover {
    background: #4A63C9 !important;
    border-color: #4A63C9 !important;
}

.footer-area a:hover {
    color: #5D7CE9 !important;
}

.footer-main-row {
    row-gap: 12px;
}

.footer-brand-caption {
    text-align: center;
}

.footer-brand-caption .footer-logo {
    display: flex;
    justify-content: center;
    letter-spacing: 0.1em;
}

.footer-brand-name {
    color: #fff;
    font-size: 18px;
    margin: 10px 0 0;
    line-height: 1.2;
}

.footer-brand-name span {
    font-weight: 900;
}

.footer-brand-name span:last-child {
    color: #5D7CE9;
}

.footer-links-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.footer-tittle ul li a {
    font-size: 16px !important;
    font-weight: 600 !important;
}

.footer-tittle h4 {
    font-size: 18px !important;
}

.footer-logo {
    margin-bottom: 10px !important;
}

.footer-logo img {
    max-width: 120px !important;
    height: auto !important;
}

.footer-padding {
    padding-top: 60px !important;
    padding-bottom: 20px !important;
}

.footer-area .footer-bottom {
    padding-top: 15px !important;
    padding-bottom: 20px !important;
}

@media (max-width: 767px) {
    .footer-main-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 18px;
        row-gap: 28px;
        align-items: start;
    }

    .footer-brand-col,
    .footer-links-col,
    .footer-contact-col {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .footer-links-col {
        grid-column: 1;
    }

    .footer-contact-col {
        grid-column: 2;
    }

    .footer-area .single-footer-caption {
        margin-bottom: 0 !important;
    }

    .footer-brand-caption .footer-logo img {
        max-width: 120px !important;
    }

    .footer-brand-name {
        font-size: 18px !important;
        text-align: center;
    }

    .footer-links-grid {
        gap: clamp(18px, 6vw, 44px);
    }

    .footer-area .footer-tittle h4 {
        text-align: center !important;
        font-size: 16px !important;
        margin-bottom: 18px !important;
    }

    .footer-area .footer-tittle ul li {
        margin-bottom: 8px !important;
        text-align: center;
    }

    .footer-area .footer-tittle ul li a {
        font-size: 15px !important;
        line-height: 1.35;
    }

    .footer-contact-col .footer-tittle,
    .footer-contact-col .footer-tittle ul li {
        text-align: center !important;
    }

    .footer-contact-col a[href^="mailto:"] {
        display: inline-block;
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: 13px !important;
    }

    .footer-contact-col .footer-social {
        justify-content: center !important;
    }
}

@media (max-width: 359px) {
    .footer-main-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-links-col,
    .footer-contact-col {
        grid-column: 1 / -1;
    }
}

/* --------------------------------------------------------------------------
   11. Preloader
   -------------------------------------------------------------------------- */
.preloader-circle {
    border-top-color: #5D7CE9 !important;
}

/* --------------------------------------------------------------------------
   12. Back to Top
   -------------------------------------------------------------------------- */
#back-top,
#back-top a,
#scrollUp {
    background: #5D7CE9 !important;
}

#back-top:hover,
#back-top a:hover,
#scrollUp:hover {
    background: #4A63C9 !important;
}

/* --------------------------------------------------------------------------
   13. Pricing Cards (Custom)
   -------------------------------------------------------------------------- */
.pricing-card.featured {
    border-top: 4px solid #5D7CE9 !important;
}

.pricing-card.featured .pricing-btn,
.pricing-card .pricing-btn:hover {
    background: #5D7CE9 !important;
    border-color: #5D7CE9 !important;
}

/* --------------------------------------------------------------------------
   14. Blog Sidebar / Boxed Buttons
   -------------------------------------------------------------------------- */
.btn_1.boxed-btn,
.button-contactForm,
.primary-bg {
    background: #5D7CE9 !important;
    border-color: #5D7CE9 !important;
}

.btn_1.boxed-btn:hover,
.button-contactForm:hover,
.primary-bg:hover {
    background: #4A63C9 !important;
    border-color: #4A63C9 !important;
}

/* --------------------------------------------------------------------------
   15. Contact Section
   -------------------------------------------------------------------------- */
.contact-section .alert {
    font-size: 16px !important;
}

.contact-patient-alert {
    background-color: #f0f0fd;
    border: 1px solid #5D7CE9;
    border-radius: 4px;
    padding: 20px;
}

.contact-section .form-control {
    font-size: 18px !important;
    border: 1px solid #5D7CE9 !important;
}

.contact-section .form-control.error {
    border-color: #5D7CE9 !important;
}

.contact-section label.error {
    color: #5D7CE9 !important;
    font-size: 14px;
    margin-top: 5px;
}

.button-contactForm {
    background: #5D7CE9 !important;
    border-color: #5D7CE9 !important;
    color: #fff !important;
}

.button-contactForm:hover {
    background: #4A63C9 !important;
    border-color: #4A63C9 !important;
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   16. Hero Page Banner (slider-area2)
   -------------------------------------------------------------------------- */
.hero-overly::before {
    background-color: rgba(20, 10, 40, 0.1) !important;
}

.slider-area2 {
    background: radial-gradient(circle at center, #ecedf9 0%, #f3f3fc 100%) !important;
}

.slider-height2 {
    height: 140px !important;
}

.slider-area2 .hero-cap h1,
.slider-area2 .hero-cap h2 {
    color: #5D7CE9 !important;
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
    text-transform: capitalize;
}

@media (max-width: 575px) {
    .slider-area2 .hero-cap h1 {
        font-size: 35px;
    }
}

.section-padding2 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.blog_item_img img.card-img {
    height: 350px;
    object-fit: cover;
    object-position: center 18%;
}

/* Blog post hero banner — show full image without aggressive cropping */
.blog-hero-banner {
    width: 100%;
}

.blog-hero-banner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center 30%;
}

/* --------------------------------------------------------------------------
   17. Pagination Active
   -------------------------------------------------------------------------- */
.page-item.active .page-link {
    background-color: #5D7CE9 !important;
    border-color: #5D7CE9 !important;
}

.page-link:hover {
    color: #5D7CE9 !important;
}

/* --------------------------------------------------------------------------
   18. Submit / Action Buttons
   -------------------------------------------------------------------------- */
.submit-info .btn,
.contact-form-main .btn {
    background: #5D7CE9 !important;
    border-color: #5D7CE9 !important;
}

.submit-info .btn:hover,
.contact-form-main .btn:hover {
    background: #4A63C9 !important;
    border-color: #4A63C9 !important;
}

/* --------------------------------------------------------------------------
   19. General Anchor Hover in Content Areas
   -------------------------------------------------------------------------- */
.blog_right_sidebar a:hover,
.single-post-area a:hover,
.content-area a:hover,
.main-content a:hover {
    color: #5D7CE9 !important;
}

.btn_1.boxed-btn {
    color: #fff !important;
}

.btn_1.boxed-btn:hover,
.btn_1.boxed-btn:active {
    color: #fff !important;
    background: #4A63C9 !important;
}

.single-post-area div[style*="border-left"] {
    font-size: 18px !important;
}

.single-post-area .single-post p {
    font-size: 18px !important;
}

.generic-blockquote {
    font-size: 24px !important;
}

.blog_details h1,
.blog_details h2 {
    font-size: 32px !important;
    font-weight: 600;
    margin-bottom: 15px;
}

.brand-mention {
    font-weight: 700;
    color: #5D7CE9;
}

.tag_cloud_widget .list a {
    cursor: pointer;
}

.tag_cloud_widget .list a:hover,
.tag_cloud_widget .list a.active {
    background: #5D7CE9 !important;
    color: #fff !important;
}

.cat-list .d-flex p:last-child {
    margin-left: 5px;
}

.cat-filter.active p {
    color: #5D7CE9 !important;
    font-weight: 700;
}

.search_widget .input-group-append .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5D7CE9 !important;
    border-color: #5D7CE9 !important;
    color: #fff !important;
}

.search_widget .input-group-append .btn i {
    left: 0 !important;
}

.search_widget .input-group-append .btn:hover {
    background: #4A63C9 !important;
    border-color: #4A63C9 !important;
}

/* --------------------------------------------------------------------------
   20. Department Active Tab Icon
   -------------------------------------------------------------------------- */
.depart_ment_tab .nav-link.active i,
.depart_ment_tab .nav-link.active span {
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   Gradient Overrides (global)
   Replace original rgb(36,192,241)->rgb(76,154,254) gradients
   -------------------------------------------------------------------------- */
.gradient-bg,
.btn-gradient {
    background: linear-gradient(to right, rgb(93, 124, 233), rgb(74, 99, 201)) !important;
    background: -webkit-linear-gradient(to right, rgb(93, 124, 233), rgb(74, 99, 201)) !important;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
#faqAccordion .btn[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

#faqAccordion .card-body,
#faqAccordion .card-body p,
#faqAccordion .card-body li,
#faqAccordion .card-body ul {
    font-size: 16px !important;
}

#faqAccordion .btn:hover {
    background: #4A63C9 !important;
}

#faqAccordion .btn:focus {
    box-shadow: none;
    outline: none;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.bg-brand {
    background-color: #5D7CE9 !important;
}

.text-brand {
    color: #5D7CE9 !important;
}

.border-brand {
    border-color: #5D7CE9 !important;
}

/* ── Landing header brand (matches intake logo style) ────────── */
.landing-brand {
    display: flex !important;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.landing-brand:hover {
    text-decoration: none !important;
}

.header-area .main-header .logo,
.header-area .main-header .menu-main,
.header-area .main-header .main-menu nav,
.header-area .main-header #navigation,
.header-area .main-header #navigation > li,
.header-area .main-header #navigation > li > a {
    display: flex !important;
    align-items: center !important;
}

.header-area .main-header .menu-main {
    min-height: 68px;
}

.header-area .main-header #navigation {
    justify-content: flex-end;
}

.header-area .main-header .main-menu ul li a {
    font-size: 18px !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

.header-area .main-header .header-btn {
    font-size: 17px !important;
    font-weight: 700 !important;
}

@media (min-width: 768px) {
    .header-area .main-header .row {
        display: grid !important;
        grid-template-columns: max-content minmax(0, 1fr);
        align-items: center;
        column-gap: clamp(48px, 6vw, 96px);
    }

    .header-area .main-header .row > .col-xl-2 {
        grid-column: 1;
        max-width: none;
        width: auto;
    }

    .header-area .main-header .row > .col-xl-10 {
        grid-column: 2;
        max-width: none;
        min-width: 0;
        width: auto;
    }

    .header-area .main-header .menu-main {
        display: flex !important;
        justify-content: flex-end !important;
        gap: clamp(20px, 2vw, 32px);
        min-width: 0;
        width: 100%;
    }

    .header-area .main-header .main-menu {
        float: none !important;
        min-width: 0;
    }

    .header-area .main-header #navigation {
        flex-wrap: nowrap;
        gap: clamp(16px, 1.6vw, 30px);
        width: auto;
    }

    .header-area .main-header #navigation > li {
        flex: 0 0 auto;
    }

    .header-area .main-header .main-menu ul li a {
        padding: 24px 0 !important;
    }

    .header-area .main-header .header-right-btn {
        float: none !important;
        flex: 0 0 auto;
        margin-left: 0 !important;
    }

    .header-area .main-header .header-btn {
        padding: 16px 30px !important;
        white-space: nowrap;
    }
}

@media (min-width: 992px) {
    .header-area .main-header {
        min-height: 118px;
        display: flex !important;
        align-items: center !important;
    }

    .header-area .main-header .container-fluid {
        width: 100%;
    }

    .header-area .main-header .row,
    .header-area .main-header .menu-main {
        min-height: 118px;
    }

    .header-area .main-header .header-right-btn {
        display: flex !important;
        align-items: center !important;
    }
}

.landing-brand-icon {
    width: 58px !important;
    height: 58px !important;
    object-fit: contain;
    flex-shrink: 0;
}

.landing-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 3px;
    flex-shrink: 0;
}

.landing-brand-name {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #1a2a3a;
    white-space: nowrap;
}

.landing-brand-accent {
    color: #5D7CE9;
}

.landing-brand-tagline {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #1d3383;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Scale down on smaller desktops / tablets */
@media (min-width: 768px) and (max-width: 1199px) {
    .header-area .main-header .row {
        column-gap: 36px;
    }

    .header-area .main-header .main-menu ul li a {
        font-size: 15px !important;
    }

    .header-area .main-header .header-btn {
        font-size: 15px !important;
    }

    .landing-brand-icon {
        width: 48px !important;
        height: 48px !important;
    }
    .landing-brand-name,
    .landing-brand-tagline {
        font-size: 1.18rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-area .main-header .row {
        column-gap: 28px;
    }

    .landing-brand-icon {
        width: 46px !important;
        height: 46px !important;
    }
    .landing-brand-name,
    .landing-brand-tagline {
        font-size: 1.12rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-area .main-header {
        padding: 12px 16px !important;
    }

    .header-area .main-header .main-menu {
        margin-right: 0 !important;
    }

    .header-area .main-header .main-menu ul li a {
        font-size: 15px !important;
        padding: 24px 8px !important;
    }

    .landing-brand-icon {
        width: 42px !important;
        height: 42px !important;
    }

    .landing-brand-name,
    .landing-brand-tagline {
        font-size: 1rem;
        letter-spacing: 0.07em;
    }
}

@media (max-width: 575px) {
    .landing-brand-icon {
        width: 42px !important;
        height: 42px !important;
    }
    .landing-brand-name,
    .landing-brand-tagline {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }
    main p,
    main li {
        font-size: 16px !important;
        line-height: 1.6;
    }
}

@media (max-width: 767px) {
    .header-area .main-header {
        padding: 16px 14px !important;
    }

    .header-area .main-header .row {
        position: relative;
    }

    .header-area .main-header .row > .col-12 {
        position: static;
    }

    .mobile_menu {
        position: absolute !important;
        top: 2px !important;
        right: 14px !important;
        width: auto !important;
        transform: none;
        z-index: 1003 !important;
    }

    .mobile_menu .slicknav_menu {
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile_menu .slicknav_btn {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        top: auto !important;
        right: auto !important;
        margin: 0 !important;
        padding: 9px 12px !important;
        border: 1px solid #d9e1ff !important;
        border-radius: 6px !important;
        background: #fff !important;
        color: #102039 !important;
        font-size: 15px;
        font-weight: 800;
        line-height: 1;
        box-shadow: 0 4px 14px rgba(16, 32, 57, 0.12);
    }

    .mobile_menu .slicknav_btn::after {
        content: "";
        display: inline-block;
        width: 18px;
        height: 13px;
        background:
            linear-gradient(#5D7CE9, #5D7CE9) top / 100% 2px no-repeat,
            linear-gradient(#5D7CE9, #5D7CE9) center / 100% 2px no-repeat,
            linear-gradient(#5D7CE9, #5D7CE9) bottom / 100% 2px no-repeat;
    }

    .mobile_menu .slicknav_nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        width: min(320px, calc(100vw - 28px));
        margin: 0 !important;
        padding: 12px 0 !important;
        background: #fff !important;
        border: 1px solid #eef1fb;
        border-radius: 8px;
        box-shadow: 0 18px 40px rgba(16, 32, 57, 0.18);
    }

    .mobile_menu .slicknav_nav a {
        color: #102039 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        padding: 10px 18px !important;
        margin: 0 !important;
    }

    .mobile_menu .slicknav_nav ul {
        margin: 0 !important;
        padding: 0 0 0 14px !important;
    }

    .mobile_menu .slicknav_nav a:hover,
    .mobile_menu .slicknav_nav a:focus {
        color: #5D7CE9 !important;
        background: #f4f6ff !important;
    }
}

/* Keep email addresses lowercase in footer */
.footer-tittle ul li a[href^="mailto:"] {
    text-transform: lowercase;
}

/* --------------------------------------------------------------------------
   Landing Page Body Text Size
   -------------------------------------------------------------------------- */
main p,
main li {
    font-size: 18px !important;
}

/* --------------------------------------------------------------------------
   Policy Pages (Privacy / Terms) — headings must be larger than 20px body text
   -------------------------------------------------------------------------- */
.section-padding2 h4 {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-top: 35px !important;
    margin-bottom: 15px !important;
}

.section-padding2 h5 {
    font-size: 22px !important;
    font-weight: 600 !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
}

.section-padding2 a:not(.btn) {
    color: #5D7CE9 !important;
    text-decoration: underline;
}

.section-padding2 a:not(.btn):hover {
    color: #4A63C9 !important;
}

/* --------------------------------------------------------------------------
   Navigation Submenu Overrides
   -------------------------------------------------------------------------- */
.header-area,
.header-area .main-header,
.header-area .main-header .main-menu {
    position: relative;
    z-index: 1000;
}

.main-menu ul li .submenu {
    background: #fff !important;
    text-align: center !important;
    min-width: 220px !important;
    z-index: 1001 !important;
    pointer-events: none;
}

.main-menu ul li .submenu li a {
    text-align: center !important;
}

.header-area .main-menu ul > li:hover > .submenu,
.header-area .main-menu ul > li:focus-within > .submenu {
    visibility: visible !important;
    opacity: 1 !important;
    top: 100% !important;
    pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Blog Cards — stack tag + subtitle on separate lines below lg breakpoint
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .home_blog-area .single-blogs .blogs-cap .date-info span,
    .home_blog-area .single-blogs .blogs-cap .date-info p {
        display: block !important;
    }
}

/* --------------------------------------------------------------------------
   Landing template overrides
   -------------------------------------------------------------------------- */
.section-padding2 {
    padding: 100px 0 60px !important;
}

.department_area h3 {
    font-weight: 800 !important;
}

.section-padding30 {
    padding-top: 100px !important;
}

.team-img {
    overflow: visible !important;
}

.single-team:hover .team-caption {
    background: transparent !important;
    color: inherit !important;
}

.single-team:hover .team-caption h3,
.single-team:hover .team-caption p {
    color: inherit !important;
}

.blog-img {
    position: relative;
}

.blog-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(93, 124, 233, 0.20);
    pointer-events: none;
}

.date-info {
    text-align: center !important;
}

.date-info span {
    font-weight: 800;
    color: #fff !important;
    padding: 10px 18px !important;
    margin-right: 0 !important;
    padding-right: 18px !important;
    font-size: 11px !important;
}

.date-info span::before {
    display: none !important;
}

.date-info p {
    font-weight: 800 !important;
}

.blogs-cap,
.blogs-cap h4 {
    text-align: center !important;
}

.footer-area .footer-social a {
    padding-left: 0 !important;
    padding-right: 25px !important;
}
