/* ========== GLOBAL FONT STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Poppins for all headings */
h1, h2, h3, h4, h5, h6, .cpaas-heading, .cpaas-heading span,.cpaas-section-label, 
.cpaas-label-text,.cpaas-stat-label-text,.cpaas-btn {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Inter for everything else */
body, p, .cpaas-subheading,.cpaas-description,.cpaas-label-icon,.cpaas-stat-label-item,
.cpaas-stat-label-icon,.cpaas-cta-buttons,
.cpaas-slider-dots,.cpaas-dot,.cpaas-stat-label-text {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ================================================================
   TELEOSS — DESKTOP ALIGNMENT FIX Only applies at min-width: 1025px (desktop).
   ================================================================ */

@media (min-width: 1025px) {

    /* ── GLOBAL OVERFLOW GUARD ── */
    html, body {
        overflow-x: hidden !important;
    }

    /* ================================================================
       SECTION 1 — Hero Slider Root cause: margin-left: 10px on .cpaas-slider-container
       ================================================================ */
    .cpaas-slider-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Inner hero content — centred column, same width as all other sections */
    .cpaas-hero-content {
        max-width: 1280px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        box-sizing: border-box !important;
    }

    /* Move the 3 labels closer to the buttons (desktop only) */
    .cpaas-stats-labels-container {
        margin-top: 12px !important;
    }

    /* Match slide 2 visual alignment with slide 1 */
    #slide2 .cpaas-hero-visual {
        justify-content: flex-end !important;
        align-items: center !important;
        width: 100% !important;
    }
    /* ================================================================
       SECTION 2 — Products Root cause: .products-grid { width: 1250px } hardcoded
       ================================================================ */
    .products-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .products-section > .container,
    .products-section .container {
        max-width: 1280px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        box-sizing: border-box !important;
    }

    /* Kill the hardcoded 1250px width */
    .products-section .products-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* ================================================================
       SECTION 3 — SMS Gateway (teleoss-hero-section) Root cause: .teleoss-container missing margin: 0 auto
       ================================================================ */
    .teleoss-hero-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .teleoss-container {
        max-width: 1280px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        box-sizing: border-box !important;
    }

    /* Keep the Messaging Gateway image aligned within the right column */
    .teleoss-hero-image-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        box-sizing: border-box !important;
    }

    .teleoss-hero-image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: fill !important;
        object-position: center !important;
    }

    /* Move feature cards a little closer to the description (desktop only) */
    .teleoss-features-grid {
        margin-top: 0.5rem !important;
    }

    /* ================================================================
       SECTION 4 — Why TeleOSS
       Root cause: .container { margin-left: 42px } (global class!) and max-width: 1250px without auto centering
       ================================================================ */
    .why-teleoss-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .why-teleoss-section > .container,
    .why-teleoss-section .container {
        max-width: 1280px !important;
        width: 100% !important;
        margin-left: auto !important;  /* overrides the 42px */
        margin-right: auto !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        box-sizing: border-box !important;
    }

    .why-teleoss-section .stats-grid {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* ================================================================
       SECTION 5 — Testimonials
       ================================================================ */
    .testimonials-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .testimonials-section > .container,
    .testimonials-section .container {
        max-width: 1280px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        box-sizing: border-box !important;
    }

    /* ================================================================
       SECTION 6 — FAQ
       Root cause: .faq-section { padding: 40px 0 } is fine,but .container inherits the rogue margin-left: 42px
        from the global .container rule in section 4's style block
       ================================================================ */
    .faq-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .faq-section > .container,
    .faq-section .container {
        max-width: 1280px !important;
        width: 100% !important;
        margin-left: auto !important;  /* overrides the 42px */
        margin-right: auto !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        box-sizing: border-box !important;
    }

    /* ================================================================
       SECTION 7 — Demo Root cause: .demo-container { margin-left: 30px } hardcoded
       ================================================================ */
    .demo-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .demo-container {
        max-width: 1280px !important;
        width: 100% !important;
        margin-left: auto !important;  /* overrides the 30px */
        margin-right: auto !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        box-sizing: border-box !important;
    }

}

/* ================================================================
   TELEOSS — TABLET ALIGNMENT FIX Applies ONLY at: min-width 429px to max-width 1024px
   ================================================================ */

@media (min-width: 429px) and (max-width: 1024px) {

    /* ── GLOBAL OVERFLOW GUARD ── */
    html, body {
        overflow-x: hidden !important;
    }
/* ================================================================
   TELEOSS — TABLET ALIGNMENT FIX (UPDATED) Applies ONLY at: min-width 429px to max-width 1024px
   ================================================================ */

@media (min-width: 429px) and (max-width: 1024px) {

    /* ── GLOBAL OVERFLOW GUARD ── */
    html, body {
        overflow-x: hidden !important;
    }

    /* ================================================================
       SECTION 1 — Hero Slider (CPaaS)
       ================================================================ */

    .cpaas-slider-container {
        height: auto !important;
        min-height: auto !important;
        margin-top: 0px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 0 20px 0 !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        background-image: none !important;
        overflow: visible !important;
    }

    .cpaas-slides-wrapper {
        position: relative !important;
        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        overflow: hidden !important;
        height: var(--slide-height, auto) !important;
        min-height: var(--slide-height, 100px) !important;
    }

    /* ── SMOOTH SLIDE FIX: hidden slides collapse to zero, no flicker ── */
    .cpaas-slide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        display: block !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
        transition: opacity 0.5s ease, visibility 0.5s ease !important;
    }

    /* Active slide: back in normal flow, full height */
    .cpaas-slide.cpaas-active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all !important;
        position: absolute !important;
        display: block !important;
    }

    .cpaas-hero-section {
        min-height: auto !important;
        width: 100% !important;
        padding: 24px 0 16px !important;
        align-items: flex-start !important;
        background: #ffffff !important;
        background-image: none !important;
        display: block !important;
    }

    .cpaas-container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .cpaas-hero-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        grid-template-columns: unset !important;
        align-items: unset !important;
    }

    .cpaas-hero-text {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        flex: unset !important;
    }

    .cpaas-hero-text .cpaas-heading {
        font-size: clamp(28px, 4.5vw, 38px) !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }

    .cpaas-subheading {
        font-size: clamp(15px, 2vw, 17px) !important;
        max-width: 100% !important;
        margin-bottom: 16px !important;
    }

    .cpaas-cta-buttons {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        margin-top: 12px !important;
    }

    .cpaas-btn {
        flex: 1 1 160px !important;
        min-width: 140px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .cpaas-stats-labels-container {
        gap: 16px !important;
        flex-wrap: wrap !important;
        margin-top: 16px !important;
        margin-bottom: 8px !important;
    }

    /* Slide visuals */
    #slide1 .cpaas-hero-visual,
    #slide2 .cpaas-hero-visual {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
        flex: unset !important;
    }

    #slide1 .cpaas-hero-image,
    #slide2 .cpaas-hero-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Navigation dots: directly below active slide */
    .cpaas-slider-dots {
        position: static !important;
        bottom: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        margin-top: 12px !important;
        margin-bottom: 8px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 0 !important;
        transform: none !important;
        -webkit-transform: none !important;
        z-index: auto !important;
    }

    /* ================================================================
       SECTION 2 — Products Grid
       ================================================================ */

    .products-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .products-section .container {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
    }

    .products-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }

    .product-image {
        height: 180px !important;
    }

    .section-header h2 {
        font-size: clamp(24px, 4vw, 32px) !important;
    }

    /* ── Card title equal height fix ── */
    .product-card {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-card .card-content {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
        padding: 1rem !important;
        box-sizing: border-box !important;
    }

    .product-card .card-title {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        min-height: 2.8rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 8px !important;
    }

    .product-card .card-description {
        font-size: 0.9rem !important;
        flex-grow: 1 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 8px !important;
    }

    .product-card .card-link {
        margin-top: auto !important;
        padding-top: 6px !important;
    }

    /* ================================================================
       SECTION 3 — SMS Gateway
       ================================================================ */

    .teleoss-hero-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 30px 0 !important;
    }

    .teleoss-container {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
    }

    .teleoss-hero-content {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        width: 100% !important;
    }

    .teleoss-hero-text {
        width: 100% !important;
        order: 1 !important;
    }

    .teleoss-hero-visual {
        order: 2 !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .teleoss-hero-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
        box-sizing: border-box !important;
    }

    .teleoss-hero-image {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }

    .teleoss-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        width: 100% !important;
    }

    .teleoss-main-heading {
        font-size: clamp(26px, 4vw, 34px) !important;
    }

    /* ================================================================
       SECTION 4 — Why TeleOSS
       ================================================================ */

    .why-teleoss-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .why-teleoss-section .container {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
    }

    .why-teleoss-section .content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .why-teleoss-section .left-column {
        width: 100% !important;
    }

    .why-teleoss-section .right-column {
        width: 100% !important;
        justify-content: center !important;
    }

    .why-teleoss-section .stats-grid {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 1rem !important;
        row-gap: 1rem !important;
        margin: 0 !important;
    }

    .why-teleoss-section .stat-card {
        width: 100% !important;
        min-height: 150px !important;
        height: auto !important;
        aspect-ratio: unset !important;
        padding: 1rem !important;
        box-sizing: border-box !important;
    }

    .why-teleoss-section .stat-icon-background {
        width: 52px !important;
        height: 52px !important;
        margin-bottom: 0.5rem !important;
    }

    .why-teleoss-section .stat-icon-background svg {
        width: 24px !important;
        height: 24px !important;
    }

    .why-teleoss-section .stat-text {
        font-size: 1.75rem !important;
    }

    .why-teleoss-section .stat-title {
        font-size: 0.85rem !important;
    }

    .section-title {
        font-size: clamp(24px, 4vw, 32px) !important;
    }

    /* ================================================================
       BLOG SECTION — NEW
       ================================================================ */

    .blog-section {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 16px 24px !important;
        box-sizing: border-box !important;
    }

    .blog-section .section-heading {
        font-size: clamp(22px, 4vw, 30px) !important;
        margin-bottom: 3.5rem !important;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 3.25rem 1.25rem !important;   /* first value = row gap (vertical), second = column gap */
        margin-bottom: 1.5rem !important;
    }

    .blog-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .card-image {
        width: 100% !important;
    }

    .card-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: fill !important;
        object-position: center !important;
    }

    /* Blog button full width aligned with section */
    .button-wrapper {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 1rem !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }

    .see-more-btn {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        text-align: center !important;
        box-sizing: border-box !important;
        padding: 0.8rem 1rem !important;
    }

    /* ================================================================
       SECTION 5 — Testimonials
       ================================================================ */

    .testimonials-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .testimonials-section .container {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 0.5rem) !important;
        min-width: calc(50% - 0.5rem) !important;
    }

    .testimonials-slider {
        padding: 0 44px !important;
        max-width: 100% !important;
    }

    .testimonials-title {
        font-size: clamp(22px, 4vw, 30px) !important;
    }

    /* ================================================================
       SECTION 6 — FAQ
       ================================================================ */

    .faq-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .faq-section .container {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
    }

    .faq-section .section-title {
        font-size: clamp(20px, 3.5vw, 28px) !important;
    }

    .faq-btn {
        font-size: 15px !important;
        padding: 16px 18px !important;
    }

    /* ================================================================
       SECTION 7 — Demo
       ================================================================ */

    .demo-section {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .demo-container {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
        flex-direction: column !important;
        gap: 32px !important;
    }

    .demo-content,
    .demo-form-container {
        max-width: 100% !important;
        width: 100% !important;
    }

    .demo-title {
        font-size: clamp(28px, 5vw, 40px) !important;
    }

    .demo-description {
        font-size: 16px !important;
    }

    .form-row.two-col {
        flex-direction: row !important;
        gap: 12px !important;
    }

}

/* Nested breakpoint for narrow tablets */
@media (min-width: 429px) and (max-width: 680px) {
    .form-row.two-col {
        flex-direction: column !important;
        gap: 0 !important;
    }
}
}

/* Right side visual container */
.cpaas-hero-visual {
  flex: 0.5;
  max-width: 550px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}

/* Shared hero image styles for both slides */
.cpaas-hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 30px rgba(0, 101, 157, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cpaas-hero-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px rgba(0, 101, 157, 0.3);
}

/* Update the hero content grid to accommodate the hero image */
.cpaas-hero-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Update text container to be more compact for 3 lines */
.cpaas-hero-text {
    flex: 1;
    max-width: 550px;
}

/* Make heading more compact for 3 lines */
.cpaas-hero-text .cpaas-heading {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #1a202c;
    margin-top: 0;
    text-align: left;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: none;
}

/* Ensure slide 1 content stays in 3 lines */
#slide1 .cpaas-heading {
    max-width: 600px;  /* Constrain width to force wrapping */
    font-size: 38px;  /* Adjust if needed for your specific text */
}

/* Update the section styles for right alignment */
.cpaas-hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0;
    width: 100%;
    /* background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); */
}

/* Right dashboard section alignment */
.cpaas-hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    height: 100%;
    flex: 0.5;
    max-width: 550px;
    margin-left: auto;  /* Pushes the container to the right */
}

/* Ensure the container within also aligns right */
.cpaas-hero-visual > * {
    margin-left: auto;
}

.cpaas-hero-section {
  width: 100%;
  background: #ffffff;
  padding: 60px 0;
}

.cpaas-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.cpaas-hero-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.cpaas-hero-text {
  flex: 1;
  max-width: 580px;
}

.cpaas-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  background: rgba(0,101,157,0.08);
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(0,101,157,0.2);
}

.cpaas-label-icon {
  color: #00659d;
  display: flex;
}

.cpaas-label-icon svg {
  width: 18px;
  height: 18px;
}

.cpaas-label-text {
  color: #00659d;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.4px;
}

.cpaas-heading {
  font-size: 40px;
  margin-bottom: 18px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.highlighted {
  color: #00659d;
}

.cpaas-subheading {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: justify;
  -webkit-hyphens: none;
  -ms-hyphens: none; hyphens: none;
  text-justify: inter-word;
}

.cpaas-cta-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: nowrap;
}

.cpaas-btn {
  padding: 16px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  min-width: 160px;
  justify-content: center;
}

.cpaas-btn-primary {
  background: #00659d;
  color: white;
  box-shadow: 0 10px 15px rgba(0,101,157,0.2);
}

.cpaas-btn-primary:hover {
  background: #005082;
  transform: translateY(-2px);
}

.cpaas-btn-secondary {
  border: 2px solid #00659d;
  color: #00659d;
  background: white;
  padding: 14px 24px;
}

.cpaas-btn-secondary:hover {
  background: #00659d;
  color: white;
  transform: translateY(-2px);
}

.cpaas-stats-labels-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.cpaas-stat-label-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cpaas-stat-label-icon {
  display: flex;
}

.cpaas-stat-label-text {
  color: #00659d;
  font-weight: 500;
  font-size: 16px;
}
.cpaas-slider-container {
    position: relative;
    width: 100%;
    /* height: auto; */
    height: 100vh;
    overflow: visible;
    position: relative !important;
    z-index: 1 !important;
    /* background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); */
    margin-top: 20px;
    /* margin-left:10px; */
    padding: 40px 0;
    display: flex;
    align-items: center;
}

.cpaas-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
}

.cpaas-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

.cpaas-slide.cpaas-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Navigation Dots - Desktop */
.cpaas-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 100;
}

.cpaas-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 101, 157, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.cpaas-dot.cpaas-active {
    background: #00659d;
    transform: scale(1.2);
}

.cpaas-dot:hover {
    background: #00659d;
    transform: scale(1.2);
}

/* ========== SECTION STYLES ========== */
.cpaas-hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0;
    width: 100%;
    /* background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); */
}

/* Main content grid */
.cpaas-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Left text section */
.cpaas-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
    text-align: left;
}

/* Right dashboard section */
.cpaas-hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    height: 100%;
}

/* Label styling */
.cpaas-hero-text .cpaas-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem; /* REDUCED from 1.5rem to 1rem */
    background-color: rgba(0, 101, 157, 0.08);
    padding: 8px 16px;
    border-radius: 25px;
    width: fit-content;
    border: 1px solid rgba(0, 101, 157, 0.2);
}

.cpaas-hero-text .cpaas-label-icon {
    color: #00659d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpaas-hero-text .cpaas-label-icon svg {
    width: 16px;
    height: 16px;
}

.cpaas-hero-text .cpaas-label-text {
    color: #00659d;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* Heading - Base styles - DYNAMIC NOW */
.cpaas-hero-text .cpaas-heading {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.55rem; /* REDUCED from 1.5rem to 0.75rem */
    color: #1a202c;
    margin-top: 0;
    text-align: left;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: none;
}

/* Highlighted text styling - INLINE BY DEFAULT */
.cpaas-heading .highlighted {
    font-weight: 500;
    display: inline;
}

/* Slide 1 - Blue highlight */
#slide1 .highlighted.slide1-highlight {
    color: #00659d;
}

/* Slide 2 - Red highlight */
#slide2 .highlighted.slide2-highlight {
    color: #ff2f27;
}

/* Subheading */
.cpaas-subheading {
    font-size: 18px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem; /* REDUCED from 1.5rem to 1rem */
    max-width: 31rem;
    text-align: left;
}

/* ========== STATS LABELS STYLES ========== */
.cpaas-stats-labels-container {
    display: flex;
    gap: 1.8rem;
    margin-top: 1rem; /* REDUCED from 1.5rem to 1rem */
    margin-bottom: 1rem; /* REDUCED from 1.5rem to 1rem */
    flex-wrap: wrap;
}

.cpaas-stat-label-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
    cursor: default;
}

.cpaas-stat-label-item:hover {
    transform: translateY(-2px);
}

.cpaas-stat-label-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.cpaas-stat-label-icon svg {
    width: 17px;
    height: 17px;
    transition: transform 0.3s ease;
}

.cpaas-stat-label-item:hover .cpaas-stat-label-icon svg {
    transform: scale(1.1);
}

.cpaas-stat-label-text {
    color: #2d3748;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
}

/* ========== BUTTONS ========== */
.cpaas-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 0.5rem; /* REDUCED from 1.5rem to 0.5rem */
}

.cpaas-btn {
    padding: 1rem 2.2rem;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    font-size: 1rem;
    white-space: nowrap;
}

.cpaas-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.cpaas-btn-primary {
    background-color: #00659d;
    color: white;
}

.cpaas-btn-primary:hover {
    background-color: #005082;
    color: white;
}

.cpaas-btn-secondary {
    background-color: white;
    color: #00659d;
    border-color: #00659d;
}

.cpaas-btn-secondary:hover {
    background-color: #00659d;
    color: white;
}


/* Desktop - Move dots upside (alternative with absolute positioning) */
@media (min-width: 1025px) {
    .cpaas-slider-container {
        position: relative;
        margin-top:10px; /* Ensure container is positioned */
    }
    
    .cpaas-slider-dots {
        position: absolute;
        bottom: auto;  /* Remove bottom positioning */
        top: 550px;     /* Position from top of container */
        margin-top: 0;
    }
    
    /* Optional: Adjust if dots overlap with slide content */
    .cpaas-slides-wrapper {
        margin-top: 40px; /* Push slides down to make room for dots */
    }
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 767px) {
    .cpaas-slider-container {
        min-height: auto;
        padding: 15px 0 100px;
        height: auto;
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }
    
    .cpaas-slides-wrapper {
        min-height: auto;
        position: relative;
        height: auto;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .cpaas-slide {
        position: relative;
        height: auto;
        opacity: 1;
        visibility: visible;
        display: none;
        align-items: flex-start;
        width: 100%;
    }
    
    .cpaas-slide.cpaas-active {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .cpaas-hero-section {
        min-height: auto;
        align-items: flex-start;
        width: 100%;
        margin-bottom: 25px;
    }
    
    .cpaas-hero-content {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 1rem 30px;
        margin-top: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .cpaas-hero-text {
        order: 1;
        padding: 0;
        width: 100%;
        margin-top: 0;
    }
    
    /* Mobile heading styles - DYNAMIC with natural wrapping */
    .cpaas-hero-text .cpaas-heading {
        font-size: clamp(28px, 6vw, 32px);
        line-height: 1.3;
        margin-bottom: 0.5rem; /* REDUCED from 1rem to 0.5rem */
        display: block;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: none;
    }
    
    .cpaas-heading .highlighted {
        display: inline;
        white-space: normal;
        word-wrap: break-word;
        font-size: clamp(28px, 6vw, 32px);
    }
    
    .cpaas-subheading {
        font-size: 1rem;
        margin-bottom: 0.6rem; /* REDUCED from 1rem to 0.6rem */
        max-width: 100%;
    }
    
    /* Mobile Image Styles - NEW */
    .cpaas-hero-visual {
        order: 2;
        justify-content: center;
        width: 100%;
        margin-bottom: 20px;
        padding: 0 10px;  /* Add some side padding */
        margin-left: 0;
        max-width: 100%;
    }

    .cpaas-cta-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 0.3rem; /* REDUCED from 0.5rem to 0.3rem */
    }
    
    .cpaas-btn {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
        box-sizing: border-box;
    }
    
    .cpaas-stats-labels-container {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding-bottom: 5px;
        margin-top: 0.6rem; /* REDUCED from 0.8rem to 0.6rem */
        margin-bottom: 0.6rem; /* REDUCED from 0.8rem to 0.6rem */
    }
    
    .cpaas-stat-label-item {
        flex: 0 1 auto;
        min-width: auto;
        justify-content: center;
    }
    
    .cpaas-stat-label-text {
        font-size: 12px;
        white-space: nowrap;
    }
    .cpaas-slider-dots {
        position: relative;
        bottom: auto;
        margin-top: 20px;  /* Reduced from 1040px to normal spacing */
        margin-bottom: 40px;
        padding: 20px 0 30px;
        width: 100%;
        display: flex;
        justify-content: center;
        order: 3;
        background: transparent;
        clear: both;
    }
    
    .cpaas-slider-container {
        padding-bottom: 40px;
    }
    
    .cpaas-slider-container > :last-child {
        margin-bottom: 35px;
    }

    .cpaas-hero-visual {
        margin-bottom: 20px;
    }

}

/* ========== SMALL MOBILE ========== */
@media (max-width: 480px) {

  /* ── ONLY width/alignment fixes ── */
  .cpaas-slider-container {
    padding: 10px 0 80px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .cpaas-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .cpaas-hero-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .cpaas-hero-text {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* keep your existing heading/subheading/btn/label styles below unchanged */
  .cpaas-hero-text .cpaas-heading {
    font-size: clamp(24px, 6.5vw, 28px);
    line-height: 1.3;
    display: block;
    margin-bottom: 0.4rem;
  }

  .cpaas-heading .highlighted {
    display: inline;
    font-size: clamp(24px, 6.5vw, 28px);
  }

  .cpaas-subheading {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .cpaas-hero-visual {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 15px;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .cpaas-stats-labels-container {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .cpaas-stat-label-item {
    flex: 0 1 auto;
  }

  .cpaas-stat-label-text {
    font-size: 11px;
    white-space: nowrap;
  }

  .cpaas-stat-label-icon {
    width: 20px;
    height: 20px;
  }

  .cpaas-stat-label-icon svg {
    width: 14px;
    height: 14px;
  }

  .cpaas-cta-buttons {
    margin-top: 0.25rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .cpaas-btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }


  /* dots — untouched, your original values kept */
  .cpaas-slider-dots {
    margin-top: 8px;
    margin-bottom: 14px;
    padding: 10px 0 14px;
  }

  .cpaas-dot {
    width: 10px;
    height: 10px;
    margin: 0 6px;
  }

  .cpaas-slides-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 20px;
  }

}

/* ========== EXTRA SMALL MOBILE ========== */
@media (max-width: 360px) {
    .cpaas-slider-container {
        padding: 5px 0 70px;
    }
    
    .cpaas-hero-text .cpaas-heading {
        font-size: clamp(20px, 6vw, 24px);
        line-height: 1.3;
        display: block;
        margin-bottom: 0.3rem; /* REDUCED from 0.4rem to 0.3rem */
    }
    
    .cpaas-heading .highlighted {
        display: inline;
        font-size: clamp(20px, 6vw, 24px);
    }
    
    .cpaas-subheading {
        font-size: 0.9rem;
        margin-bottom: 0.4rem; /* REDUCED from 0.5rem to 0.4rem */
    }
    
    /* Extra Small Mobile Image Styles - NEW */
    .cpaas-hero-visual {
        margin-bottom: 12px;
        padding: 0 3px;
    }

    .cpaas-stats-labels-container {
        margin-top: 0.4rem; /* REDUCED from 0.5rem to 0.4rem */
        margin-bottom: 0.4rem; /* REDUCED from 0.5rem to 0.4rem */
    }
    
    .cpaas-stat-label-text {
        font-size: 10px;
    }
    
    .cpaas-stat-label-icon {
        width: 18px;
        height: 18px;
    }
    
    .cpaas-stat-label-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .cpaas-btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    }
    
    .cpaas-slider-dots {
        margin-top: 15px;
        margin-bottom: 30px;
        padding: 15px 0 25px;
    }
    
    .cpaas-slides-wrapper {
        margin-bottom: 15px;
    }

    .cpaas-dot {
        margin: 0 5px;
    }


/* First slider refinements */
.cpaas-section-label,
.cpaas-hero-text .cpaas-section-label {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1;
    overflow: visible;
}

.cpaas-label-text,
.cpaas-hero-text .cpaas-label-text {
    display: inline-block;
    line-height: 1.25;
}

.cpaas-label-icon svg,
.cpaas-hero-text .cpaas-label-icon svg {
    display: block;
}

#slide1 .cpaas-hero-image,
#slide2 .cpaas-hero-image {
    max-width: 550px;
}

@media (min-width: 1025px) {
    .cpaas-slider-container {
        margin-top: 10px !important;
        padding-bottom: 16px;
    }

    .cpaas-slider-dots {
        top: auto;
        bottom: 16px;
        margin-top: 0;
    }

    .cpaas-slides-wrapper {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .cpaas-slider-container {
        padding-bottom: 20px;
    }

    .cpaas-slider-dots {
        margin-top: 10px;
        margin-bottom: 16px;
        padding: 12px 0 16px;
    }
}

@media (max-width: 480px) {
    .cpaas-slider-dots {
        margin-top: 8px !important;
        margin-bottom: 14px !important;
        padding: 10px 0 14px !important;
    }
}

@media (max-width: 360px) {
    .cpaas-slider-dots {
        margin-top: 8px;
        margin-bottom: 12px;
        padding: 10px 0 12px;
    }
}

.cpaas-slide,
.cpaas-btn,
.cpaas-stat-label-item {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media print {
    .cpaas-slider-container {
        height: auto;
        min-height: auto;
    }
    
    .cpaas-slide {
        position: relative;
        opacity: 1;
        visibility: visible;
        page-break-inside: avoid;
    }
    
    .cpaas-slider-dots {
        display: none;
    }
}

/* ========== SECTION SPACING ========== */
.products-section {
    /* background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); */
    padding-top: 0rem;
    padding-bottom: 0rem;
    margin-top: 10px;
}

/* ========== PRODUCT CARDS ========== */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 35px;
    font-weight: 500;
    color: #090909;
    margin-bottom: 0.75rem;
}

.section-description {
    font-size: 18px;
    color: #4a5568;
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.6;
}

/* INCREASED CARD WIDTH TO MATCH FIRST SECTION */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    row-gap: 1.5rem;
    width: 1260px;
    /* margin-left: 10px; */
}

/* Remove the individual card margin-top and use grid gap instead */
.products-grid .product-card:nth-child(n+5) {
    margin-top: 0;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 101, 157, 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 101, 157, 0.2);
    border-color: #00659d;
}

/* Increased image width and height */
.product-image {
    width: 100%;
    height: 200px;
    object-fit: fill;
    display: block;
    border-radius: 16px 16px 0 0;
    transition: transform 0.5s ease;
    background-color: white;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Card content with increased padding */
.card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.75rem;
}

.product-card .card-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #000001;
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s ease;
    margin-top:10px;
}

.product-card:hover .card-title {
    color: #00659d;
}

.product-card .card-description {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    flex-grow: 1;
    margin: 0;
    text-align: left;
}

.product-card .card-link {
    color: #00659d;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.product-card .card-link:hover {
    color: #005082;
}

.product-card .card-link::after {
    content: "→";
    transition: transform 0.3s ease;
}

.product-card .card-link:hover::after {
    transform: translateX(4px);
}

/* RESPONSIVE BREAKPOINTS *//* Tablet: 1200px and below */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        row-gap: 1.25rem;
        max-width: 1000px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .product-card .card-title {
        font-size: 1.2rem;
    }
    
    .product-card .card-description {
        font-size: 0.95rem;
    }
}

/* Tablet: 992px and below */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        row-gap: 1.25rem;
        max-width: 800px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .product-card .card-title {
        font-size: 1.2rem;
    }
}

/* Mobile: 768px and below */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 0.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        width: 700px;
        padding: 0 1rem;
    }
    
    .product-image {
        height: 300px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .product-card .card-title {
        font-size: 1.25rem;
    }
    
    .product-card .card-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .product-card .card-link {
        font-size: 1rem;
    }
}

/* Small Mobile: 576px and below */
@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100%;
        padding: 0 0.75rem;
        gap: 1rem;
    }
    
    .product-image {
        height: 180px;
    }
    
    .card-content {
        padding: 1.25rem;
    }
    
    .product-card .card-title {
        font-size: 1.15rem;
    }
    
    .product-card .card-description {
        font-size: 0.95rem;
        margin-top:-20px;
    }
}

/* Extra Small Mobile: 480px and below */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }
    
    .products-grid {
        padding: 0 0.5rem;
        gap: 0.875rem;
    }
    
    .product-image {
        height: 160px;
    }
    
    .card-content {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .product-card .card-title {
        font-size: 1.1rem;
    }
    
    .product-card .card-description {
        font-size: 0.9rem;
        margin-top:-20px;
    }
    
    .product-card .card-link {
        font-size: 0.9rem;
        margin-top: 0.25rem;
    }
}

.teleoss-hero-section {
    background: #ffffff;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    margin-top: 50px;
    padding: 30px 0;
}

.teleoss-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.teleoss-hero-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
    height: auto;
}

@media (min-width: 1025px) {
    .teleoss-hero-content {
        gap: 2rem;
    }
}

.teleoss-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    min-height: auto;
    max-width: 100%;
}

.teleoss-section-label-v4 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    background-color: rgba(0, 101, 157, 0.08);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 101, 157, 0.2);
    max-width: fit-content;
}

.teleoss-label-icon-v4 {
    color: #00659d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teleoss-label-icon-v4 svg {
    width: 16px;
    height: 16px;
}

.teleoss-label-text-v4 {
    color: #00659d;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.teleoss-text-content {
    margin-bottom: 1.5rem;
}

.teleoss-main-heading {
    font-size: 35px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a202c;
    max-width: 100%;
}

.teleoss-main-heading span {
    color: #00659d;
    font-weight: 500;
}

.teleoss-paragraph {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    max-width: 90%;
    text-align: justify;
    -webkit-hyphens: none;
    -ms-hyphens: none; hyphens: none;
    text-justify: inter-word;
}

.teleoss-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
    max-width: 90%;
}

.teleoss-feature-card {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 10px 15px rgba(0, 101, 157, 0.2);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.teleoss-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #00659d;
}

.teleoss-feature-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 100%;
    width: 100%;
}

.teleoss-feature-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 101, 157, 0.15);
    border-radius: 8px;
}

.teleoss-feature-icon svg {
    width: 20px;
    height: 20px;
    fill: #00659d;
}

.teleoss-feature-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.teleoss-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.teleoss-hero-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-right: -50px;
}

.teleoss-hero-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: fill;
    object-position: center;
}

.teleoss-hero-text .cpaas-cta-buttons {
    margin-top: 1.5rem;
    max-width: 90%;
}

@media (min-width: 1025px) {
    .teleoss-hero-image-wrapper {
        aspect-ratio: 1 / 1;
        width: calc(100% + 72px) !important;
        max-width: calc(100% + 72px) !important;
        margin: -10px auto 0 !important;
    }

    .teleoss-hero-image {
        height: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .teleoss-container {
        margin-left: 20px;
        padding: 0 20px;
    }

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

    .teleoss-main-heading {
        font-size: 1.75rem;
    }

    .teleoss-paragraph,
    .teleoss-features-grid,
    .teleoss-hero-text .cpaas-cta-buttons {
        max-width: 100%;
    }

    .teleoss-hero-visual {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .teleoss-hero-image-wrapper {
        width: calc(100% + 40px) !important;
        max-width: calc(100% + 40px) !important;
        margin: 0 auto !important;
    }

    .teleoss-features-grid {
        gap: 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }

    .teleoss-feature-content {
        gap: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }

    .teleoss-feature-icon {
        width: 40px;
        height: 40px;
    }

    .teleoss-feature-title {
        font-size: 0.9rem;
        line-height: 1.3;
        text-align: left;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex: 1;
    }
}

@media (max-width: 767px) {
    .teleoss-hero-section {
        margin-top: 40px;
        padding: 20px 0;
        align-items: flex-start;
    }

    .teleoss-container {
        padding: 0 24px !important;
        margin-left: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .teleoss-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: flex-start;
        width: 100%;
    }

    .teleoss-hero-text {
        width: 100%;
        align-items: flex-start;
        text-align: left;
        padding: 0;
    }

    .teleoss-section-label-v4 {
        margin-left: 0;
        margin-right: auto;
        margin-bottom: 12px;
        padding: 6px 14px;
    }

    .teleoss-label-text-v4 {
        font-size: 13px;
    }

    .teleoss-main-heading {
        font-size: 1.75rem;
        line-height: 1.3;
        max-width: 100%;
        width: 100%;
        text-align: left;
        margin-bottom: 1rem;
    }

    .teleoss-paragraph {
        text-align: justify;
        -webkit-hyphens: none;
        -ms-hyphens: none; hyphens: none;
        text-justify: inter-word;
        text-justify: inter-word;
        max-width: 100%;
        margin-bottom: 0.5rem;
        line-height: 1.6;
        font-size: 1rem;
        width: 100%;
        padding-right: 0;
    }

    .teleoss-features-grid {
        gap: 0.75rem;
        margin: 1.25rem 0;
        max-width: 100%;
        width: 100%;
    }

    .teleoss-feature-card {
        min-height: 80px;
        padding: 0.75rem;
        width: 100%;
    }

    .teleoss-feature-content {
        gap: 0.5rem;
        width: 100%;
    }

    .teleoss-feature-icon {
        width: 35px;
        height: 35px;
    }

    .teleoss-feature-icon svg {
        width: 16px;
        height: 16px;
    }

    .teleoss-feature-title {
        font-size: 0.85rem;
        line-height: 1.3;
        text-align: left;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex: 1;
        margin: 0;
    }

    .teleoss-hero-text .cpaas-cta-buttons {
        max-width: 100%;
    }

    .teleoss-hero-visual {
        order: 2;
        width: 100%;
        margin-top: -10px;
        display: flex;
        justify-content: center;
        padding: 0;
    }

    .teleoss-hero-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .teleoss-hero-image {
        width: 100% !important;
        max-width: 100% !important;
        height: clamp(360px, 78vw, 460px) !important;
        aspect-ratio: auto !important;
        object-fit: fill !important;
        object-position: center center !important;
    }
}

@media (max-width: 640px) {
    .teleoss-container {
        padding: 0 20px !important;
    }

    .teleoss-section-label-v4 {
        margin-bottom: 10px;
        padding: 5px 12px;
    }

    .teleoss-label-text-v4 {
        font-size: 12px;
    }

    .teleoss-main-heading {
        font-size: 1.5rem;
    }

    .teleoss-paragraph {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .teleoss-features-grid {
        gap: 0.5rem;
        margin-top: -10px;
    }

    .teleoss-feature-card {
        min-height: 75px;
        padding: 0.75rem;
    }

    .teleoss-feature-content {
        gap: 0.5rem;
    }

    .teleoss-feature-icon {
        width: 30px;
        height: 30px;
    }

    .teleoss-feature-icon svg {
        width: 14px;
        height: 14px;
    }

    .teleoss-feature-title {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .teleoss-hero-image-wrapper {
        margin-top: 1rem;
    }
}

@media (max-width: 375px) {
    .teleoss-container {
        padding: 0 14px !important;
    }

    .teleoss-features-grid {
        gap: 0.375rem;
    }

    .teleoss-feature-card {
        min-height: 65px;
        padding: 0.5rem;
    }

    .teleoss-feature-content {
        gap: 0.25rem;
    }

    .teleoss-feature-icon {
        width: 25px;
        height: 25px;
    }

    .teleoss-feature-icon svg {
        width: 12px;
        height: 12px;
    }

    .teleoss-feature-title {
        font-size: 0.7rem;
        line-height: 1.1;
    }
}

@media (max-width: 320px) {
    .teleoss-features-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .teleoss-feature-card {
        min-height: 60px;
    }

    .teleoss-feature-content {
        gap: 0.5rem;
    }

    .teleoss-feature-title {
        font-size: 0.75rem;
        line-height: 1.1;
    }
}

.why-teleoss-section {
    background: #ffffff;
    padding: 60px 0;
    margin-top:-80px;
}

.container {
    width: 100%;
    max-width: 1250px;
    /* margin-left: 42px; */
    padding: 0 20px;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 35px;
    font-weight: 500;
    color: #1a202c;
    line-height: 1.2;
    margin: 0;
}

/* DESKTOP LAYOUT - Updated grid ratio */
.content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Left column smaller, right column same size */
    gap: 3rem;
    align-items: start;
}

/* LEFT COLUMN - Smaller stacked vertical cards */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* Reduced gap */
    width: 100%;
}

.vertical-card {
    background: white;
    border-radius: 10px; /* Smaller radius */
    padding: 1.25rem; /* Reduced padding */
    box-shadow: 0 5px 10px rgba(0, 101, 157, 0.1); /* Softer shadow */
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 1rem; /* Reduced gap */
    width: 100%;
    align-items: flex-start;
    min-height: auto; /* Remove fixed height */
}

.vertical-card:hover {
    transform: translateY(-2px); /* Smaller hover effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    border-color: #00659d;
}

.card-icon-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
}

.card-icon {
    color: #00659d;
    width: 45px; /* Smaller icon */
    height: 45px; /* Smaller icon */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 101, 157, 0.15);
    border-radius: 8px; /* Smaller radius */
    padding: 10px; /* Less padding */
}

.card-icon svg {
    width: 22px; /* Smaller icon */
    height: 22px; /* Smaller icon */
}

.card-text-wrapper {
    flex: 1;
}

.card-title {
    font-size: 1.125rem; /* Smaller font */
    font-weight: 500;
    color: #2d3748;
    margin: 0 0 0.5rem 0; /* Reduced margin */
    line-height: 1.3;
}

.why-teleoss-section .card-title {
    margin-bottom: 0.25rem;
}

.card-description {
    font-size: 0.875rem; /* Smaller font */
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

/* RIGHT COLUMN - Same size square cards */
.right-column {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transform: translateY(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1rem; /* Reduced vertical spacing */
    column-gap: 4.5rem; /* Keep horizontal spacing */
    width: 100%;
    max-width: 400px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.75rem 1rem; /* Same padding */
    box-shadow: 0 10px 15px rgba(0, 101, 157, 0.2);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px; /* Same height */
    aspect-ratio: 1/1; /* Keep them square */
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #00659d;
}

.stat-icon-wrapper {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.stat-icon-background {
    background: linear-gradient(135deg, #00659d 0%, #0088e0 100%);
    border-radius: 50%;
    width: 75px; /* Same size */
    height: 75px; /* Same size */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 101, 157, 0.3);
}

.stat-icon-background svg {
    width: 34px; /* Same size */
    height: 34px; /* Same size */
    color: white;
}

.stat-text {
    font-size: 2.25rem; /* Same size */
    font-weight: 500;
    color: #00659d;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-align: center;
}

.stat-title {
    font-size: 1rem; /* Same size */
    font-weight: 500;
    color: #4a5568;
    line-height: 1.3;
    text-align: center;
    margin: 0;
}

.why-teleoss-section .content-wrapper {
    grid-template-columns: 1.2fr 1fr !important; /* was 1.5fr 1fr */
}

/* Remove the fixed max-width cap so cards can grow wider */
.why-teleoss-section .stats-grid {
    max-width: 100% !important;         
    width: 100% !important;
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 1.5rem !important;      /* tighter horizontal gap */
    row-gap: 1.5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Cards: fill their grid cell, keep square-ish but allow growth */
.why-teleoss-section .stat-card {
    width: 100% !important;
    min-height: 200px !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
}

/* Right column takes full height of content-wrapper */
.why-teleoss-section .right-column {
    width: 100% !important;
    align-items: stretch !important;
}

/* ================================================================
   TABLET (768px – 1024px) — Reduce card height
   ================================================================ */
@media (min-width: 768px) and (max-width: 1024px) {

    /* Stack columns */
    .why-teleoss-section .content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .why-teleoss-section .right-column {
        width: 100% !important;
        justify-content: center !important;
    }

    .why-teleoss-section .stats-grid {
        max-width: 100% !important;
        width: 100% !important;
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 1rem !important;
        row-gap: 1rem !important;
    }

    /* Reduced height on tablet — rectangular not square */
    .why-teleoss-section .stat-card {
        min-height: 170px !important;   /* was 250px */
        aspect-ratio: unset !important; /* remove forced square */
        height: 130px !important;
        padding: 0.75rem 1rem !important;
    }

    /* Scale down icon circle */
    .why-teleoss-section .stat-icon-background {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 0.4rem !important;
    }

    .why-teleoss-section .stat-icon-background svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* Scale down text */
    .why-teleoss-section .stat-text {
        font-size: 1.6rem !important;
        margin-bottom: 0.2rem !important;
    }

    .why-teleoss-section .stat-title {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
    }

    .why-teleoss-section .stat-icon-wrapper {
        margin-bottom: 0.25rem !important;
    }
}
/* ================================================================
   MOBILE (≤ 767px)
   ================================================================ */
@media (max-width: 767px) {

    .why-teleoss-section .container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    .why-teleoss-section .content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .why-teleoss-section .right-column {
        width: 100% !important;
        justify-content: center !important;
    }

    .why-teleoss-section .stats-grid {
        max-width: 100% !important;
        width: 100% !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.875rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Remove aspect-ratio and use fixed height so cards don't get too tall */
    .why-teleoss-section .stat-card {
        width: 100% !important;
        height: 150px !important;
        min-height: unset !important;
        aspect-ratio: unset !important;
        padding: 0.875rem 0.75rem !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .why-teleoss-section .stat-icon-wrapper {
        margin-bottom: 0.3rem !important;
    }

    .why-teleoss-section .stat-icon-background {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 0.3rem !important;
    }

    .why-teleoss-section .stat-icon-background svg {
        width: 22px !important;
        height: 22px !important;
    }

    .why-teleoss-section .stat-text {
        font-size: 1.5rem !important;
        margin-bottom: 0.2rem !important;
        line-height: 1 !important;
    }

    .why-teleoss-section .stat-title {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
}

/* ================================================================
   SMALL MOBILE (≤ 480px)
   ================================================================ */
@media (max-width: 480px) {

    /* Increase side padding to narrow the section width */
    .why-teleoss-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    .why-teleoss-section .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .why-teleoss-section .stats-grid {
        gap: 0.625rem !important;
    }

    .why-teleoss-section .stat-card {
        height: 130px !important;
        padding: 0.75rem 0.5rem !important;
    }

    .why-teleoss-section .stat-icon-background {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 0.25rem !important;
    }

    .why-teleoss-section .stat-icon-background svg {
        width: 18px !important;
        height: 18px !important;
    }

    .why-teleoss-section .stat-text {
        font-size: 1.25rem !important;
    }

    .why-teleoss-section .stat-title {
        font-size: 0.75rem !important;
    }
}

/* minimal styling with reduced width/height */
    .blog-section {  
      max-width: 1220px;
      margin: 2rem auto;
      margin-top: 15px;
      padding: 1rem 1rem 1.5rem 1rem;
      background-color: #ffffff;
    }
    
    .section-heading {
      font-size: 35px;
      font-weight: 500;
      line-height: 1.2;
      margin: 0 0 3rem 0; /* REDUCED from 2.5rem to 1.2rem */
      color: #0b1e33;
      text-align: center;
      padding-left: 0;
    }

    .blog-slider {
      position: relative;
    }

    .blog-slider-nav {
      display: none;
    }
    
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin-bottom: 2rem;
      align-items: stretch; /* CHANGED from 'start' to 'stretch' for better alignment */
    }
    
    .blog-card {
      background-color: #ffffff;
      border-radius: 8px;
      overflow: hidden;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
      box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08),
                  0 -10px 15px rgba(0, 0, 0, 0.08);
    }
    
    .blog-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.14),
                  0 -20px 40px -12px rgba(0, 0, 0, 0.14);
    }
    
    .card-image-wrapper {
      margin-top: 0;
      margin-left: 0;
      margin-right: 0;
      margin-bottom: 0.8rem;
      position: relative;
      transition: margin 0.3s ease;
    }
    
    .blog-card:hover .card-image-wrapper {
      margin-top: 0;
    }
    
    .card-image {
      width: 100%;
      aspect-ratio: 16 / 9;
      background-color: #fdfbfb;
      overflow: hidden;
      border-radius: 8px;
      border: 1px solid rgba(255,255,255,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .card-image a {
      display: block;
      width: 100%;
      height: 100%;
      text-decoration: none;
    }
    
    .card-image img {
      width: 100%;
      height: 100%;
      object-fit: fill;
      object-position: center;
      display: block;
      transition: transform 0.5s ease;
      background-color: #00659D26; /* Background color for any transparent areas */
    }
    
    .blog-card:hover .card-image img {
      transform: scale(1.03); /* REDUCED from 1.05 to 1.03 for better contain behavior */
    }
    
    .card-content {
      padding: 0.8rem 1.2rem 1.5rem 1.2rem;
      display: flex;
      flex-direction: column;
      flex: 1;
      border-top: 0.5px solid #e0e0e0;
    }
    
    .card-date {
      font-size: 0.8rem;
      color: #888888;
      margin-bottom: 0.5rem;
      display: inline-block;
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }
    
    .card-title {
      font-size: 1.2rem;
      font-weight: 500;
      line-height: 1.4;
      margin: 0 0 0 0;
      color: #111111;
      transition: color 0.3s ease;
      min-height: 3.3rem; /* Adjust based on your font size */
      display: -webkit-box;
      -webkit-line-clamp: 2; /* Limit to 2 lines for consistency */
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    .card-title a {
      text-decoration: none;
      color: inherit;
      transition: color 0.3s ease;
    }
    
    .card-title a:hover {
      color: #00659d;
    }
    
    .blog-card:hover .card-title {
      color: #00659d;
    }
    
    .card-excerpt {
      font-size: 0.85rem;
      line-height: 1.6;
      color: #444444;
      margin-bottom: 0;
      display: -webkit-box;
      -webkit-line-clamp: 4; /* Show exactly 4 lines on all cards */
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    .button-wrapper {
      display: flex;
      justify-content: center;
      margin: 0.5rem 0 0;
    }
    
    .see-more-btn {
      display: inline-block;
      background-color: #00659d;
      border: 1px solid #00659d;
      color: #ffffff;
      font-size: 1.1rem;
      font-weight: 600;
      padding: 0.8rem 3rem;
      text-decoration: none;
      letter-spacing: 0.5px;
      transition: all 0.3s ease;
      cursor: pointer;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 101, 157, 0.25);
    }
    
    .see-more-btn:hover {
      background-color: #004b7a;
      border-color: #004b7a;
      color: #ffffff;
      box-shadow: 0 6px 12px rgba(0, 101, 157, 0.35);
      transform: translateY(-2px);
    }
    
    .see-more-btn:active {
      transform: translateY(1px);
      box-shadow: 0 2px 4px rgba(0, 101, 157, 0.2);
    }
    
    /* Responsive adjustments */
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem; /* Increased row-gap to 3rem, column-gap 2rem */
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
  }
  .blog-section {
    max-width: 90%;
    margin-top: -20px;
  }
  .section-heading {
    margin-bottom: 1rem;
  }
  .card-image-wrapper {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    margin-top: -1.2rem;
  }
  .card-image img {
    object-fit: fill;
  }
  .see-more-btn {
    padding: 0.7rem 2.5rem;
    font-size: 1rem;
  }
  .button-wrapper {
    margin-top: 0.8rem;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .card-image-wrapper {
    margin-top: -0.4rem;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    margin-top: 25px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 10px;
  }
  .blog-grid::-webkit-scrollbar { display: none; }
  .blog-grid { scrollbar-width: none; }
  .blog-card {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .blog-section {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
  .section-heading {
    font-size: 1.8rem;
    margin-bottom: 2.8rem;
  }
  .card-image-wrapper {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    margin-top: -1rem;
  }
  .see-more-btn {
    padding: 0.6rem 1rem !important;
    font-size: 0.95rem;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    text-align: center;
  }
  .button-wrapper {
    margin-top: 1rem;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .blog-slider-nav {
    display: flex;
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
  }

  .blog-nav-btn {
    pointer-events: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #00659d;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  }

  .blog-nav-btn:active {
    transform: scale(0.98);
  }
}

.testimonials-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 2rem;  /* Reduced from 3rem */
}

.testimonials-title {
    font-size: 35px;  /* Reduced from 2.25rem */
    font-weight: 500;
    color: #0c0c0c;
    line-height: 1.2;
    margin: 0 0 0.5rem 0;  /* Reduced from 0.75rem */
}

.testimonials-subtitle {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-slider {
    position: relative;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 40px;
}

.slider-container {
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1rem;  /* Reduced from 1.25rem */
    padding: 0.5rem 0;  /* Reduced from 0.75rem */
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 0.67rem);  /* Reduced gap calculation */
    min-width: calc(33.333% - 0.67rem);
    box-sizing: border-box;
    background: white;
    border-radius: 12px;
    padding: 1.25rem;  /* Reduced from 1.5rem */
    box-shadow: 0 10px 15px rgba(130, 132, 132, 0.2);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color:  #00659d;
}

.testimonial-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rating-stars {
    font-size: 1.125rem;
    color: #ffc12f;
    margin-bottom: 0.75rem;  /* Reduced from 0.875rem */
    letter-spacing: 1px;
}

.testimonial-text {
    font-size: 0.95rem;  /* Reduced from 1rem */
    color: #1a202c;
    line-height: 1.6;
    margin-bottom: 1rem;  /* Reduced from 1.25rem */
    flex-grow: 1;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;  /* Reduced from 0.875rem */
    padding-top: 0.75rem;  /* Reduced from 1rem */
}

.author-avatar {
    width: 40px;  /* Reduced from 45px */
    height: 40px;  /* Reduced from 45px */
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(0, 101, 157, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex-grow: 1;
}

.author-name {
    font-size: 0.95rem;  /* Reduced from 1rem */
    font-weight: 500;
    color: #2d3748;
}

.author-role {
    font-size: 0.75rem;  /* Reduced from 0.8125rem */
    color:  #00659d;
    font-weight: 500;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;  /* Reduced from 40px */
    height: 36px;  /* Reduced from 40px */
    background: white;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    color: #00659d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.slider-btn:hover {
    background:  #00659d;
    border-color:  #00659d;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 47, 39, 0.2);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* TABLET VIEW (769px - 1024px) */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 0.5rem);  /* Reduced gap */
        min-width: calc(50% - 0.5rem);
    }
    
    .testimonials-title {
        font-size: 2.25rem;  /* Reduced from 2rem */
    }
    
    .testimonials-slider {
        padding: 0 50px;
    }
    
    .slider-btn {
        width: 34px;  /* Reduced from 38px */
        height: 34px;  /* Reduced from 38px */
    }
}

/* MOBILE VIEW (768px and below) - Keep buttons as side arrows but adjust size */
@media (max-width: 768px) {
    .testimonials-section {
        margin-top: -20px;
    }

    .testimonials-title {
        font-size: 1.5rem;  /* Reduced from 1.75rem */
    }
    
    .testimonials-subtitle {
        font-size: 1rem;
    }
    
    .testimonial-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        padding: 1rem;  /* Reduced from 1.25rem */
    }
    
    .testimonial-text {
        font-size: 0.9rem;  /* Reduced from 0.95rem */
        line-height: 1.5;
    }
    
    .author-name {
        font-size: 0.9rem;  /* Reduced from 0.95rem */
    }
    
    .author-avatar {
        width: 36px;  /* Reduced from 40px */
        height: 36px;  /* Reduced from 40px */
    }
    
    .rating-stars {
        font-size: 1rem;
    }
    
    .author-role {
        font-size: 0.7rem;  /* Reduced from 0.75rem */
    }
    
    .testimonials-slider {
        padding: 0 50px; /* Keep side padding for arrows */
    }
    
    /* Keep buttons as side arrows, just make them smaller for mobile */
    .slider-btn {
        width: 32px;  /* Reduced from 36px */
        height: 32px;  /* Reduced from 36px */
    }
    
    .slider-btn svg {
        width: 18px;  /* Adjust SVG size */
        height: 18px;
    }
    
    .author-avatar {
        width: 32px;  /* Reduced from 36px */
        height: 32px;  /* Reduced from 36px */
    }
    
    .testimonial-text {
        font-size: 0.85rem;  /* Reduced from 0.9rem */
    }
    
    .author-role {
        font-size: 0.65rem;  /* Reduced from 0.7rem */
    }
}

/* SMALL MOBILE (480px and below) */
@media (max-width: 480px) {
    .testimonials-title {
        margin-top:10px;
        font-size: 28px;  /* Reduced from 1.5rem */
    }

    .testimonial-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
    }
    
    .testimonials-slider {
        padding: 0 40px; /* Reduce padding but keep enough for arrows */
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
    }
    
    .slider-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .author-avatar {
        width: 32px;  /* Reduced from 36px */
        height: 32px;  /* Reduced from 36px */
    }
    
    .testimonial-text {
        font-size: 0.85rem;  /* Reduced from 0.9rem */
    }
    
    .author-role {
        font-size: 0.65rem;  /* Reduced from 0.7rem */
    }
}

/* VERY SMALL MOBILE (375px and below) */
@media (max-width: 375px) {
    .testimonials-slider {
        padding: 0 35px; /* Keep side padding for arrows */
    }
    
    .slider-btn {
        width: 28px;
        height: 28px;
    }
    
    .slider-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* FAQ Section Styling */
    .faq-section {
        margin-top:40px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        position: relative;
        overflow: hidden;
        padding: 40px 0;
    }

    .section-header {
        position: relative;
        z-index: 1;
    }

    .section-title {
        color: #1a1a1a;
        font-size: 35px;
        font-weight: 500;
        margin-bottom: 8px;
        line-height: 1.2;
        position: relative;
        display: inline-block;
        text-align:center;
    }

    .section-subtitle {
        color: #666;
        font-size: 16px;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
    }

    .faq-section .section-header {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .faq-section .section-title {
        display: block;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .faq-section .section-subtitle {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    /* FAQ Accordion */
    .faq-accordion {
        position: relative;
        z-index: 1;
    }

    .faq-item {
        background: white;
        border-radius: 8px;
        margin-bottom: 10px;
        box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
        border: 1px solid #e2e8f0; /* Light grey border */
        overflow: hidden;
        transition: all 0.3s ease;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .faq-item:hover {
        border-color: #cbd5e0; /* Slightly darker grey on hover */
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.12);
    }

    .faq-question {
        border: none;
    }

    .faq-btn {
        width: 100%;
        padding: 18px 20px;
        background: white;
        border: none;
        text-align: left;
        color: #1a1a1a;
        font-size: 17px;
        font-weight: 500;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }

    .faq-btn:hover {
        background: #eff6ff;
        color: #00659d;
    }

    .faq-btn:not(.collapsed) {
        background: #eff6ff;
        color: #00659d;
        border-bottom: 2px solid #00659d;
    }

    .question-text {
        flex: 1;
        margin-right: 15px;
    }

    .faq-icon {
        color: #00659d;
        font-size: 0.9rem;
        transition: transform 0.3s ease;
        position: relative;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .faq-icon i:first-child {
        position: absolute;
        transition: opacity 0.3s ease;
    }

    .faq-icon i:last-child {
        position: absolute;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .faq-btn:not(.collapsed) .faq-icon i:first-child {
        opacity: 0;
    }

    .faq-btn:not(.collapsed) .faq-icon i:last-child {
        opacity: 1;
    }

    .faq-answer {
        padding: 20px;
        background: white;
        border-top: 1px solid #e2e8f0; /* Light grey border */
    }

    .faq-answer p {
        color: #666;
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 0;
    }

    /* Form Field Styling */
    .form-field {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #e2e8f0; /* Grey border */
        border-radius: 8px;
        background-color: #ffffff; /* White background */
        font-size: 16px;
        color: #1a1a1a;
        transition: all 0.3s ease;
    }

    .form-field:focus {
        outline: none;
        border-color: #00659d; /* Blue border on focus */
        box-shadow: 0 0 0 3px rgba(0, 101, 157, 0.1);
    }

    .form-field::placeholder {
        color: #a0aec0; /* Light grey placeholder */
        font-size: 15px;
    }

    /* Phone Number Field with Country Code Dropdown */
    .phone-input-wrapper {
        display: flex;
        align-items: center;
        width: 100%;
        background-color: #ffffff;
        border: 1px solid #e2e8f0; /* Grey border */
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .phone-input-wrapper:focus-within {
        border-color: #00659d;
        box-shadow: 0 0 0 3px rgba(0, 101, 157, 0.1);
    }

    .country-code-select {
        padding: 12px 8px 12px 15px;
        border: none;
        background-color: #ffffff;
        font-size: 16px;
        color: #1a1a1a;
        outline: none;
        cursor: pointer;
        min-width: 100px;
        border-right: 1px solid #e2e8f0; /* Grey divider */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
        background-repeat: no-repeat;
        background-position: right 8px center;
        background-size: 14px;
        padding-right: 30px;
    }

    .phone-number-field {
        flex: 1;
        padding: 12px 15px;
        border: none;
        background-color: #ffffff;
        font-size: 16px;
        color: #1a1a1a;
        outline: none;
    }

    .phone-number-field::placeholder {
        color: #a0aec0;
        font-size: 15px;
    }

    /* Select Field - Remove default icon and use custom grey */
    .select-field {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #e2e8f0; /* Grey border */
        border-radius: 8px;
        background-color: #ffffff;
        font-size: 16px;
        color: #1a1a1a;
        outline: none;
        transition: all 0.3s ease;
        cursor: pointer;
        
        /* Remove default icon */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        
        /* Add custom grey dropdown arrow */
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 14px;
    }

    .select-field:focus {
        border-color: #00659d;
        box-shadow: 0 0 0 3px rgba(0, 101, 157, 0.1);
    }

    /* For placeholder in select (first option) */
    .select-field option:first-child {
        color: #a0aec0;
    }

    .select-field option {
        color: #1a1a1a;
    }

    /* Form Group Styling (if you have form groups) */
    .form-group {
        margin-bottom: 20px;
    }

    .form-label {
        display: block;
        margin-bottom: 8px;
        color: #4a5568;
        font-weight: 500;
        font-size: 15px;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .faq-section {
            padding: 30px 0;
        }
        
        .section-title {
            font-size: 28px;
        }

        .section-subtitle {
            font-size: 16px;
        }

        .faq-section .section-subtitle {
            text-align: center;
        }

        .faq-btn {
            padding: 15px 18px;
            font-size: 16px;
        }

        .faq-answer {
            padding: 18px;
        }

        .faq-answer p {
            font-size: 15px;
        }

        .form-field,
        .country-code-select,
        .phone-number-field,
        .select-field {
            font-size: 15px;
            padding: 10px 12px;
        }

        .country-code-select {
            min-width: 90px;
            padding-right: 25px;
        }
    }

    @media (max-width: 576px) {
        .faq-section {
            padding: 25px 0;
            margin-top:10px;
        }
        
        .faq-section > .container,
        .faq-section .container {
            max-width: 100% !important;
            width: 100% !important;
            padding-left: 16px !important;
            padding-right: 16px !important;
            box-sizing: border-box;
        }

        .section-title {
            font-size: 24px;
            text-align:center;
        }

        .faq-section .section-subtitle {
            text-align: center;
        }

        .faq-btn {
            padding: 14px 15px;
            font-size: 16px;
        }

        .question-text {
            margin-right: 12px;
        }
        
        .faq-icon {
            width: 16px;
            height: 16px;
        }

        .form-field,
        .country-code-select,
        .phone-number-field,
        .select-field {
            font-size: 14px;
            padding: 8px 10px;
        }

        .country-code-select {
            min-width: 80px;
            padding-right: 22px;
            background-position: right 5px center;
        }

        .phone-input-wrapper {
            flex-direction: column;
        }

        .country-code-select {
            width: 100%;
            border-right: none;
            border-bottom: 1px solid #e2e8f0;
        }
    }

/* ── Section & Container ── */
  .expert-section-wrap {
    /* background-color: #ffffff; */
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    margin-top: -30px;
    width: 100%;
  }
  .expert-container-inner {
    max-width: 1400px;
    margin-left: 30px;
    display: flex;
    gap: 80px;
    align-items: center;
    width: 100%;
    padding: 0 40px;
  }

  /* ── Left content ── */
  .expert-left-content {
    flex: 1;
    max-width: 580px;
    text-align: left;
    margin-top:10px;
  }
  .expert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    background-color: rgba(0, 101, 157, 0.08);
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid rgba(0, 101, 157, 0.2);
  }
  .badge-icon-wrap { color: #00659d; display: flex; align-items: center; }
  .badge-icon-wrap svg { width: 18px; height: 18px; }
  .badge-text { color: #00659d; font-weight: 500; font-size: 15px; letter-spacing: 0.4px; }
  .expert-heading { font-size: 44px; margin-bottom: 18px; line-height: 1.2; font-weight: 500; letter-spacing: -0.5px; }
  .expert-description { color: #555; font-size: 18px; line-height: 1.6; margin-bottom: 30px; text-align: justify;-webkit-hyphens: none;-ms-hyphens: none; hyphens: none;text-justify: inter-word; }
  
  /* Button styles */
  .expert-action-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
  }
  .expert-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
    text-align: center;
    flex: 1;
  }
  .expert-btn-primary {
    background-color: #00659d;
    color: white;
    box-shadow: 0 4px 12px rgba(0,101,157,0.2);
  }
  .expert-btn-primary:hover {
    background-color: #005a8a;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0,101,157,0.2);
    color: white;
  }
  .expert-btn-secondary {
    background-color: transparent;
    color: #00659d;
    border: 2px solid #00659d;
  }
  .expert-btn-secondary:hover {
    background-color: #005a8a;
    color: white;
    transform: translateY(-2px);
  }
  
  .expert-feature-list { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 20px; }
  .feature-point { display: flex; align-items: center; gap: 10px; }
  .point-icon { color: #00659d; display: flex; }
  .point-icon svg { width: 18px; height: 18px; }
  .point-text { color: #00659d; font-weight: 500; font-size: 17px; white-space: nowrap; }

  /* ── Form container ── */
  .expert-form-wrapper {
      flex: 1;
      max-width: 600px;
      background: white;
      margin-bottom: 20px;
      padding: 24px 28px;
      border-radius: 12px;
      box-shadow: 0 12px 24px rgba(0,101,157,0.2);
      border: 1px solid #d1d1d1;
      width: 100%;
  }
  .expert-form-fields { width: 100%; }
  .field-group { margin-bottom: 14px; }
  .field-label { display: block; color: #333; font-weight: 500; margin-bottom: 4px; font-size: 14px; }

  /* ── Base inputs ── */
  .field-input, .field-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    color: #000;
    transition: 0.3s;
    box-sizing: border-box;
  }
  .field-input::placeholder, .field-textarea::placeholder { color: #aaa; }
  .field-input:hover, .field-textarea:hover,
  .field-input:focus, .field-textarea:focus {
    border-color: #d1d1d1;
    outline: none;
    box-shadow: none;
  }
  .field-input[readonly] { background-color: #ffffff; color: #333; }

  /* ── Select input ── */
  select.field-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 32px;
    cursor: pointer;
  }

  /* ── Textarea ── */
  .field-textarea { resize: vertical; min-height: 60px; max-height: 90px; }

  /* ── Two-col row ── */
  .field-row.double-col { display: flex; gap: 16px; }
  .field-row.double-col .field-group { flex: 1 1 0; min-width: 0; }

  /* ── Error message ── */
  .error-msg { color: #c1300c; font-size: 12px; margin-top: 3px; display: none; font-weight: 500; }

  /* ── Submit button ── */
  .submit-button {
    width: 100%; background-color: #00659d; color: white; border: none; padding: 14px;
    border-radius: 6px; font-size: 17px; font-weight: 500; cursor: pointer; transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0,101,157,0.2); margin-top: 4px;
  }
  .submit-button:hover { background-color: #005a8a; transform: translateY(-2px); box-shadow: 0 10px 15px rgba(0,101,157,0.2); }

  /* Popup styles */
  .form-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .form-popup-overlay.show { display: flex; }
  .form-popup {
    background: #fff;
    border-radius: 12px;
    width: min(520px, calc(100% - 40px));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border-top: 4px solid #00659d;
    padding: 22px 24px 18px;
    text-align: left;
  }
  .form-popup-header {
    font-weight: 700;
    color: #00659d;
    margin-bottom: 10px;
    font-size: 18px;
  }
  .form-popup-message {
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  .form-popup-close {
    background: #00659d;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
  }
  .form-popup-close:hover {
    background: #005a8a;
  }

  /* ── Google reCAPTCHA Styles ── */
  /* Google reCAPTCHA Styles - Exact match with standard icon */
.recaptcha-container {
  width: 100%;
}

/* Center captcha and keep box width */
.recaptcha-container {
  width: 50%;
  margin: 0;
}
.recaptcha-box {
  margin: 0;
}

.recaptcha-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  padding: 8px 10px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  width: 100%;
  max-width: 260px;
  margin: 0;
}

@media (max-width: 767px) {
  .recaptcha-container {
    width: 100%;
  }
}

.recaptcha-box:hover {
  border-color: #b3b3b3;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.recaptcha-checkbox-area {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1;
}
  
  .recaptcha-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.recaptcha-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.recaptcha-check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: white;
  transition: all 0.2s ease;
}

  .recaptcha-checkbox:checked + .recaptcha-label .recaptcha-check-icon {
  background-color: #00659d;
  border-color: #00659d;
}

.recaptcha-checkbox:checked + .recaptcha-label .recaptcha-check-icon svg {
  stroke: white;
  display: block;
}

.recaptcha-check-icon svg {
  display: none;
  width: 16px;
  height: 16px;
}

.recaptcha-text {
  color: #333;
  font-size: 15px;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}
  
 .recaptcha-logo-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: center;
}

.recaptcha-logo-area svg {
  width: 38px;
  height: 38px;
}

.recaptcha-terms {
  display: flex;
  gap: 4px;
  font-size: 8px;
  color: #555;
  margin-top: 2px;
  letter-spacing: 0.3px;
  font-family: Arial, sans-serif;
  font-weight: 400;
}

.recaptcha-error {
  color: #b72b0e;
  font-size: 12px;
  margin-top: 5px;
  display: none;
  font-weight: 500;
}
  
  /* Loading state */
  .recaptcha-loading {
    display: none;
    align-items: center;
    gap: 12px;
    background: #f9f9f9;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    padding: 12px 16px;
  }
  
  .loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #00659d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .loading-text {
    color: #333;
    font-size: 15px;
  }
  
  /* Success state */
  .recaptcha-success {
    display: none;
    align-items: center;
    gap: 12px;
    background: #f0f9f0;
    border: 1px solid #28a745;
    border-radius: 4px;
    padding: 12px 16px;
  }
  
  .success-text {
    color: #28a745;
    font-size: 15px;
    font-weight: 500;
  }
  
  .recaptcha-error {
    margin-top: 8px;
  }

  /* ================================================================
     CUSTOM FLAG PHONE DROPDOWN
     ================================================================ */
  .phone-custom-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    overflow: visible;
    background: white;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
    box-sizing: border-box;
  }
  .phone-custom-wrap:hover,
  .phone-custom-wrap:focus-within {
    border-color: #d1d1d1;
    box-shadow: none;
  }

  .flag-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 6px 10px 10px;
    cursor: pointer;
    border-right: 1px solid #d1d1d1;
    background: white;
    min-width: 82px;
    flex-shrink: 0;
    user-select: none;
    border-radius: 6px 0 0 6px;
    transition: background 0.2s;
  }
  .flag-selector:hover { background: #f5f5f5; }

  .selected-flag-image {
    width: 22px;
    height: 15px;
    object-fit: fill;
    border-radius: 2px;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
  }
  .selected-code-text {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
  }
  .selector-arrow {
    flex-shrink: 0;
    transition: transform 0.2s;
  }
  .selector-arrow.open { transform: rotate(180deg); }

  .phone-field-custom {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 10px 10px;
    font-size: 14px;
    background: white;
    color: #000;
    border-radius: 0 6px 6px 0;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .phone-field-custom::placeholder { color: #aaa; }

  /* Country dropdown (name + flag) */
  .country-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    overflow: visible;
    background: white;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
    box-sizing: border-box;
  }
  .country-select-wrap:hover,
  .country-select-wrap:focus-within {
    border-color: #d1d1d1;
    box-shadow: none;
  }
  .country-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    cursor: pointer;
    background: white;
    width: 100%;
    user-select: none;
    border-radius: 6px;
    transition: background 0.2s;
  }
  .country-selector:hover { background: #f5f5f5; }
  .selected-country-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
  }
  .country-select-wrap .flag-panel {
    width: 320px;
    max-height: 240px;
  }

  /* Dropdown panel */
  .flag-panel {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 9999;
    background: white;
    border: 1.5px solid #00659d;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 101, 157, 0.15);
    width: 280px;
    max-height: 240px;
    overflow: hidden;
    flex-direction: column;
  }
  .flag-panel.open { display: flex; }

  .flag-search-area {
    padding: 10px 10px 6px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
  }
  .flag-search-field {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    color: #333;
  }
  .flag-search-field:focus { border-color: #d1d1d1; }

  .flag-items-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    overflow-y: auto;
    flex: 1;
    max-height: 190px;
  }
  .flag-items-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    transition: background 0.15s;
  }
  .flag-items-list li:hover,
  .flag-items-list li.active {
    background: rgba(0, 101, 157, 0.08);
    color: #00659d;
  }
  .flag-items-list li img {
    width: 22px;
    height: 15px;
    object-fit: fill;
    border-radius: 2px;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
  }
  .flag-items-list li .option-code {
    font-weight: 600;
    color: #00659d;
    min-width: 44px;
    flex-shrink: 0;
  }
  .flag-items-list li .option-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .flag-items-list::-webkit-scrollbar { width: 5px; }
  .flag-items-list::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
  .flag-items-list::-webkit-scrollbar-thumb { background: #00659d; border-radius: 4px; }

  /* ================================================================
     RESPONSIVE
     ================================================================ */
  @media (max-width: 1100px) {
    .expert-container-inner { gap: 40px; padding: 0 30px; }
    .expert-heading { font-size: 38px; }
    .expert-form-wrapper { max-width: 560px; }
  }
  
 @media (max-width: 900px) {
    .expert-container-inner { 
        flex-direction: column; 
        gap: 40px;
        padding-left: 24px !important;
        padding-right: 24px !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }
    .expert-left-content, .expert-form-wrapper { max-width: 100%; width: 100%; }
    
    .expert-action-buttons {
        flex-direction: row;
        width: 100%;
    }
    .expert-btn {
        flex: 1;
    }
}
  
  @media (max-width: 768px) {
    .cpaas-btn,
    .hero-cta-btn,
    .see-more-btn,
    .expert-btn,
    .submit-button,
    .form-popup-close {
        font-size: 13px;
        min-height: 38px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
  }

  @media (max-width: 650px) {
    .expert-form-wrapper { padding: 20px; }
    .field-row.double-col { flex-direction: column; gap: 0; }
    .expert-heading { font-size: 32px; }
    .expert-description { font-size: 16px; }
    .expert-action-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .expert-btn {
        width: 100%;
        flex: 0 0 100%;
    }
  }
  
  @media (max-width: 480px) {
    .cpaas-btn,
    .hero-cta-btn,
    .see-more-btn,
    .expert-btn,
    .submit-button,
    .form-popup-close {
        font-size: 13px;
        min-height: 38px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .point-text { font-size: 14px; }

    .expert-section-wrap {margin-top:-80px;}
    .expert-form-wrapper { margin-bottom: 20px; }
    .expert-heading { font-size: 28px; }
    .expert-feature-list { margin-top: 10px; gap: 12px 18px; }
    .expert-feature-item {
        display: flex;
        align-items: flex-start; /* Changed from center to flex-start */
        gap: 10px;
    }
    
    .expert-feature-icon {
        align-self: flex-start; /* Forces icon to top */
        margin-top: 2px; /* Fine-tune the vertical position */
    }
    
    .expert-feature-text {
        flex: 1;
    }
    
    /* If the icon is inside a flex container */
    .feature-icon-wrapper {
        display: flex;
        align-items: flex-start;
    }
    
    /* If you're using specific classes for your icons */
    .point-icon, 
    .feature-icon {
        align-self: flex-start;
        margin-top: 3px; /* Adjust as needed */
    }
    
    /* For SVG or image icons */
    .expert-feature-icon svg,
    .expert-feature-icon img {
        display: block;
        margin-top: 2px;
    }
}

  /* Desktop alignment: match upper section width */
  @media (min-width: 1025px) {
    .expert-container-inner {
      max-width: 1250px;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
      padding-left: 40px;
      padding-right: 40px;
      box-sizing: border-box;
    }
    .expert-feature-list {
      flex-wrap: nowrap;
    }
  }

/* Match SMS Gateway CTA button styling on the index page */
.cpaas-btn,
.hero-cta-btn,
.see-more-btn,
.expert-btn,
.submit-button,
.form-popup-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  min-height: 48px;
}

.cpaas-btn-primary,
.hero-cta-btn-primary,
.expert-btn-primary,
.submit-button,
.form-popup-close,
.see-more-btn {
  background: #00659d;
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 15px rgba(0, 101, 157, 0.3);
}

.cpaas-btn-primary:hover,
.hero-cta-btn-primary:hover,
.expert-btn-primary:hover,
.submit-button:hover,
.form-popup-close:hover,
.see-more-btn:hover {
  background: #005080;
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 101, 157, 0.4);
  color: #ffffff;
}

.cpaas-btn-secondary,
.hero-cta-btn-secondary,
.expert-btn-secondary {
  background: linear-gradient(45deg, #ffffff, #f8f9fa);
  color: #333333;
  border: 2px solid #ddd;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.cpaas-btn-secondary:hover,
.hero-cta-btn-secondary:hover,
.expert-btn-secondary:hover {
  background: #005080;
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 101, 157, 0.3);
}

/* Why Leading section: tighten title-to-description spacing */
.why-teleoss-section .card-title {
  margin-bottom: 0.1rem !important;
}
.why-teleoss-section .card-description {
  margin-top: -6px;
}

@media (max-width: 768px) {
  .cpaas-btn,
  .hero-cta-btn,
  .see-more-btn,
  .expert-btn,
  .submit-button,
  .form-popup-close {
    font-size: 13px !important;
    min-height: 38px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

/* Homepage background palette */
:root {
  --home-surface: #f2f5f7;
  --home-surface-soft: #f6f8fa;
  --home-hero-start: #f8fafb;
  --home-hero-end: #edf2f5;
}

body {
  background-color: var(--home-surface-soft);
}

.cpaas-slider-container,
.cpaas-hero-section {
  background: linear-gradient(135deg, var(--home-hero-start) 0%, var(--home-hero-end) 100%) !important;
  background-image: linear-gradient(135deg, var(--home-hero-start) 0%, var(--home-hero-end) 100%) !important;
}

#slide1,
#slide2 {
  background: linear-gradient(135deg, var(--home-hero-start) 0%, var(--home-hero-end) 100%) !important;
  background-image: linear-gradient(135deg, var(--home-hero-start) 0%, var(--home-hero-end) 100%) !important;
}

.products-section,
.teleoss-hero-section,
.why-teleoss-section,
.blog-section,
.testimonials-section,
.faq-section,
.expert-section-wrap {
  background-color: var(--home-surface) !important;
  background-image: none !important;
}

/* Homepage spacing cleanup */
.cpaas-slider-container,
.products-section,
.teleoss-hero-section,
.why-teleoss-section,
.blog-section,
.testimonials-section,
.faq-section,
.expert-section-wrap {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.blog-section {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Tighten top space inside Why Choose and the bottom CTA only */
.why-teleoss-section {
  padding-top: 16px !important;
}

.expert-section-wrap {
  padding-top: 16px !important;
}

/* Add inner top space without reopening gaps between sections */
.teleoss-hero-section > .teleoss-container,
.testimonials-section > .container,
.faq-section > .container {
  margin-top: 28px !important;
}

.expert-container-inner {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Hero label fix + locked dots */
.cpaas-slider-container {
  margin-top: 32px !important;
}

.cpaas-slides-wrapper,
.cpaas-slide,
.cpaas-slide.cpaas-active,
.cpaas-hero-section,
.cpaas-hero-text {
  overflow: visible !important;
}

.cpaas-section-label,
.cpaas-hero-text .cpaas-section-label {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 42px;
  padding: 10px 18px 11px !important;
  line-height: normal !important;
  overflow: visible !important;
}

.cpaas-label-text,
.cpaas-hero-text .cpaas-label-text {
  display: inline-block !important;
  line-height: 1.35 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.cpaas-label-icon,
.cpaas-hero-text .cpaas-label-icon {
  flex-shrink: 0;
}

.cpaas-label-icon svg,
.cpaas-hero-text .cpaas-label-icon svg {
  display: block !important;
  overflow: visible !important;
}

@media (min-width: 768px) {
  .cpaas-slider-container {
    padding-bottom: 58px !important;
  }

  .cpaas-slider-dots {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 30px !important;
    transform: translateX(-50%) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: auto !important;
    z-index: 30 !important;
  }
}

/* Mobile-only spacing tune-up for Why Leading + Blogs */
@media (max-width: 767px) {
  .why-teleoss-section .content-wrapper {
    gap: 0.75rem !important;
  }

  .why-teleoss-section .right-column {
    transform: translateY(0) !important;
    margin-top: -0.25rem !important;
  }
}

@media (max-width: 600px) {
  .blog-section {
    margin-top: -36px !important;
  }

  .blog-section .section-heading {
    margin-bottom: 1.25rem !important;
  }

  .blog-section .blog-grid {
    margin-top: 0 !important;
  }
}

