:root {
    --primary: #1D7891;
    --primary-dark: #145A6C;
    --accent: #A2CD3A;
    --secondary: #525354;
    --text: #1A120B;
    --white: #FFFFFF;
    --bg-soft: #F4F9FA;
    --border: #E3ECEE;
    --radius: 14px;
    --shadow: 0 20px 45px -20px rgba(26, 18, 11, 0.18);
}



p {
    font-size: 18px !important;

}

.card p,
.card-body p {
    font-size: 12px !important;
}



/* Sirf services, challenges aur inner content ke paragraphs ke liye */
.service-desc,
.challenge-box p,
.resource-box p,
.card-back p {}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", Sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html.page-loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FCFCFF;
    opacity: 1;
    visibility: visible;
    transition: opacity 350ms ease, visibility 0s;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 350ms ease, visibility 0s linear 350ms;
}

.page-loader-image {
    width: clamp(160px, 34vw, 260px);
    height: auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--accent);
    display: inline-block;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: .25s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(29, 120, 145, .55);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    color: #183205;
}

.btn-accent:hover {
    filter: brightness(0.95);
    transform: translateY(-2px);
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--text);
    color: #f2efe9;
    font-size: 13.5px;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 24px;
}

.topbar-links {
    display: flex;
    gap: 26px;
}

.topbar-links a:hover {
    color: var(--accent);
}

.topbar-social {
    display: flex;
    gap: 14px;
    opacity: .8;
}

/* ===== HEADER ===== */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.55) 100%);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 24px -16px rgba(26, 18, 11, 0.16);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

.logo span {
    color: var(--primary);
}

.logo .dot {
    color: var(--accent);
}

nav.main-nav {
    display: flex;
    gap: 34px;
}

nav.main-nav a {
    font-weight: 500;
    font-size: 15px;
    color: var(--secondary);
    transition: .2s;
}

nav.main-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-actions .btn {
    padding: 12px 24px;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--primary);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background: var(--primary-dark);
    overflow: hidden;
    min-height: 640px;
    padding: 0;
    margin-top: -15px;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-video {
    position: absolute;
    inset: 0;
    left: 20%;
    width: 80%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    z-index: 0;
    display: block;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 90, 108, 1) 0%, rgba(29, 120, 145, 1) 30%, rgba(29, 120, 145, 0.9) 42%, rgba(29, 120, 145, 0.68) 56%, rgba(29, 120, 145, 0.4) 70%, rgba(29, 120, 145, 0.14) 82%, rgba(29, 120, 145, 0) 88%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    max-width: 1200px;
    min-height: 640px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 540px;
    padding: 48px 0;
    transform: translateY(18px);
}

.hero h1 {
    font-size: 45px;
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: 14px;
    color: #fff;
    font-weight: 600;
}

.hero p.lead {
    color: rgba(255, 255, 255, 0.96);
    font-size: 20px !important;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 32px;
    text-align: left;
    text-shadow: none;
}

#hero-title,
#hero-description {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 300ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 300ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-copy.is-exiting #hero-title,
.hero-copy.is-exiting #hero-description {
    opacity: 0;
    transform: translateX(24px);
}

.hero-copy.is-entering #hero-title,
.hero-copy.is-entering #hero-description {
    animation: hero-copy-enter 520ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-copy.is-entering #hero-description {
    animation-delay: 80ms;
}

@keyframes hero-copy-enter {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero .btn {
    padding: 14px 22px;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1;
}

.hero .btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.72);
    min-width: 128px;
    justify-content: center;
}

.hero .btn-outline:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

.hero-slider-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 48px;
}

.slider-dot {
    display: block;
    flex: 0 0 7px;
    width: 7px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.slider-dot.active {
    flex-basis: 34px;
    width: 34px;
    background: var(--accent);
}

.slider-dot:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    .page-loader,
    .page-loader.is-hidden {
        animation: none;
        transition: none;
    }

    .slider-dot {
        transition: none;
    }

    #hero-title,
    #hero-description {
        animation: none !important;
        transition: none;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.hero-stats {
    display: none;
}

.art-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.art-metric {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    padding: 16px;
}

.art-metric b {
    display: block;
    font-size: 22px;
}

.art-metric span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .75);
}

/* ===== SECTION HEAD ===== */
.section {
    padding: 90px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 50px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2 {
    font-size: 34px;
    letter-spacing: -.5px;
    margin-bottom: 14px;
}

.section-head p {
    color: var(--secondary);
    font-size: 16px;
}

.bg-soft {
    background: var(--bg-soft);
    background-color: #f9f8f9;
}

#services {
    background: var(--bg-soft);
}

.about-section {
    background: var(--white);
}

/* ===== NEW SERVICES SECTION STYLES ===== */
.services-split-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 auto 60px;
    max-width: 900px;
    align-items: flex-start;
    text-align: center;
}

.services-eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: #1A120B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.header-left {
    width: 100%;
}

.header-left h2 {
    font-size: 34px;
    line-height: 1.25;
    color: var(--text);
    font-weight: 700;
    max-width: 820px;
    margin: 0 auto;
}

.header-right p {
    font-size: 16px;
    color: var(--secondary);
    line-height: 1.65;
}

/* Grid Layout */
.services-new-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 24px;
    align-items: stretch;
}

/* Cards Styling */
.service-new-card {
    position: relative;
    isolation: isolate;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 112px 28px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 350px;
    box-shadow: 0 8px 24px rgba(20, 90, 108, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-new-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 102px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(125deg, var(--primary), var(--primary-dark));
    clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-new-card:hover,
.service-new-card:focus-within {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(20, 90, 108, 0.16);
}

.service-new-card:hover::before,
.service-new-card:focus-within::before {
    opacity: 1;
}

/* Inside Card Header with circle and text inline */
.card-header-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    padding: 0;
    border: 0;
}

.card-icon-circle {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 68px;
    border: 3px solid var(--white);
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(20, 90, 108, 0.22);
    transition: background 0.3s ease, transform 0.3s ease;
}

.card-icon-circle svg {
    display: block;
}

.service-new-card:hover .card-icon-circle,
.service-new-card:focus-within .card-icon-circle {
    background: var(--accent);
    transform: translateX(-50%) rotate(-6deg);
}

.service-new-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
}

.service-new-card p {
    font-size: 14px;
    color: var(--secondary);
    line-height: 1.7;
    margin-bottom: 22px;
    text-align: center;
}

.card-arrow {
    font-size: 18px;
    color: var(--secondary);
    font-weight: 400;
    margin-top: auto;
    transition: transform 0.2s;
}

.service-new-card:hover .card-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

/* Link ki basic styling */
.card-arrow-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    margin-top: auto;
}

/* Shuru mein text ko chhipane aur smooth animation ke liye */
.card-arrow-link .hover-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.4s ease, opacity 0.3s ease, margin-right 0.3s ease;
}

/* Arrow ki styling aur thoda sa gap */
.card-arrow-link .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* Jab pooray card par mouse aaye (Hover State) */
.service-new-card:hover .card-arrow-link .hover-text {
    max-width: 150px;
    opacity: 1;
    margin-right: 10px;
}

/* Hover par arrow ko thoda sa right side push karne ke liye (Acha lagta hai) */
.service-new-card:hover .card-arrow-link .arrow {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .services-split-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-new-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-new-grid {
        grid-template-columns: 1fr;
    }

    .header-left h2 {
        font-size: 28px;
    }
}

/* ===== FEATURE / RCM SECTION ===== */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-visual {
    background: var(--primary);
    border-radius: 28px;
    padding: 40px;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.feature-visual .fbox {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    padding: 22px;
}

.feature-visual .fbox b {
    display: block;
    font-size: 26px;
    color: var(--accent);
    margin-bottom: 6px;
}

.feature-visual .fbox span {
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
}

.feature-list {
    margin-top: 26px;
}

.feature-list li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
}

.feature-list li:first-child {
    border-top: none;
}

.feature-list .num {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    background: rgba(162, 205, 58, .18);
    color: #5c7a1a;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.feature-list p {
    color: var(--secondary);
    font-size: 14px;
}

/* ===== ABOUT SECTION — REDESIGN ===== */
.about-section {
    padding: 96px 0;
    position: relative;
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: center;
}

/* ---- Visual column ---- */
.about-visual {
    position: relative;
    width: 100%;
    max-width: 460px;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: none;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.about-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.about-img.active {
    opacity: 1;
    z-index: 2;
}

.about-badge-card {
    position: absolute;
    bottom: -28px;
    right: -20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 20px 40px -12px rgba(26, 18, 11, 0.25);
    padding: 20px 24px;
    min-width: 216px;
}

.about-badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}

.about-badge-number {
    font-size: 25px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.about-badge-label {
    font-size: 12.5px;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 5px;
    line-height: 1.3;
}

/* ---- Content column ---- */
.about-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 11px;
    border-radius: 999px;
    background: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
}

.about-content h2 {
    font-size: 34px;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.22;
}

.about-content h2 span {
    color: var(--primary);
}

.about-lead {
    color: var(--secondary);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 0;
    max-width: 620px;
}

.about-lead p {
    margin-bottom: 0;
}

.about-lead p:last-child {
    margin-bottom: 0;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.about-actions .btn {
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 5px;
    font-size: 13px;
}

.btn-about-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--primary-dark);
}

.btn-about-outline:hover {
    background: var(--primary-dark);
    color: #fff;
}

.about-checklist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 20px 0 0;
}

.about-check-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.about-check-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-dark);
    display: inline-block;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-check-text strong {
    display: block;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.about-stats-strip {
    display: flex;
    border-top: 1px solid var(--border);
    padding-top: 28px;
    margin-bottom: 34px;
    margin-bottom: -26px;
}

.about-stat {
    flex: 1;
    position: relative;
    padding-right: 18px;
}

.about-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 2px;
    bottom: 2px;
    width: 1px;
    background: var(--border);
}

.about-stat-num {
    font-size: 27px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-stat-label {
    font-size: 12px;
    color: var(--secondary);
    margin-top: 7px;
    font-weight: 500;
}

/* Responsive Fix for Mobile/Tablets */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 36px;
    }

    .about-visual {
        max-width: none;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-badge-card {
        right: 12px;
        bottom: -24px;
    }
}

@media (max-width: 560px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-visual {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-checklist {
        grid-template-columns: 1fr;
    }

    .about-stats-strip {
        flex-wrap: wrap;
        gap: 20px;
    }

    .about-stat {
        flex: 1 1 40%;
        padding-right: 0;
    }

    .about-stat:not(:last-child)::after {
        display: none;
    }

    .about-badge-card {
        min-width: unset;
        padding: 14px 18px;
        right: 8px;
    }
}

/* ===== SCHEDULING SPLIT LAYOUT STYLES ===== */
.scheduling-section {
    background: #fff;
    padding: 90px 0;
}

.scheduling-split-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
}

.scheduling-content-left h2 {
    font-size: 34px;
    font-weight: 700;
    color: var(--text, #1A120B);
    margin-bottom: 18px;
}

.scheduling-content-left .section-desc {
    font-size: 16px;
    line-height: 1.65;
    color: var(--secondary, #64748B);
    margin-bottom: 38px;
}

.scheduling-features-list {
    display: flex;
    flex-direction: column;
}

.sched-feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #E2E8F0;
    transition: border-color 0.2s ease;
}

.sched-item-text {
    max-width: 95%;
}

.sched-item-text h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1D7891;
    margin-bottom: 6px;
}

.sched-item-text p {
    font-size: 16px;
    color: var(--secondary, #64748B);
    line-height: 1.55;
}

.sched-item-arrow {
    flex: 0 0 auto;
    font-size: 20px;
    color: #1D7891;
    transition: transform 0.2s ease;
}

.sched-feature-item:hover .sched-item-arrow {
    transform: translate(3px, -3px);
}

/* ===== 6TH SECTION: SPECIALTIES STYLES ===== */
.specialties-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.spec-eyebrow {
    font-size: 22px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 16px;
}

.specialties-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 24px;
    line-height: 1.3;
}

.specialties-header p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.7;
}

.specialties-header-copy p {
    margin-bottom: 14px;
    font-size: 16px;
}

.specialties-header-copy p:last-child {
    margin-bottom: 0;
}

.specialties-header-copy a {
    color: #c36;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.specialties-header-copy a:hover {
    color: #a32b55;
}

.specialties-header .highlight-link {
    color: #D25380;
    /* Pinkish tone matching screen text link */
    font-weight: 500;
    cursor: pointer;
}

/* Container framework alignment */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Perfect alignment for SVG wrappers */
.spec-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

/* Purani properties ko confirm karein aur nayi add karein */

/* White Circle Container */
.spec-card.teal-variant .spec-icon-wrapper.circle-bg {
    width: 100px;
    /* Ya jo bhi size reference image mein hai */
    height: 100px;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    /* Centre the circle */
    position: relative;
    /* Base for inner alignment */
    overflow: hidden;
    /* Ensure nothing escapes the circle */
}

/* Naya frame jo icon ko target size par constraint karega */
.icon-inner-container {
    width: 70%;
    /* Icon white circle ka 70% area cover karega */
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon image precise styles */
.spec-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Aspect ratio maintain karte hue space mein fit karega */
    display: block;
}

/* Purple icon color override helper */
.spec-icon-wrapper svg {
    display: block;
    max-width: 100%;
}

/* Base Structure for Cards */
.spec-card {
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Ensure all icons wrapper have consistent dimensions */
.spec-icon-wrapper {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

/* White Circle setup inside Teal Card */
.spec-card.teal-variant .spec-icon-wrapper.circle-bg {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Align text vertically and keep "Learn More" at the bottom */
.spec-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.spec-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.spec-card p {
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 28px;
    flex-grow: 1;
    transition: color 0.3s ease;
    /* Aligns buttons horizontally on the same line */
}

/* Variant A: White Background Cards */
.spec-card.white-variant {
    background-color: #FFFFFF;
    border: 1px solid #F1F5F9;
}

.spec-card.white-variant h3 {
    color: #0F172A;
}

.spec-card.white-variant p {
    color: #000000;
}

.spec-card.white-variant .spec-learn-more {
    color: #1D7891;
    border-bottom: 1.5px solid #1D7891;
}

/* Variant B: Teal cards show their accent on hover or keyboard focus */
.spec-card.teal-variant {
    background-color: #FFFFFF;
    border: 1px solid #F1F5F9;
    color: #0F172A;
}

.spec-card.teal-variant h3 {
    color: #0F172A;
    transition: color 0.3s ease;
}

.spec-card.teal-variant p {
    color: #000000;
    transition: color 0.3s ease;
}

.spec-card.teal-variant .spec-learn-more {
    color: #1D7891;
    border-bottom: 1.5px solid #1D7891;
    transition: color 0.3s ease, border-color 0.3s ease, opacity 0.2s ease;
}

.spec-card:hover,
.spec-card:focus-within {
    background-color: #1D7891;
    border-color: #165E72;
    color: #FFFFFF;
}

.spec-card:hover h3,
#specialties .spec-card:hover p,
.spec-card:focus-within h3,
#specialties .spec-card:focus-within p {
    color: #FFFFFF;
}

.spec-card.teal-variant .spec-icon-wrapper.circle-bg {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #FFFFFF;
}

.spec-card:hover .spec-learn-more,
.spec-card:focus-within .spec-learn-more {
    color: #FFFFFF;
    border-bottom: 1.5px solid #FFFFFF;
}

/* Sleek Text Links Setup */
.spec-learn-more {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease, opacity 0.2s ease;
}

.spec-learn-more:hover {
    opacity: 0.8;
}

/* Screen Breakpoint Adaptations */
@media (max-width: 1024px) {
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .specialties-grid {
        grid-template-columns: 1fr;
    }

    .specialties-header h2 {
        font-size: 26px;
    }
}

/* ===== SOFTWARE SHOWCASE STYLES ===== */
.software-showcase-section {
    background-color: var(--white);
    /* Light neutral section background like reference image */
    padding: 80px 0 100px 0;
}

.software-header {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 55px auto;
}

/* Subtitle Tag Above Title */
.software-subtitle {
    display: inline-block;
    color: #1d7891;
    /* Accent Indigo/Purple color */
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.software-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 16px;
    line-height: 1.3;
}

.software-header p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
}

.software-header-copy p {
    margin-bottom: 16px;
    font-size: 16px;
}

.software-header-copy p:last-child {
    margin-bottom: 0;
}

/* 4 Columns Grid */
.software-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
    justify-items: center;
}

/* Card Styling Matching Reference Design */
.software-logo-card {
    width: 100%;
    height: 90px;
    background-color: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.software-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.partner-logo {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
}

/* Responsive Adaptation */
@media (max-width: 992px) {
    .software-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .software-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    .software-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .software-logo-card {
        height: 75px;
        padding: 15px;
    }
}

/* ===== UPDATED 8TH SECTION CSS ===== */
.challenges-split-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

/* Left Side Header Styling */
.challenges-content-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 40px;
    line-height: 1.25;
    max-width: 520px;
}

/* List Architecture */
.challenges-list {
    display: flex;
    flex-direction: column;
}

.challenge-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 24px 0;
    border-bottom: 1px solid #E2E8F0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.challenge-item-text {
    max-width: 88%;
}

.challenge-item-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1D7891;
    /* Signature Corporate Teal */
    margin-bottom: 6px;
}

.challenge-item-text p {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

.challenge-item-arrow {
    font-size: 20px;
    color: #1D7891;
    font-weight: 300;
    padding-bottom: 4px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Interaction Hover System */
.challenge-item:hover {
    border-bottom-color: #1D7891;
    padding-left: 5px;
    /* Subtle organic movement */
}

.challenge-item:hover .challenge-item-arrow {
    transform: translate(5px, -5px);
}

/* Right Side HD Image Configuration */
.challenges-graphic-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.graphic-bg-wrapper-hd {
    width: 100%;
    max-width: 460px;
    /* Brain size standard maintenance */
    display: flex;
    justify-content: center;
    align-items: center;
    animation: smoothFloat 4s ease-in-out infinite;
    /* Premium floating feel */
}

.challenges-hd-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Premium Subtle Floating Animation */
@keyframes smoothFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Background Top Corner Decor (Matching snapshot fade lines) */
.challenges-decor-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(29, 120, 145, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Responsive Systems Adaptive Layout */
@media (max-width: 992px) {
    .challenges-split-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .challenges-graphic-right {
        justify-content: center;
        margin-bottom: 20px;
    }

    .graphic-bg-wrapper-hd {
        max-width: 320px;
    }

    .challenges-content-left h2 {
        font-size: 28px;
    }
}

/* ===== 9TH SECTION: OVERLAPPING RESOURCES STYLES ===== */
.resources-overlap-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left Image Block Configuration */
.resources-image-block {
    width: 100%;
    max-width: 620px;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    z-index: 1;
}

.resource-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.resources-overlap-wrapper:hover .resource-main-img {
    transform: scale(1.03);
    /* Soft interactive zoom */
}

/* Right Side: Elegant Floating Card Box */
.resources-content-floating-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 50px 45px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    /* Deep soft shadow to create realistic elevation */
    margin-left: -120px;
    /* Pulls the card to the left to overlap the image cleanly */
    position: relative;
    z-index: 2;
    /* Ensures content stays safely above the image layer */
    border: 1px solid rgba(241, 245, 249, 0.8);
}

/* Typography Alignments */
.resources-content-floating-card h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 20px;
    line-height: 1.25;
}

.resources-content-floating-card p {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Bright Green Button Signature Brand Style */
.resources-green-action-btn {
    display: inline-block;
    background-color: #92D030;
    /* Dynamic green tone matched from screenshot */
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 28px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(146, 208, 48, 0.25);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.resources-green-action-btn:hover {
    background-color: #81BA26;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(146, 208, 48, 0.35);
}

/* Fully Adaptive Responsive Breakpoints */
@media (max-width: 992px) {

    /* Destroys overlap on tablets to prevent text squeeze and collapses into a clean single column layout */
    .resources-overlap-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .resources-image-block {
        max-width: 100%;
        height: 320px;
    }

    .resources-content-floating-card {
        margin-left: 0;
        /* Resets overlap spacing safely */
        padding: 35px 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .resources-content-floating-card h2 {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .resources-image-block {
        height: 240px;
    }
}

.testimonials-section {
    background: var(--white);
    padding: 90px 0 100px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 90px 0;
    background: var(--bg-soft);
}

.faq-container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(40px, 7vw, 96px);
}

.faq-header-wrapper {
    position: relative;
    max-width: 440px;
}

.faq-header-wrapper::before {
    content: "?";
    position: absolute;
    top: -20%;
    left: 40%;
    z-index: 0;
    color: rgba(29, 120, 145, 0.16);
    font-size: clamp(150px, 20vw, 220px);
    font-weight: 700;
    line-height: 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
}

.faq-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 13px;
    border: 1px solid rgba(29, 120, 145, 0.12);
    border-radius: 999px;
    background: rgba(29, 120, 145, 0.07);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.faq-eyebrow::before {
    content: "?";
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
}

.faq-header-wrapper h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.faq-header-wrapper h2 span {
    display: block;
    color: var(--primary);
}

.faq-header-wrapper>p {
    position: relative;
    z-index: 1;
    max-width: 390px;
    margin: 0;
    color: var(--secondary);
    font-size: 15px !important;
    line-height: 1.7;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
    padding: 0 20px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 22px rgba(26, 18, 11, 0.035);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
    border-color: rgba(29, 120, 145, 0.3);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(20, 90, 108, 0.08);
}

.faq-item summary {
    position: relative;
    padding: 20px 48px 20px 0;
    color: var(--text);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    list-style: none;
    transition: color 0.2s ease;
}

.faq-item summary:hover {
    color: var(--primary-dark);
}

.faq-item summary:hover::after {
    background: var(--primary);
    color: var(--white);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: rgba(29, 120, 145, 0.12);
    color: var(--primary-dark);
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease;
}

.faq-item[open] summary::after {
    content: "\2212";
    background: var(--primary);
    color: var(--white);
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.faq-item p {
    margin: -2px 42px 20px 0;
    color: var(--secondary);
    font-size: 14px !important;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .faq-container {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 36px;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding: 72px 0;
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faq-header-wrapper {
        max-width: 560px;
    }

    .faq-header-wrapper h2 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .faq-item {
        padding: 0 17px;
    }

    .faq-item summary {
        padding: 18px 42px 18px 0;
        font-size: 14px;
    }

    .faq-item p {
        margin-right: 0;
    }
}




.stats-section {
    width: 100%;
    background-color: #FFFFFF;
    padding: 60px 20px;
    font-family: 'Open Sans', 'Inter', -apple-system, sans-serif;
}

.stats-container {
    max-width: 1140px;
    margin: 0 auto;
    background-color: #F8FAFC;
    /* Soft Light Gray Outer Background */
    border-radius: 28px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.stats-title {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    text-align: center;
    margin: 0 0 36px 0;
}

/* 4 Columns Grid with Vertical Dividers */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 15px;
}

/* Vertical Lime Green Divider Line between items */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 24px;
    background-color: #84CC16;
    /* Lime Green Divider */
}

/* Large Number Styling */
.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #11677E;
    /* Dark Teal Color */
    margin-bottom: 6px;
    line-height: 1;
}

/* Label Below Number */
.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    margin: 0;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 868px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
    }

    .stat-item:nth-child(2)::after {
        display: none;
        /* Hide divider for 2nd item on mobile grid */
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-item::after {
        display: none !important;
        /* Hide all dividers on mobile screen */
    }
}


.testimonial-header {
    text-align: center;
    margin-bottom: 42px;
}

.testimonials-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--primary-dark, #145A6C);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.testimonial-header h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.06em;
    color: #0f172a;
    font-weight: 600;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 24px;
    padding: 24px 24px 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.testimonial-quote-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 76px;
    line-height: 1;
    color: rgba(15, 23, 42, 0.12);
    margin-bottom: 10px;
    font-weight: 700;
}

.testimonial-card p {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.2rem, 2vw, 2rem);
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: -0.03em;
    flex: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.testimonial-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    background: linear-gradient(135deg, #d9edf4 0%, #c9e1ea 100%);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.avatar-two {
    background: linear-gradient(135deg, #e0f5ea 0%, #d1ebdf 100%);
}

.avatar-three {
    background: linear-gradient(135deg, #edf2ff 0%, #dfe8f8 100%);
}

.testimonial-user-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-user-text strong {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 600;
}

.testimonial-user-text span {
    color: var(--primary, #1D7891);
    font-size: 0.82rem;
    font-weight: 500;
}



@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .testimonial-card {
        min-height: 220px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 72px 0 80px;
    }

    .testimonial-card {
        padding: 22px 20px 18px;
    }

    .testimonial-card p {
        font-size: 1.1rem;
    }
}

/* ===== 11TH SECTION: BLOGS & TRUSTPILOT STYLES ===== */
.blogs-header-wrapper {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Trustpilot Dynamic Badge Link Box */
.trustpilot-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #94A3B8;
    padding: 8px 16px;
    font-size: 13px;
    color: #334155;
    text-decoration: none;
    background-color: #FFFFFF;
    transition: background-color 0.2s, border-color 0.2s;
}

.trustpilot-badge-link:hover {
    background-color: #F8FAFC;
    border-color: #00B67A;
    /* Trustpilot Brand Green */
}

.tp-star {
    color: #00B67A;
    font-size: 14px;
}

/* Section Header */
.blogs-header-wrapper h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

/* Matrix Grid System */
.blogs-three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card Architecture */
.blog-post-card {
    background-color: transparent;
    display: flex;
    flex-direction: column;
}

/* Thumbnail Image Base & Floating Badges */
.blog-thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
}

.blog-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-thumb-img {
    transform: scale(1.04);
}

/* Overlapping Date Badge Design */
.blog-date-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: #92D030;
    /* Signature Light Green Accent */
    color: #FFFFFF;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.blog-date-badge .day {
    font-size: 18px;
    font-weight: 700;
}

.blog-date-badge .month {
    font-size: 11px;
    font-weight: 500;
    text-transform: capitalize;
}

/* Text & Metadata Container */
.blog-info-content {
    padding: 20px 0 10px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-tag {
    font-size: 11.5px;
    font-weight: 600;
    color: #1D7891;
    /* Teal Accent */
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
}

.blog-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: #1D7891;
}

/* Post Author & Date Meta Info Row */
.blog-meta-footer {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #64748B;
    margin-bottom: 20px;
    align-items: center;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Sleek Text Link Button Link */
.blog-readmore-btn {
    font-size: 13.5px;
    font-weight: 600;
    color: #1D7891;
    text-decoration: none;
    margin-top: auto;
    /* Aligns read more neatly at the bottom edge */
    transition: opacity 0.2s;
    width: fit-content;
}

.blog-readmore-btn:hover {
    opacity: 0.8;
}

/* Tablet and Mobile Screen Adapters */
@media (max-width: 992px) {
    .blogs-three-column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .blogs-header-wrapper h2 {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .blogs-three-column-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== LAST SECTION: FLOATING CTA STYLES ===== */
.cta-floating-section .container {
    max-width: 1200px;
}

/* The Gradient Floating Card Layout */
.cta-gradient-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Implements the unique left-to-right white-to-teal gradient transitions */
    background: linear-gradient(to right, #FFFFFF 0%, #FFFFFF 30%, #A2C7D3 60%, #3B8B9B 100%);
    /* Distinctive Top-Left Large Border Radius along with subtle right roundings */
    border-radius: 40px 16px 0px 0px;
    padding: 50px 60px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.12);
    /* Gives the card its elevated 3D depth */
    position: relative;
    bottom: -5px;
    /* Pulls it down slightly to overlap seamlessly with your footer top line */
    border-left: 3px solid #1D7891;
    /* Highlighting the left border frame */
}

/* Heading Typography Setup */
.cta-text-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0F172A;
    /* High contrast dark slate */
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Elegant Capsule Button */
.cta-capsule-btn {
    display: inline-block;
    background-color: #1A6C82;
    /* Deep solid teal-blue matching the inner container fill */
    color: #FFFFFF;
    text-decoration: none;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    /* Capsule shape */
    box-shadow: 0 4px 15px rgba(26, 108, 130, 0.2);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.cta-capsule-btn:hover {
    background-color: #145567;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 108, 130, 0.35);
}

/* Responsive Adjustments for Mobile & Tablets */
@media (max-width: 992px) {
    .cta-gradient-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 30px;
        /* Adjusts gradient vector behavior for stacked viewports */
        background: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 45%, #A2C7D3 80%, #3B8B9B 100%);
        border-radius: 30px 12px 0px 0px;
    }

    .cta-text-content h2 {
        font-size: 22px;
    }

    .cta-capsule-btn {
        padding: 14px 30px;
        font-size: 14px;
    }
}

/* ===== FOOTER ===== */
footer {
    background: var(--text);
    color: #cfc9c1;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--accent);
}

footer p {
    font-size: 14px;
    color: #a79e93;
    margin-bottom: 20px;
}

footer h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 18px;
}

footer ul li {
    margin-bottom: 11px;
    font-size: 14px;
}

footer ul li a:hover {
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 14px;
    color: #cfc9c1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #a79e93;
}

@media (max-width:1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .challenge-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specialty-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .testi-grid,
    .blog-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    nav.main-nav {
        display: none;
    }
}

@media (max-width: 900px) {
    .hero {
        margin-top: 0;
    }

    .hero-grid {
        min-height: 580px;
    }

}

@media (max-width:640px) {
    .hero {
        min-height: auto;
        margin-top: 0;
    }

    .hero-grid {
        min-height: 540px;
    }

    .hero-copy {
        padding: 52px 0;
        transform: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p.lead {
        font-size: 16px !important;
    }

    .hero-slider-controls {
        margin-top: 44px;
    }

    .header-right p,
    .about-lead,
    .section-head p {
        font-size: 15px;
    }

    .hero-cta {
        align-items: stretch;
    }

    .hero-cta .btn {
        width: auto;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 18px;
    }

    .hero-slider-controls {
        bottom: 16px;
    }

    .hero-slide .slide-label,
    .hero-slide .slide-subtitle {
        left: 16px;
        right: 16px;
        max-width: unset;
    }

    .feature-grid,
    .about-grid,
    .services-new-grid,
    .testi-grid,
    .blog-grid,
    .specialty-strip,
    .scheduling-split-wrapper,
    .art-metrics,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-visual {
        grid-template-columns: 1fr;
    }

    .about-visual {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-badge-card {
        width: calc(100% - 24px);
        left: auto;
        right: 8px;
    }

    .about-checklist {
        grid-template-columns: 1fr;
    }

    .about-stats-strip {
        flex-wrap: wrap;
        gap: 18px;

    }

    .about-stat {
        flex: 1 1 100%;
        padding-right: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .specialty-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-band {
        padding: 36px;
        flex-direction: column;
        text-align: center;
    }

    .topbar-links {
        display: none;
    }
}

body p:not(#hero-description) {
    color: #000000;
}