﻿/* --- Global Variables (Supporting Dark/Light modes) --- */
:root {
    --primary: #0F172A; /* Slate 900 */
    --accent-red: #EA580C; /* Orange */
    --accent-blue: #1D4ED8; /* Professional Blue */
    --accent-gold: #C2410C;
    --background: #F8FAFC; /* Crisp Gray */
    --surface: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --primary: #0F172A;
    --accent-red: #FB923C;
    --accent-blue: #3B82F6;
    --accent-gold: #FDBA74;
    --background: #0B0F19; /* Inky Dark */
    --surface: #111827; /* Dark Slate Gray */
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --border: #374151;
    --card-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.5);
}

/* --- Base Layout --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--text-main);
    transition: var(--transition);
    overflow-x: hidden;
    line-height: 1.6;
}

aspx {
    overflow-x: hidden;
}

.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px;
}

.section-block {
    position: relative;
}

.section-alt {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0));
}

.trust-strip {
    padding: 16px 0 0;
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.72), rgba(255, 255, 255, 0)), radial-gradient(circle at 15% 40%, rgba(251, 146, 60, 0.16), transparent 28%), radial-gradient(circle at 85% 30%, rgba(234, 88, 12, 0.12), transparent 24%);
}

/* --- Aeroyantra-inspired unified product theme --- */
body {
    background: radial-gradient(circle at 8% 4%, rgba(234, 88, 12, 0.1), transparent 22%), linear-gradient(180deg, #fff7ed 0%, var(--background) 18%, var(--background) 100%);
}

[data-theme="dark"] body {
    background: radial-gradient(circle at 10% 4%, rgba(251, 146, 60, 0.16), transparent 24%), linear-gradient(180deg, #07111f 0%, var(--background) 26%, var(--background) 100%);
}

.navbar {
    background-color: rgba(255, 247, 237, 0.86);
    border-bottom-color: rgba(251, 146, 60, 0.22);
}

[data-theme="dark"] .navbar {
    background-color: rgba(7, 17, 31, 0.86);
}

.hero-section {
    min-height: 720px;
    background: radial-gradient(circle at 76% 18%, rgba(251, 146, 60, 0.22), transparent 30%), radial-gradient(circle at 18% 78%, rgba(29, 78, 216, 0.18), transparent 28%), linear-gradient(135deg, #07111f 0%, #111827 52%, #7c2d12 100%);
    color: #ffffff;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(7, 17, 31, 0.58), rgba(7, 17, 31, 0.12)), linear-gradient(180deg, transparent, rgba(7, 17, 31, 0.35));
}

.hero-card {
    background: rgba(7, 17, 31, 0.68);
    border-color: rgba(253, 186, 116, 0.22);
    box-shadow: 0 26px 80px -38px rgba(0, 0, 0, 0.72);
}

.hero-content h4,
[data-theme="dark"] .hero-content h4 {
    color: #ffffff;
}

.hero-content p,
.hero-stats .stat-item p {
    color: rgba(255, 255, 255, 0.76);
}

.hero-pills span {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(253, 186, 116, 0.2);
    color: #ffedd5;
}

.hero-stats .stat-item h4,
.hero-stats .stat-item:nth-child(2) h4,
.hero-stats .stat-item:nth-child(3) h4 {
    color: #fdba74;
}

.counter-number {
    display: inline-block;
    min-width: 2ch;
    font-variant-numeric: tabular-nums;
}

.hero-visual-card {
    border-color: rgba(253, 186, 116, 0.25);
    box-shadow: 0 28px 78px -42px rgba(0, 0, 0, 0.78);
}

    .hero-visual-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 40%, rgba(7, 17, 31, 0.48));
        pointer-events: none;
    }

.hero-visual-badge {
    z-index: 1;
    background: rgba(234, 88, 12, 0.92);
}

.section-alt {
    background: radial-gradient(circle at 90% 10%, rgba(251, 146, 60, 0.1), transparent 25%), linear-gradient(180deg, rgba(255, 247, 237, 0.68), rgba(255, 255, 255, 0));
}

[data-theme="dark"] .section-alt {
    background: radial-gradient(circle at 88% 12%, rgba(251, 146, 60, 0.1), transparent 25%), linear-gradient(180deg, rgba(67, 37, 22, 0.16), rgba(11, 15, 25, 0));
}

.service-card,
.process-step,
.deliverable-item,
.client-card,
.testimonial-card,
.faq-list details,
.contact-support-card div,
.modal-dialog {
    border-radius: 18px;
}

.btn-primary,
.btn-primary-sm,
.btn-submit {
    background: linear-gradient(135deg, #fb923c, #ea580c);
    box-shadow: 0 14px 30px -20px rgba(154, 52, 18, 0.92);
}

    .btn-primary:hover,
    .btn-primary-sm:hover,
    .btn-submit:hover {
        background: linear-gradient(135deg, #fdba74, #c2410c);
    }

.btn-secondary {
    border-color: rgba(253, 186, 116, 0.34);
    color: #ffffff;
}

    .btn-secondary:hover {
        border-color: #fdba74;
    }

.contact-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 24%, rgba(251, 146, 60, 0.22), transparent 28%), linear-gradient(135deg, #fff7ed 0%, #ffffff 58%, #ffedd5 100%);
}

[data-theme="dark"] .contact-section {
    background: radial-gradient(circle at 80% 24%, rgba(251, 146, 60, 0.18), transparent 28%), linear-gradient(135deg, #07111f 0%, #111827 58%, #431407 100%);
}

.sticky-contact-actions {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 1600;
    display: grid;
    justify-items: end;
    gap: 10px;
}

    .sticky-contact-actions a {
        width: 58px;
        height: 58px;
        min-width: 0;
        min-height: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
        color: #ffffff;
        text-decoration: none;
        font-weight: 800;
        box-shadow: 0 18px 42px -22px rgba(15, 23, 42, 0.85);
        transition: transform 0.24s ease, box-shadow 0.24s ease;
    }

        .sticky-contact-actions a:hover {
            transform: translateY(-3px);
            box-shadow: 0 22px 48px -22px rgba(15, 23, 42, 0.95);
        }

    .sticky-contact-actions i {
        font-size: 1.32rem;
    }

.sticky-whatsapp {
    order: 2;
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.sticky-call {
    order: 1;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fb923c, #ea580c);
}

    .sticky-call i {
        font-size: 0.98rem;
    }

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 18px;
    }

    .logo-area {
        flex-basis: auto;
    }

    .nav-controls .btn-login,
    .nav-controls .btn-primary-sm,
    #theme-toggle {
        display: none;
    }

    .hero-section {
        min-height: auto;
    }

    .sticky-contact-actions {
        left: auto;
        right: 14px;
        bottom: 14px;
        grid-template-columns: 1fr;
    }

        .sticky-contact-actions a {
            width: 56px;
            height: 56px;
            min-width: 0;
        }

    .sticky-call {
        width: 48px;
        height: 48px;
    }
}

.trust-strip .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, 128px);
    column-gap: 28px;
    row-gap: 88px;
    position: relative;
    padding-top: 44px;
    padding-bottom: 44px;
    isolation: isolate;
    align-items: stretch;
}

.trust-grid::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(52% - 55px);
    height: 96px;
    transform: none;
    background-image: url("data:image/svg+xml,%3Csvg width='1000' height='88' viewBox='0 0 1000 88' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 44 C62 44 62 12 125 12 S312 76 375 76 S562 12 625 12 S812 76 875 76 S938 44 1000 44' stroke='%23fb923c' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    filter: drop-shadow(0 8px 18px rgba(234, 88, 12, 0.2));
    opacity: 0.86;
    z-index: 0;
}

.trust-grid::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    /* background: #ea580c; */
    /* box-shadow: 0 0 0 9px rgba(251, 146, 60, 0.18), 0 0 26px rgba(234, 88, 12, 0.45); */
    transform: translate(-50%, -50%);
    z-index: 1;
}

.trust-strip .trust-grid div {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    min-height: 0;
    height: 100%;
    padding: 20px 22px 22px;
    display: grid;
    gap: 6px;
    align-content: start;
    overflow: visible;
    border-color: rgba(251, 146, 60, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 237, 0.94)), var(--surface);
    box-shadow: 0 18px 45px -28px rgba(154, 52, 18, 0.55);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.trust-grid div::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 2px;
    height: 12px;
    background: linear-gradient(180deg, rgba(251, 146, 60, 0.18), #ea580c);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}

.trust-grid div::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 18px;
    height: 18px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: #ea580c;
    box-shadow: 0 0 0 8px rgba(251, 146, 60, 0.18), 0 12px 26px -12px rgba(154, 52, 18, 0.86);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.trust-grid div:nth-child(odd) {
    grid-row: 1;
}

.trust-grid div:nth-child(even) {
    grid-row: 2;
}

.trust-grid div:nth-child(1) {
    grid-column: 1;
}

.trust-grid div:nth-child(2) {
    grid-column: 2;
}

.trust-grid div:nth-child(3) {
    grid-column: 3;
}

.trust-grid div:nth-child(4) {
    grid-column: 4;
}

.trust-grid div:nth-child(odd)::before {
    top: 100%;
}

.trust-grid div:nth-child(odd)::after {
    top: calc(100% + 12px);
}

.trust-grid div:nth-child(even)::before {
    bottom: 100%;
    background: linear-gradient(0deg, rgba(251, 146, 60, 0.18), #ea580c);
}

.trust-grid div:nth-child(even)::after {
    bottom: calc(100% + 12px);
    transform: translate(-50%, 50%);
}

.trust-grid div:hover {
    transform: translateY(-6px);
    border-color: rgba(234, 88, 12, 0.66);
    box-shadow: 0 24px 58px -28px rgba(154, 52, 18, 0.82);
}

.trust-grid strong {
    font-size: 1.08rem;
    color: #9a3412;
}

.trust-grid span {
    color: #7c2d12;
    font-size: 0.92rem;
}

[data-theme="dark"] .trust-strip {
    background: linear-gradient(180deg, rgba(154, 52, 18, 0.18), rgba(11, 15, 25, 0)), radial-gradient(circle at 15% 40%, rgba(251, 146, 60, 0.14), transparent 28%), radial-gradient(circle at 85% 30%, rgba(234, 88, 12, 0.14), transparent 24%);
}

    [data-theme="dark"] .trust-strip .trust-grid div {
        background: linear-gradient(180deg, rgba(31, 41, 55, 0.96), rgba(17, 24, 39, 0.96)), var(--surface);
    }

[data-theme="dark"] .trust-grid strong {
    color: #fed7aa;
}

[data-theme="dark"] .trust-grid span {
    color: #fdba74;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent-red);
}

    .eyebrow::before {
        content: "";
        width: 30px;
        height: 2px;
        background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
    }

    .eyebrow::after {
        content: "";
        width: 30px;
        height: 2px;
        background: linear-gradient(90deg, var(--accent-gold), var(--accent-red));
    }

/* --- Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background-color: rgba(11, 15, 25, 0.85);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 80px;
    width:70px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: var(--primary);
}

[data-theme="dark"] .brand-title {
    color: var(--text-main);
}

.brand-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

    .nav-links a {
        text-decoration: none;
        color: var(--text-main);
        font-weight: 500;
        font-size: 0.95rem;
        transition: var(--transition);
    }

        .nav-links a:hover {
            color: var(--accent-red);
        }

.nav-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-main);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

    #theme-toggle:hover {
        background-color: var(--border);
    }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* --- Hero Section with Interactive Canvas --- */
.hero-section {
    position: relative;
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 36px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(234, 88, 12, 0.12), transparent 28%), radial-gradient(circle at bottom right, rgba(29, 78, 216, 0.10), transparent 24%);
}

.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.08) 0%, transparent 50%), radial-gradient(circle at 10% 80%, rgba(234, 88, 12, 0.08) 0%, transparent 50%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 28px 24px 20px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.hero-grid,
.split-layout,
.contact-grid,
.portfolio-layout {
    display: grid;
    gap: 32px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: stretch;
}

.hero-card,
.hero-form-card,
.split-media-card,
.service-card,
.process-step,
.industry-card,
.portfolio-feature,
.testimonial-card,
.contact-form-card,
.deliverable-item,
.client-grid div,
.faq-list details,
.band-grid div,
.trust-grid div {
    background-color: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.hero-card {
    border-radius: 28px;
    padding: 28px;
    backdrop-filter: blur(10px);
}

.hero-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 4.2vw, 4.4rem);
    line-height: 1.02;
    margin: 14px 0 20px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 22px;
}

    .hero-pills span,
    .portfolio-tags span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 14px;
        border-radius: 999px;
        background: rgba(153, 27, 27, 0.08);
        color: var(--text-main);
        font-size: 0.85rem;
        font-weight: 600;
    }

.hero-side {
    display: grid;
    gap: 16px;
    max-width: 420px;
    justify-self: end;
    align-self: stretch;
    height: 100%;
}

.hero-visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 180px;
    height: 100%;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

    .hero-visual-card img,
    .split-media img,
    .industry-card img,
    .portfolio-feature img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.hero-visual-badge {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 18px;
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    width: max-content;
    max-width: calc(100% - 36px);
    text-align: center;
    transform: translateX(-50%);
}

.hero-side .hero-form-card {
    margin-top: 0;
}

.contact-quote-btn {
    margin-top: 24px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    z-index: 2000;
}

    .modal-overlay.open {
        display: flex;
    }

.modal-dialog {
    position: relative;
    width: min(100%, 480px);
    max-height: calc(100dvh - 40px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    padding: 20px;
    overflow-y: auto;
}

.modal-header {
    margin-bottom: 14px;
    text-align: center;
}

    .modal-header .eyebrow {
        justify-content: center;
    }

    .modal-header h4 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.35rem, 2.2vw, 1.85rem);
        line-height: 1.14;
        margin: 8px 0 8px;
    }

    .modal-header p {
        color: var(--text-muted);
        font-size: 13px;
        line-height: 1.5;
    }

.demo-action-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 4px 0 0;
}

.demo-action-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(234, 88, 12, 0.22);
    border-radius: 10px;
    color: #9a3412;
    background: rgba(255, 237, 213, 0.62);
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

    .demo-action-btn:hover {
        transform: translateY(-2px);
        border-color: rgba(234, 88, 12, 0.5);
        background: #ffedd5;
    }

    .demo-action-btn i {
        flex: 0 0 auto;
    }

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-main);
    cursor: pointer;
}

.quote-form {
    display: grid;
    gap: 10px;
}

    .quote-form .input-group {
        margin-bottom: 0;
    }

        .quote-form .input-group input {
            min-height: 40px;
            padding: 9px 10px 9px 38px;
            font-size: 13px;
        }

    .quote-form textarea {
        width: 100%;
        padding: 9px 10px 9px 38px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background-color: var(--background);
        color: var(--text-main);
        font-size: 13px;
        outline: none;
        transition: var(--transition);
        resize: vertical;
        max-height: 86px;
    }

        .quote-form textarea:focus {
            border-color: var(--accent-red);
        }

.hero-form-card {
    padding: 22px;
}

    .hero-form-card h4 {
        font-size: 1.2rem;
    }

    .hero-form-card p {
        margin-bottom: 16px;
    }

.input-group {
    margin-bottom: 12px;
}

    .input-group input {
        padding: 10px 12px 10px 40px;
    }

.btn-submit {
    padding: 12px;
}

.hero-stats {
    gap: 20px;
    margin-bottom: 28px;
}

    .hero-stats .stat-item:nth-child(2) h4,
    .hero-stats .stat-item:nth-child(3) h4 {
        color: var(--accent-blue);
    }

.hero-content h4 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 24px;
}

[data-theme="dark"] .hero-content h4 {
    color: var(--text-main);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 580px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(234, 88, 12, 0.1);
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-red);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}
.error {
    color: red;
    font-size: 13px;
}
/* Buttons */
.btn-primary, .btn-primary-sm {
    background-color: var(--accent-red);
    color: #FFFFFF !important;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-primary-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

    .btn-primary:hover, .btn-primary-sm:hover {
        background-color: #c2410c;
        transform: translateY(-2px);
    }

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border);
    padding: 12px 26px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
}

    .btn-secondary:hover {
        border-color: var(--text-main);
        transform: translateY(-2px);
    }

/* Card Form Container */
.hero-form-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
}

    .hero-form-card h4 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .hero-form-card p {
        font-size: 0.85rem;
        color: var(--text-muted);
        margin-bottom: 24px;
    }

.input-group {
    position: relative;
    margin-bottom: 16px;
}

    .input-group i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
    }

    .input-group input {
        width: 100%;
        padding: 12px 12px 12px 42px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background-color: var(--background);
        color: var(--text-main);
        font-size: 0.95rem;
        outline: none;
        transition: var(--transition);
    }

        .input-group input:focus {
            border-color: var(--accent-red);
        }

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--accent-red);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

    .btn-submit:hover {
        background-color: #c2410c;
    }

.split-layout,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.split-media {
    position: relative;
    min-height: 500px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

    .split-media > img {
        position: absolute;
        inset: 0;
    }

.split-media-card {
    position: absolute;
    left: 50%;
    top: auto;
    bottom: 20px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    text-align: center;
    width: max-content;
    max-width: calc(100% - 40px);
}

    .split-media-card i {
        color: var(--accent-red);
        font-size: 1.2rem;
    }

.split-copy h4,
.contact-copy h4,
.section-header h4 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1.08;
    margin: 12px 0 18px;
}

.split-copy p,
.section-header p,
.contact-copy p,
.testimonial-card p,
.lead-text {
    color: var(--text-muted);
}

.lead-text {
    font-size: 1.08rem;
    margin-bottom: 14px;
}

.expandable-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 16px;
}

    .expandable-text p {
        margin-bottom: 12px;
        color: var(--text-muted);
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-grid-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    perspective: 1100px;
}

.service-card {
    position: relative;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    top: 0;
}

    .service-card:hover {
        top: -8px;
        border-color: var(--accent-red);
    }

.service-index {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1rem;
    font-weight: 800;
    color: rgba(153, 27, 27, 0.16);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.industry-card {
    overflow: hidden;
    position: relative;
    min-height: 250px;
    border-radius: 22px;
}

    .industry-card::after,
    .portfolio-feature::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 38%, rgba(15, 23, 42, 0.8) 100%);
    }

    .industry-card h4,
    .portfolio-copy h4 {
        position: absolute;
        left: 18px;
        bottom: 18px;
        right: 18px;
        margin: 0;
        color: #fff;
        text-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
        font-size: 1.2rem;
        z-index: 1;
    }

.portfolio-layout {
    grid-template-columns: 1.5fr 1fr;
}

.portfolio-feature {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border-radius: 22px;
}

.portfolio-slider {
    background: #0f172a;
}

.portfolio-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.55s ease, transform 0.8s ease;
    pointer-events: none;
}

    .portfolio-slide.active {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }

    .portfolio-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.portfolio-copy {
    position: absolute;
    left: 22px;
    bottom: 22px;
    right: 92px;
    z-index: 1;
    color: #fff;
    display: grid;
    gap: 10px;
    align-items: start;
}

    .portfolio-copy .eyebrow {
        color: #fff;
    }

    .portfolio-copy h4 {
        position: static;
        margin: 0;
        color: #ffffff;
        font-size: clamp(1.8rem, 3vw, 2.7rem);
        line-height: 1.16;
    }

    .portfolio-copy p {
        max-width: 520px;
        margin: 0;
        color: rgba(255, 255, 255, 0.88);
    }

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-content: start;
}

    .portfolio-tags button {
        min-height: 46px;
        flex: 1 1 138px;
        padding: 10px 14px;
        border: 1px solid rgba(251, 146, 60, 0.26);
        border-radius: 999px;
        background: linear-gradient(145deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.98)), var(--surface);
        color: #9a3412;
        font: inherit;
        font-weight: 800;
        white-space: nowrap;
        cursor: pointer;
        box-shadow: 0 14px 34px -26px rgba(154, 52, 18, 0.78);
        transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, color 0.24s ease;
    }

        .portfolio-tags button:hover,
        .portfolio-tags button.active {
            border-color: rgba(234, 88, 12, 0.72);
            background: linear-gradient(135deg, #fb923c, #ea580c);
            color: #ffffff;
            transform: translateY(-3px);
        }

.portfolio-controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.portfolio-nav {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background 0.24s ease, transform 0.24s ease;
}

    .portfolio-nav:hover {
        background: #ea580c;
        transform: translateY(-2px);
    }

[data-theme="dark"] .portfolio-tags button {
    border-color: rgba(251, 146, 60, 0.28);
    background: linear-gradient(145deg, rgba(67, 37, 22, 0.84), rgba(17, 24, 39, 0.98)), var(--surface);
    color: #fed7aa;
}

    [data-theme="dark"] .portfolio-tags button:hover,
    [data-theme="dark"] .portfolio-tags button.active {
        background: linear-gradient(135deg, #fb923c, #ea580c);
        color: #ffffff;
    }

.process-flow.process-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step {
    position: relative;
    background-color: var(--surface);
    border: 1px solid var(--border);
    padding: 32px 24px;
    border-radius: 22px;
    box-shadow: var(--card-shadow);
}

.step-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(153, 27, 27, 0.15);
    margin-bottom: 12px;
}

.band-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(7, 14, 28, 0.98));
    color: #fff;
    margin: 0;
}

.band-grid,
.trust-grid,
.client-grid,
.deliverables-grid,
.faq-list {
    display: grid;
    gap: 16px;
}

.band-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
}

    .band-grid div,
    .trust-grid div,
    .client-grid div,
    .deliverable-item,
    .faq-list details,
    .testimonial-card,
    .contact-form-card {
        border-radius: 22px;
    }

    .band-grid div {
        background: transparent;
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        color: #fff;
        padding: 18px 20px;
    }

    .band-grid span,
    .band-grid div {
        color: rgba(255, 255, 255, 0.85);
    }

.deliverables-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deliverable-item {
    padding: 18px 20px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    font-weight: 700;
}

.client-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

    .client-grid div {
        text-align: center;
        padding: 22px 18px;
        font-weight: 700;
    }

.testimonial-card {
    padding: 32px;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

    .testimonial-card span {
        display: block;
        margin-top: 16px;
        color: var(--text-main);
        font-weight: 700;
    }

.faq-list details {
    padding: 20px 22px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

    .faq-list summary::-webkit-details-marker {
        display: none;
    }

.faq-list details p {
    margin-top: 12px;
}

.faq-list details[open] p {
    animation: faqContentReveal 0.32s ease both;
}

.faq-list details.is-closing p {
    animation: faqContentHide 0.26s ease both;
}


@keyframes faqContentReveal {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes faqContentHide {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.contact-section {
    background: linear-gradient(180deg, rgba(153, 27, 27, 0.04), transparent);
}

.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.contact-points {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

    .contact-points a,
    .contact-points span {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        color: var(--text-main);
        text-decoration: none;
        font-weight: 600;
    }

.contact-form-card {
    padding: 32px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

    .lead-form,
    .contact-form-card form {
        display: grid;
        gap: 16px;
    }

.textarea-group {
    align-items: flex-start;
}

    .textarea-group i {
        top: 22px;
        transform: none;
    }

    .textarea-group textarea {
        width: 100%;
        padding: 12px 12px 12px 42px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background-color: var(--background);
        color: var(--text-main);
        font-size: 0.95rem;
        outline: none;
        transition: var(--transition);
        resize: vertical;
    }

        .textarea-group textarea:focus {
            border-color: var(--accent-red);
        }

.band-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(251, 146, 60, 0.18), transparent 28%), linear-gradient(135deg, #fff7ed 0%, #ffedd5 52%, #ffffff 100%);
    color: #7c2d12;
}

    .band-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(234, 88, 12, 0.08) 1px, transparent 1px), linear-gradient(180deg, rgba(234, 88, 12, 0.06) 1px, transparent 1px);
        background-size: 42px 42px;
        opacity: 0.22;
    }

.band-grid {
    position: relative;
    z-index: 1;
}

    .band-grid div {
        display: grid;
        gap: 8px;
        min-height: 148px;
        align-content: center;
        border-color: rgba(251, 146, 60, 0.28);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.72);
        backdrop-filter: blur(12px);
        box-shadow: 0 18px 46px -32px rgba(154, 52, 18, 0.38);
    }

    .band-grid .band-lead {
        background: rgba(255, 237, 213, 0.84);
    }

    .band-grid i {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        background: linear-gradient(135deg, #fb923c, #ea580c);
    }

    .band-grid strong {
        color: #9a3412;
        font-size: 1.08rem;
    }

    .band-grid span {
        color: #7c2d12;
        font-size: 0.92rem;
    }

[data-theme="dark"] .band-section {
    background: radial-gradient(circle at 15% 20%, rgba(251, 146, 60, 0.16), transparent 28%), linear-gradient(135deg, #1c1917 0%, #431407 58%, #111827 100%);
}

[data-theme="dark"] .band-grid div {
    border-color: rgba(251, 146, 60, 0.24);
    background: rgba(17, 24, 39, 0.72);
}

[data-theme="dark"] .band-grid strong {
    color: #fed7aa;
}

[data-theme="dark"] .band-grid span {
    color: #fdba74;
}

.deliverable-item {
    display: grid;
    gap: 8px;
    border-color: rgba(251, 146, 60, 0.24);
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.96), rgba(255, 255, 255, 0.98)), var(--surface);
    box-shadow: 0 18px 46px -30px rgba(154, 52, 18, 0.56);
}

    .deliverable-item i {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        background: linear-gradient(135deg, #fb923c, #ea580c);
    }

    .deliverable-item strong {
        color: #9a3412;
    }

    .deliverable-item span {
        color: #7c2d12;
        font-size: 0.92rem;
        font-weight: 500;
    }

.client-grid div {
    display: grid;
    gap: 6px;
    text-align: left;
    border-color: rgba(251, 146, 60, 0.22);
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.92), rgba(255, 255, 255, 0.98)), var(--surface);
    transition: transform 0.24s ease, border-color 0.24s ease;
}

    .client-grid div:hover {
        transform: translateY(-5px);
        border-color: rgba(234, 88, 12, 0.58);
    }

.client-grid span {
    color: #ea580c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.client-grid strong {
    color: #7c2d12;
    font-size: 1rem;
}

.client-carousel {
    position: relative;
    display: flex;
    gap: 22px;
    overflow: hidden;
    padding: 8px 0 18px;
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

    .client-carousel:hover .client-grid {
        animation-play-state: paused;
    }

    .client-carousel .client-grid {
        display: flex;
        grid-template-columns: none;
        gap: 22px;
        min-width: max-content;
        animation: clientScroll 38s linear infinite;
    }

.client-card {
    width: 286px;
    min-height: 360px;
    overflow: hidden;
    flex: 0 0 286px;
    position: relative;
    display: grid;
    align-content: end;
    gap: 8px;
    padding: 22px;
    border: 1px solid rgba(251, 146, 60, 0.24);
    border-radius: 22px;
    background: #0f172a;
    box-shadow: 0 18px 46px -30px rgba(154, 52, 18, 0.56);
    transition: transform 0.24s ease, border-color 0.24s ease;
}

    .client-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.5) 38%, rgba(124, 45, 18, 0.92) 100%), radial-gradient(circle at 20% 15%, rgba(251, 146, 60, 0.38), transparent 32%);
        z-index: 1;
        pointer-events: none;
    }

    .client-card:hover {
        transform: translateY(-6px);
        border-color: rgba(234, 88, 12, 0.62);
    }

    .client-card img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        position: absolute;
        inset: 0;
        transition: transform 0.5s ease;
    }

    .client-card:hover img {
        transform: scale(1.06);
    }

    .client-card > span,
    .client-card > strong,
    .client-card > p {
        z-index: 2;
        position: relative;
    }

    .client-card > span {
        color: #fed7aa;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .client-card > strong {
        color: #ffffff;
        font-size: 1.08rem;
        line-height: 1.25;
    }

    .client-card > p {
        color: rgba(255, 255, 255, 0.88);
        font-size: 0.9rem;
        margin: 0;
    }

@keyframes clientScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 22px));
    }
}

.testimonial-slider {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
    overflow: hidden;
    padding: 18px 56px 28px;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    align-items: stretch;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.testimonial-card {
    position: relative;
    min-height: 380px;
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: none;
    margin: 0;
    padding: 206px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    text-align: left;
    border-color: rgba(251, 146, 60, 0.25);
    background: #111827;
    opacity: 0.62;
    transform: scale(0.9);
    transition: transform 0.55s ease, opacity 0.55s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

    .testimonial-card::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100% - 190px);
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(124, 45, 18, 0.96)), radial-gradient(circle at 88% 0%, rgba(251, 146, 60, 0.24), transparent 32%);
        z-index: 1;
    }

    .testimonial-card > img {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100% - 190px);
        object-fit: cover;
        opacity: 0.42;
        transition: transform 0.65s ease;
    }

    .testimonial-card.active {
        opacity: 1;
        transform: scale(1);
        border-color: rgba(234, 88, 12, 0.72);
        box-shadow: 0 28px 72px -34px rgba(154, 52, 18, 0.92);
    }

        .testimonial-card.active > img {
            transform: scale(1.06);
        }

.testimonial-logo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 190px;
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 38px 34px;
    background: #ffffff;
    box-shadow: none;
    z-index: 2;
}

    .testimonial-logo::after {
        content: none;
    }

    .testimonial-logo img {
        position: static;
        z-index: 1;
        width: 82%;
        height: 82%;
        object-fit: contain;
        background: #ffffff;
        transform: none !important;
    }

.testimonial-card i,
.testimonial-card p,
.testimonial-card span {
    position: relative;
    z-index: 2;
}

.testimonial-card i {
    color: #fdba74;
    font-size: 1.45rem;
    margin: 0 22px 10px;
}

.testimonial-card p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
    padding: 0 22px;
}

.testimonial-card span {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 3px;
    margin: 14px 22px 22px;
    color: #ffedd5;
    font-weight: 800;
    font-size: 0.86rem;
    line-height: 1.35;
}

    .testimonial-card span strong {
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

.testimonial-nav {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(234, 88, 12, 0.32);
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    box-shadow: 0 18px 38px -22px rgba(154, 52, 18, 0.9);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
    z-index: 4;
}

    .testimonial-nav:hover {
        transform: translateY(-50%) scale(1.06);
        box-shadow: 0 22px 44px -22px rgba(154, 52, 18, 0.95);
        background: linear-gradient(135deg, #fdba74, #c2410c);
    }

.testimonial-prev {
    left: 4px;
}

.testimonial-next {
    right: 4px;
}

.faq-list details {
    border-color: rgba(251, 146, 60, 0.22);
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.9), rgba(255, 255, 255, 0.98)), var(--surface);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #7c2d12;
}

    .faq-list summary::after {
        content: "+";
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        color: #ffffff;
        background: #ea580c;
        transform: rotate(0deg);
        transition: transform 0.28s ease, background 0.28s ease;
    }

.faq-list details[open] summary::after {
    content: "+";
    background: #c2410c;
    transform: rotate(135deg);
}

.faq-list details.is-closing summary::after {
    content: "+";
    background: #ea580c;
    transform: rotate(0deg);
}

.contact-section {
    background: radial-gradient(circle at 78% 30%, rgba(251, 146, 60, 0.18), transparent 28%), linear-gradient(180deg, rgba(255, 247, 237, 0.78), rgba(255, 255, 255, 0));
}

.legacy-contact-section {
    display: none;
}

.contact-section-heading {
    padding-bottom: 8px;
    text-align: center;
}

    .contact-section-heading h4 {
        max-width: 760px;
        font-family: 'Playfair Display', serif;
        font-size: clamp(2rem, 3vw, 3.25rem);
        line-height: 1.06;
        margin: 10px auto 12px;
    }

    .contact-section-heading p {
        max-width: 720px;
        margin: 0 auto;
        color: var(--text-muted);
        font-size: 0.96rem;
        line-height: 1.62;
    }

.contact-hub {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 22px;
    align-items: stretch;
}

.contact-map-panel,
.contact-form-panel {
    min-width: 0;
}

.contact-map-panel {
    display: grid;
    grid-template-rows: minmax(280px, 1fr) 190px;
    gap: 14px;
}

.contact-map,
.office-gallery,
.contact-form-panel {
    border: 1px solid rgba(251, 146, 60, 0.24);
    background: var(--surface);
    box-shadow: 0 18px 46px -32px rgba(154, 52, 18, 0.62);
    overflow: hidden;
}

.contact-map,
.office-gallery {
    border-radius: 22px;
}

    .contact-map iframe {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 280px;
        border: 0;
    }

.office-gallery {
    position: relative;
    min-height: 190px;
    background: #111827;
}

.office-photo {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.65s ease, transform 0.9s ease;
}

    .office-photo.active {
        opacity: 1;
        transform: scale(1);
    }

    .office-photo img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.office-gallery::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.78));
    pointer-events: none;
}

.office-gallery-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    color: #ffffff;
}

    .office-gallery-caption span {
        display: block;
        color: #fed7aa;
        font-size: 0.76rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .office-gallery-caption strong {
        font-size: 1rem;
    }

.contact-form-panel {
    border-radius: 24px;
    padding: 24px;
    display: grid;
    align-content: start;
    gap: 14px;
}

    .contact-form-panel h4 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.9rem, 3vw, 2.8rem);
        line-height: 1.04;
        margin: 0;
    }

    .contact-form-panel > p {
        color: var(--text-muted);
        font-size: 0.95rem;
        line-height: 1.62;
    }

.contact-mini-form {
    display: grid;
    gap: 10px;
}

    .contact-mini-form .input-group {
        margin-bottom: 0;
    }

.office-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(150px, 0.85fr);
    gap: 12px;
}

.office-hours,
.contact-socials {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 247, 237, 0.65);
}

    .office-hours h4,
    .contact-socials h4 {
        margin-bottom: 8px;
        font-size: 0.92rem;
    }

    .office-hours p {
        display: flex;
        gap: 8px;
        align-items: center;
        margin: 6px 0 0;
        color: var(--text-muted);
        font-size: 0.84rem;
    }

    .office-hours i {
        color: var(--accent-red);
    }

    .contact-socials div {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .contact-socials a {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        background: linear-gradient(135deg, #fb923c, #ea580c);
        text-decoration: none;
        transition: transform 0.24s ease, box-shadow 0.24s ease;
    }

        .contact-socials a:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px -16px rgba(154, 52, 18, 0.9);
        }

.contact-direct {
    display: grid;
    gap: 8px;
}

    .contact-direct a,
    .contact-direct span {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        color: var(--text-muted);
        font-size: 0.86rem;
        line-height: 1.45;
        text-decoration: none;
    }

    .contact-direct i {
        color: var(--accent-red);
        margin-top: 3px;
    }

.contact-copy > h4:not(.contact-title-clean),
.contact-copy > p:not(.contact-intro-clean) {
    display: none;
}

.contact-support-card {
    display: grid;
    gap: 16px;
}

    .contact-support-card div {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 4px 14px;
        align-items: start;
        padding: 20px;
        border: 1px solid rgba(251, 146, 60, 0.24);
        border-radius: 20px;
        background: linear-gradient(145deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.98)), var(--surface);
        box-shadow: 0 18px 46px -32px rgba(154, 52, 18, 0.6);
    }

    .contact-support-card i {
        grid-row: span 2;
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        background: linear-gradient(135deg, #fb923c, #ea580c);
    }

    .contact-support-card strong {
        color: #9a3412;
    }

    .contact-support-card span {
        color: #7c2d12;
        font-size: 0.92rem;
    }

.footer-quote {
    margin-top: 8px;
    padding: 12px 16px;
    border: 1px solid rgba(251, 146, 60, 0.46);
    border-radius: 10px;
    background: #ea580c;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

    .footer-quote:hover {
        background: #fb923c;
        transform: translateY(-2px);
    }

[data-theme="dark"] .deliverable-item,
[data-theme="dark"] .client-grid div,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .faq-list details,
[data-theme="dark"] .contact-support-card div {
    border-color: rgba(251, 146, 60, 0.28);
    background: linear-gradient(145deg, rgba(67, 37, 22, 0.84), rgba(17, 24, 39, 0.98)), var(--surface);
}

    [data-theme="dark"] .deliverable-item strong,
    [data-theme="dark"] .client-grid strong,
    [data-theme="dark"] .contact-support-card strong,
    [data-theme="dark"] .faq-list summary {
        color: #fed7aa;
    }

    [data-theme="dark"] .deliverable-item span,
    [data-theme="dark"] .contact-support-card span {
        color: #fdba74;
    }

[data-theme="dark"] .contact-map,
[data-theme="dark"] .office-gallery,
[data-theme="dark"] .contact-form-panel,
[data-theme="dark"] .office-hours,
[data-theme="dark"] .contact-socials {
    border-color: rgba(251, 146, 60, 0.28);
    background: linear-gradient(145deg, rgba(67, 37, 22, 0.78), rgba(17, 24, 39, 0.98)), var(--surface);
}

[data-theme="dark"] .client-card {
    border-color: rgba(251, 146, 60, 0.28);
    background: #0f172a;
}

    [data-theme="dark"] .client-card > strong {
        color: #ffffff;
    }

    [data-theme="dark"] .client-card > p {
        color: rgba(255, 255, 255, 0.88);
    }

/* --- About Section (With Collapse Expand) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(153, 27, 27, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-icon {
    font-size: 5rem;
    color: var(--accent-red);
}

.pulse-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent-red);
    border-radius: 50%;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.sub-title {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
}

.about-text-content h4 {
    font-size: 2.25rem;
    line-height: 1.25;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 16px;
}

/* Animated Content Drawer CSS */
.expandable-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 16px;
}

    .expandable-text p {
        margin-bottom: 12px;
        color: var(--text-muted);
    }

.btn-text-expand {
    background: none;
    border: none;
    color: var(--accent-red);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

    .btn-text-expand i {
        transition: var(--transition);
    }

    .btn-text-expand.active i {
        transform: rotate(180deg);
    }

/* --- Services Grid Section --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px auto;
}

    .section-header h4 {
        font-size: 2.25rem;
        margin-bottom: 12px;
    }

    .section-header p {
        color: var(--text-muted);
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    top: 0;
}

    .service-card:hover {
        top: -8px;
        border-color: var(--accent-red);
    }

.card-icon {
    font-size: 2.2rem;
    color: var(--accent-blue);
    margin-bottom: 24px;
}

.service-card h4 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Service expand drawer */
.expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

    .expand-content p {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px dashed var(--border);
    }

.card-expand-btn {
    background: none;
    border: none;
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-grid-6 .service-card {
    overflow: hidden;
    min-height: 300px;
    padding: 0;
    border-color: rgba(251, 146, 60, 0.26);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.96), rgba(255, 255, 255, 0.98)), var(--surface);
    box-shadow: 0 18px 46px -28px rgba(154, 52, 18, 0.58);
    transform-style: preserve-3d;
    transform-origin: center;
    will-change: box-shadow;
    transition: border-color 0.3s ease, box-shadow 0.35s ease;
}

.service-grid-6 .service-card-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 32px;
    border-radius: inherit;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.service-grid-6 .service-card-front {
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.96), rgba(255, 255, 255, 0.98)), var(--surface);
    z-index: 2;
    transform: rotateY(0deg);
}

.service-grid-6 .service-card-back {
    justify-content: center;
    background: linear-gradient(145deg, rgba(255, 237, 213, 0.98), rgba(255, 247, 237, 0.98)), var(--surface);
    transform: rotateY(180deg);
    z-index: 1;
    pointer-events: none;
}

.service-grid-6 .service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #fdba74, #ea580c, #c2410c);
    z-index: 2;
}

.service-grid-6 .service-card::after {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -54px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.18), transparent 68%);
    pointer-events: none;
    opacity: 0.72;
    transition: opacity 0.35s ease, transform 0.45s ease;
}

.service-grid-6 .service-card:hover,
.service-grid-6 .service-card.is-flipped {
    top: 0;
    border-color: rgba(234, 88, 12, 0.68);
    box-shadow: 0 26px 62px -30px rgba(154, 52, 18, 0.9);
}

    .service-grid-6 .service-card.is-flipped .service-card-front {
        transform: rotateY(-180deg);
        z-index: 1;
        pointer-events: none;
    }

    .service-grid-6 .service-card.is-flipped .service-card-back {
        transform: rotateY(0deg);
        z-index: 2;
        pointer-events: auto;
    }

    .service-grid-6 .service-card:hover::after,
    .service-grid-6 .service-card.is-flipped::after {
        opacity: 1;
        transform: scale(1.18) translate(-8px, -8px);
    }

.service-grid-6 .card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    box-shadow: 0 16px 34px -20px rgba(154, 52, 18, 0.9);
    position: relative;
    z-index: 1;
    transform: translateZ(24px);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, filter 0.35s ease;
}

    .service-grid-6 .card-icon::after {
        content: "";
        position: absolute;
        inset: -9px;
        border-radius: 22px;
        background: rgba(251, 146, 60, 0.35);
        filter: blur(14px);
        opacity: 0;
        z-index: -1;
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

.service-grid-6 .service-card:hover .card-icon {
    transform: translateZ(34px) scale(1.08);
    filter: saturate(1.16);
    box-shadow: 0 20px 42px -18px rgba(154, 52, 18, 0.95), 0 0 30px rgba(251, 146, 60, 0.55);
}

    .service-grid-6 .service-card:hover .card-icon::after {
        opacity: 1;
        transform: scale(1.08);
    }

.service-grid-6 .service-index {
    color: rgba(234, 88, 12, 0.18);
    font-size: 1.18rem;
    transition: color 0.3s ease, transform 0.35s ease;
}

.service-grid-6 .service-card:hover .service-index,
.service-grid-6 .service-card.is-flipped .service-index {
    color: rgba(234, 88, 12, 0.34);
    transform: translateZ(18px);
}

.service-grid-6 .service-card-back .service-index {
    margin-bottom: 14px;
}

.service-grid-6 .service-card h4 {
    color: #9a3412;
}

.service-grid-6 .service-card p {
    color: #7c2d12;
}

.service-grid-6 .expand-content p {
    margin-top: 0;
    padding-top: 0;
    border-top-color: rgba(234, 88, 12, 0.22);
}

.service-grid-6 .service-card-back .expand-content {
    max-height: none !important;
    overflow: visible;
}

    .service-grid-6 .service-card-back .expand-content p {
        margin-top: 14px;
        padding-top: 16px;
    }

.service-grid-6 .card-expand-btn {
    color: #ea580c;
    position: relative;
    z-index: 1;
    margin-top: auto;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.3s ease;
}

.service-grid-6 .service-card-front .card-expand-btn,
.service-grid-6 .service-card-front .card-expand-btn i,
.service-grid-6 .service-flip-back,
.service-grid-6 .service-flip-back i {
    cursor: pointer;
}

.service-grid-6 .card-expand-btn,
.service-grid-6 .card-expand-btn * {
    cursor: pointer;
}

    .service-grid-6 .card-expand-btn i {
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }

.service-grid-6 .service-card:hover .card-expand-btn,
.service-grid-6 .service-card.is-flipped .card-expand-btn {
    color: #c2410c;
    transform: none;
}

    .service-grid-6 .card-expand-btn:hover i,
    .service-grid-6 .service-card:hover .card-expand-btn:not(.active):not(.service-flip-back) i {
        transform: translateX(9px);
    }

.service-grid-6 .service-flip-back:hover i {
    transform: translateX(-7px);
}

.service-grid-6 .card-expand-btn.active:hover i,
.service-grid-6 .service-card:hover .card-expand-btn.active i {
    transform: translateY(-3px);
}

[data-theme="dark"] .service-grid-6 .service-card {
    border-color: rgba(251, 146, 60, 0.28);
    background: linear-gradient(145deg, rgba(67, 37, 22, 0.84), rgba(17, 24, 39, 0.98)), var(--surface);
}

[data-theme="dark"] .service-grid-6 .service-card-front {
    background: linear-gradient(145deg, rgba(67, 37, 22, 0.84), rgba(17, 24, 39, 0.98)), var(--surface);
}

[data-theme="dark"] .service-grid-6 .service-card-back {
    background: linear-gradient(145deg, rgba(86, 46, 24, 0.94), rgba(31, 41, 55, 0.98)), var(--surface);
}

[data-theme="dark"] .service-grid-6 .service-card h4 {
    color: #fed7aa;
}

[data-theme="dark"] .service-grid-6 .service-card p {
    color: #fdba74;
}

@media (prefers-reduced-motion: reduce) {
    .service-grid-6 .service-card,
    .service-grid-6 .service-card::after,
    .service-grid-6 .card-icon,
    .service-grid-6 .card-icon::after,
    .service-grid-6 .service-index,
    .service-grid-6 .service-card-face,
    .service-grid-6 .card-expand-btn,
    .service-grid-6 .card-expand-btn i {
        transition: none;
    }

        .service-grid-6 .service-card:hover,
        .service-grid-6 .service-card:hover::after,
        .service-grid-6 .service-card:hover .card-icon,
        .service-grid-6 .service-card:hover .service-index,
        .service-grid-6 .service-card:hover .card-expand-btn {
            transform: none;
        }
}

/* --- Simple Horizontal Timeline Process --- */
.process-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

    .process-flow.process-six {
        gap: 28px 24px;
        grid-auto-rows: minmax(0, 1fr);
        align-items: stretch;
    }

.process-step {
    position: relative;
    background-color: var(--surface);
    border: 1px solid var(--border);
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.step-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(153, 27, 27, 0.15);
    margin-bottom: 12px;
}

.process-step h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.process-six .process-step {
    overflow: hidden;
    border-color: rgba(251, 146, 60, 0.28);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.98)), var(--surface);
    box-shadow: 0 18px 46px -30px rgba(154, 52, 18, 0.62);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    z-index: 1;
}

    .process-six .process-step::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 5px;
        background: linear-gradient(90deg, #fdba74, #ea580c, #c2410c);
    }

    .process-six .process-step:hover {
        transform: translateY(-8px);
        border-color: rgba(234, 88, 12, 0.7);
        box-shadow: 0 26px 62px -32px rgba(154, 52, 18, 0.9);
    }

.process-six .step-num {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: 0 16px 34px -20px rgba(154, 52, 18, 0.9);
}

.process-six .process-step h4 {
    color: #9a3412;
}

.process-six .process-step p {
    color: #7c2d12;
}

.process-six .expand-content p {
    border-top-color: rgba(234, 88, 12, 0.24);
}

.process-six .card-expand-btn {
    color: #ea580c;
}

    .process-six .card-expand-btn i {
        transition: transform 0.28s ease;
    }

    .process-six .card-expand-btn:hover i {
        transform: translateX(4px);
    }

[data-theme="dark"] .process-six .process-step {
    border-color: rgba(251, 146, 60, 0.3);
    background: linear-gradient(145deg, rgba(67, 37, 22, 0.84), rgba(17, 24, 39, 0.98)), var(--surface);
}

    [data-theme="dark"] .process-six .process-step h4 {
        color: #fed7aa;
    }

    [data-theme="dark"] .process-six .process-step p {
        color: #fdba74;
    }

/* --- Infinite Client Carousel --- */
.slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 24px 0;
}

.slider-track {
    display: flex;
    gap: 48px;
    width: calc(240px * 10);
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-240px * 5));
    }
}

.slide {
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.client-logo-dummy {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    z-index: 999;
    transform: translateY(-120%);
    transition: var(--transition);
}

    .mobile-nav.open {
        transform: translateY(0);
    }

.mobile-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
}

.mobile-resource-dropdown {
    display: grid;
    gap: 10px;
}

.mobile-resource-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
    font: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
}

    .mobile-resource-toggle i {
        font-size: 0.8rem;
        transition: transform 0.24s ease;
    }

.mobile-resource-dropdown.open .mobile-resource-toggle i {
    transform: rotate(180deg);
}

.mobile-resource-menu {
    display: grid;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 247, 237, 0.68);
    gap: 12px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transform: translateY(-6px);
    transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.28s ease, transform 0.28s ease;
}

.mobile-resource-dropdown.open .mobile-resource-menu {
    max-height: 180px;
    opacity: 1;
    padding-top: 12px;
    padding-bottom: 12px;
    transform: translateY(0);
}

.mobile-resource-menu .mobile-link {
    font-size: 0.98rem;
}

[data-theme="dark"] .mobile-resource-menu {
    background: rgba(17, 24, 39, 0.86);
}

/* --- Footer Area --- */
.footer-section {
    background-color: #0F172A;
    color: #F8FAFC;
    border-top: 1px solid #1E293B;
    position: relative;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) minmax(220px, 0.9fr) minmax(240px, 0.95fr);
    gap: 24px 34px;
    padding-top: 46px;
    padding-bottom: 24px;
    align-items: start;
}

.footer-logo {
    height: 44px;
    margin-bottom: 12px;
    /* filter: brightness(0) invert(1); */
}

.footer-brand p {
    color: #94A3B8;
    margin-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.55;
}

.footer-links {
    display: grid;
    gap: 8px;
    align-content: start;
}

.footer-brand {
    grid-column: 1;
    grid-row: 1;
}

.footer-important-links {
    grid-column: 2;
    grid-row: 1;
}

.footer-quick-links {
    grid-column: 3;
    grid-row: 1;
}

.footer-links a {
    text-decoration: none;
    color: #94A3B8;
    font-size: 0.9rem;
    transition: var(--transition);
}

    .footer-links a:hover {
        color: #FFFFFF;
    }

.social-icons {
    display: flex;
    gap: 16px;
}

    .social-icons a {
        color: #94A3B8;
        font-size: 1.35rem;
        transition: var(--transition);
    }

        .social-icons a:hover {
            color: var(--accent-red);
        }

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.footer-links ul {
    list-style: none;
}

    .footer-links ul li {
        margin-bottom: 12px;
    }

        .footer-links ul li a {
            text-decoration: none;
            color: #94A3B8;
            transition: var(--transition);
        }

            .footer-links ul li a:hover {
                color: #FFFFFF;
            }

.footer-contact {
    grid-column: 1;
    grid-row: 2;
}

.footer-newsletter {
    grid-column: 3;
    grid-row: 2;
}

.footer-certifications {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(74px, auto));
    gap: 10px;
    padding-top: 0;
    align-self: start;
    justify-content: start;
}

.footer-contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
}

.footer-contact p {
    color: #94A3B8;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
}

.footer-contact i {
    width: 16px;
    margin-top: 3px;
    color: #fb923c;
    flex: 0 0 auto;
}

.footer-address {
    grid-column: 1 / -1;
}

.footer-certifications .footer-quote {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
}

.footer-newsletter p {
    color: #94A3B8;
    font-size: 0.86rem;
    margin-bottom: 12px;
    line-height: 1.45;
}

.newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
}

    .newsletter-form input {
        min-width: 0;
        height: 42px;
        border: 1px solid rgba(148, 163, 184, 0.28);
        border-radius: 10px;
        padding: 0 14px;
        color: #f8fafc;
        background: rgba(15, 23, 42, 0.82);
        outline: none;
    }

        .newsletter-form input:focus {
            border-color: #fb923c;
            box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.18);
        }

    .newsletter-form button {
        width: 42px;
        height: 42px;
        border: none;
        border-radius: 10px;
        color: #ffffff;
        background: linear-gradient(135deg, #fb923c, #ea580c);
        cursor: pointer;
        transition: transform 0.24s ease, box-shadow 0.24s ease;
    }

        .newsletter-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 30px -18px rgba(251, 146, 60, 0.9);
        }

.cert-logo {
    position: relative;
    min-height: 58px;
    min-width: 74px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

    .cert-logo::before {
        content: "";
        position: absolute;
        inset: 6px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 6px;
        pointer-events: none;
    }

    .cert-logo span {
        position: relative;
        z-index: 1;
        font-weight: 900;
        font-size: 0.86rem;
        line-height: 1;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .cert-logo small {
        position: relative;
        z-index: 1;
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.58rem;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0.4px;
        text-transform: uppercase;
    }

.cert-iso {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.72), rgba(15, 23, 42, 0.76));
    border-color: rgba(147, 197, 253, 0.34);
}

.cert-msme {
    background: linear-gradient(145deg, rgba(22, 163, 74, 0.72), rgba(15, 23, 42, 0.76));
    border-color: rgba(134, 239, 172, 0.34);
}

.cert-startup {
    background: linear-gradient(145deg, rgba(234, 88, 12, 0.8), rgba(15, 23, 42, 0.76));
    border-color: rgba(253, 186, 116, 0.42);
}

    .cert-startup span {
        font-size: 0.72rem;
    }

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 0;
    color: #64748B;
    font-size: 0.85rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 20px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 14px;
}

    .footer-legal a {
        color: #94A3B8;
        text-decoration: none;
        transition: color 0.24s ease;
    }

        .footer-legal a:hover {
            color: #ffffff;
        }

.back-to-top {
    position: absolute;
    right: 28px;
    top: 22px;
    bottom: auto;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #fb923c, #ea580c);
    box-shadow: 0 18px 42px -18px rgba(251, 146, 60, 0.9);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

/* --- Blog Page --- */
.blog-page {
    background: radial-gradient(circle at 10% 0%, rgba(234, 88, 12, 0.12), transparent 22%), linear-gradient(180deg, #fff8f1 0%, var(--background) 18%, var(--background) 100%);
}

.blog-shell {
    padding-top: 92px;
}

.blog-hero {
    padding: 28px 0 14px;
}

.blog-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 28px;
    align-items: stretch;
}

.blog-hero-copy,
.blog-highlight-card,
.blog-sidebar-card,
.blog-article-card,
.blog-list-card {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.blog-hero-copy {
    border-radius: 28px;
    padding: 34px;
}

    .blog-hero-copy h4,
    .blog-highlight-card h4 {
        font-family: 'Playfair Display', serif;
        letter-spacing: -0.02em;
    }

    .blog-hero-copy h4 {
        max-width: 12ch;
        font-size: clamp(2.8rem, 5vw, 5.2rem);
        line-height: 0.96;
        margin: 10px 0 16px;
    }

    .blog-hero-copy p {
        max-width: 62ch;
        color: var(--text-muted);
        font-size: 15px;
        line-height: 1.65;
    }

.blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 22px;
    color: var(--text-muted);
    font-size: 13px;
}

    .blog-hero-meta span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

.blog-hero-aside {
    display: grid;
}

.blog-highlight-card {
    border-radius: 28px;
    padding: 30px;
    display: grid;
    align-content: start;
    gap: 14px;
    background: linear-gradient(160deg, rgba(255, 247, 237, 0.92), rgba(255, 255, 255, 0.98)), var(--surface);
}

.blog-highlight-label {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(234, 88, 12, 0.08);
    color: var(--accent-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.blog-highlight-card h4 {
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    line-height: 1.02;
}

.blog-highlight-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 24px;
    align-items: start;
}

.blog-article-card {
    border-radius: 28px;
    overflow: hidden;
}

.blog-media img,
.blog-list-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.blog-media img {
    aspect-ratio: 16 / 9;
}

.blog-article-body,
.blog-list-card-body {
    padding: 28px;
}

.blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

    .blog-meta-row.compact {
        margin-bottom: 16px;
    }

.blog-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 600;
}

.blog-article-body h4,
.blog-list-card h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.blog-article-body h4 {
    font-size: clamp(1.85rem, 2.7vw, 2.7rem);
    margin-bottom: 14px;
}

.blog-list-card h4 {
    font-size: 1.22rem;
    margin-bottom: 10px;
}

.blog-article-body p,
.blog-list-card p,
.blog-sidebar-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.68;
}

.blog-body-copy,
.blog-longform {
    display: grid;
    gap: 14px;
}

.blog-longform {
    margin-top: 18px;
}

    .blog-longform h4 {
        font-size: 1.12rem;
        color: var(--primary);
        margin-top: 10px;
    }

.blog-sidebar {
    display: grid;
    gap: 18px;
}

.blog-sidebar-card {
    border-radius: 24px;
    padding: 24px;
}

    .blog-sidebar-card h4 {
        font-size: 1.05rem;
        margin-bottom: 16px;
    }

.related-article-item {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    text-decoration: none;
    border-top: 1px solid var(--border);
    color: var(--text-main);
}

    .related-article-item:first-of-type {
        border-top: 0;
        padding-top: 0;
    }

.related-kicker {
    color: var(--accent-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.related-article-item strong {
    font-size: 14px;
    line-height: 1.45;
}

.topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .topic-cloud span {
        padding: 9px 12px;
        border-radius: 999px;
        background: rgba(234, 88, 12, 0.08);
        color: var(--primary);
        font-size: 12px;
        font-weight: 600;
    }

.blog-listing {
    padding: 20px 0 10px;
}

.blog-section-header {
    max-width: 740px;
    margin-bottom: 22px;
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.blog-list-card {
    border-radius: 24px;
    overflow: hidden;
    display: grid;
}

    .blog-list-card img {
        aspect-ratio: 4 / 3;
    }

.blog-list-card-body {
    display: grid;
    gap: 10px;
}

.blog-share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

    .blog-share-row a {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid var(--border);
        color: var(--text-main);
        text-decoration: none;
        transition: var(--transition);
    }

        .blog-share-row a:hover {
            color: #ffffff;
            background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
            border-color: transparent;
            transform: translateY(-2px);
        }

.blog-page .footer-section {
    margin-top: 30px;
}

/* --- Case Studies Resource Page --- */
.case-study-page .blog-hero-copy h4 {
    max-width: 13ch;
}

.resource-section {
    padding: 18px 0;
}

.authority-grid,
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-card,
.case-study-card,
.validity-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.resource-card,
.case-study-card {
    border-radius: 22px;
    padding: 22px;
}

    .resource-card i {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        color: #ffffff;
        background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
        margin-bottom: 16px;
    }

    .resource-card h4,
    .case-study-card h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .resource-card p,
    .case-study-card p,
    .validity-panel p,
    .resource-split p {
        color: var(--text-muted);
        font-size: 14px;
        line-height: 1.62;
    }

.resource-split {
    display: grid;
    grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

    .resource-split h4,
    .validity-panel h4,
    .blog-section-header h4 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.8rem, 3vw, 2.7rem);
        line-height: 1.02;
        letter-spacing: -0.02em;
        margin: 8px 0 12px;
    }

.document-list {
    display: grid;
    gap: 10px;
}

.document-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
}

    .document-item span {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(234, 88, 12, 0.1);
        color: var(--accent-red);
        font-size: 12px;
        font-weight: 800;
    }

.case-study-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-study-card {
    display: grid;
    gap: 12px;
}

    .case-study-card strong {
        color: var(--primary);
        font-size: 13px;
        line-height: 1.45;
    }

        .case-study-card strong i {
            color: #16a34a;
            margin-right: 6px;
        }

.case-study-longform {
    max-width: 920px;
    margin: 22px auto 0;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--card-shadow);
}

    .case-study-longform h4 {
        margin: 10px 0 14px;
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.5rem, 2.4vw, 2rem);
        line-height: 1.16;
    }

    .case-study-longform p {
        margin: 0 0 14px;
        color: var(--text-muted);
        font-size: 14px;
        line-height: 1.7;
    }

        .case-study-longform p:last-child {
            margin-bottom: 0;
        }

.validity-panel {
    border-radius: 28px;
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
    gap: 26px;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.9), rgba(255, 255, 255, 0.98)), var(--surface);
}

.validity-checklist {
    display: grid;
    gap: 12px;
}

    .validity-checklist p {
        display: grid;
        grid-template-columns: 34px 1fr;
        gap: 12px;
        align-items: center;
        margin: 0;
        color: var(--text-main);
        font-weight: 600;
    }

    .validity-checklist i {
        color: var(--accent-red);
    }

.resource-cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.resource-secondary-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border: 1px solid rgba(234, 88, 12, 0.26);
    border-radius: 8px;
    background: rgba(255, 237, 213, 0.62);
    color: var(--accent-red);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.resource-cta-row .btn-primary {
    min-height: 38px;
    width: 100%;
    padding: 9px 12px;
    font-size: 12px;
}

[data-theme="dark"] .document-item {
    background: rgba(15, 23, 42, 0.56);
}

@media (max-width: 1100px) {
    .blog-grid,
    .blog-hero-inner,
    .blog-cards-grid,
    .authority-grid,
    .case-study-grid,
    .contact-hub,
    .resource-split,
    .validity-panel {
        grid-template-columns: 1fr;
    }

    .blog-hero-copy h4 {
        max-width: 14ch;
    }
}

@media (max-width: 768px) {
    .blog-shell {
        padding-top: 78px;
    }

    .blog-hero-copy,
    .blog-highlight-card,
    .blog-article-body,
    .blog-list-card-body,
    .blog-sidebar-card {
        padding: 20px;
    }

        .blog-hero-copy h4 {
            font-size: clamp(2.2rem, 10vw, 3.4rem);
        }

        .blog-highlight-card h4,
        .blog-article-body h4 {
            font-size: clamp(1.8rem, 8vw, 2.4rem);
        }

    .contact-map-panel {
        grid-template-rows: 260px 170px;
    }

    .contact-map iframe {
        min-height: 260px;
    }

    .contact-form-panel {
        padding: 20px;
    }

    .office-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-direct a,
    .contact-direct span {
        font-size: 0.82rem;
    }
}

.back-to-top i {
    position: relative;
    z-index: 2;
    transition: transform 0.24s ease;
}

.back-to-top-wave,
.back-to-top::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 2px solid rgba(255, 237, 213, 0.75);
    border-radius: 50%;
    animation: footerWave 1.8s ease-out infinite;
}

.back-to-top::before {
    animation-delay: 0.55s;
}

.back-to-top:hover i {
    transform: translateY(-4px);
}

@keyframes footerWave {
    0% {
        opacity: 0.9;
        transform: scale(0.68);
    }

    100% {
        opacity: 0;
        transform: scale(1.9);
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .service-grid-6,
    .process-six,
    .industry-grid,
    .portfolio-layout,
    .split-layout,
    .contact-grid,
    .footer-top,
    .trust-grid,
    .band-grid,
    .client-grid,
    .deliverables-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-flow {
        grid-template-columns: repeat(2, 1fr);
    }

        .process-flow.process-six {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

    .trust-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

        .trust-grid::before {
            left: 0;
            right: 0;
        }

    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .footer-brand,
    .footer-quick-links,
    .footer-important-links,
    .footer-contact,
    .footer-newsletter,
    .footer-certifications {
        grid-column: auto;
        grid-row: auto;
    }

    .testimonial-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .services-grid,
    .process-flow,
    .service-grid-6,
    .process-six,
    .industry-grid,
    .portfolio-layout,
    .split-layout,
    .contact-grid,
    .footer-top,
    .trust-grid,
    .band-grid,
    .client-grid,
    .deliverables-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top {
        grid-template-columns: 1fr;
        padding-top: 40px;
        padding-bottom: 18px;
        gap: 18px;
    }

    .demo-action-row {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        margin-inline: -20px;
        padding-inline: 44px;
    }

    .testimonial-card {
        flex-basis: 82%;
        min-height: 380px;
        padding-top: 178px;
    }

    .testimonial-logo {
        width: 100%;
        height: 168px;
        top: 0;
        left: 0;
        padding: 32px 28px;
    }

    .testimonial-card::after,
    .testimonial-card > img {
        height: calc(100% - 168px);
    }

    .testimonial-nav {
        width: 38px;
        height: 38px;
    }

    .footer-contact-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-legal {
        justify-content: flex-start;
    }

    .back-to-top {
        right: 20px;
        top: 24px;
        bottom: auto;
        width: 48px;
        height: 48px;
    }

    .hero-content h4 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-pills {
        flex-direction: column;
    }

    .hero-cta-group {
        width: min(100%, 360px);
        margin-inline: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

        .hero-cta-group .btn-primary,
        .hero-cta-group .btn-secondary {
            width: 100%;
            min-height: 48px;
            margin-left: 0;
            padding: 12px 14px;
        }

    .section-container {
        padding: 64px 20px;
    }

    .portfolio-feature {
        min-height: 430px;
    }

    .portfolio-copy {
        right: 22px;
        bottom: 78px;
    }

    .portfolio-controls {
        left: 22px;
        right: auto;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .client-carousel {
        gap: 16px;
        margin-inline: -20px;
        padding-inline: 20px;
    }

        .client-carousel .client-grid {
            gap: 16px;
            animation-duration: 34s;
        }

    .client-card {
        width: 254px;
        flex-basis: 254px;
    }

    .band-grid div,
    .contact-support-card div {
        min-height: auto;
    }

    .trust-strip .trust-grid {
        column-gap: 22px;
        row-gap: 22px;
        grid-template-rows: none;
        min-height: auto;
        padding-top: 42px;
        padding-bottom: 42px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .trust-grid::before {
        left: 22px;
        right: auto;
        top: 48px;
        bottom: 48px;
        width: 80px;
        height: auto;
        transform: none;
        background-image: url("data:image/svg+xml,%3Csvg width='80' height='900' viewBox='0 0 80 900' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 8 C72 86 72 164 18 242 S-36 398 18 476 S72 632 18 710 S-20 832 52 892' stroke='%23fb923c' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
        background-size: 100% 100%;
    }

    .trust-grid::after {
        left: 40px;
        top: 48px;
        width: 13px;
        height: 13px;
        transform: translate(-50%, -50%);
    }

    .trust-strip .trust-grid div {
        height: auto;
        min-height: auto;
        margin-left: 78px;
    }

    .trust-grid div:nth-child(odd),
    .trust-grid div:nth-child(even) {
        grid-column: auto;
        grid-row: auto;
        align-self: auto;
    }

    .trust-grid div::before {
        left: -40px;
        top: 50%;
        bottom: auto;
        width: 40px;
        height: 2px;
        transform: translateY(-50%);
        background: linear-gradient(90deg, #ea580c, rgba(251, 146, 60, 0.18));
    }

    .trust-grid div::after,
    .trust-grid div:nth-child(odd)::after,
    .trust-grid div:nth-child(even)::after {
        left: -40px;
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
    }
}

/* Final theme override layer */
.navbar {
    background: #f6f1e9;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.92);
    border-bottom-color: rgba(251, 146, 60, 0.2);
}

.nav-container {
    max-width: 100%;
    padding: 12px 36px;
    gap: 24px;
}

.logo-area {
    flex: 0 0 290px;
    text-decoration: none;
}

.logo {
    height: 54px;
}

.brand-title {
    font-size: 0.82rem;
    color: #ff4d16;
}

.nav-links {
    margin: 0 auto;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 48px -38px rgba(15, 23, 42, 0.48);
}

    .nav-links a {
        padding: 10px 9px;
        border-radius: 999px;
        color: #020617;
        font-size: 0.88rem;
        font-weight: 700;
    }

        .nav-links a:hover {
            background: #ffedd5;
            color: #ea580c;
        }

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 9px;
    border: none;
    border-radius: 999px;
    color: #020617;
    background: transparent;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

    .nav-dropdown-toggle i {
        font-size: 0.68rem;
        transition: transform 0.22s ease;
    }

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
    background: #ffedd5;
    color: #ea580c;
}

    .nav-dropdown:hover .nav-dropdown-toggle i,
    .nav-dropdown:focus-within .nav-dropdown-toggle i {
        transform: rotate(180deg);
    }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 150px;
    padding: 8px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 56px -34px rgba(15, 23, 42, 0.62);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    border-radius: 10px;
    white-space: nowrap;
}

.nav-controls {
    flex: 0 0 auto;
    gap: 14px;
}

.btn-login {
    min-height: 48px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    color: #020617;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 16px 42px -34px rgba(15, 23, 42, 0.62);
}

.nav-controls .btn-primary-sm {
    min-height: 52px;
    padding: 13px 26px;
    gap: 12px;
    border-radius: 16px;
    font-size: 0.88rem;
    font-weight: 800;
}

    .nav-controls .btn-primary-sm i {
        transition: transform 0.24s ease;
    }

    .nav-controls .btn-primary-sm:hover i {
        transform: translateX(4px);
    }

#theme-toggle {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.86);
}

[data-theme="dark"] .nav-links,
[data-theme="dark"] .btn-login,
[data-theme="dark"] #theme-toggle {
    background: rgba(17, 24, 39, 0.86);
    border-color: rgba(251, 146, 60, 0.18);
}

    [data-theme="dark"] .nav-links a,
    [data-theme="dark"] .btn-login,
    [data-theme="dark"] .nav-dropdown-toggle {
        color: #f8fafc;
    }

[data-theme="dark"] .nav-dropdown-menu {
    border-color: rgba(251, 146, 60, 0.18);
    background: rgba(17, 24, 39, 0.96);
}

[data-theme="dark"] .nav-dropdown:hover .nav-dropdown-toggle,
[data-theme="dark"] .nav-dropdown:focus-within .nav-dropdown-toggle {
    background: rgba(251, 146, 60, 0.16);
    color: #fb923c;
}

[data-theme="dark"] .brand-title {
    color: #fb923c;
}

.hero-section {
    min-height: 720px;
    background: radial-gradient(circle at 76% 18%, rgba(251, 146, 60, 0.28), transparent 30%), radial-gradient(circle at 18% 78%, rgba(29, 78, 216, 0.12), transparent 28%), linear-gradient(135deg, #fff7ed 0%, #ffffff 50%, #ffedd5 100%);
    color: var(--text-main);
}

.hero-card {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(251, 146, 60, 0.28);
    box-shadow: 0 26px 80px -46px rgba(154, 52, 18, 0.55);
}

.hero-content h4,
[data-theme="dark"] .hero-content h4 {
    color: var(--primary);
    font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.hero-content p,
.hero-stats .stat-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hero-text-banner {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 24px;
    margin-bottom: 22px;
    border: 1px solid rgba(251, 146, 60, 0.24);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.94), rgba(255, 255, 255, 0.86)), var(--surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 44px -36px rgba(154, 52, 18, 0.72);
}

    .hero-text-banner .eyebrow {
        justify-content: center;
        margin-inline: auto;
    }

    .hero-text-banner h4,
    [data-theme="dark"] .hero-text-banner h4 {
        margin: 0;
        color: var(--primary);
        font-size: clamp(1.85rem, 3vw, 3rem);
        line-height: 1.08;
    }

    .hero-text-banner p {
        max-width: 560px;
        margin: 0 auto;
        color: var(--text-muted);
        line-height: 1.7;
    }

.hero-pills span {
    background: rgba(255, 237, 213, 0.78);
    border: 1px solid rgba(251, 146, 60, 0.24);
    color: #7c2d12;
}

.hero-stats .stat-item h4,
.hero-stats .stat-item:nth-child(2) h4,
.hero-stats .stat-item:nth-child(3) h4 {
    color: #ea580c;
    font-size: 1.5rem;
}

.section-header h4,
.split-copy h4,
.contact-copy h4,
.modal-header h4 {
    font-size: clamp(1.6rem, 2.4vw, 2.3rem);
}

.service-card h4,
.process-step h4,
.portfolio-copy h4,
.testimonial-card span,
.footer-links h4,
.footer-contact h4 {
    font-size: 0.98rem;
}

.service-card p,
.process-step p,
.split-copy p,
.contact-copy p,
.testimonial-card p,
.footer-brand p,
.footer-contact p,
.footer-links a,
.faq-list summary,
.trust-grid strong,
.trust-grid span,
.deliverable-item {
    font-size: 0.88rem;
}

.hero-visual-badge {
    z-index: 1;
    background: rgba(234, 88, 12, 0.92);
}

.section-alt {
    background: radial-gradient(circle at 90% 10%, rgba(251, 146, 60, 0.1), transparent 25%), linear-gradient(180deg, rgba(255, 247, 237, 0.68), rgba(255, 255, 255, 0));
}

.btn-primary,
.btn-primary-sm,
.btn-submit {
    background: linear-gradient(135deg, #fb923c, #ea580c);
    box-shadow: 0 14px 30px -20px rgba(154, 52, 18, 0.92);
}

    .btn-primary:hover,
    .btn-primary-sm:hover,
    .btn-submit:hover {
        background: linear-gradient(135deg, #fdba74, #c2410c);
    }

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 18px;
    }

    .logo-area {
        flex-basis: auto;
    }

    .nav-controls .btn-login,
    .nav-controls .btn-primary-sm,
    #theme-toggle {
        display: none;
    }
}

@media (max-width: 1180px) {
    .nav-container {
        padding: 10px 22px;
        gap: 10px;
    }

    .logo-area {
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo-text {
        min-width: 0;
    }

    .brand-title,
    .brand-sub {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-links {
        display: none;
    }

    .nav-controls {
        margin-left: auto;
        gap: 10px;
    }

        .nav-controls .btn-primary-sm {
            display: none;
        }

    .mobile-menu-btn {
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(15, 23, 42, 0.1);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.86);
        font-size: 1.25rem;
    }

    [data-theme="dark"] .mobile-menu-btn {
        border-color: rgba(251, 146, 60, 0.18);
        background: rgba(17, 24, 39, 0.86);
    }
}

@media (max-width: 768px) {
    .navbar {
        max-width: 100vw;
    }

    .nav-container {
        padding: 10px 14px;
        position: relative;
        justify-content: center;
    }

    .logo-area {
        justify-content: center;
        text-align: center;
    }

    .logo-text {
        align-items: center;
    }

    .logo {
        height: 46px;
        flex: 0 0 auto;
    }

    .brand-title {
        max-width: calc(100vw - 150px);
        font-size: 0.74rem;
    }

    .brand-sub {
        max-width: calc(100vw - 150px);
        font-size: 0.58rem;
    }

    .nav-controls {
        position: absolute;
        right: 14px;
        top: 50%;
        flex: 0 0 auto;
        transform: translateY(-50%);
    }

    .mobile-nav {
        top: 67px;
        width: 100vw;
        max-width: 100vw;
        padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    }

    .sticky-contact-actions {
        right: max(10px, env(safe-area-inset-right));
        bottom: max(10px, env(safe-area-inset-bottom));
        gap: 8px;
        max-width: calc(100vw - 20px);
    }

        .sticky-contact-actions a {
            width: 50px;
            height: 50px;
        }

    .sticky-call {
        width: 44px;
        height: 44px;
    }

    .process-flow {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px;
        margin-top: 30px;
    }

        .process-flow.process-six {
            grid-auto-rows: auto;
            grid-template-columns: minmax(0, 1fr) !important;
        }

        .process-flow .process-step {
            grid-column: 1 / -1 !important;
            width: 100%;
            padding: 22px 18px;
        }

    .process-six .process-step {
        overflow: visible;
    }

        .process-six .process-step:hover {
            transform: none;
        }

    .process-six .step-num {
        width: 52px;
        height: 52px;
        margin-bottom: 14px;
        border-radius: 15px;
        font-size: 1.18rem;
    }

    .trust-strip .trust-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: none !important;
        gap: 18px;
        padding: 34px 18px 34px 42px;
    }

    .trust-grid::before {
        left: 18px;
        right: auto;
        top: 46px;
        bottom: 46px;
        width: 3px;
        height: auto;
        border-radius: 999px;
        background: linear-gradient(180deg, #fb923c, rgba(234, 88, 12, 0.18));
        filter: none;
    }

    .trust-grid::after {
        display: none;
    }

    .trust-strip .trust-grid div,
    .trust-grid div:nth-child(odd),
    .trust-grid div:nth-child(even) {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        width: 100%;
        height: auto;
        min-height: auto;
        margin-left: 0;
    }

    .trust-grid div::before {
        display: none;
    }

    .trust-grid div::after,
    .trust-grid div:nth-child(odd)::after,
    .trust-grid div:nth-child(even)::after {
        left: -24px;
        top: 28px;
        bottom: auto;
        width: 13px;
        height: 13px;
        border-width: 3px;
        transform: translate(-50%, -50%);
    }

    .trust-grid div:hover {
        transform: none;
    }
}

@media (max-width: 380px) {
    .nav-container {
        padding-inline: 10px;
    }

    .logo {
        height: 40px;
    }

    .brand-title {
        max-width: calc(100vw - 124px);
        font-size: 0.66rem;
    }

    .brand-sub {
        max-width: calc(100vw - 124px);
        font-size: 0.52rem;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .sticky-contact-actions a {
        width: 46px;
        height: 46px;
    }

    .sticky-call {
        width: 40px;
        height: 40px;
    }

    .footer-certifications {
        grid-template-columns: 1fr;
    }

    .cert-logo {
        min-height: 52px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .modal-overlay {
        align-items: flex-start;
        padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
        overflow-y: auto;
    }

    .modal-dialog {
        width: 100%;
        max-height: calc(100dvh - 20px);
        margin: auto 0;
        padding: 16px;
        border-radius: 16px;
        overflow-y: auto;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
    }

    .modal-header {
        margin-bottom: 12px;
        padding-inline: 34px;
        text-align: center;
    }

        .modal-header .eyebrow {
            font-size: 11px;
        }

        .modal-header h4 {
            font-size: 1.25rem;
            line-height: 1.15;
            margin: 8px 0;
        }

        .modal-header p {
            font-size: 12px;
            line-height: 1.45;
        }

    .quote-form {
        gap: 9px;
    }

        .quote-form .input-group input,
        .quote-form textarea {
            min-height: 40px;
            padding: 9px 10px 9px 38px;
            font-size: 13px;
        }

        .quote-form textarea {
            max-height: 78px;
        }

        .quote-form .textarea-group i {
            top: 18px;
        }

    .demo-action-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .demo-action-btn {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* --- Index Page Compact Text Scale --- */
.home-page :where(p, a, button, input, textarea, label, summary, .eyebrow, .brand-title, .brand-sub, .hero-pills span, .stat-item p, .service-index, .service-card h4, .process-step h4, .deliverable-item strong, .deliverable-item span, .client-card > span, .client-card > strong, .client-card > p, .testimonial-card span, .faq-list p, .office-hours h4, .contact-socials h4, .footer-links h4, .footer-contact h4, .footer-newsletter h4, .footer-contact-list p, .footer-legal a, .cert-logo) {
    font-size: clamp(12px, 0.88rem, 15px);
}

.home-page :where(.nav-links a, .nav-dropdown-toggle, .mobile-link, .btn-primary, .btn-primary-sm, .btn-submit, .card-expand-btn, .footer-quote, .demo-action-btn) {
    font-size: 14px;
}

.home-page :where(.service-card p, .process-step p, .split-copy p, .section-header p, .contact-form-panel > p, .contact-direct a, .contact-direct span, .blog-hero-meta span) {
    font-size: 14px;
    line-height: 1.58;
}

/* --- Global Heading Size Adjustment --- */
.hero-content h4,
[data-theme="dark"] .hero-content h4 {
    font-size: clamp(1.875rem, calc(3.4vw - 2px), 3.275rem);
}

.blog-hero-copy h4 {
    font-size: clamp(2.675rem, calc(5vw - 2px), 5.075rem);
}

.section-header h4,
.split-copy h4,
.contact-copy h4,
.contact-section-heading h4,
.modal-header h4 {
    font-size: clamp(1.475rem, calc(2.4vw - 2px), 2.175rem);
}

.contact-form-panel > h4 {
    font-size: clamp(1.775rem, calc(3vw - 2px), 2.675rem);
}

.blog-highlight-card h4 {
    font-size: clamp(1.525rem, calc(2.5vw - 2px), 2.225rem);
}

.blog-article-body h4,
.resource-split h4,
.validity-panel h4,
.blog-section-header h4 {
    font-size: clamp(1.725rem, calc(2.7vw - 2px), 2.575rem);
}

.blog-list-card h4 {
    font-size: 1.095rem;
}

.blog-longform h4 {
    font-size: 0.995rem;
}

.blog-sidebar-card h4 {
    font-size: 0.925rem;
}

.portfolio-copy h4 {
    font-size: clamp(1.675rem, calc(3vw - 2px), 2.575rem);
}

.hero-form-card h4,
.industry-card h4 {
    font-size: 1.075rem;
}

.service-card h4 {
    font-size: 1.225rem;
}

.process-step h4 {
    font-size: 1.025rem;
}

.resource-card h4,
.case-study-card h4 {
    font-size: 0.875rem;
}

.home-page :where(.service-card h4, .process-step h4, .portfolio-copy h4, .office-hours h4, .contact-socials h4, .footer-links h4, .footer-contact h4, .footer-newsletter h4) {
    font-size: 13px;
}

/* --- Heading Tag Compact Scale --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: clamp(12px, 0.88rem, 15px);
}

/* Match requested feature headers to the Services section header style. */
.split-copy,
.hero-content {
    max-width: 600px;
    margin-inline: auto;
    text-align: center;
}

    .split-copy .eyebrow,
    .hero-content > .eyebrow,
    .hero-text-banner .eyebrow {
        justify-content: center;
    }

    .split-copy h4,
    .hero-content > h4 {
        font-size: clamp(1.5rem, 2.4vw, 2rem);
        line-height: 1.18;
        margin: 0 0 12px;
    }

    .split-copy > p,
    .hero-content > p {
        max-width: 600px;
        margin-inline: auto;
        color: var(--text-muted);
    }

        .split-copy > p:last-of-type,
        .hero-content > p {
            margin-bottom: 32px;
        }

.hero-pills,
.hero-stats,
.hero-cta-group {
    justify-content: center;
}

.btn-text-expand {
    display: flex;
    width: fit-content;
    margin-inline: auto;
}

.contact-form-panel > .eyebrow,
.contact-form-panel > h4,
.contact-form-panel > p {
    max-width: 600px;
    margin-inline: auto;
    text-align: center;
}

.contact-form-panel > .eyebrow {
    justify-content: center;
}

.contact-form-panel > h4 {
    font-size: 2.25rem;
    line-height: 1.18;
    margin-bottom: 12px;
}

.contact-form-panel > p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .modal-dialog {
        max-height: calc(100dvh - 20px);
        padding: 16px;
        overflow-y: auto;
    }

    .modal-header h4 {
        font-size: 1.25rem;
        line-height: 1.15;
        margin: 8px 0;
    }

    .modal-header p,
    .demo-action-btn {
        font-size: 12px;
    }

    .quote-form .input-group input,
    .quote-form textarea {
        min-height: 40px;
        padding: 9px 10px 9px 38px;
        font-size: 13px;
    }
}

.blog-hero-copy {
    align-content: start;
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

    .blog-hero-copy .eyebrow {
        justify-content: center;
    }

    .blog-hero-copy h4 {
        max-width: 680px;
        margin: 10px auto 14px;
        font-size: clamp(1.5rem, 2.4vw, 2rem);
        line-height: 1.18;
        letter-spacing: 0;
    }

    .blog-hero-copy p {
        margin-inline: auto;
    }

.blog-hero-meta {
    justify-content: center;
}

.case-study-page .blog-section-header {
    margin-inline: auto;
    text-align: center;
}

    .case-study-page .blog-section-header .eyebrow {
        justify-content: center;
    }

.case-study-page .blog-hero {
    padding-bottom: 0;
}

.case-study-page #government-authorities {
    padding-top: 0;
}

    .case-study-page #government-authorities .section-container {
        padding-top: 10px;
    }

.case-study-page #required-documents {
    padding-top: 0;
}

    .case-study-page #required-documents .section-container {
        padding-top: 10px;
    }

    .case-study-page #required-documents .resource-split {
        grid-template-columns: minmax(0, 760px);
        justify-content: center;
        gap: 20px;
    }

        .case-study-page #required-documents .resource-split > div:first-child {
            max-width: 740px;
            margin-inline: auto;
            text-align: center;
        }

            .case-study-page #required-documents .resource-split > div:first-child .eyebrow {
                justify-content: center;
            }

            .case-study-page #required-documents .resource-split > div:first-child p {
                margin-inline: auto;
            }

    .case-study-page #required-documents .document-list {
        width: 100%;
        max-width: 760px;
        margin-inline: auto;
    }

.case-study-page #case-studies {
    padding-top: 0;
}

    .case-study-page #case-studies .section-container {
        padding-top: 10px;
    }

.case-study-page .resource-section {
    padding-top: 0;
    padding-bottom: 0;
}

    .case-study-page .resource-section > .section-container {
        padding-top: 10px;
        padding-bottom: 12px;
    }

.case-study-page .blog-shell {
    padding-top: 82px;
}

.case-study-page .blog-hero {
    padding-top: 0;
}

.case-study-page .blog-hero-inner {
    padding-top: 10px;
}

.case-study-page #noc-validity .validity-panel {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
    text-align: center;
}

    .case-study-page #noc-validity .validity-panel > div:first-child {
        max-width: 740px;
        margin-inline: auto;
    }

    .case-study-page #noc-validity .validity-panel .eyebrow {
        justify-content: center;
    }

    .case-study-page #noc-validity .validity-panel > div:first-child p {
        margin-inline: auto;
    }

.case-study-page #noc-validity .validity-checklist {
    max-width: 760px;
    margin-inline: auto;
    text-align: left;
}

.blog-page .blog-shell {
    padding-top: 82px;
}

.blog-page .blog-hero {
    padding-top: 0;
    padding-bottom: 0;
}

.blog-page .blog-hero-inner,
.blog-page .blog-grid,
.blog-page .blog-listing > .section-container {
    padding-top: 10px;
    padding-bottom: 12px;
}

.blog-page .blog-listing {
    padding-top: 0;
    padding-bottom: 0;
}

.blog-page .footer-section {
    margin-top: 12px;
}


/* ============================================
           PRIVACY PAGE STYLES
           ============================================ */
/* Reset & Base */
.privacy-body {
    margin-top:25px ;
    padding: 0;
    background: #f5f7fa;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== PRIVACY PAGE CONTENT ===== */
.privacy-page-wrapper {
    max-width: 880px;
    width: 100%;
    margin: 2rem 1rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #e9edf2;
}

.privacy-page-header {
    background: #f0f4f9;
    padding: 3rem 2rem 0rem;
    border-bottom: 1px solid #dde3e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .privacy-page-header .privacy-title-section h1 {
        font-size: 1.5rem;
        font-weight: 600;
        letter-spacing: -0.01em;
        color: #0b2b4a;
        margin-bottom: 0.25rem;
    }

    .privacy-page-header .privacy-title-section .privacy-subhead {
        font-size: 1rem;
        color: #3f5468;
        border-left: 3px solid #7c8b9c;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }

.privacy-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #f28e46;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s;
    white-space: nowrap;
}

    .privacy-back-link:hover {
        background: #C2410C;
        color: white;
    }

.privacy-page-content {
    padding: 2.2rem 2.5rem;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

    .privacy-section:last-child {
        margin-bottom: 0.5rem;
    }

    .privacy-section h2 {
        font-size: 1.6rem;
        font-weight: 550;
        color: #163A5F;
        border-bottom: 1px solid #dde3e9;
        padding-bottom: 0.5rem;
        margin-bottom: 1.4rem;
        letter-spacing: -0.3px;
    }

    .privacy-section h3 {
        font-size: 1.25rem;
        font-weight: 550;
        margin: 1.5rem 0 0.6rem;
        color: #1e3b5c;
    }

    .privacy-section p {
        margin-bottom: 1rem;
        color: #334155;
    }

.privacy-data-list {
    background: #f8fafd;
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    border-left: 4px solid #7f8fa4;
    margin: 1.2rem 0;
}

    .privacy-data-list ul {
        columns: 2 240px;
        column-gap: 2rem;
        list-style: none;
        padding-left: 0.5rem;
    }

    .privacy-data-list li {
        margin-bottom: 0.45rem;
        padding-left: 1.4rem;
        position: relative;
        break-inside: avoid;
        color: #334155;
    }

        .privacy-data-list li::before {
            content: "▹";
            position: absolute;
            left: 0;
            color: #2b4f7c;
            font-weight: bold;
        }

.privacy-legal-note {
    background-color: #f2f6fc;
    border-radius: 16px;
    padding: 1.4rem 1.8rem;
    margin: 2rem 0 1rem;
    border: 1px solid #d6e1ef;
    font-size: 0.98rem;
}

    .privacy-legal-note p:last-child {
        margin-bottom: 0;
    }

/* ===== BACK TO TOP ===== */
.privacy-back-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #e2e8f0;
    color: #1e293b;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 1rem;
}

    .privacy-back-top:hover {
        background: #cbd5e1;
        color: #0f172a;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .privacy-page-wrapper {
        margin: 1rem;
    }

    .privacy-page-header {
        padding: 1.5rem 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

        .privacy-page-header .privacy-title-section h1 {
            font-size: 1.8rem;
        }

    .privacy-page-content {
        padding: 1.5rem 1.2rem;
    }

    .privacy-data-list ul {
        columns: 1;
    }

    .privacy-section h2 {
        font-size: 1.4rem;
    }

    .privacy-back-link {
        align-self: flex-start;
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-page-header .privacy-title-section h1 {
        font-size: 1.5rem;
    }

    .privacy-page-content {
        padding: 1rem;
    }

    .privacy-data-list {
        padding: 1rem;
    }

        .privacy-data-list ul {
            columns: 1;
        }
}

/* Paste ALL your existing CSS here exactly as it is */


.content-wrapper {
    padding: 50px 20px;
    background: #f5f7fb;
}


/* Main Card */
.card {
    max-width: 950px;
    margin: auto;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}


/* Header Design */
.top-bar {
    background: #f0f4f9;
    padding: 3rem 2rem 2rem;
    border-bottom: 1px solid #dde3e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}


    /* Title */
    .top-bar h1 {
        font-size: 1.8rem;
        font-weight: 600;
        letter-spacing: -0.01em;
        color: #0b2b4a;
        margin-bottom: 0.25rem;
    }


/* Company Name */
.domain {
    font-size: 1rem;
    color: #3f5468;
    border-left: 3px solid #7c8b9c;
    padding-left: 1rem;
    margin-top: 0.5rem;
}


/* Content Area */
.content {
    padding: 2.5rem;
}


/* Section */
.section {
    margin-bottom: 2.5rem;
}


    .section h2 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #163A5F;
        border-bottom: 1px solid #dde3e9;
        padding-bottom: 0.5rem;
        margin-bottom: 1.2rem;
    }


    .section p {
        color: #475569;
        font-size: 1rem;
        line-height: 1.7;
    }


/* Acknowledgement Box */
.acknowledge {
    background: #f2f6fc;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    border: 1px solid #d6e1ef;
    margin-top: 2rem;
}


    .acknowledge strong {
        color: #2b4f7c;
    }


/* Footer */
.footer-note {
    margin-top: 2.5rem;
    font-size: 0.9rem;
    text-align: center;
    color: #6f7c8b;
    border-top: 1px dashed #cdd7e3;
    padding-top: 2rem;
}


    .footer-note strong {
        color: #2b4f7c;
        font-weight: 600;
    }


/* Back Button */
.privacy-back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.2rem;
    background: #f28e46;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 500;
    transition: .3s;
}


    .privacy-back-link:hover {
        background: #C2410C;
        color: white;
    }



/* Mobile Responsive */
@media(max-width:768px) {

    .top-bar {
        padding: 2rem 1.5rem;
        display: block;
    }


        .top-bar h1 {
            font-size: 1.5rem;
        }


    .content {
        padding: 1.5rem;
    }


    .section h2 {
        font-size: 1.25rem;
    }
}
.text-danger {
    color: #ff0000 !important;
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-top: 5px;
}
    /*email send */

/* =========================================
   OTP VERIFICATION SECTION
   ========================================= */
.otp-section {
    width: 100%;
    margin-top: 18px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

/* OTP Title */
.otp-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .otp-title::before {
        content: "\f023";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 16px;
        color: #2563eb;
    }


/* =========================================
   SEND OTP BUTTON
   ========================================= */

#btnSendOTP,
.btn-otp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
    min-height: 44px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient( 50deg, #EA580C, #9a3412 );
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.25);
}


    /* Hover */

    #btnSendOTP:hover,
    .btn-otp:hover {
        background: linear-gradient( 135deg, #EA580C, #9a3412 );
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
    }


    /* Active */

    #btnSendOTP:active,
    .btn-otp:active {
        transform: translateY(0);
    }


/* =========================================
   OTP ROW
   ========================================= */

.otp-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}


/* =========================================
   OTP INPUT
   ========================================= */

.otp-input-field {
    position: relative;
    flex: 1 1 230px;
    min-width: 200px;
    margin: 0 !important;
}

    .otp-input-field i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #6b7280;
        font-size: 15px;
        z-index: 2;
        pointer-events: none;
    }


    /* OTP textbox */

    .otp-input-field .form-control {
        width: 100%;
        height: 44px;
        padding-left: 42px;
        padding-right: 12px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        background: #ffffff;
        color: #111827;
        font-size: 14px;
        outline: none;
        box-sizing: border-box;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }


        /* Focus */

        .otp-input-field .form-control:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
        }


        /* Disabled OTP */

        .otp-input-field .form-control:disabled {
            background: #f3f4f6;
            color: #9ca3af;
            cursor: not-allowed;
        }


/* =========================================
   VERIFY BUTTON
   ========================================= */

.btn-otp-verify {
    min-width: 125px;
    background: linear-gradient( 135deg, #059669, #047857 );
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.22);
}


    .btn-otp-verify:hover {
        background: linear-gradient( 135deg, #047857, #065f46 );
        box-shadow: 0 8px 20px rgba(5, 150, 105, 0.32);
    }


    /* Verified state */

    .btn-otp-verify.verified {
        background: linear-gradient( 135deg, #16a34a, #15803d );
        cursor: default;
        box-shadow: 0 5px 15px rgba(22, 163, 74, 0.2);
    }


/* Disabled button */

.btn-otp:disabled,
.btn-otp[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}


/* ASP.NET disabled LinkButton */

a.btn-otp.disabled,
a.btn-otp[disabled] {
    opacity: 0.55;
    pointer-events: none;
}


/* =========================================
   TIMER
   ========================================= */

.timer-display {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    white-space: nowrap;
}


    .timer-display .label {
        font-size: 12px;
        color: #64748b;
    }


    .timer-display #timer {
        font-size: 14px;
        font-weight: 700;
        color: #2563eb;
        min-width: 42px;
        text-align: center;
    }


/* =========================================
   OTP STATUS MESSAGE
   ========================================= */

.otp-message {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    box-sizing: border-box;
}


    /* Success */

    .otp-message.success {
        color: #166534;
        background: #f0fdf4;
        border: 1px solid #bbf7d0;
    }


    /* Error */

    .otp-message.error {
        color: #b91c1c;
        background: #fef2f2;
        border: 1px solid #fecaca;
    }


    /* Warning */

    .otp-message.warning {
        color: #92400e;
        background: #fffbeb;
        border: 1px solid #fde68a;
    }


/* =========================================
   OTP ANIMATION
   ========================================= */

@keyframes otpFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.otp-section {
    animation: otpFadeIn 0.3s ease;
}


/* =========================================
   MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

    .otp-section {
        padding: 18px;
    }

    .otp-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .otp-input-field {
        width: 100%;
        min-width: 100%;
        flex: none;
    }

    .btn-otp,
    #btnSendOTP {
        width: 100%;
        min-width: 100%;
    }

    .timer-display {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .otp-title {
        font-size: 16px;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 480px) {

    .otp-section {
        padding: 15px;
        border-radius: 10px;
    }

    .otp-title {
        font-size: 15px;
    }

    .otp-input-field .form-control {
        height: 42px;
        font-size: 14px;
    }

    .btn-otp,
    #btnSendOTP {
        min-height: 42px;
        height: 42px;
        font-size: 13px;
    }

    .timer-display {
        min-height: 42px;
        font-size: 12px;
    }

    .otp-message {
        font-size: 12px;
    }
}

.status-message {
    display: block;
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

    /* Success message */
    .status-message.success {
        color: #166534;
        background-color: #f0fdf4;
        border: 1px solid #86efac;
    }

    /* Error message */
    .status-message.error {
        color: #b91c1c;
        background-color: #fef2f2;
        border: 1px solid #fca5a5;
    }


/* ================================
   CALLBACK POPUP
   ================================ */

.callback-popup-overlay {
    display: none ;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
    box-sizing: border-box;
}

    /* केवल JS द्वारा open होने पर */
    .callback-popup-overlay.callback-popup-open {
        display: flex ;
    }


/* Popup Box */

.callback-popup {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: callbackPopupAnimation 0.25s ease;
}


/* Animation */

@keyframes callbackPopupAnimation {

    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Success Icon */

.callback-success-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}


/* Heading */

.callback-popup h3 {
    margin: 0 0 10px;
    color: #15803d;
    font-size: 22px;
    font-weight: 700;
}


/* Message */

.callback-popup p {
    margin: 0 0 25px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}


/* Close Button */

.callback-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 35px;
    height: 35px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 28px;
    cursor: pointer;
}


/* OK Button */

.callback-ok-btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 8px;
    background: #16a34a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

    .callback-ok-btn:hover {
        background: #15803d;
    }


/* Mobile */

@media (max-width: 480px) {

    .callback-popup {
        max-width: 350px;
        padding: 30px 20px;
    }

        .callback-popup h3 {
            font-size: 19px;
        }
}


/*button*/


@media (max-width: 768px) {

    .nav-container {
        width: 100%;
        padding: 8px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* LOGO */
    .logo-area {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .logo {
        width: 52px;
        height: auto;
        flex-shrink: 0;
    }

    .logo-text {
        margin-left: 7px;
        min-width: 0;
    }

    .brand-title {
        display: block;
        font-size: 11px;
        font-weight: 700;
        white-space: nowrap;
    }

    .brand-sub {
        display: block;
        font-size: 9px;
        white-space: nowrap;
    }


    /* HIDE DESKTOP NAV */
    .nav-links {
        display: none !important;
    }


    /* HIDE DESKTOP BUTTONS */
    .nav-controls .btn-primary-sm,
    .nav-controls #theme-toggle {
        display: none !important;
    }


    /* NAV CONTROLS */
    .nav-controls {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }


    /* SHOW MOBILE BUTTON */
    .mobile-menu-btn {
        display: flex !important;
    }