/********** Template CSS **********/
:root {
    --primary: #00B98E;
    --primary-hover: #00a47e;
    --secondary: #FF6922;
    --light: #EFFDF5;
    --dark: #0E2E50;
    --dark-muted: rgba(14, 46, 80, 0.7);
    --border-light: rgba(14, 46, 80, 0.08);
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bs-body-font-family: var(--font-sans);
}

/* ==========================================================================
   Cross-Browser Normalization & Universal Resets (Chrome, Safari, Firefox)
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: var(--dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #ffffff;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-sans);
    font-weight: 700;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: inherit;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.back-to-top i {
    font-size: 0.88rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar Styles - Compact Clean & Professional Header ***/
.nav-bar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    margin-top: 0;
    padding: 0;
    height: 64px;
    display: flex;
    align-items: center;
    transition: height 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    z-index: 1030;
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(14, 46, 80, 0.08);
    box-shadow: 0 1px 3px rgba(14, 46, 80, 0.03);
}

.nav-bar.sticky-top {
    height: 56px;
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(14, 46, 80, 0.06);
}

.navbar {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    height: 100%;
    padding: 0 1.5rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: none;
}

/* Brand Identity & Logo Sizing */
.navbar-light .navbar-brand {
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.navbar-light .navbar-brand img {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.sticky-top .navbar-light .navbar-brand img {
    height: 42px !important;
}

.brand-icon-wrapper {
    width: 32px;
    height: 32px;
    background-color: rgba(0, 185, 142, 0.08);
    border: 1px solid rgba(0, 185, 142, 0.2);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sticky-top .brand-icon-wrapper {
    width: 28px;
    height: 28px;
}

.brand-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--dark) !important;
    line-height: 1;
    cursor: pointer;
}

.sticky-top .brand-title {
    font-size: 1.08rem;
}

/* Nav Links Typography & Rectangular Spacing */
.navbar-light .navbar-nav {
    align-items: center;
    gap: 0.25rem;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 0;
    padding: 6px 14px !important;
    color: var(--dark) !important;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    border-radius: 2px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    outline: none;
    cursor: pointer;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 5px 12px !important;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background-color: rgba(0, 185, 142, 0.06);
    cursor: pointer;
}

/* Active State — Green Accent & Simple Straight Rectangular Border Bottom */
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
    background-color: rgba(0, 185, 142, 0.06);
    border-radius: 2px;
    cursor: pointer;
}

.navbar-light .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 0;
}

/* Primary CTA Button — "Get Help Now" with Simple Rectangular Styling */
.nav-cta-btn {
    height: 38px;
    padding: 0 18px !important;
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: 2px;
    background-color: var(--primary);
    border: none;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.sticky-top .nav-cta-btn {
    height: 34px;
    padding: 0 16px !important;
    font-size: 0.8rem;
}

.nav-cta-btn:hover {
    background-color: var(--primary-hover);
    color: #ffffff !important;
    cursor: pointer;
}

/* Header Section Alignment */
@media (min-width: 992px) {
    .header {
        margin-top: 0;
    }
}

/* Clean Speed Assignment Inner Page Header */
.page-header-section {
    background-color: #F8FAFC;
    border-bottom: 1px solid rgba(14, 46, 80, 0.08);
    padding: 2.5rem 0;
}

.page-header-title {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 800;
    color: #0E2E50;
    margin-bottom: 0.5rem;
}

.page-header-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.page-header-breadcrumb .breadcrumb-item a {
    color: #00B98E;
    text-decoration: none;
}

.page-header-breadcrumb .breadcrumb-item.active {
    color: #64748B;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991.98px) {
    .nav-bar {
        height: 60px;
    }

    .navbar {
        padding: 0.5rem 1rem !important;
    }

    .navbar-light .navbar-brand {
        height: 46px;
    }

    .navbar-light .navbar-brand img {
        height: 46px !important;
    }

    .navbar-toggler {
        border: 1px solid rgba(14, 46, 80, 0.12);
        padding: 5px 8px;
        border-radius: 2px;
        outline: none !important;
        box-shadow: none !important;
        cursor: pointer;
    }

    .navbar-collapse {
        margin-top: 8px;
        padding: 12px;
        background-color: #ffffff;
        border: 1px solid rgba(14, 46, 80, 0.08);
        box-shadow: 0 8px 20px rgba(14, 46, 80, 0.08);
        border-radius: 2px;
    }

    .navbar-light .navbar-nav {
        align-items: stretch;
        gap: 4px;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px 14px !important;
        width: 100%;
        min-height: 40px;
        border-radius: 2px;
    }

    .navbar-light .navbar-nav .nav-link.active::after {
        display: none;
    }

    .nav-cta-btn {
        width: 100%;
        margin-top: 8px;
        height: 38px;
    }
}

@media (max-width: 575.98px) {
    .nav-bar {
        height: 64px;
    }

    .navbar-light .navbar-brand {
        height: 44px;
    }

    .navbar-light .navbar-brand img {
        height: 44px !important;
    }
}

/* ==========================================================================
   Hero Section Styling — Compact Clean & Professional
   ========================================================================== */
.header {
    background-color: #ffffff !important;
    position: relative;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--dark) !important;
}

.hero-title .text-highlight {
    color: var(--primary);
}

.hero-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--dark-muted);
    max-width: 520px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
}

.hero-cta-btn {
    height: 46px;
    padding: 0 28px !important;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 2px;
    background-color: var(--primary);
    border: none;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.hero-cta-btn:hover {
    background-color: var(--primary-hover);
    color: #ffffff !important;
    cursor: pointer;
}

/* Hero Right Visual Image Frame */
.hero-visual-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background-color: var(--light);
    border: 1px solid rgba(14, 46, 80, 0.08);
}

.hero-visual-card img.hero-img {
    border-radius: 2px;
    object-fit: cover;
    width: 100%;
    max-height: 440px;
    display: block;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-cta-btn {
        width: 100%;
        height: 44px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #DDDDDD;
}


/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}


/*** About / Trust Section ***/
.about-section {
    position: relative;
    background-color: #ffffff;
}

.about-visual-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background-color: var(--light);
    border: 1px solid rgba(14, 46, 80, 0.08);
}

.about-visual-card img {
    border-radius: 2px;
    object-fit: cover;
    width: 100%;
    display: block;
}

.about-title {
    font-family: var(--font-sans);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--dark) !important;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.about-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-muted);
}

.trust-icon-box {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    background-color: rgba(0, 185, 142, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-item-title {
    font-family: var(--font-sans);
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--dark);
}

.trust-item-desc {
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 400;
    color: var(--dark-muted);
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    .about-title {
        font-size: 1.75rem;
    }
}


/*** Category / Assignment Types ***/
.assignment-types-section {
    position: relative;
    border-top: 1px solid rgba(14, 46, 80, 0.08);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background-color: rgba(0, 185, 142, 0.08);
    border: 1px solid rgba(0, 185, 142, 0.18);
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.06em;
}

.section-title {
    font-family: var(--font-sans);
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--dark) !important;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--dark-muted) !important;
    line-height: 1.5;
}

.cat-card {
    background-color: #ffffff;
    border: 1px solid rgba(14, 46, 80, 0.1);
    border-radius: 2px;
    padding: 20px 14px;
    box-shadow: none;
    cursor: pointer;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: border-color 0.2s ease;
}

/* Hover state: clean subtle green border transition */
.cat-card:hover {
    background-color: #ffffff;
    border-color: rgba(0, 185, 142, 0.45);
}

/* Clicked / Pressed state */
.cat-card:active {
    border-color: var(--primary);
}

.cat-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 2px;
    background-color: rgba(0, 185, 142, 0.08);
    border: 1px solid rgba(0, 185, 142, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cat-icon {
    font-size: 1.35rem;
    color: var(--primary);
    line-height: 1;
    transition: color 0.2s ease;
}

.cat-card:hover .cat-icon-box {
    background-color: var(--primary);
    border-color: var(--primary);
}

.cat-card:hover .cat-icon {
    color: #ffffff;
}

.cat-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.cat-card:hover .cat-title {
    color: var(--primary);
}

.cat-count {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--dark-muted);
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.cat-card:hover .cat-count {
    color: var(--primary);
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }

    .cat-card {
        padding: 18px 14px;
    }
}


/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(0, 185, 142, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(0, 185, 142, .3) !important;
}





/*** Services Section Redesign ***/
.services-section {
    background-color: #F8FAFC;
    border-top: 1px solid rgba(14, 46, 80, 0.08);
    border-bottom: 1px solid rgba(14, 46, 80, 0.08);
}

.services-section .section-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 185, 142, 0.1);
    color: #00B98E;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.services-section .section-title {
    color: #0E2E50;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
}

.services-section .section-subtitle {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.5;
}

.services-section .service-card {
    background: #FFFFFF;
    border-radius: 2px;
    border: 1px solid rgba(14, 46, 80, 0.1);
    box-shadow: none;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
    height: 100%;
}

.services-section .service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 185, 142, 0.45);
    box-shadow: none;
}

.services-section .service-img-wrapper {
    height: 190px;
    background: #E2E8F0;
    position: relative;
    overflow: hidden;
}

.services-section .service-img-wrapper img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    border-radius: 0;
}

.services-section .service-card-body {
    border-top: 1px solid rgba(14, 46, 80, 0.08);
}

.services-section .service-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0E2E50;
    line-height: 1.35;
}

.services-section .service-card-desc {
    font-size: 0.875rem;
    color: #64748B;
    line-height: 1.5;
}

.services-section .service-cta-btn {
    height: 32px;
    padding: 0 12px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 2px;
    background-color: rgba(0, 185, 142, 0.08);
    border: 1px solid rgba(0, 185, 142, 0.2);
    color: #00B98E !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.services-section .service-cta-btn:hover {
    background-color: #00B98E;
    border-color: #00B98E;
    color: #FFFFFF !important;
    cursor: pointer;
}


/*** Call to Action Section Spacing & Layout ***/
.cta-card {
    background: #FFFFFF;
    border-radius: 2px;
    border: 1px solid rgba(14, 46, 80, 0.1);
    box-shadow: none;
    padding: 2.25rem;
    overflow: hidden;
}

.cta-img-container {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.cta-img-container img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 2px;
}

.cta-floating-chip {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(14, 46, 80, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.cta-floating-chip .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00B98E;
    border-radius: 50%;
    display: inline-block;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 185, 142, 0.08);
    border: 1px solid rgba(0, 185, 142, 0.18);
    color: #00B98E;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 2px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cta-title {
    color: #0E2E50;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
}

.cta-desc {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-features {
    border-top: 1px solid rgba(14, 46, 80, 0.08);
    border-bottom: 1px solid rgba(14, 46, 80, 0.08);
    padding: 10px 0;
}

.cta-feature-item {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0E2E50;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00B98E;
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 2px;
    border: 1px solid #00B98E;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.cta-btn-primary:hover {
    background: #009e79;
    border-color: #009e79;
    color: #FFFFFF !important;
    cursor: pointer;
}





/*** Testimonial Section Redesign ***/
.testimonial-section {
    background-color: #F8FAFC;
}

.testimonial-section .testimonial-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 185, 142, 0.1);
    color: #00B98E;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.testimonial-section .testimonial-title {
    color: #0E2E50;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
}

.testimonial-section .testimonial-subtitle {
    color: #64748B;
    font-size: 0.98rem;
    line-height: 1.5;
}

.testimonial-section .testimonial-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid rgba(14, 46, 80, 0.08);
    box-shadow: 0 4px 20px rgba(14, 46, 80, 0.04);
    padding: 28px;
    margin: 10px 4px;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.testimonial-section .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 185, 142, 0.12);
    border-color: rgba(0, 185, 142, 0.3);
}

.testimonial-section .quote-icon {
    font-size: 2.2rem;
    color: #00B98E;
    opacity: 0.35;
    line-height: 1;
    display: block;
    margin-bottom: 12px;
}

.testimonial-section .testimonial-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-section .author-img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #00B98E;
    flex-shrink: 0;
}

.testimonial-section .author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0E2E50;
}

.testimonial-section .author-role {
    font-size: 0.825rem;
    font-weight: 500;
    color: #64748B;
}

.testimonial-section .testimonial-carousel {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 576px) {
    .testimonial-section .testimonial-carousel {
        padding-left: 3.5rem;
        padding-right: 3.5rem;
    }
}

.testimonial-section .testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 44px;
    top: calc(50% - 22px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 5;
    pointer-events: none;
}

.testimonial-section .testimonial-carousel .owl-nav .owl-prev,
.testimonial-section .testimonial-carousel .owl-nav .owl-next {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0E2E50;
    background: #FFFFFF;
    border: 1px solid rgba(14, 46, 80, 0.12);
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(14, 46, 80, 0.08);
    transition: all 0.25s ease;
}

.testimonial-section .testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-section .testimonial-carousel .owl-nav .owl-next:hover {
    background: #00B98E;
    color: #FFFFFF;
    border-color: #00B98E;
    box-shadow: 0 6px 16px rgba(0, 185, 142, 0.35);
    transform: scale(1.06);
}


/*** Footer Section Redesign ***/
.footer {
    background-color: #081E36 !important;
    color: #94A3B8 !important;
    position: relative;
    font-family: var(--font-sans);
}

.footer h5 {
    color: #FFFFFF !important;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.footer p,
.footer-desc {
    color: #94A3B8 !important;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-email,
.footer p.footer-email {
    font-size: 0.8125rem !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    letter-spacing: -0.01em;
}

.footer-email i {
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .footer-email,
    .footer p.footer-email {
        font-size: 0.8rem !important;
        white-space: normal;
        word-break: break-all;
    }
}

.footer-link {
    color: #94A3B8 !important;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #00B98E !important;
    padding-left: 4px;
}

.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 18px;
    border-radius: 2px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border: none;
    width: 100%;
}

.footer-whatsapp-btn:hover {
    background-color: #20ba5a;
    color: #FFFFFF !important;
}

.footer .copyright {
    padding: 20px 0;
    font-size: 0.8125rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #64748B !important;
}

.footer .copyright a {
    color: #94A3B8 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer .copyright a:hover {
    color: #00B98E !important;
}

.footer .footer-menu a {
    color: #94A3B8 !important;
    margin-right: 14px;
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer .footer-menu a:hover {
    color: #00B98E !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Contact Page Specific Styles */
.contact-hero {
    position: relative;
    z-index: 1;
}

/* Contact Options Section - Compact Row Design */
.contact-options-section {
    background-color: #FFFFFF;
}

.contact-options-section .section-label {
    color: #00B98E;
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-options-section .section-title {
    color: #081E36;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
}

.contact-compact-box {
    background: #FFFFFF;
    border: 1px solid rgba(14, 46, 80, 0.1);
    border-radius: 2px;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s ease;
}

.contact-compact-box:hover {
    border-color: rgba(0, 185, 142, 0.4);
}

.contact-compact-box .compact-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(0, 185, 142, 0.08);
    border: 1px solid rgba(0, 185, 142, 0.18);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00B98E;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.contact-compact-box .compact-title {
    color: #081E36;
    font-size: 1rem;
    font-weight: 700;
}

.contact-compact-box .compact-desc {
    color: #64748B;
    font-size: 0.85rem;
    line-height: 1.4;
}

.contact-compact-box .compact-action-link {
    color: #00B98E;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.contact-compact-box .compact-action-link:hover {
    color: #008f6d;
    text-decoration: none;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 2px;
    border: 1px solid rgba(14, 46, 80, 0.15);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #0E2E50;
    background-color: #FFFFFF;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: #00B98E;
    box-shadow: 0 0 0 3px rgba(0, 185, 142, 0.12);
}

.contact-form-card label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #0E2E50;
    margin-bottom: 0.35rem;
}

.contact-submit-btn {
    transition: background-color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.contact-submit-btn:hover {
    background-color: #008f6d !important;
}

/* Side Floating WhatsApp Widget (Right Edge Middle) */
.side-wa-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1020;
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: #FFFFFF !important;
    padding: 10px 13px;
    border-radius: 8px 0 0 8px;
    box-shadow: -3px 5px 14px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: visible;
    animation: wa-side-attention 2.5s ease-in-out 4;
}

.side-wa-btn i {
    font-size: 22px;
    flex-shrink: 0;
}

.side-wa-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background-color: #E53E3E;
    color: #FFFFFF;
    font-size: 0.62rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.side-wa-text {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 0;
    overflow: hidden;
}

.side-wa-btn:hover {
    padding-left: 14px;
    padding-right: 17px;
    box-shadow: -5px 7px 20px rgba(37, 211, 102, 0.55);
    color: #FFFFFF !important;
}

.side-wa-btn:hover .side-wa-text {
    max-width: 140px;
    opacity: 1;
    margin-left: 8px;
}

@keyframes wa-side-attention {

    0%,
    100% {
        box-shadow: -3px 5px 14px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: -5px 8px 22px rgba(37, 211, 102, 0.75);
    }
}

@media (max-width: 576px) {
    .side-wa-btn {
        top: 45%;
        padding: 8px 11px;
        border-radius: 6px 0 0 6px;
    }

    .side-wa-btn i {
        font-size: 19px;
    }

    .side-wa-badge {
        width: 16px;
        height: 16px;
        font-size: 0.58rem;
        top: -3px;
        left: -3px;
    }
}


/* Floating WhatsApp Button Component */
.floating-wa-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    background-color: #25D366;
    color: #FFFFFF !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    z-index: 1030;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: wa-subtle-pulse 3s infinite ease-in-out;
}

.floating-wa-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
    color: #FFFFFF !important;
}

.floating-wa-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: #E53E3E;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    line-height: 1;
}

@keyframes wa-subtle-pulse {

    0%,
    100% {
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
}

@media (max-width: 576px) {
    .floating-wa-btn {
        bottom: 16px;
        left: 16px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .floating-wa-badge {
        width: 16px;
        height: 16px;
        font-size: 0.62rem;
    }
}

/* Floating AI Chat Button & Panel Component */
.floating-ai-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    z-index: 1030;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.floating-ai-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    transition: transform 0.25s ease;
    animation: ai-float-pulse 3s infinite ease-in-out;
}

.floating-ai-btn:hover {
    transform: none;
    background: transparent;
    box-shadow: none;
}

.floating-ai-btn:hover img {
    transform: scale(1.06);
    animation-play-state: paused;
}

@keyframes ai-float-pulse {
    0%,
    100% {
        transform: translateY(0) scale(0.93);
    }

    50% {
        transform: translateY(-4px) scale(1.02);
    }
}

@keyframes ai-subtle-glow {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(8, 30, 54, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(0, 185, 142, 0.4);
    }
}

.ai-chat-panel {
    position: fixed;
    bottom: 86px;
    right: 24px;
    width: 340px;
    height: 430px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(8, 30, 54, 0.22);
    border: 1px solid #E2E8F0;
    z-index: 1040;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ai-chat-panel.active {
    display: flex;
}

.ai-chat-header {
    background-color: #081E36;
    color: #FFFFFF;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #00B98E;
}

.ai-chat-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.ai-chat-title i {
    color: #00B98E;
    font-size: 1.1rem;
}

.ai-chat-close {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.ai-chat-close:hover {
    color: #FFFFFF;
}

.ai-chat-body {
    flex: 1;
    padding: 16px;
    background-color: #F8FAFC;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-chat-msg-bot {
    background-color: #FFFFFF;
    color: #1E293B;
    border: 1px solid #E2E8F0;
    border-radius: 10px 10px 10px 2px;
    padding: 10px 14px;
    font-size: 0.85rem;
    line-height: 1.45;
    max-width: 88%;
    align-self: flex-start;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ai-chat-msg-user {
    background-color: #00B98E;
    color: #FFFFFF;
    border-radius: 10px 10px 2px 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    line-height: 1.45;
    max-width: 88%;
    align-self: flex-end;
}

.ai-chat-footer {
    padding: 12px;
    background-color: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.ai-chat-input {
    flex: 1;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: #0F172A;
    outline: none;
    transition: border-color 0.2s ease;
}

.ai-chat-input:focus {
    border-color: #00B98E;
}

.ai-chat-send {
    background-color: #00B98E;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ai-chat-send:hover {
    background-color: #008f6d;
}

@media (max-width: 576px) {
    .floating-ai-btn {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .ai-chat-panel {
        right: 16px;
        bottom: 74px;
        width: calc(100vw - 32px);
        max-width: 340px;
        height: 390px;
    }
}

/* Floating Widgets Speech Bubbles */
.floating-widget-container {
    position: fixed;
    z-index: 1030;
}

.floating-widget-container.left {
    bottom: 24px;
    left: 24px;
}

.floating-widget-container.right {
    bottom: 24px;
    right: 24px;
}

.floating-widget-container.left .floating-wa-btn {
    position: relative;
    bottom: 0;
    left: 0;
}

.floating-widget-container.right .floating-ai-btn {
    position: relative;
    bottom: 0;
    right: 0;
}

.widget-speech-bubble {
    position: absolute;
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 6px 14px;
    box-shadow: 0 4px 14px rgba(8, 30, 54, 0.12);
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 600;
    color: #081E36;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    transform: translateY(6px);
    z-index: 1035;
    pointer-events: none;
}

.widget-speech-bubble.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.widget-speech-bubble.bubble-left {
    bottom: 60px;
    left: 0;
}

.widget-speech-bubble.bubble-right {
    bottom: 60px;
    right: 0;
}

@media (max-width: 576px) {
    .floating-widget-container.left {
        bottom: 16px;
        left: 16px;
    }

    .floating-widget-container.right {
        bottom: 16px;
        right: 16px;
    }

    .widget-speech-bubble {
        font-size: 0.78rem;
        padding: 5px 12px;
    }
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness Enhancements
   ========================================================================== */

@media (max-width: 991.98px) {
    /* Touch Target & Input Zoom Optimization for Mobile Safari */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Sticky Navbar Header on Mobile / Tablet */
    .nav-bar {
        height: auto !important;
        min-height: 60px;
    }

    .nav-bar.sticky-top {
        height: auto !important;
        min-height: 56px;
    }

    .navbar {
        flex-wrap: wrap;
        padding: 0.5rem 1rem !important;
    }

    .navbar-collapse {
        flex-basis: 100%;
        margin-top: 8px;
        padding: 12px 16px;
        background-color: #ffffff;
        border: 1px solid rgba(14, 46, 80, 0.08);
        box-shadow: 0 8px 20px rgba(14, 46, 80, 0.08);
        border-radius: 2px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-light .navbar-nav {
        align-items: stretch;
        gap: 4px;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px 14px !important;
        width: 100%;
        min-height: 40px;
        border-radius: 2px;
    }

    .nav-cta-btn {
        width: 100%;
        margin-top: 8px;
        height: 40px;
        font-size: 0.9rem;
    }

    /* Inner Page Header */
    .page-header-section {
        padding: 1.75rem 0;
    }

    .page-header-title {
        font-size: 1.65rem;
    }

    /* Hero Section */
    .hero-content {
        text-align: left;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.25;
    }

    .hero-text {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-img {
        max-height: 340px;
    }

    /* About Section */
    .about-title {
        font-size: 1.8rem;
    }

    /* Call To Action Card */
    .cta-card {
        padding: 1.75rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-img-container img {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    /* Section Titles & Headers */
    .section-title,
    .services-section .section-title,
    .testimonial-section .testimonial-title,
    .contact-options-section .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle,
    .services-section .section-subtitle,
    .testimonial-section .testimonial-subtitle {
        font-size: 0.9rem;
    }

    /* About Section */
    .about-title {
        font-size: 1.55rem;
    }

    /* Service Cards */
    .services-section .service-img-wrapper {
        height: 175px;
    }

    /* Call to Action Card */
    .cta-card {
        padding: 1.25rem;
    }

    .cta-title {
        font-size: 1.45rem;
    }

    .cta-desc {
        font-size: 0.88rem;
    }

    .cta-btn-primary {
        width: 100%;
        justify-content: center;
    }

    /* Footer Mobile Layout */
    .footer {
        text-align: left;
    }

    .footer .copyright {
        text-align: center;
    }

    .footer .footer-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 8px;
    }

    .footer .footer-menu a {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }
}

@media (max-width: 575.98px) {
    /* Container Padding Tweak */
    .container-xxl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Hero Section */
    .hero-title {
        font-size: 1.55rem;
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .hero-cta-btn {
        width: 100%;
        height: 44px;
        font-size: 0.9rem;
    }

    .hero-img {
        max-height: 260px;
    }

    /* Category Cards Grid */
    .assignment-types-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .cat-card {
        padding: 14px 10px;
    }

    .cat-icon-box {
        width: 38px;
        height: 38px;
        margin-bottom: 6px;
    }

    .cat-icon {
        font-size: 1.15rem;
    }

    .cat-title {
        font-size: 0.85rem;
    }

    .cat-count {
        font-size: 0.75rem;
    }

    /* Testimonials Carousel Nav Tweak */
    .testimonial-section .testimonial-card {
        padding: 18px 14px;
        margin: 4px 2px;
        border-radius: 12px;
    }

    .testimonial-section .testimonial-text {
        font-size: 0.88rem;
        margin-bottom: 14px;
    }

    .testimonial-section .testimonial-carousel {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .testimonial-section .testimonial-carousel .owl-nav {
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        margin-top: 14px;
        justify-content: center;
        gap: 12px;
    }

    .testimonial-section .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-section .testimonial-carousel .owl-nav .owl-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Contact Page Actions & Buttons */
    .contact-compact-box {
        padding: 1rem;
    }

    .location-action-box {
        width: 100%;
        justify-content: center;
    }

    #backend-map-container,
    #backend-map-iframe {
        min-height: 250px !important;
    }

    /* Side WhatsApp Button Position Tweak */
    .side-wa-btn {
        top: 38%;
        padding: 7px 10px;
        border-radius: 6px 0 0 6px;
    }

    .side-wa-btn i {
        font-size: 18px;
    }

    /* Floating Speech Bubbles */
    .widget-speech-bubble {
        display: none !important;
    }
}

/* Contact Page Specific — Hide floating WhatsApp, AI chatbot, and back-to-top */
body.contact-page .side-wa-btn,
body.contact-page .floating-ai-btn,
body.contact-page .floating-widget-container,
body.contact-page .ai-chat-panel,
body.contact-page .floating-wa-btn,
body.contact-page .back-to-top,
.contact-page .side-wa-btn,
.contact-page .floating-ai-btn,
.contact-page .floating-widget-container,
.contact-page .ai-chat-panel,
.contact-page .floating-wa-btn,
.contact-page .back-to-top {
    display: none !important;
}