/* ==========================================================================
   NEXT2SOLUTIONS DESIGN SYSTEM & STYLESHEET
   Clean, modern, responsive CSS built for Laravel 12 Blade templates.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;500;600;700;800&family=Karla:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --color-primary: #ebd35b;
    --color-primary-hover: #e3bd2c;
    --color-primary-light: #fef8db;
    --color-heading: #183030;
    --color-heading-dark: #0f1f1f;
    --color-text: #526354;
    --color-text-dark: #111827;
    --color-text-muted: #64748b;
    --color-bg-subtle: #f3faf6;
    --color-bg-light: #f8faf9;
    --color-bg-dark: #183030;
    --color-border: #dfe2e2;
    --color-border-light: #eef1f0;
    --color-white: #ffffff;
    --color-card-bg: #ffffff;
    --color-badge-bg: #e5f3ec;
    --color-badge-text: #183030;

    /* Typography */
    --font-heading: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Karla', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout & Sizing */
    --container-max-width: 1200px;
    --section-padding-y: 5rem;
    --section-padding-sm: 3rem;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --radius-full: 9999px;

    /* Shadows & Transitions */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(24, 48, 48, 0.08);
    --shadow-lg: 0 12px 30px rgba(24, 48, 48, 0.12);
    --shadow-hover: 0 16px 36px rgba(24, 48, 48, 0.15);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

h3 {
    font-size: clamp(1.5rem, 2.75vw, 2.25rem);
    line-height: 1.25;
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.3;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.35;
}

h6 {
    font-size: 1.05rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Container & Grid System */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container-fluid {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
    position: relative;
}

.section-sm {
    padding-top: var(--section-padding-sm);
    padding-bottom: var(--section-padding-sm);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-subtle {
    background-color: var(--color-bg-subtle);
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-bg-dark);
    color: #e2e8f0;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
    color: var(--color-white);
}

.bg-dark .text-muted {
    color: #94a3b8;
}

/* Badges / Eyebrows */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-badge-bg);
    color: var(--color-badge-text);
    margin-bottom: 1rem;
}

.badge-primary {
    background-color: var(--color-primary-light);
    color: #8c7104;
}

.badge-dark {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
    padding: 13px 32px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-heading);
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(235, 211, 91, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: var(--color-heading-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 189, 44, 0.5);
}

.btn-dark {
    background-color: var(--color-heading);
    color: var(--color-white);
    border-color: var(--color-heading);
    box-shadow: 0 4px 14px rgba(24, 48, 48, 0.25);
}

.btn-dark:hover {
    background-color: #244646;
    border-color: #244646;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 48, 48, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-heading);
    border-color: var(--color-heading);
}

.btn-outline:hover {
    background-color: var(--color-heading);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-heading);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 22px;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.15rem;
}

.btn-icon-right svg {
    transition: transform 0.25s ease;
}

.btn:hover .btn-icon-right svg {
    transform: translateX(4px);
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--color-heading);
    padding: 0.5rem 0.25rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    font-weight: 700;
    color: var(--color-heading);
}

/* Dropdown menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-heading);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--color-bg-subtle);
    color: var(--color-heading);
    padding-left: 1.5rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-heading);
}

.hamburger-line {
    display: block;
    width: 26px;
    height: 2.5px;
    background-color: var(--color-heading);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-heading);
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav-link.active {
    color: #8c7104;
    border-bottom-color: var(--color-primary);
}

/* Section Header / Eyebrows */
.section-header {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
}

.section-header.text-left {
    text-align: left;
    margin-left: 0;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text);
    line-height: 1.6;
}

/* Base Hero Section: Dynamic Interactive Gradient for all inner pages */
.hero-section {
    padding: 6.5rem 0 5.5rem;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #071524 0%, #0d273d 35%, #12384a 70%, #091a29 100%);
    background-size: 200% 200%;
    animation: heroGradientShift 14s ease infinite;
}

@keyframes heroGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Interactive Cursor Glow & Ambient Orb Layers */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: 
        radial-gradient(650px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(235, 211, 91, 0.25), transparent 60%),
        radial-gradient(550px circle at calc(100% - var(--mouse-x, 50%)) calc(100% - var(--mouse-y, 50%)), rgba(45, 212, 191, 0.22), transparent 55%),
        radial-gradient(circle at 15% 25%, rgba(59, 130, 246, 0.30) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(235, 211, 91, 0.18) 0%, transparent 45%);
    transition: background 0.08s ease-out;
    z-index: 1;
}

/* Subtle Modern Grid Texture Overlay */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .hero-title {
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-section .hero-description {
    color: #f1f5f9;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.hero-section .hero-description strong {
    color: #ffffff;
}

.hero-section .badge {
    background-color: var(--color-primary);
    color: #183030;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-section .btn-outline,
.hero-section .btn-outline-white {
    border-color: #ffffff !important;
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(4px);
}

.hero-section .btn-outline:hover,
.hero-section .btn-outline-white:hover {
    background-color: #ffffff !important;
    color: var(--color-heading) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
}

/* Home Page Hero: Gradient Overlay matching other pages' hero sections */
.hero-home,
.hero-section.hero-home {
    background: 
        linear-gradient(135deg, rgba(7, 21, 36, 0.88) 0%, rgba(13, 39, 61, 0.82) 35%, rgba(18, 56, 74, 0.78) 70%, rgba(9, 26, 41, 0.90) 100%),
        url('../images/site/hero-bg.jpg') center center / cover no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
}

.hero-home::before,
.hero-section.hero-home::before,
.hero-home::after,
.hero-section.hero-home::after {
    display: block !important;
}

.hero-home .pillar-card {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-home .pillar-card:hover {
    background-color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary);
    transform: translateY(-8px);
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.65;
    color: var(--color-text);
    margin-bottom: 2.25rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Feature Pillars Grid (Home) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.pillar-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(235, 211, 91, 0.6);
}

.pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background-color: var(--color-bg-subtle);
    color: var(--color-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    background-color: var(--color-primary);
    color: var(--color-heading);
    transform: scale(1.08);
}

.pillar-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-heading);
}

.pillar-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
}

/* Split Showcase Section (About Home) */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-reverse {
    direction: rtl;
}

.split-reverse > * {
    direction: ltr;
}

.showcase-images-stacked {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
}

.showcase-img-1 {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 420px;
    width: 100%;
}

.showcase-img-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-img-1:hover img {
    transform: scale(1.04);
}

.showcase-img-2 {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 340px;
    width: 100%;
    align-self: flex-end;
}

.showcase-img-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-img-2:hover img {
    transform: scale(1.04);
}

/* Feature Checkpoints List */
.checklist {
    margin: 1.75rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-heading);
}

.checklist-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Solutions Cards Grid (Home & Services) */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.solutions-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.solution-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.solution-card.solution-card-clickable,
.pillar-card.pillar-card-clickable {
    cursor: pointer;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(235, 211, 91, 0.7);
}

.solution-card-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    position: relative;
}

.solution-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-card:hover .solution-card-image img {
    transform: scale(1.08);
}

.solution-card-body {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solution-card-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--color-heading);
}

.solution-card-text {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.solution-card-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-heading);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
}

.solution-card-link:hover {
    color: #8c7104;
}

/* Why Choose Us Split */
.why-us-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 480px;
}

.why-us-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-us-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--transition);
}

.why-us-item:hover {
    border-color: rgba(235, 211, 91, 0.8);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.why-us-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-bg-subtle);
    color: var(--color-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-us-item:hover .why-us-icon {
    background-color: var(--color-primary);
}

.why-us-item h5 {
    margin-bottom: 0.35rem;
}

.why-us-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Testimonial Cards */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(235, 211, 91, 0.5);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: #eab308;
    margin-bottom: 1.25rem;
}

.testimonial-quote {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--color-heading);
    font-style: italic;
    margin-bottom: 1.75rem;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-primary);
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 0.15rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* CTA Banner Box */
.cta-banner {
    background-color: var(--color-heading);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 4.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235, 211, 91, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 250, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner h2 {
    color: var(--color-white);
    max-width: 780px;
    margin: 0 auto 1.25rem;
}

.cta-banner p {
    color: #cbd5e1;
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 2.25rem;
}

/* Stats Counter Grid (About) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(235, 211, 91, 0.6);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number span {
    color: #8c7104;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--color-text);
    font-weight: 500;
}

/* Process Steps Grid (About) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.process-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(235, 211, 91, 0.7);
}

.process-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-heading);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.process-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--color-heading);
}

.process-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
}

/* Team Grid (About) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

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

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

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* AI Search Optimisation Zigzag Rows */
.zigzag-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
}

.zigzag-row:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(235, 211, 91, 0.7);
}

.zigzag-row.reverse {
    direction: rtl;
}

.zigzag-row.reverse > * {
    direction: ltr;
}

.zigzag-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 340px;
}

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

.zigzag-row:hover .zigzag-image img {
    transform: scale(1.04);
}

.zigzag-step {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #8c7104;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.zigzag-content h3 {
    margin-bottom: 1rem;
}

.zigzag-content p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-text);
}

/* Contact Page Layout & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
}

.contact-form-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.35rem;
}

.form-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 0.5rem;
}

.form-label .required {
    color: #ef4444;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 18px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: #fafbfc;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
    padding-right: 46px;
    cursor: pointer;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    background-color: var(--color-white);
    border-color: var(--color-heading);
    box-shadow: 0 0 0 4px rgba(24, 48, 48, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

/* Services Multi-Select Grid & Chips */
.services-multiselect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.35rem;
}

@media (max-width: 540px) {
    .services-multiselect-grid {
        grid-template-columns: 1fr;
    }
}

.service-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 10px 14px;
    background-color: #f8fafc;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-heading);
    transition: all 0.2s ease;
    user-select: none;
}

.service-chip:hover {
    border-color: rgba(235, 211, 91, 0.9);
    background-color: #ffffff;
    transform: translateY(-1px);
}

.service-chip.selected {
    background-color: rgba(235, 211, 91, 0.18);
    border-color: #8c7104;
    color: #183030;
    box-shadow: 0 2px 6px rgba(235, 211, 91, 0.25);
}

.service-chip-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-chip-indicator {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #cbd5e1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: transparent;
    transition: all 0.2s ease;
}

.service-chip.selected .service-chip-indicator {
    background-color: #183030;
    border-color: #183030;
    color: #ffffff;
}

.service-chip-title {
    line-height: 1.25;
}

.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(235, 211, 91, 0.7);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-bg-subtle);
    color: var(--color-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card:hover .contact-card-icon {
    background-color: var(--color-primary);
}

.contact-card-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.contact-card-content p {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.map-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-sm);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Alert / Toast Messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Footer */
.site-footer {
    background-color: var(--color-bg-subtle);
    border-top: 1px solid var(--color-border);
    padding-top: 4.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3.5rem;
    padding-bottom: 3.5rem;
}

.footer-widget-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-heading);
    margin-bottom: 1.25rem;
}

.footer-brand p {
    font-size: 1rem;
    color: var(--color-text);
    max-width: 340px;
    line-height: 1.65;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-link {
    color: var(--color-text);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-nav-link:hover {
    color: var(--color-heading);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 1.75rem 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Scroll To Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--color-heading);
    color: var(--color-white);
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 990;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-heading);
    transform: translateY(-3px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-grid {
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding-y: 3.5rem;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-nav-drawer {
        display: block;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid,
    .solutions-grid-3 {
        grid-template-columns: 1fr;
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .showcase-images-stacked {
        grid-template-columns: 1fr;
    }

    .showcase-img-1, .showcase-img-2 {
        height: 280px;
    }

    .why-us-visual {
        height: 320px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

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

    .zigzag-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.75rem;
    }

    .zigzag-image {
        height: 240px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cta-banner {
        padding: 3rem 1.5rem;
    }
}

/* ==========================================================================
   SITE BREADCRUMBS COMPONENT (COMMENTED / DISABLED FOR NOW)
   To re-enable: Simply uncomment the breadcrumbs wrapper in Blade views
   and use the styles below.
   ========================================================================== */
.hero-breadcrumbs-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.site-breadcrumbs {
    display: inline-flex;
    align-items: center;
}

.site-breadcrumbs .breadcrumb-list {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0.4rem 1.15rem;
    margin: 0;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.site-breadcrumbs .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
}

.site-breadcrumbs .breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
}

.site-breadcrumbs .breadcrumb-link:hover {
    color: #ebd35b;
}

.site-breadcrumbs .breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.45);
}

.site-breadcrumbs .breadcrumb-current {
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-breadcrumbs-wrapper {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .site-breadcrumbs .breadcrumb-list {
        padding: 0.35rem 0.85rem;
        gap: 0.35rem;
        font-size: 0.78rem;
    }
}

/* ==========================================================================
   LEGAL & DOCUMENTATION PAGES (Privacy Policy, Terms of Service)
   ========================================================================== */

.legal-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
    align-items: center;
}

.legal-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.86rem;
    font-weight: 500;
    color: #ffffff;
}

.legal-meta-chip svg {
    color: var(--color-primary);
}

.legal-page-wrapper {
    padding: 4.5rem 0 6rem;
    background-color: var(--color-bg-light);
}

.legal-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 2.75rem;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.legal-sidebar::-webkit-scrollbar {
    width: 5px;
}
.legal-sidebar::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

.legal-toc-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.legal-toc-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-heading);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--color-border-light);
}

.legal-toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.legal-toc-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.88rem;
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-left: 2.5px solid transparent;
    font-weight: 500;
    line-height: 1.35;
}

.legal-toc-link:hover,
.legal-toc-link.active {
    color: var(--color-heading);
    background: var(--color-bg-subtle);
    border-left-color: var(--color-primary);
    font-weight: 600;
    padding-left: 0.85rem;
}

.legal-toc-num {
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--color-text-muted);
    min-width: 18px;
    opacity: 0.8;
}

.legal-sidebar-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.legal-sidebar-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}

.legal-sidebar-card p {
    font-size: 0.88rem;
    color: var(--color-text);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

.legal-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    scroll-margin-top: 110px;
    position: relative;
}

.legal-card:hover {
    border-color: rgba(235, 211, 91, 0.6);
    box-shadow: var(--shadow-md);
}

.legal-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-heading);
    background: var(--color-badge-bg);
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.85rem;
}

.legal-card h2 {
    font-size: 1.75rem;
    color: var(--color-heading);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.legal-card h3 {
    font-size: 1.22rem;
    color: var(--color-heading);
    margin-top: 1.6rem;
    margin-bottom: 0.55rem;
    font-weight: 600;
}

.legal-card p {
    font-size: 1.02rem;
    color: var(--color-text);
    line-height: 1.72;
    margin-bottom: 1.15rem;
}

.legal-card ul,
.legal-card ol {
    margin-left: 1.35rem;
    margin-bottom: 1.35rem;
    color: var(--color-text);
    line-height: 1.72;
}

.legal-card li {
    margin-bottom: 0.5rem;
}

.legal-card strong {
    color: var(--color-heading);
    font-weight: 600;
}

.legal-highlight-box {
    background: linear-gradient(135deg, #fbfdfc 0%, #f1f8f4 100%);
    border: 1px solid #d5ece0;
    border-left: 4.5px solid var(--color-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.35rem 1.6rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.legal-highlight-icon {
    color: #9c8209;
    flex-shrink: 0;
    margin-top: 2px;
}

.legal-highlight-box p {
    margin-bottom: 0;
    font-size: 0.98rem;
    color: var(--color-heading);
    line-height: 1.65;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.legal-subcard {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.45rem;
    transition: var(--transition);
}

.legal-subcard:hover {
    background: #ffffff;
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.legal-subcard-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--color-primary-light);
    color: #8c7104;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.legal-subcard-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 0.45rem;
}

.legal-subcard p {
    font-size: 0.93rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 0;
}

.legal-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #ffffff;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
    text-align: left;
}

.legal-table th {
    background: var(--color-bg-subtle);
    color: var(--color-heading);
    font-weight: 700;
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap;
}

.legal-table td {
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text);
    line-height: 1.55;
    vertical-align: top;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-contact-card {
    background: linear-gradient(135deg, #183030 0%, #0d2121 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.legal-contact-card::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(235, 211, 91, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.legal-contact-card h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.legal-contact-card p {
    color: #e2e8f0;
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
}

.legal-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.legal-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.legal-contact-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.legal-contact-item a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.legal-contact-item a:hover {
    text-decoration: underline;
}

/* Quick Floating Bar on Mobile */
@media (max-width: 991px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .legal-card {
        padding: 1.75rem;
    }

    .legal-card h2 {
        font-size: 1.45rem;
    }
}

@media print {
    header, footer, .navbar, .site-breadcrumbs, .legal-sidebar, .scroll-top-btn, .legal-hero-meta, .hero-cta-group {
        display: none !important;
    }

    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 11pt;
    }

    .legal-page-wrapper {
        padding: 0 !important;
    }

    .legal-layout {
        display: block !important;
    }

    .legal-card {
        border: none !important;
        box-shadow: none !important;
        padding: 1rem 0 !important;
        page-break-inside: avoid;
    }

    .hero-section {
        background: none !important;
        color: #000000 !important;
        padding: 2rem 0 !important;
    }

    .hero-section .hero-title, .hero-section .hero-description {
        color: #000000 !important;
    }
}
