:root {
    --sm-primary: #f77716;
    --sm-primary-dark: #d66410;
    --sm-bg: #f8fafc;
    --sm-text-main: #1e293b;
    --sm-text-muted: #64748b;
    --sm-white: #ffffff;
    --sm-nav-bg: rgba(0, 0, 0, 0.4);
    --sm-glass: rgba(255, 255, 255, 0.8);
    --sm-nav-border: rgba(255, 255, 255, 0.2);
    --sm-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --sm-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Base Layout */
.sm-container {
    width: 100%;
    max-width: 1920px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 40px;
    padding-left: 40px;
}

@media (max-width: 1700px) {
    .sm-container {
        max-width: 1400px;
    }
}

@media (max-width: 1400px) {
    .sm-container {
        max-width: 1200px;
    }
}

@media (max-width: 991px) {
    .sm-container {
        padding-right: 24px;
        padding-left: 24px;
    }
}

.sm-services-single {
    font-family: 'Inter', 'Avenir', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--sm-bg);
}

/* Hero Section */
.sm-hero {
    background-color: var(--sm-hero-bg, var(--sm-primary));
    padding: 100px 0;
    color: var(--sm-white);
    position: relative;
}

/* Hero Title */
.sm-hero-title-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.sm-hero h1 {
    font-size: 96px;
    font-weight: 350;
    line-height: 1.08;
    margin: 0;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
    letter-spacing: -0.2px;
}

/* Hero Details Section */
.sm-hero-details {
    background-color: #f2f2f2;
    position: relative;
    overflow: hidden;
}

.sm-details-content-col {
    padding-top: 80px;
    padding-bottom: 80px;
}

.sm-tabs-box {
    display: inline-flex;
    border: 1px solid #050505;
    padding: 12px;
    background: #fff;
}

.sm-tab {
    padding: 20px 24px;
    font-size: 20px;
    background: transparent;
    border: none;
    color: #050505;
    transition: var(--sm-transition);
    cursor: pointer;
    font-weight: 400;
}

.sm-tab.active {
    background: #050505;
    color: #fff;
    backdrop-filter: blur(8px);
}

.sm-hero-quote {
    font-size: 48px;
    line-height: 64px;
    font-weight: 350;
    color: #050505;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    border: none;
    padding: 0;
}

.sm-hero-author {
    font-size: 32px;
    font-style: normal;
    color: #050505;
    font-weight: 350;
    letter-spacing: 0.12px;
}

#sm-portrait-container {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding-top: 70px;
}

.sm-side-portrait {
    display: none;
    height: 714px;
    /* Reduced from 784px (784 - 70) to maintain overall container height if needed */
    width: 435px;
    margin-left: auto;
    object-fit: contain;
    object-position: bottom right;
}

.sm-side-portrait.active {
    display: block;
}

.sm-portrait-placeholder {
    height: 720px;
    background: #ddd;
    width: 100%;
}

/* Hero Details 2 Section */
.sm-hero-details-2 {
    background-color: #f2f2f2;
    padding-top: 150px;
    padding-bottom: 150px;
}

.sm-details-2-grid {
    max-width: 1400px;
    margin: 0 auto;
}

.sm-details-2-content {
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding: 0 120px;
    margin-bottom: 80px;
}

.sm-content-block h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 48px;
    color: #000;
    margin-bottom: 24px;
    letter-spacing: 0.2px;
    text-transform: capitalize;
}

.sm-content-block p {
    font-size: 24px;
    line-height: 32px;
    color: #000;
    margin: 0;
    letter-spacing: 0.24px;
}

.sm-details-2-action {
    display: flex;
    justify-content: center;
}

.sm-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 20px 40px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-size: 20px;
    transition: var(--sm-transition);
    background: transparent;
    backdrop-filter: blur(8px);
}

.sm-btn-outline:hover {
    background: #000;
    color: #fff;
}

.sm-icon-arrow {
    font-size: 20px;
}

.sm-main-content {
    margin-top: -60px;
    padding-bottom: 80px;
}

.sm-content-card {
    background: var(--sm-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 60px;
    box-shadow: var(--sm-shadow);
}

.sm-entry-content {
    font-size: 1.25rem;
    color: #334155;
}

/* Tab Content Visibility */
.sm-tab-content {
    display: none;
}

.sm-tab-content.active {
    display: block;
}

/* Meet the Team Styles */
.sm-team-heading {
    font-size: 104px;
    font-weight: 700;
    line-height: 92px;
    margin-bottom: 60px;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: -0.2px;
}

.sm-team-heading .light {
    color: rgba(0, 0, 0, 0.2);
}

.sm-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.sm-team-card {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--sm-transition);
    cursor: pointer;
}

.sm-team-card.active {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 44px 0px rgba(0, 0, 0, 0.06);
    opacity: 1 !important;
}

.sm-team-card:not(.active) {
    opacity: 0.6;
}

.sm-member-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sm-member-photo img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.sm-member-details h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 4px 0;
    text-transform: capitalize;
}

.sm-member-details p {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
    margin: 0;
}

.sm-member-action {
    background: #fff;
    border: 1px solid #f77716;
    width: 32px;
    height: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sm-team-card.active .sm-member-action {
    display: flex;
}

.sm-member-action:hover {
    background: #f77716;
}

.sm-member-action:hover .sm-icon-plus {
    color: #fff;
}

.sm-icon-plus {
    font-size: 16px;
    color: #f77716;
    font-weight: 700;
}

.sm-team-more {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .sm-team-heading {
        font-size: 72px;
        line-height: 1.1;
    }
}

/* Services Accordion */
.sm-services-accordion {
    background-color: #fff;
    padding: 100px 0;
}

.sm-category-row {
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 5px;
}

@media (max-width: 991px) {
    .sm-category-row {
        overflow-x: auto;
    }
}

.sm-category-row::-webkit-scrollbar {
    display: none;
}

.sm-category-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    align-items: center;
    transition: all 0.3s ease;
}

.sm-tag-btn {
    padding: 12px 24px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 4px;
    font-size: 16px;
    color: #475569;
    transition: var(--sm-transition);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.sm-tag-btn.active {
    background: var(--sm-acc-primary, #f77716);
    color: #fff;
    border-color: var(--sm-acc-primary, #f77716);
    box-shadow: 0px 2px 8px rgba(247, 119, 22, 0.25), 0px 4px 16px rgba(247, 119, 22, 0.32);
    border-radius: 8px;
}

.sm-more-tags {
    font-size: 16px;
    color: #64748b;
    margin-left: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 20px;
    /* Prevent clipping at the edge */
}

.sm-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sm-accordion-item {
    border: 1px solid #f2f2f2;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--sm-transition);
}

.sm-accordion-item.active {
    background: var(--sm-acc-active-bg, #fff7f0);
    border-color: var(--sm-acc-active-border, #ffd8bd);
}

.sm-accordion-item-header {
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .sm-accordion-item-header {
        padding: 40px 24px;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "index arrow"
            "title title";
        gap: 20px;
        align-items: center;
    }

    .sm-accordion-index {
        grid-area: index;
    }

    .sm-accordion-arrow {
        grid-area: arrow;
        position: static !important;
    }

    .sm-accordion-title {
        grid-area: title;
    }

    .sm-accordion-item.active .sm-accordion-item-header {
        padding-bottom: 20px;
    }
}

.sm-accordion-title {
    flex-grow: 1;
    order: 2;
}

.sm-accordion-index {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: var(--sm-acc-primary, #f77716);
    font-family: "Inter", sans-serif;
    opacity: 1;
    transition: var(--sm-transition);
    order: 1;
}

.sm-accordion-item:not(.active) .sm-accordion-index {
    opacity: 0.5;
    color: rgba(247, 119, 22, 0.5);
}

.sm-accordion-item.active .sm-accordion-index {
    color: var(--sm-acc-primary, #f77716);
    opacity: 1;
}

.sm-accordion-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    color: #050505;
    font-family: "Inter", sans-serif;
}

@media (max-width: 991px) {
    .sm-accordion-title {
        font-size: 24px;
    }
}

.sm-accordion-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-acc-primary, #f77716);
    transition: var(--sm-transition);
    order: 3;
}

.sm-accordion-arrow .sm-icon {
    width: 24px;
    height: 24px;
    display: block;
    transform: rotate(90deg);
    /* Points Down */
    transition: var(--sm-transition);
}

.sm-accordion-item.active .sm-accordion-arrow .sm-icon {
    transform: rotate(-90deg);
    /* Points Up */
}

.sm-accordion-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.sm-accordion-item.active .sm-accordion-item-content {
    max-height: 2000px;
}

.sm-content-inner {
    padding: 0 40px 40px;
    color: rgba(5, 5, 5, 0.6);
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .sm-content-inner {
        padding: 0 24px 40px;
        font-size: 16px;
    }
}

.sm-content-inner p {
    font-size: 18px;
    line-height: 28px;
    color: #475569;
    margin-bottom: 20px;
    max-width: 1100px;
}

/* Accordion Footer CTA */
.sm-accordion-footer {
    padding: 80px 0;
}

@media (max-width: 991px) {
    .sm-accordion-footer {
        padding: 40px 0;
    }
}

.sm-cta-heading {
    font-size: 40px;
    font-weight: 800;
    color: #050505;
}

@media (max-width: 991px) {
    .sm-cta-heading {
        font-size: 32px;
    }
}

.sm-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

@media (max-width: 991px) {
    .sm-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .sm-cta-buttons .sm-btn {
        width: 100%;
        justify-content: center;
        padding: 20px 24px;
        font-size: 24px;
    }
}

.sm-btn-solid-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 40px;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sm-btn-solid-dark:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25);
}

.sm-btn-solid-dark:active {
    transform: translateY(1px);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.sm-btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 40px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sm-btn-outline-dark:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25);
}

.sm-btn-outline-dark:active {
    transform: translateY(1px);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .sm-hero h1 {
        font-size: 64px;
    }

    .sm-content-card {
        padding: 40px;
    }
}

@media (max-width: 991px) {
    .sm-hero {
        padding: 64px 24px 80px 24px;
    }

    .sm-hero h1 {
        font-size: 40px;
        /* Matching Figma mobile D1 variable */
        line-height: 48px;
        max-width: 312px;
        margin: 0 auto;
        word-break: break-word;
    }

    .sm-content-card {
        padding: 30px;
        margin-top: 20px;
    }

    .sm-main-content {
        margin-top: 0;
    }

    /* Hero Details Adjustments */
    .sm-case-studies-title {
        font-size: 38px;
        line-height: 48px;
        letter-spacing: -1.2px;
        margin-bottom: 40px;
        flex-direction: row;
        gap: 15px;
        justify-content: flex-start;
    }

    .sm-cs-tab {
        padding: 12px 20px;
        font-size: 18px;
    }

    #sm-cs-content-area {
        display: none !important;
    }

    .sm-details-tabs {
        display: flex;
        justify-content: center;
        margin-bottom: 32px !important;
    }

    .sm-tabs-box {
        display: flex;
        width: 100%;
        padding: 12px;
        background: #fff;
        border: 1px solid #050505;
        box-sizing: border-box;
    }

    .sm-tab {
        flex: 1;
        text-align: center;
        padding: 14px 24px;
        font-size: 16px;
        line-height: 24px;
        min-width: 0;
        background: transparent;
        color: #050505;
    }

    .sm-tab.active {
        background: #050505 !important;
        color: #fff !important;
    }

    .sm-hero-quote {
        font-size: 20px;
        line-height: 36px;
        margin-bottom: 32px;
    }

    .sm-hero-author {
        font-size: 20px;
        line-height: 28px;
    }

    #sm-portrait-container,
    #sm-portrait-container-mobile {
        padding-top: 0;
        margin-bottom: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Override display:contents if I were using it, but I'm not. 
       Just ensure the mobile container doesn't have unwanted padding. */
    #sm-portrait-container-mobile {
        margin-top: 20px;
    }

    .sm-side-portrait {
        display: none;
        height: auto;
        max-height: 404px;
        width: 100%;
        max-width: 224px;
        margin: 0 auto;
        object-position: center;
    }

    .sm-side-portrait.active {
        display: block;
    }

    #sm-portrait-container {
        display: none !important;
    }

    .sm-team-grid {
        grid-template-columns: 1fr;
    }

    .sm-team-heading {
        font-size: 56px;
        line-height: 1.1;
        margin-bottom: 32px;
    }
}

/* Testimonials Section */
.sm-testimonials-wrapper {
    background: var(--sm-testi-bg);
    border-radius: 8px;
    height: 768px;
    overflow: hidden;
    position: relative;
    padding: 80px;
}

.sm-testimonial-item {
    height: 100%;
    display: none;
}

.sm-testimonial-item.active {
    display: block;
    animation: smFadeIn 0.5s ease-in-out forwards;
}

@keyframes smFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sm-testimonial-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 0;
}

.sm-testimonial-quote {
    font-size: 56px;
    line-height: 1.2;
    color: var(--sm-testi-text);
    font-weight: 350;
    margin-bottom: 80px;
}

.sm-testimonial-quote p {
    margin-bottom: 0;
}

.sm-testimonial-author {
    font-size: 40px;
    color: var(--sm-testi-text);
    font-weight: 350;
}

/* Pagination Indicators */
.sm-pagination-indicators {
    display: flex !important;
    gap: 16px;
    align-items: center;
    position: absolute;
    bottom: 80px;
    left: 80px;
    z-index: 999;
}

.sm-dot {
    width: 12px;
    height: 20px;
    background: var(--sm-testi-dot-bg, rgba(5, 5, 5, 0.1));
    border: 1px solid var(--sm-testi-accent, #f77716);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--sm-transition);
}

.sm-dot.active {
    background: var(--sm-testi-accent, #f77716);
}

/* Video Styles */
.sm-testimonial-video {
    height: 608px;
    width: 476px;
    margin-left: auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.sm-video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.sm-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.sm-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
}

.sm-video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 991px) {
    .sm-testimonials-wrapper {
        height: auto;
        padding: 40px 24px 80px 24px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
    }

    .sm-testimonial-content {
        padding: 40px 0 0;
        text-align: left;
        justify-content: flex-start;
    }

    .sm-testimonial-quote {
        font-size: 28px;
        line-height: 1.35;
        margin-bottom: 24px;
        font-weight: 500;
        color: var(--sm-testi-text);
    }

    .sm-testimonial-author {
        font-size: 20px;
        margin-bottom: 40px;
        color: var(--sm-testi-text);
        opacity: 0.8;
    }

    .sm-testimonial-video {
        width: 100%;
        height: 450px;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .sm-pagination-indicators {
        bottom: 40px;
        left: 24px;
        transform: none;
        justify-content: flex-start;
        gap: 12px;
    }

    .sm-dot {
        width: 16px;
        height: 16px;
        border-radius: 2px;
    }
}

@media (max-width: 991px) {
    .sm-testimonial-quote {
        font-size: 28px;
    }

    .sm-testimonial-author {
        font-size: 24px;
    }
}

/* FAQ Section */
.sm-faqs {
    background: var(--sm-faq-bg);
}

.sm-faq-title {
    font-size: 104px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.2px;
    margin-bottom: 0;
}

.sm-faq-title-light {
    color: rgba(5, 5, 5, 0.2) !important;
}

.sm-faq-title-dark {
    color: rgba(5, 5, 5, 0.6) !important;
}

.sm-faq-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-left: clamp(20px, 6vw, 100px);
}

.sm-faq-item {
    border: 1px solid rgba(5, 5, 5, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--sm-transition);
}

.sm-faq-item.active {
    border: 1px solid var(--sm-faq-primary) !important;
}

.sm-faq-header {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    color: #050505;
    transition: var(--sm-transition);
    border: none;
}

.sm-faq-item.active .sm-faq-header {
    background: var(--sm-faq-primary);
    color: #fff !important;
    border-bottom: 1px solid rgba(5, 5, 5, 0.1);
}

.sm-faq-item.active .sm-faq-header h5 {
    color: #fff !important;
}

.sm-faq-header h5 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    color: inherit;
}

.sm-faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.sm-faq-icon .sm-icon-up,
.sm-faq-icon .sm-icon-down {
    display: none;
}

.sm-faq-icon .sm-icon-down {
    display: block;
    color: #050505;
}

.sm-faq-item.active .sm-faq-icon .sm-icon-up {
    display: block;
    color: #fff;
}

.sm-faq-item.active .sm-faq-icon .sm-icon-down {
    display: none;
}

.sm-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.sm-faq-item.active .sm-faq-content {
    max-height: 1000px;
}

.sm-faq-inner {
    padding: 48px 52px;
    font-size: 22px;
    line-height: 1.5;
    color: var(--sm-faq-text);
}

@media (max-width: 1200px) {
    .sm-faq-title {
        font-size: 64px;
        margin-bottom: 40px;
    }
}

@media (max-width: 991px) {
    .sm-faqs {
        padding: 60px 0;
    }

    .sm-faq-title {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        font-size: clamp(28px, 8.5vw, 36px) !important;
        line-height: 1.2 !important;
        margin-bottom: 32px !important;
        text-align: left !important;
    }

    .sm-faq-title p {
        margin: 0 !important;
        padding: 0 !important;
        white-space: normal !important;
    }

    .sm-faq-list {
        padding-left: 0;
        gap: 20px;
    }

    .sm-faq-header {
        padding: 20px 24px;
    }

    .sm-faq-header h5 {
        font-size: 18px;
        line-height: 1.4;
    }

    .sm-faq-inner {
        padding: 24px;
        font-size: 16px;
        line-height: 1.6;
    }
}

/* Latest Articles Section */
.sm-latest-articles {
    padding: 100px 0;
    overflow: hidden;
}

.sm-articles-title {
    font-family: "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-size: 104px;
    line-height: 1.1;
    letter-spacing: -0.2px;
}

.sm-title-light {
    color: rgba(5, 5, 5, 0.2);
}

.sm-title-dark {
    color: rgba(5, 5, 5, 0.6);
}

.sm-articles-nav {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.sm-nav-btn {
    width: 68px;
    height: 60px;
    border: 1px solid #050505;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sm-nav-btn.active,
.sm-nav-btn:hover {
    background: rgba(5, 5, 5, 0.2);
}

.sm-articles-row-wrapper {
    margin-right: -80px;
    /* Offset container padding to allow cards to bleed */
    overflow: hidden;
    padding-bottom: 20px;
}

.sm-articles-row {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    padding-right: 80px;
}

.sm-articles-row::-webkit-scrollbar {
    display: none;
}

.sm-article-card {
    flex: 0 0 435px;
    display: flex;
    flex-direction: column;
}

.sm-article-image {
    width: 100%;
    height: 345px;
    overflow: hidden;
}

.sm-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sm-article-card:hover .sm-article-image img {
    transform: scale(1.05);
}

/* Article Tags */
.sm-article-tag {
    display: inline-flex;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 350;
    letter-spacing: 0.2px;
    width: fit-content;
}

.sm-tag-pink {
    background: rgba(201, 52, 136, 0.2);
    border: 1px solid #c93488;
    color: #050505;
}

.sm-tag-orange {
    background: rgba(247, 119, 22, 0.2);
    border: 1px solid #f77716;
    color: #050505;
}

.sm-tag-yellow {
    background: rgba(201, 179, 45, 0.2);
    border: 1px solid #c9b32d;
    color: #050505;
}

.sm-tag-default {
    background: #f2f2f2;
    border: 1px solid #ddd;
    color: #050505;
}

.sm-article-heading {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.12px;
}

.sm-article-heading a {
    color: #050505;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.sm-read-article {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    border: 1px solid #050505;
    color: #050505;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 0.2px;
    width: fit-content;
    transition: all 0.3s ease;
}

.sm-read-article:hover {
    background: #050505;
    color: #fff;
}

@media (max-width: 1200px) {
    .sm-articles-title {
        font-size: 72px;
    }

    .sm-article-card {
        flex: 0 0 350px;
    }
}

@media (max-width: 991px) {
    .sm-latest-articles {
        padding: 60px 0;
    }

    .sm-articles-title {
        font-size: 40px;
        line-height: 1.1;
        margin-bottom: 32px;
    }

    .sm-articles-nav {
        display: none;
    }

    .sm-articles-row-wrapper {
        margin-right: -20px;
        margin-left: -20px;
        padding-left: 20px;
        overflow-x: auto;
    }

    .sm-articles-row {
        padding-right: 20px;
        gap: 16px;
    }

    .sm-article-card {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }

    .sm-article-image {
        height: 240px;
        border-radius: 8px;
    }

    .sm-article-heading {
        font-size: 20px;
        margin: 16px 0 !important;
    }

    .sm-article-tag {
        padding: 12px;
        font-size: 14px;
        border-radius: 4px;
    }

    .sm-read-article {
        font-size: 18px;
        padding: 12px 20px;
    }
}


/* Send Us Your Query Section */
.sm-query-section {
    padding: 100px 0 200px;
}

.sm-query-title {
    font-family: "Avenir", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-size: 104px;
    line-height: 1.1;
    letter-spacing: -0.2px;
}

.sm-contact-label {
    font-size: 20px;
    color: rgba(5, 5, 5, 0.7);
    margin-bottom: 24px;
    letter-spacing: 0.12px;
}

.sm-contact-value {
    font-size: 24px;
    color: #050505;
    text-decoration: underline;
    line-height: 1.3;
    letter-spacing: 0.2px;
    display: block;
}

.sm-form-group {
    position: relative;
    margin-bottom: 15px;
}

.sm-form-input,
.sm-form-textarea {
    width: 100%;
    border: 1px solid rgba(5, 5, 5, 0.1);
    padding: 24px;
    font-size: 20px;
    color: #050505;
    background: transparent;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.sm-form-textarea {
    height: 213px;
    resize: none;
}

.sm-form-input:focus,
.sm-form-textarea:focus {
    border-color: var(--sm-query-primary);
}

.sm-form-input::placeholder,
.sm-form-textarea::placeholder {
    color: transparent;
}

.sm-input-label {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #050505;
    pointer-events: none;
    transition: all 0.3s ease;
}

.sm-form-textarea+.sm-input-label {
    top: 48px;
}

.sm-form-input:focus+.sm-input-label,
.sm-form-input:not(:placeholder-shown)+.sm-input-label,
.sm-form-input.has-value+.sm-input-label,
.sm-form-textarea:focus+.sm-input-label,
.sm-form-textarea:not(:placeholder-shown)+.sm-input-label {
    top: 12px;
    font-size: 14px;
    color: #f77716;
}

.sm-form-select {
    appearance: none;
    cursor: pointer;
}

.sm-form-select-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.sm-form-submit-btn {
    margin-top: 24px;
    background: #f77716;
    color: #fff;
    border: none;
    padding: 20px 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.sm-form-submit-btn:hover {
    background: #f77716;
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .sm-query-section {
        padding: 60px 0;
    }

    .sm-query-title {
        font-size: 40px;
        line-height: 1.1;
        margin-bottom: 32px;
    }

    .sm-contact-info {
        margin-top: 32px !important;
        padding-top: 0 !important;
    }

    .sm-contact-block {
        margin-bottom: 32px !important;
    }

    .sm-contact-label {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .sm-contact-value {
        font-size: 18px;
    }

    .sm-form-input,
    .sm-form-textarea {
        padding: 16px;
        font-size: 18px;
    }

    .sm-form-textarea {
        height: 160px;
    }

    .sm-input-label {
        left: 16px;
        font-size: 18px;
    }

    .sm-form-textarea+.sm-input-label {
        top: 32px;
    }

    .sm-form-input:focus+.sm-input-label,
    .sm-form-input:not(:placeholder-shown)+.sm-input-label,
    .sm-form-input.has-value+.sm-input-label,
    .sm-form-textarea:focus+.sm-input-label,
    .sm-form-textarea:not(:placeholder-shown)+.sm-input-label {
        top: 10px;
        font-size: 12px;
    }

    .sm-form-submit-btn {
        padding: 16px 32px;
        font-size: 18px;
    }
}

@media (max-width: 1200px) {
    .sm-query-title {
        font-size: 72px;
    }
}

@media (max-width: 991px) {
    .sm-query-title {
        font-size: 48px;
    }

    .sm-query-section {
        padding: 50px 0 100px;
    }

    .sm-form-input,
    .sm-form-textarea {
        padding: 24px 16px;
        font-size: 18px;
    }

    .sm-input-label {
        font-size: 18px;
        left: 16px;
    }
}


/* AJAX Feedback Styles */
.sm-query-response {
    transition: all 0.3s ease;
}

.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.5;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.sm-cs-progress-container {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    position: relative;
    border-radius: 2px;
    margin-top: 10px;
    margin-bottom: 30px;
    cursor: pointer;
}

/* Services Accordion Specific Progress Bar Colors */
.sm-services-acc-progress-container {
    background-color: rgba(5, 5, 5, 0.05);
}

.sm-services-acc-progress-bar.sm-cs-progress-bar {
    background: var(--sm-acc-primary, #f77716) !important;
}

.sm-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: sm-spin 0.8s linear infinite;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes sm-spin {
    to {
        transform: rotate(360deg);
    }
}


/* Case Studies Section */
.sm-case-studies {
    background: #fff;
    overflow: hidden;
}

.sm-case-studies-title {
    margin-bottom: 60px;
    display: flex;
    gap: 20px;
}

/* Custom Tabs Row */
.sm-case-studies-tabs-container {
    position: relative;
    padding-bottom: 5px;
}

.sm-case-studies-tabs-row {
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    /* Hide scrollbar for Chrome/Safari */
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}

.sm-case-studies-tabs-row.grabbing {
    cursor: grabbing;
}

.sm-case-studies-tabs-row::-webkit-scrollbar {
    display: none;
}

.sm-case-studies-tabs {
    display: flex;
    gap: 24px;
    flex: 0 0 auto;
}

.sm-cs-tab {
    padding: 16px 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 24px;
    color: #050505;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sm-cs-tab.active {
    background: #050505;
    color: #fff;
    border-color: #050505;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25), 0px 4px 16px rgba(0, 0, 0, 0.32);
}

.sm-cs-more {
    font-size: 20px;
    color: #050505;
    white-space: nowrap;
}

/* Progress bar / custom scrollbar */
.sm-cs-tabs-progress {
    height: 7px;
    background: rgba(5, 5, 5, 0.1);
    border: 0.5px solid rgba(5, 5, 5, 0.1);
    width: 100%;
    position: relative;
}

.sm-cs-progress-bar {
    height: 100%;
    background: #3333bc;
    /* Dark blue from Figma */
    width: 100px;
    position: absolute;
    left: 0;
    top: 0;
}

/* Content Row */
.sm-case-study-content-row {
    display: none;
}

.sm-case-study-content-row.active {
    display: flex;
}

/* Sidebar */
.sm-cs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sm-cs-sidebar-item {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(5, 5, 5, 0.1);
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    color: #050505;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.sm-cs-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 32px;
    color: #050505;
}

.sm-cs-sidebar-item.active {
    background: #fff;
    border-color: #ba51e7;
}

.sm-cs-sidebar-item.active .sm-cs-sidebar-header {
    background: rgba(186, 81, 231, 0.2);
    border-bottom: 1px solid #ba51e7;
}

.sm-cs-sidebar-item.active .sm-icon {
    transform: none;
}

@media (max-width: 991px) {
    .sm-cs-sidebar-item.active .sm-icon {
        transform: rotate(-90deg);
    }
}

.sm-cs-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    width: 100%;
}

.sm-cs-sidebar-header .sm-icon {
    transform: none;
    transition: transform 0.3s ease;
}

.sm-cs-accordion-content {
    background: rgba(186, 81, 231, 0.08);
    display: none;
    overflow-y: auto;
    max-height: 480px;
    transition: all 0.3s ease;
}

.sm-cs-accordion-content::-webkit-scrollbar {
    width: 4px;
}

.sm-cs-accordion-content::-webkit-scrollbar-track {
    background: transparent;
}

.sm-cs-accordion-content::-webkit-scrollbar-thumb {
    background: rgba(5, 5, 5, 0.2);
    border-radius: 10px;
}

.sm-cs-sidebar-item.active .sm-cs-accordion-content {
    display: block;
}

.sm-cs-content-inner {
    padding: 16px 16px 64px 16px;
}

.sm-cs-content-inner img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 32px;
}

.sm-cs-content-inner h3 {
    font-size: 32px;
    line-height: 44px;
    margin-bottom: 24px;
    font-weight: 400;
}

.sm-cs-content-inner p {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 20px;
}

.sm-cs-sidebar-item .sm-icon {
    font-size: 24px;
    color: #050505;
}

/* Main Content Box */
.sm-cs-main-box {
    background: rgba(186, 81, 231, 0.08);
    border: 1px solid #ba51e7;
    height: 676px;
    position: relative;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ba51e7 rgba(186, 81, 231, 0.1);
}

.sm-cs-main-box::-webkit-scrollbar {
    width: 6px;
}

.sm-cs-main-box::-webkit-scrollbar-track {
    background: rgba(186, 81, 231, 0.1);
}

.sm-cs-main-box::-webkit-scrollbar-thumb {
    background: #ba51e7;
    border-radius: 3px;
}

.sm-cs-section-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.sm-cs-section-content.active {
    display: block;
}

.sm-cs-image img {
    width: 100%;
    height: 254px;
    object-fit: cover;
}

.sm-cs-main-box,
.sm-cs-main-box * {
    color: #050505 !important;
}

.sm-cs-section-heading {
    font-size: 32px;
    color: #050505 !important;
}

.sm-cs-text {
    font-size: 20px;
    color: #050505 !important;
    font-weight: 300;
    line-height: 1.4;
}

/* Team Member Modal */
.sm-team-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sm-team-modal.active {
    display: flex;
    opacity: 1;
}

.sm-team-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(8px);
}

.sm-team-modal-content {
    position: relative;
    width: 90%;
    max-width: 1140px;
    height: min(754px, 92vh);
    background: #ffffff;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sm-team-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    background: #050505;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    padding: 8px;
}

.sm-team-modal-close:hover {
    background: #f77716;
}

.sm-team-modal-sidebar {
    background: #ffffff;
    padding: 60px 40px 60px 60px;
}

.sm-team-modal-image-wrapper {
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: #f4f4f4;
}

.sm-team-modal-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

.sm-modal-image-gradient {
    display: none;
}

.sm-team-modal-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 32px;
    margin-top: auto;
}

.sm-contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: #4b4b4b;
    font-size: 15px;
    font-family: 'Avenir', sans-serif;
}

#sm-modal-email-link {
    text-decoration: underline;
}

.sm-contact-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.sm-contact-icon svg {
    width: 18px;
    height: 18px;
}

.sm-modal-content-scrollable {
    padding: 60px 60px 60px 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 transparent;
}

.sm-modal-content-scrollable::-webkit-scrollbar {
    width: 6px;
}

.sm-modal-content-scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.sm-modal-content-scrollable::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
}

.sm-team-modal-details h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.2;
}

.sm-modal-role {
    font-size: 15px;
    color: #4b4b4b;
    font-weight: 400;
    margin-bottom: 32px;
}

.sm-modal-bio {
    font-size: 15px;
    color: #4b4b4b;
    font-weight: 400;
    line-height: 1.6;
}

.sm-modal-bio p {
    margin-bottom: 24px;
}

.sm-modal-bio a {
    color: #050505;
    text-decoration: underline;
}

.sm-cs-text p {
    color: #050505 !important;
    margin-bottom: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .sm-team-modal-content {
        width: 92%;
        height: auto;
        max-height: 85vh;
        overflow-y: auto;
        border-radius: 0 !important;
    }

    .sm-team-modal-content .row {
        flex-direction: column;
        display: block;
        /* Disable flex-stretch for individual scrolling fallback */
    }

    .sm-team-modal-sidebar {
        padding: 40px 24px 24px;
        width: 100%;
        height: auto;
    }

    .sm-team-modal-image-wrapper {
        min-height: 300px;
        height: 300px;
        border-radius: 0 !important;
    }

    .sm-team-modal-contact {
        padding-top: 24px;
        margin-top: 0;
    }

    .sm-modal-content-scrollable {
        padding: 0 24px 40px !important;
        height: auto !important;
        overflow-y: visible !important;
        /* Let parent handle scrolling */
    }

    .sm-team-modal-details h2 {
        font-size: 28px;
        margin-bottom: 4px;
    }

    .sm-modal-role {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .sm-modal-bio {
        font-size: 14px;
        line-height: 1.5;
    }

    .sm-team-modal-close {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
}

@media (max-width: 991px) {
    .sm-modal-container {
        width: 100%;
        height: 100vh;
        max-height: none;
        overflow-y: auto;
        border-radius: 0 !important;
        background-color: #ffffff !important;
        padding: 20px 0;
    }

    .sm-quote-modal-content {
        padding: 0 20px;
    }

    .sm-quote-modal-content .row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "quote_title"
            "quote_form"
            "quote_contact" !important;
        gap: 0 !important;
    }

    .sm-quote-sidebar {
        display: contents !important;
        /* Forces title/contact to be grid items */
    }

    .sm-quote-title {
        grid-area: quote_title !important;
        padding-top: 60px !important;
        margin-bottom: 40px !important;
    }

    .sm-quote-form-wrapper {
        grid-area: quote_form !important;
        padding: 0 0 48px !important;
    }

    .sm-quote-contact {
        grid-area: quote_contact !important;
        margin-top: 0 !important;
        padding-bottom: 60px !important;
    }

    .sm-quote-title .sm-title-light {
        color: rgba(5, 5, 5, 0.4);
        /* Slightly darker for better visibility on mobile */
        display: block;
    }

    .sm-quote-title .sm-title-dark {
        color: rgba(5, 5, 5, 0.7);
        display: block;
    }

    .sm-quote-contact {
        margin-top: 40px;
    }

    .sm-contact-item {
        margin-bottom: 32px;
    }

    .sm-contact-label {
        font-size: 18px;
        color: rgba(5, 5, 5, 0.6);
        margin-bottom: 12px;
        font-weight: 400;
        font-family: 'Avenir', sans-serif;
    }

    .sm-contact-link,
    .sm-contact-text {
        font-size: 20px;
        color: #050505;
        font-weight: 400;
        font-family: 'Avenir', sans-serif;
        text-decoration: underline;
    }

    .sm-quote-form-wrapper {
        padding: 0 0 60px !important;
        width: 100%;
    }

    .sm-form-group {
        margin-bottom: 24px !important;
    }

    .sm-form-input,
    .sm-form-textarea {
        font-size: 20px;
        padding: 20px 0;
        /* Align with design if it's border-bottom style, or keep padding */
    }

    .sm-form-submit-btn {
        margin-top: 32px;
        background: #f77716;
        padding: 24px;
        font-size: 20px;
        text-transform: none;
        font-weight: 500;
    }

    .sm-modal-close {
        width: 48px;
        height: 48px;
        padding: 10px;
        top: 0;
        right: 0;
        background: #000 !important;
        color: #fff !important;
    }
}

/* ----- Get a Quote Shortcode & Modal ----- */
.sm-quote-btn {
    background: #f77716;
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.sm-quote-btn:hover {
    background: #e66a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 119, 22, 0.2);
}

.sm-quote-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.sm-quote-modal.active {
    display: flex;
}

.sm-quote-modal .sm-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

.sm-quote-modal .sm-modal-container {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 1400px;
    height: auto;
    max-height: 98vh;
    padding: 24px 32px;
    z-index: 1;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.sm-quote-modal .sm-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #050505;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.sm-quote-sidebar {
    padding-right: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sm-quote-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 72px;
    line-height: 1;
    letter-spacing: -0.2px;
    margin-bottom: 24px;
}

.sm-quote-title .sm-title-light {
    color: rgba(5, 5, 5, 0.2);
    margin-bottom: 0;
}

.sm-quote-title .sm-title-dark {
    color: rgba(5, 5, 5, 0.6);
}

.sm-quote-contact .sm-contact-item {
    margin-bottom: 16px;
}

.sm-quote-contact .sm-contact-label {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: rgba(5, 5, 5, 0.7);
    margin-bottom: 12px;
}

.sm-quote-contact .sm-contact-link,
.sm-quote-contact .sm-contact-text {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    color: #050505;
    text-decoration: underline;
    line-height: 1.3;
}

.sm-quote-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sm-quote-modal-content {
    padding-top: 50px;
}

.sm-quote-form-wrapper .sm-query-form {
    padding: 0 0 40px 0;
}

/* Responsive adjustments for Quote Modal */
@media (max-width: 991px) {
    .sm-quote-modal .sm-modal-container {
        padding: 40px 20px;
        max-width: 95%;
    }

    .sm-quote-sidebar {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .sm-quote-title {
        font-size: 64px;
        margin-bottom: 40px;
    }
}