/*
 * site.css — Central stylesheet for textile site
 * - Moved from inline <style> for better maintainability
 * - Add variables (design tokens) below to make color/spacing consistent
 * - Scope selectors by adding `site` class to <body> (see index.html)
 *
 * Naming guidance:
 * - Use section-level classes like `.trending-section`, `.qa-section`, `.inquiry-card` etc.
 * - Avoid global element selectors where possible; prefer `.site .section-name ...`
 * - Keep utility rules (spacing, grid) in small reusable classes.
 */

:root {
    /* Colors */
    --brand-blue-500: #2b8cff;
    --brand-blue-600: #236fd6;
    --brand-blue-300: #5cd1ff;
    --brand-accent: #ff8a00;
    --text-color: #0f1720;
    --heading-color: #071024;
    --muted-1: #4b5563;
    --muted-2: #6b7280;
    --surface: #ffffff;
    --bg-soft: #f6f8fb;

    /* Spacing */
    --space-xs: 6px;
    --space-sm: 8px;
    --space-md: 14px;
    --space-lg: 24px;
    --space-xl: 40px;

    /* Font sizes */
    --fs-base: 16px;
    --fs-sm: 14px;
    --fs-lg: 18px;
    --h1: 44px;
    --h2: 28px;
    --h3: 20px;

    /* Radii */
    --r-1: 6px;
    --r-2: 12px;
    --btn-radius: 10px;

    /* Buttons */
    --btn-padding-y: 10px;
    --btn-padding-x: 20px;

    /* Shadows */
    --shadow-sm: 0 6px 18px rgba(2, 6, 23, 0.06);
    --shadow-md: 0 12px 36px rgba(2, 6, 23, 0.08);
}

/* Basic scoping to avoid leakage */
.site * {
    box-sizing: border-box;
}

/* Keep horizontal overflow hidden site-wide (prevent accidental horizontal scroll) */
/* About Page Styles (moved from about.php) */
html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #1F2937;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: #3D4A54;
}

.navbar {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
    color: #3D4A54 !important;
    font-weight: 700;
    font-size: 18px;
}

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #3D4A54 0%, #2C3E50 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero h1 {
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .about-hero h1 {
        font-size: 36px;
    }

    .about-hero p {
        font-size: 16px;
    }
}

/* Section Styling */
.section-wrapper {
    padding: 80px 20px;
}

@media (max-width: 768px) {
    .section-wrapper {
        padding: 50px 20px;
    }
}

.section-title {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #3D4A54;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
}

.section-subtitle {
    font-size: 18px;
    color: #6B7280;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #A67C4E;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
}

.timeline-item:nth-child(even) .timeline-item-content {
    border-left: none;
    border-right: 4px solid #A67C4E;
}

.timeline-item-year {
    font-size: 28px;
    font-weight: 700;
    color: #A67C4E;
    margin-bottom: 10px;
}

.timeline-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #3D4A54;
    margin-bottom: 10px;
}

.timeline-item-desc {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column !important;
        gap: 15px;
    }

    .timeline-item-content {
        border-left: 4px solid #A67C4E !important;
        border-right: none !important;
    }
}

/* Value Cards */
.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #A67C4E;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.12);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #A67C4E 0%, #C99B6F 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 28px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #3D4A54;
}

.value-card p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* Team Section */
.team-member {
    text-align: center;
}

.team-member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #A67C4E 0%, #C99B6F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 60px;
}

.team-member-name {
    font-size: 18px;
    font-weight: 600;
    color: #3D4A54;
    margin-bottom: 5px;
}

.team-member-role {
    font-size: 14px;
    color: #A67C4E;
    margin-bottom: 10px;
}

.team-member-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.6;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: #F9FAFB;
    border-radius: 10px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #A67C4E;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #6B7280;
    font-weight: 500;
}

/* About Image */
.about-image {
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.12);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA Section */
.cta-banner {
    background: linear-gradient(135deg, #A67C4E 0%, #C99B6F 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 80px;
}

.cta-banner h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    font-size: 16px;
}

.cta-banner .btn {
    background: #fff;
    color: #A67C4E;
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.cta-banner .btn:hover {
    background: #F9FAFB;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #2C3E50;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    font-size: 14px;
}

footer p {
    margin-bottom: 5px;
}

/* Enquire Modal Styles */
#enquire-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.enquire-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.enquire-modal-content {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 95vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    padding: 32px 24px 24px 24px;
    animation: modalIn 0.2s;
}

.enquire-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    z-index: 3;
}

@keyframes modalIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
}

html,
body {
    /* overflow-x: hidden; */
}

/* Body base */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    font-size: var(--fs-base);
    color: var(--text-color);
    background-color: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global section spacing & typography */
.site section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.site .section-title {
    font-size: var(--h2);
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.site p,
.site .lead {
    color: var(--muted-1);
    font-size: var(--fs-base);
}

.site small,
.site .card-text.small {
    font-size: var(--fs-sm);
    color: var(--muted-2);
}

/* Button system */
.site .btn-primary {
    background: var(--brand-blue-500);
    border-color: var(--brand-blue-500);
    color: #fff;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    border-radius: var(--btn-radius);
    box-shadow: var(--shadow-sm);
    transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}

.site .btn-primary:hover,
.site .btn-primary:focus {
    background: var(--brand-blue-600);
    border-color: var(--brand-blue-600);
    transform: translateY(-2px);
}

.site .btn-outline-primary {
    border-color: var(--brand-blue-500);
    color: var(--brand-blue-500);
    background: transparent;
    transition: background .15s ease, color .15s ease;
}

.site .btn-outline-primary:hover,
.site .btn-outline-primary:focus {
    background: var(--brand-blue-500);
    color: #fff;
}

/* Cards & utilities */
.site .card {
    border-radius: var(--r-2);
    overflow: hidden;
    border: 0;
    box-shadow: var(--shadow-sm);
}

.site .card .card-body {
    padding: 18px;
}

.site .testimonial-card {
    padding: 1.25rem;
}

/* Focus styles */
.site .btn:focus,
.site .accordion-button:focus {
    box-shadow: 0 0 0 4px rgba(43, 140, 255, 0.12);
    outline: none;
}

.footer-links li {
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffc107 !important;
    padding-left: 5px;
}

.badge {
    font-weight: 500;
    font-size: 0.7rem;
}

/* Heading adjustments on small screens */
@media (max-width: 767px) {
    .site .section-title {
        font-size: 20px;
    }

    :root {
        --h1: 34px;
        --h2: 20px;
    }
}

/* ---------- Hero ---------- */
.site .hero-slider .carousel-item {
    height: 85vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.site .hero-slider .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .site .hero-slider .carousel-item {
        height: 50vh;
    }

    .site .hero-slider .carousel-caption {
        bottom: 20px;
        left: 0;
        right: 0;
        transform: none;
        padding: 0 15px;
        text-align: center;
    }

    .site .hero-slider .carousel-caption h1 {
        font-size: 1.3rem;
        line-height: 1.2;
    }

    .site .hero-slider .carousel-caption p {
        font-size: 0.95rem;
    }

    .site .hero-slider .carousel-caption .btn {
        padding: .5rem 1rem;
        font-size: .9rem;
    }
}

.site .hero-slider .overlay {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.35) 0%, rgba(2, 6, 23, 0.55) 100%);
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
}

/* Hero caption card for readability */
.site .hero-slider .carousel-caption {
    max-width: 720px;
    padding: 28px 30px;
    background: #00000063;
    color: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    left: 60px;
    bottom: 60px;
    text-align: left;
}

.site .hero-slider .carousel-caption h1 {
    font-size: var(--h1);
    color: #ffffff;
    margin-bottom: .5rem;
}

.site .hero-slider .carousel-caption p {
    font-size: var(--fs-lg);
    color: #ffffff;
    margin-bottom: .9rem;
}

.site .hero-slider .carousel-caption .btn {
    padding: 12px 20px;
    border-radius: 10px;
}

/* Keep hero responsive */
@media (max-width: 768px) {
    .site .hero-slider .carousel-caption {
        left: 0;
        right: 0;
        margin: 0 auto;
        background: #00000063;
        padding: 18px;
    }

    .site .hero-slider .carousel-caption h1 {
        font-size: 1.3rem;
    }
}

/* ---------- Utilities & small components ---------- */
.site .badge-box {
    border: 1px solid rgba(2, 6, 23, 0.04);
    padding: 30px;
    height: 100%;
    background: var(--surface);
}

.site .product-card img {
    height: 250px;
    object-fit: cover;
}

/* Product overlay tweaks */
.site .product-range-section .product-overlay .badge {
    background: rgba(255, 255, 255, 0.98);
    color: var(--heading-color);
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .85rem;
}

/* Button sizes */
.site .btn-lg {
    padding: 12px 26px;
    font-size: 1rem;
    border-radius: var(--btn-radius);
}


/* ---------- Process steps ---------- */
.site .process-step {
    background: var(--surface);
    padding: 28px 18px;
    border-radius: var(--r-2);
    box-shadow: var(--shadow-md);
    transition: transform .28s ease, box-shadow .28s ease;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.site .process-step .icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8a6b 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 6px 18px rgba(255, 107, 107, 0.2);
    margin-bottom: 14px;
}

.site .process-step h5 {
    font-size: 1.02rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.site .process-step p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.4;
}

.site .process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(18, 32, 50, 0.12);
}

.site .process-step {
    opacity: 0;
    transform: translateY(14px);
    transition: transform .45s cubic-bezier(.2, .9, .2, 1), opacity .45s ease;
}

.site .process-step.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width:768px) {
    .site .process-row::before {
        content: '';
        position: absolute;
        left: 6%;
        right: 6%;
        top: 50%;
        height: 2px;
        background: #eee;
        z-index: 1;
        border-radius: 2px;
    }

    .site .process-step {
        padding-top: 40px;
    }

    .site .process-step .icon {
        transform: translateY(-28px);
    }
}

@media (max-width:767px) {
    .site .process-row {
        display: block;
    }

    .site .process-row .col-12 {
        position: relative;
        padding-left: 40px;
    }

    .site .process-row .col-12::before {
        content: '';
        position: absolute;
        left: 24px;
        top: 12px;
        width: 4px;
        height: calc(100% - 24px);
        background: #eee;
        z-index: 0;
        border-radius: 2px;
    }

    .site .process-step {
        text-align: left;
        padding-left: 20px;
        padding-right: 20px;
    }

    .site .process-step .icon {
        transform: none;
        margin-bottom: 8px;
    }

    .site .process-row .col-12 .process-step {
        margin-bottom: 18px;
    }
}

/* ---------- Trending section (product cards) ---------- */
.site .trending-section {
    padding: 60px 0;
    background: var(--surface);
}

.site .trending-section .tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}

.site .trending-section .tab {
    flex: 0 0 auto;
    white-space: nowrap;
    border: 1px solid rgba(230, 238, 249, 1);
    background: transparent;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--brand-blue-500);
    font-weight: 600;
    font-size: .95rem;
    transition: all .18s ease;
}

.site .trending-section .tab.active {
    background: linear-gradient(90deg, var(--brand-blue-500), var(--brand-blue-300));
    color: #fff;
    box-shadow: 0 6px 18px rgba(43, 140, 255, 0.18);
    border-color: transparent;
}

.site .trending-section .divider {
    margin: 18px 0;
    border-top: 1px solid #eef6ff;
}

/* products groups */
.site .products {
    display: none;
}

.site .products.active {
    display: block;
}

.site .trending-section .card {
    border-radius: var(--r-2);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-sizing: border-box;
    width: 100%;
    min-height: 380px;
}

.site .trending-section .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.site .trending-section .card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--bg-soft);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.site .trending-section .card-body {
    flex: 1 1 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .6rem;
}

.site .trending-section .card-body h5 {
    font-size: 1.05rem;
    margin-bottom: .5rem;
}

.site .trending-section .card-text {
    color: var(--muted);
    font-size: .9rem;
}

.site .trending-section .card-footer {
    background: transparent;
    padding: .75rem;
}

/* grid/columns - use explicit flex widths to avoid accidental narrow columns */
.site .trending-section .row {
    display: flex;
    flex-wrap: wrap;
    /* gap: 1rem; */
    margin: 0 -0.5rem;
}

.site .trending-section [class*="col-"] {
    box-sizing: border-box;
    padding: 0 0.5rem;
    display: flex;
    flex-direction: column;
}

@media (min-width:1200px) {
    .site .trending-section .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .site .trending-section .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .site .trending-section .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width:767px) {

    .site .trending-section .col-12,
    .site .trending-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* small screen tweaks */
@media (max-width:991px) {
    .site .trending-section .card {
        min-height: 340px;
    }

    .site .trending-section .card-img-top {
        aspect-ratio: 16/9;
    }

    .site .trending-section .tabs {
        justify-content: center;
    }
}

@media (max-width:576px) {
    .site .trending-section .card {
        min-height: auto;
    }

    .site .trending-section .card-img-top {
        height: 140px;
    }

    .site .trending-section .tab {
        padding: 8px 10px;
        font-size: .9rem;
    }
}

/* ---------- Product Range ---------- */
.site .product-range-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-soft) 0, #fff 100%);
}

.site .product-range-section .product-filter {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.site .product-range-section .product-filter .filter-btn {
    border-radius: 999px;
    padding: .45rem .75rem;
    font-weight: 600;
    font-size: .95rem;
}

.site .product-range-section .product-grid {
    margin-top: 6px;
}

.site .product-range-section .product-item {
    padding: 0.5rem;
}

.site .product-range-section .product-card {
    border-radius: var(--r-2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .22s ease, box-shadow .22s ease;
    box-shadow: var(--shadow-sm);
}

.site .product-range-section .product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.site .product-range-section .product-media {
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
}

.site .product-range-section .product-media .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.site .product-range-section .product-card:hover .card-img-top {
    transform: scale(1.03);
}

.site .product-range-section .product-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
}

.site .product-range-section .product-overlay .badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--muted);
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .82rem;
    display: inline-block;
}

.site .product-range-section .enquire-btn {
    --bs-btn-padding-y: .275rem;
}

/* Responsive adjustments */
@media (max-width:991px) {
    .site .product-range-section .product-media .card-img-top {
        height: 180px;
    }
}

@media (max-width:576px) {
    .site .product-range-section .product-media .card-img-top {
        height: 140px;
    }
}

/* ---------- Testimonials ---------- */
.site .testimonial-section {
    background: linear-gradient(180deg, #fff 0, var(--bg-soft) 100%);
}

/* Testimonials: two cards per slide on medium+ screens; keep Bootstrap slide animation */
.site .testimonial-section .carousel-inner .carousel-item {
    padding: 1rem 0;
    overflow: hidden;
}

.site .testimonial-section .carousel-inner .carousel-item .row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    /* keep both cards in one row */
}

.site .testimonial-section .carousel-inner .carousel-item .col-12 {
    margin-bottom: 12px;
    flex: 0 0 50%;
    max-width: 50%;
}

.site .testimonial-section .carousel-item .col-md-6 {
    display: flex;
    align-items: stretch;
    flex: 0 0 50%;
    max-width: 50%;
}

.site .testimonial-section .testimonial-card {
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(18, 32, 50, 0.06);
    border: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.site .testimonial-section .testimonial-card .rounded-circle {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-width: 2px;
    border-color: rgba(0, 0, 0, 0.06);
}

.site .testimonial-section .lead {
    color: #223;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: .5rem;
}

/* Ensure icons are visible over white circular buttons by supplying dark SVG icon using currentColor and setting color */
.site .testimonial-section .carousel-control-prev,
.site .testimonial-section .carousel-control-next {
    z-index: 2;
}

.site .testimonial-section .carousel-control-prev-icon,
.site .testimonial-section .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='currentColor' fill='none' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 18 9 12 15 6'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    color: #223;
    filter: drop-shadow(0 4px 12px rgba(18, 32, 50, 0.08));
}

.site .testimonial-section .carousel-control-next-icon {
    transform: rotate(180deg);
    transform-origin: center;
}

/* Make prev/next controls more visible */
.site .testimonial-section .carousel-control-prev,
.site .testimonial-section .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(18, 32, 50, 0.06);
}

.site .testimonial-section .carousel-control-prev:hover,
.site .testimonial-section .carousel-control-next:hover {
    background: #fff;
}

/* Indicators styling */
.site .testimonial-section .carousel-indicators {
    bottom: -18px;
}

.site .testimonial-section .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.12);
}

.site .testimonial-section .carousel-indicators .active {
    background-color: var(--brand-blue-500);
}

/* FAQ section */
.site .faq-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0, rgba(248, 250, 255, 0.7) 100%);
}

.site .faq-section .accordion-item {
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(18, 32, 50, 0.04);
    margin-bottom: 12px;
}

.site .faq-section .accordion-button {
    background: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #111;
}

.site .faq-section .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(43, 140, 255, 0.12);
}

.site .faq-section .faq-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue-50, #eff8ff), var(--brand-blue-100, #e9f2ff));
    color: var(--brand-blue-600, #2b8cff);
    flex: 0 0 44px;
}

.site .faq-section .faq-arrow {
    margin-left: auto;
    transition: transform .18s ease;
    color: var(--brand-blue-600, #2b8cff);
}

.site .faq-section .accordion-button:not(.collapsed) .faq-arrow {
    transform: rotate(180deg);
}

.site .faq-section .accordion-body {
    background: #fff;
    color: #3b4452;
    padding: 1rem 1.25rem 1.25rem;
}

@media (max-width:767px) {
    .site .faq-section .faq-icon {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }
}

@media (max-width:767px) {

    /* Stack inner layout for narrow screens but let Bootstrap control slide visibility */
    .site .testimonial-section .carousel-inner .carousel-item {
        padding: 0.75rem 0;
    }

    .site .testimonial-section .carousel-inner .carousel-item .row {
        display: block;
    }

    .site .testimonial-section .carousel-inner .carousel-item .col-12,
    .site .testimonial-section .carousel-item .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 12px;
    }

    /* Increase internal padding and type size for touch targets */
    .site .testimonial-section .testimonial-card {
        padding: 1.25rem !important;
    }

    /* Make controls slightly larger and closer to edges for easier tapping */
    .site .testimonial-section .carousel-control-prev,
    .site .testimonial-section .carousel-control-next {
        width: 52px;
        height: 52px;
        top: 50%;
        transform: translateY(-50%);
    }

    .site .testimonial-section .carousel-control-prev {
        left: 10px;
    }

    .site .testimonial-section .carousel-control-next {
        right: 10px;
    }

    /* Bring indicators a bit closer so they remain visible on small screens */
    .site .testimonial-section .carousel-indicators {
        bottom: -12px;
    }
}

.site .testimonial-section .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.12);
}

.site .testimonial-section .carousel-indicators .active {
    background-color: var(--brand-blue-500);
}


/* WHY CHOOSE US */
.site .why-choose-section {
    background: linear-gradient(180deg, rgba(98, 122, 255, 0.03) 0, rgba(248, 250, 255, 0.6) 100%);
}

.site .why-choose-section .why-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(18, 32, 50, 0.04);
    transition: transform .22s ease, box-shadow .22s ease;
}

.site .why-choose-section .why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(18, 32, 50, 0.08);
}

.site .why-choose-section .why-icon svg {
    display: inline-block;
    width: 48px;
    height: 48px;
    padding: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue-100, #e9f2ff), var(--brand-blue-50, #eff8ff));
    color: var(--brand-blue-600, #2b8cff);
}

.site .why-choose-section .why-card h5 {
    font-weight: 600;
}

.site .why-choose-section .why-card p {
    color: #6b7280;
}

.site .why-choose-section .btn-primary {
    padding-left: 26px;
    padding-right: 26px;
}

/* QA section (retained marker for further rules) */
.site .qa-section {
    background: linear-gradient(180deg, #fff 0, #f6fbff 100%);
}

.site .qa-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.site .qa-icon {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2b8cff, #5cd1ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 64px;
}

@media (max-width:767px) {
    .site .qa-card {
        flex-direction: column;
    }

    .site .qa-icon {
        width: 56px;
        height: 56px;
        border-radius: 8px;
    }

    .site .qa-feature h2.section-title {
        font-size: 20px;
    }
}

/* ... remaining rules from original inline stylesheet kept, all prefixed with .site for scoping ... */

/* INDUSTRIES: "Industries We Serve" section */
.site .industries-section {
    background: linear-gradient(180deg, rgba(250, 252, 255, 1) 0, rgba(245, 249, 255, 1) 100%);
}

.site .industries-section .industry-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(18, 32, 50, 0.04);
    transition: transform .22s ease, box-shadow .22s ease;
    text-align: center;
    height: 100%;
}

.site .industries-section .industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(18, 32, 50, 0.08);
}

.site .industries-section .industry-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue-50, #eff8ff), var(--brand-blue-100, #e9f2ff));
    color: var(--brand-blue-600, #2b8cff);
}

.site .industries-section .industry-card h5 {
    font-weight: 600;
    margin-bottom: 6px;
}

.site .industries-section .industry-card p {
    color: #6b7280;
}

@media (max-width:767px) {
    .site .industries-section .industry-card {
        padding: 18px;
    }

    .site .industries-section .industry-icon {
        width: 56px;
        height: 56px;
    }
}

/* Footer/other small utility rules can be appended below as needed */