﻿/*
 * HEARTLAND DIGITAL - Design Match
 * Dark theme, orange accents, clean layout
 */

:root {
    --dark-bg: #1A1E27;
    --hero-bg: #18202B;
    --text-dark: #1a2332;
    --text-light: #6c757d;
    --text-muted: #6c757d;
    --accent-orange: #FF9800;
    --orange: #FF9800;
    --hero-blue: #005B82;
    --dark-blue: #1a2332;
    --white: #ffffff;
    --light-bg: #F8FAFB;
    --border-color: #e9ecef;
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior-y: contain;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* Dark backdrop behind header - prevents white flash/gap when scrolling up */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--dark-bg);
    z-index: 999;
    pointer-events: none;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s, opacity 0.2s;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--dark-bg);
    color: var(--white);
    padding: 0.4rem 0;
    font-size: 0.8rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.top-bar-link {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.top-bar-link:hover {
    color: var(--accent-orange);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 1000;
    overflow: visible;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Primary color header for all pages - dark background */
.navbar.navbar-primary {
    background: var(--dark-bg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.navbar-primary .nav-menu > li > a {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-primary .nav-menu > li > a:hover,
.navbar-primary .nav-menu > li > a.active {
    color: var(--accent-orange);
}

.navbar-primary .nav-brand-name {
    color: var(--white);
}

.navbar-primary .nav-brand-accent {
    color: var(--accent-orange);
}

.navbar-primary .menu-toggle span {
    background: var(--white);
}

.nav-top-border {
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--dark-bg));
}

.navbar .container { overflow: visible; }

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
    overflow: visible;
}

.logo { flex-shrink: 0; }

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-img {
    height: 40px;
    width: auto;
}

.nav-brand-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.nav-brand-accent {
    color: var(--accent-orange);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow: visible;
}

.nav-menu li { position: relative; }

.nav-menu > li > a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--accent-orange);
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.65rem;
    font-size: 0;
    line-height: 1;
    transition: transform 0.25s ease;
}

.chevron::before {
    content: '\25BE';
    font-size: 0.6rem;
    line-height: 1;
}

.dropdown:hover .chevron,
.dropdown.active .chevron { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    z-index: 1100;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    /* Invisible bridge so mouse can move to menu without losing hover */
    margin-top: 0;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

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

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    border-radius: 6px;
}

.dropdown-menu li a:hover {
    background: var(--light-bg);
    color: var(--accent-orange);
}

.dropdown-menu li a.active {
    background: var(--light-bg);
    color: var(--accent-orange);
    font-weight: 700;
}

.btn-demo {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    background: var(--accent-orange);
    color: var(--white) !important;
    border-radius: 8px;
    white-space: nowrap;
}

.btn-demo:hover {
    background: #e68900;
    opacity: 0.95;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 1px;
}

/* ========== HERO (Dark) ========== */
.hero {
    background: var(--hero-bg);
    color: var(--white);
    padding: 8rem 0 4rem;
    margin-top: 0;
}

.hero-inner {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--accent-orange);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.65;
    opacity: 0.92;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: transform 0.2s, opacity 0.2s;
}

.hero-btn:hover { transform: translateY(-2px); }

.hero-btn-primary {
    background: var(--accent-orange);
    color: var(--white);
}

.hero-btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-btn-secondary:hover {
    border-color: var(--white);
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hero-card-inner {
    padding: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.seoai360-card-banner {
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 1.25rem;
}

.hero-card-image {
    height: 160px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-image .hero-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nipige-image,
.consulting-image {
    background: #1a1e27;
}

.hero-card-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-orange);
    margin-bottom: 0.35rem;
    padding: 0 1.5rem;
}

.hero-card-description {
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.92;
    margin-bottom: auto;
    padding: 0 1.5rem;
    flex-grow: 1;
}

.hero-card-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-orange);
    padding: 0 1.5rem;
    margin-top: 0.75rem;
}

.hero-card-link:hover { text-decoration: underline; }

.hero-partners-section {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-partners-header {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-partners-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.hero-partners-desc {
    font-size: 0.95rem;
    opacity: 0.85;
    max-width: 480px;
    margin: 0 auto;
}

.hero-partners-scroll-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-partners-track {
    display: flex;
    gap: 4rem;
    animation: scroll-partners 25s linear infinite;
    width: max-content;
}

.hero-partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    transition: background 0.2s;
}

.hero-partner-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-partner-logo {
    height: 42px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    opacity: 0.9;
}

/* ========== ABOUT BRIEF ========== */
.about-brief {
    padding: 3rem 0;
    background: var(--white);
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ========== OFFERINGS ========== */
.offerings {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafb 0%, #fff 50%, #f8fafb 100%);
}

.offerings .section-header h2 {
    position: relative;
    display: inline-block;
}

.offerings .section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), #ffb74d);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.offerings-header p {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.tabs-container {
    margin-bottom: 2.5rem;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.tab {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    background: var(--white);
    border: 1.5px solid #e0e7ef;
    border-radius: 50px;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tab:hover {
    border-color: var(--hero-blue);
    color: var(--hero-blue);
    background: rgba(0, 91, 130, 0.04);
    transform: translateY(-1px);
}

.tab.active {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(26, 35, 50, 0.25);
}

.tab.active .tab-icon { stroke: var(--white); }

.tab-icon { flex-shrink: 0; }

.offerings-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border-radius: 20px;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06), 0 2px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 91, 130, 0.08);
}

.offerings-card-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--accent-orange);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.offerings-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.offering-block {
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
    border: 1px solid #d9e5f0;
    background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.offering-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--hero-blue));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.offering-block:hover {
    border-color: rgba(0, 91, 130, 0.2);
    box-shadow: 0 16px 42px rgba(0, 91, 130, 0.12);
    transform: translateY(-5px);
}

.offering-block:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.offering-block:hover .offering-icon-wrapper {
    transform: scale(1.05);
    background: linear-gradient(135deg, #005B82, #0077a8);
    color: var(--white);
}

.offering-block:hover h3 {
    color: var(--hero-blue);
}

.offering-icon-wrapper {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border-radius: 18px;
    border: 1px solid #d8e7f4;
    background: linear-gradient(180deg, #f8fcff 0%, #eef6fd 100%);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.offering-icon-wrapper.circle,
.offering-icon-wrapper.square {
    color: var(--hero-blue);
}

.offering-icon {
    width: 34px;
    height: 34px;
    stroke-width: 2.1;
    transition: stroke 0.35s ease;
}

.offering-block h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.offering-block p {
    font-size: 0.9rem;
    color: #5c6b7a;
    margin-bottom: 1rem;
    line-height: 1.65;
    max-width: 34ch;
}

.offering-link {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--hero-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.offering-link span {
    display: inline-block;
    font-size: 0;
    transition: transform 0.3s ease;
}

.offering-link span::before {
    content: '->';
    font-size: 0.95rem;
    line-height: 1;
}

.offering-link:hover {
    color: var(--accent-orange);
}

.offering-link:hover span {
    transform: translateX(4px);
}

/* ========== CUSTOMER STORIES ========== */
.customer-stories {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
}

.stories-grid {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    padding-bottom: 0.5rem;
    animation: scroll-customer-stories 36s linear infinite;
}

.stories-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.stories-scroll:hover .stories-grid,
.stories-scroll:focus-within .stories-grid {
    animation-play-state: paused;
}

@keyframes scroll-customer-stories {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.stories-scroll::-webkit-scrollbar {
    display: none;
}

.stories-scroll::-webkit-scrollbar-track {
    display: none;
}

.stories-scroll::-webkit-scrollbar-thumb {
    display: none;
}

.stories-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
}

.story-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9d8ea;
    border: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.story-slide-dot.active {
    background: var(--accent-orange);
    transform: scale(1.2);
}

.story-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.9rem 2rem 1.8rem;
    border: 1px solid #dbe3ec;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: storyCardFadeIn 0.6s ease-out both;
    width: min(350px, 86vw);
    min-height: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(10, 38, 64, 0.05);
}

.story-card:nth-child(1) { animation-delay: 0.1s; }
.story-card:nth-child(2) { animation-delay: 0.2s; }
.story-card:nth-child(3) { animation-delay: 0.3s; }
.stories-grid .story-card:nth-child(8n + 1) { border-color: rgba(255, 152, 0, 0.75); }

@keyframes storyCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff9800, #0a4a70);
    opacity: 0.9;
}

.story-card::after {
    content: "\201D";
    position: absolute;
    top: 1rem;
    right: 1.4rem;
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
    color: #d4dde8;
    pointer-events: none;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(10, 48, 75, 0.11);
    border-color: rgba(255, 152, 0, 0.85);
}

.story-card:hover .story-logo-wrap {
    transform: scale(1.04);
    background: linear-gradient(135deg, #dcebfb, #c8dff8);
}

.story-card:hover .story-link {
    letter-spacing: 0.11em;
}

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

.story-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-right: 2.2rem;
}

.story-logo-wrap {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d5e8fb, #c5ddf6);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.story-logo {
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
}

.story-logo-fallback {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--hero-blue);
    letter-spacing: 0.06em;
}

.story-card-title-wrapper h3 {
    font-size: 1.95rem;
    font-weight: 800;
    color: #05203c;
    line-height: 1.05;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

.story-location {
    font-size: 0.68rem;
    color: #1e3f63;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-weight: 700;
}

.story-description {
    font-size: 0.95rem;
    color: #3e5f7f;
    margin-bottom: 1.6rem;
    line-height: 1.55;
    font-weight: 500;
    flex-grow: 0;
}

.story-link {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: letter-spacing 0.3s ease, color 0.3s ease;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 1.6px;
    text-underline-offset: 6px;
    margin-top: 0;
}

.story-link::after {
    content: '->';
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.story-link:hover {
    color: #e68900;
}

.view-all-stories-container {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-view-all-stories {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 8px;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-view-all-stories:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* ========== TRUSTED PARTNERS ========== */
.partners {
    padding: 5.75rem 0;
    background: linear-gradient(180deg, #f3f7fb 0%, #eef4fa 100%);
}

.partners .section-header h2 {
    letter-spacing: 0.08em;
    margin-bottom: 0.55rem;
}

.partners .section-header p {
    color: #617691;
    font-size: 1.05rem;
}

.partners-tabs-container {
    margin: 2.1rem 0 2.2rem;
}

.partners-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    border-bottom: 1px solid #d6e1ec;
}

.partner-tab {
    padding: 0.95rem 1.55rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #6d829a;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-tab:hover {
    color: #0d3f68;
}

.partner-tab.active {
    color: #00345f;
    border-bottom-color: #1e88ff;
}

.partners-content {
    padding: 1rem 0 0.25rem;
    animation: partnersContentFade 0.4s ease-out;
}

@keyframes partnersContentFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

@media (min-width: 600px) and (max-width: 900px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

.partner-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    padding: 2.5rem 1.5rem;
    border-radius: 18px;
    border: 1px solid #d9e4ef;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(13, 54, 88, 0.07);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), var(--hero-blue));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.partner-card:hover {
    border-color: #8db7d9;
    box-shadow: 0 16px 34px rgba(12, 58, 96, 0.12);
    transform: translateY(-3px);
}

.partner-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.partner-card:hover .partner-name {
    color: #163f67;
}

.partner-name {
    font-weight: 700;
    font-size: clamp(1.35rem, 1.45vw, 1.85rem);
    color: #a7b5c4;
    letter-spacing: -0.01em;
    transition: color 0.35s ease;
}

/* ========== SUCCESS RATE ========== */
.success-rate {
    padding: 5rem 0;
    background: var(--hero-bg);
    color: var(--white);
}

.success-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 4rem;
}

.success-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.success-tagline {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.success-underline {
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-box { text-align: center; }

.stat-icon {
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-plus { font-size: 1.5rem; opacity: 0.8; }

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========== TESTIMONIALS & CONTACT ========== */
.discuss-project {
    padding: 5rem 0;
    background: var(--white);
}

.discuss-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.testimonials-carousel {
    background: linear-gradient(170deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid #dde7f3;
    border-radius: 20px;
    padding: 1.35rem;
    box-shadow: 0 18px 36px rgba(14, 44, 84, 0.12);
}

.testimonial-head {
    margin-bottom: 1rem;
}

.testimonial-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #667d9f;
    margin-bottom: 0.45rem;
}

.testimonial-head h3 {
    font-size: 1.5rem;
    line-height: 1.15;
    color: #0f294b;
    margin-bottom: 0.4rem;
}

.testimonial-head p {
    font-size: 0.92rem;
    color: #5d7291;
    line-height: 1.55;
    max-width: 92%;
}

.testimonials-slider {
    position: relative;
    min-height: 370px;
}

.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: testimonialFade 0.45s ease; }

.testimonial-card {
    background: #ffffff;
    border: 1px solid #dfe8f4;
    padding: 1.35rem;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 10px 24px rgba(20, 53, 95, 0.08);
}

.testimonial-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.stars {
    color: var(--accent-orange);
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.testimonial-badge {
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1b3e70;
    background: #e8f0fc;
    border: 1px solid #d1e0f4;
}

.quote-mark {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 152, 0, 0.32);
    line-height: 0.8;
    position: relative;
}

.quote-mark.quote-top { margin-bottom: 0.3rem; }
.quote-mark.quote-bottom {
    margin-top: 0.45rem;
    text-align: right;
}

.testimonial-text {
    font-size: 1rem;
    color: #0f294b;
    line-height: 1.68;
    margin: 0.5rem 0;
    letter-spacing: 0.01em;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.2rem;
    padding-top: 0.95rem;
    border-top: 1px solid #e4edf8;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #c5d7ef;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: contain;
}

.author-name {
    font-weight: 800;
    font-size: 0.96rem;
    color: #0f294b;
    letter-spacing: 0.02em;
}

.author-role {
    font-size: 0.77rem;
    color: #6981a2;
    margin-top: 2px;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1rem;
}

.nav-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #d9e5f3;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: #193b67;
    transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-arrow:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #ffffff;
    transform: translateY(-1px);
}

.testimonial-dots { display: flex; gap: 0.45rem; }

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ccd9ea;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.dot.active,
.dot:hover {
    background: var(--accent-orange);
    transform: scale(1.15);
}

@keyframes testimonialFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-hero { padding: 120px 0 2rem; text-align: center; }
.contact-hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.contact-hero p { color: var(--text-muted); }
.contact-form-section { padding: 2rem 0 4rem; }
.contact-form { max-width: 600px; margin: 0 auto 2rem; }
.contact-info { text-align: center; color: var(--text-muted); }
.contact-info p { margin-bottom: 0.5rem; }

.contact-form-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.project-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* ========== HOME DISCUSS FORM REDESIGN ========== */
.discuss-project .home-contact-panel {
    background: linear-gradient(145deg, #0b2d5f 0%, #082148 55%, #0c2a56 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 20px 45px rgba(7, 25, 52, 0.26);
    position: relative;
    overflow: hidden;
}

.discuss-project .home-contact-panel::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    right: -80px;
    bottom: -105px;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.3), rgba(255, 153, 0, 0));
    pointer-events: none;
}

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

.home-contact-kicker {
    display: inline-block;
    padding: 0.34rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffd58f;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.7rem;
}

.discuss-project .home-contact-panel h2 {
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1.15;
    margin-bottom: 0.55rem;
}

.home-contact-header p {
    color: rgba(226, 236, 255, 0.9);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.home-contact-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.home-contact-points span {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e8f0ff;
    font-size: 0.72rem;
    font-weight: 600;
}

.home-project-form {
    position: relative;
    z-index: 1;
}

.discuss-project .home-project-form .form-group label {
    color: #d2def4;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
}

.discuss-project .home-project-form .form-group input,
.discuss-project .home-project-form .form-group textarea,
.discuss-project .home-project-form .form-group select {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.discuss-project .home-project-form .form-group input::placeholder,
.discuss-project .home-project-form .form-group textarea::placeholder {
    color: rgba(220, 231, 252, 0.62);
}

.discuss-project .home-project-form .form-group input:focus,
.discuss-project .home-project-form .form-group textarea:focus,
.discuss-project .home-project-form .form-group select:focus {
    border-color: #ffba43;
    box-shadow: 0 0 0 3px rgba(255, 186, 67, 0.2);
    transform: translateY(-1px);
}

.discuss-project .home-project-form .form-group select option {
    color: #102444;
}

.discuss-project .home-project-form .btn-submit {
    width: 100%;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    padding: 0.9rem 1.2rem;
    background: linear-gradient(120deg, #ff9800, #ffc046);
    color: #0f2749;
    box-shadow: 0 14px 28px rgba(255, 152, 0, 0.28);
}

.discuss-project .home-project-form .btn-submit:hover {
    transform: translateY(-3px);
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(145deg, #111a2e 0%, #16223a 55%, #101a30 100%);
    color: var(--white);
    padding: 4.5rem 0 2.2rem;
    border-top: 1px solid rgba(255, 171, 64, 0.24);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr;
    gap: 2.4rem;
    margin-bottom: 2.6rem;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.footer-logo-img { height: 36px; }

.footer-brand-name { font-weight: 700; font-size: 1.16rem; letter-spacing: 0.01em; }
.footer-brand-accent { color: var(--accent-orange); }

.footer-tagline {
    font-size: 1rem;
    color: #d5deef;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 320px;
}

.footer-heading {
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.15rem;
    color: #ffffff;
}

.footer-section ul li { margin-bottom: 0.7rem; }

.footer-section ul a {
    font-size: 0.97rem;
    color: #d6e0f0;
    transition: color .2s ease;
}

.footer-section ul a:hover { color: var(--accent-orange); }

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 1rem;
    color: #d6e0f0;
    align-items: flex-start;
}

.footer-contact-item .contact-icon {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.footer-contact-link { color: var(--white); }
.footer-contact-link:hover { color: var(--accent-orange); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copyright {
    font-size: 0.82rem;
    color: #aebad0;
    letter-spacing: 0.02em;
}

.footer-legal { display: flex; gap: 1.25rem; }

.footer-legal a {
    font-size: 0.82rem;
    color: #c0ccdf;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.footer-legal a:hover { color: var(--accent-orange); }

/* ========== SCROLL TO TOP ========== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover { transform: translateY(-4px); }

/* ========== SEOAI360 HOW IT WORKS ========== */
.seo-hiw-hero { padding: 120px 0 2rem; background: #fff; }
.seo-hiw-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.seo-hiw-hero-tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--text-dark); background: #e8f4fc; padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1rem; display: inline-block; }
.seo-hiw-hero-title { font-size: 2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; }
.seo-hiw-hero-accent { color: var(--orange); }
.seo-hiw-hero-text { font-size: 1rem; color: var(--text-light); margin-bottom: 1.5rem; }
.seo-hiw-hero-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.seo-hiw-btn { padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; text-decoration: none; border-radius: 8px; transition: all 0.2s; }
.seo-hiw-btn-primary { background: var(--dark-blue); color: white; border: 2px solid var(--dark-blue); }
.seo-hiw-btn-primary:hover { background: #2d3e50; border-color: #2d3e50; color: white; }
.seo-hiw-btn-secondary { background: white; color: var(--dark-blue); border: 2px solid var(--dark-blue); }
.seo-hiw-btn-secondary:hover { background: #f5f6f8; }
.seo-hiw-hero-card { background: #f8fafc; border-radius: 16px; padding: 1.5rem; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.seo-hiw-hero-graphic-img { width: 100%; height: auto; border-radius: 8px; }

.seo-hiw-steps { padding: 2rem 0; background: #f8f9fa; }
.seo-hiw-steps-title { font-size: 1.75rem; font-weight: 800; text-align: center; margin-bottom: 2rem; color: var(--text-dark); }
.seo-hiw-steps-title::after { content: ''; display: block; width: 48px; height: 4px; background: var(--orange); margin: 0.5rem auto 0; border-radius: 2px; }
.seo-hiw-steps-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; max-width: 1000px; margin: 0 auto; }
.seo-hiw-steps-grid .seo-hiw-step-card:nth-child(1) { grid-column: 1 / 3; }
.seo-hiw-steps-grid .seo-hiw-step-card:nth-child(2) { grid-column: 3 / 5; }
.seo-hiw-steps-grid .seo-hiw-step-card:nth-child(3) { grid-column: 5 / 7; }
.seo-hiw-steps-grid .seo-hiw-step-card:nth-child(4) { grid-column: 2 / 4; }
.seo-hiw-steps-grid .seo-hiw-step-card:nth-child(5) { grid-column: 4 / 6; }
.seo-hiw-step-card { background: #f8f9fa; border-radius: 12px; padding: 1.5rem; border: 1px solid transparent; transition: all 0.3s; position: relative; }
.seo-hiw-step-card:hover { border-color: var(--orange); background: white; }
.seo-hiw-step-label { position: absolute; top: 1rem; right: 1rem; font-size: 0.75rem; font-weight: 600; color: #1a2b48; transition: color 0.3s; }
.seo-hiw-step-card:hover .seo-hiw-step-label { color: var(--orange); }
.seo-hiw-step-icon { width: 48px; height: 48px; background: #f0f3f7; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #1a2b48; margin-bottom: 1rem; transition: all 0.3s; }
.seo-hiw-step-card:hover .seo-hiw-step-icon { background: #1a2b48; color: white; }
.seo-hiw-step-icon svg { width: 24px; height: 24px; }
.seo-hiw-step-name { font-size: 1rem; font-weight: 700; color: #1a2b48; text-transform: uppercase; margin-bottom: 0.35rem; }
.seo-hiw-step-desc { font-size: 0.875rem; color: #6c757d; line-height: 1.5; }

.seo-hiw-need { padding: 0; background: #fff; }
.seo-hiw-need-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; }
.seo-hiw-need-grid { display: contents; }
.seo-hiw-need-content { padding: 2.5rem 2rem; background: #fff; }
.seo-hiw-need-title { font-size: 1.75rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; }
.seo-hiw-need-accent { color: var(--orange); }
.seo-hiw-need-intro { font-size: 1rem; color: var(--text-dark); margin-bottom: 1.5rem; }
.seo-hiw-need-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.seo-hiw-need-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }
.seo-hiw-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--orange); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.7rem; color: var(--orange); }
.seo-hiw-need-protip { border-left: 4px solid var(--orange); background: #f8f8f8; padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; }
.seo-hiw-need-protip-title { font-size: 0.9rem; font-weight: 700; color: var(--orange); margin-bottom: 0.35rem; }
.seo-hiw-need-protip p { margin: 0; font-size: 0.9rem; color: var(--text-dark); }
.seo-hiw-need-visual { background: #d4e9e7; padding: 2rem; display: flex; align-items: center; justify-content: center; }
.seo-hiw-need-card { background: white; border: 1px solid #e0e0e0; border-radius: 12px; padding: 1rem; max-width: 340px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: rotate(-2deg); transition: transform 0.3s; }
.seo-hiw-need-card:hover { transform: rotate(-1deg) translateY(-8px); }
.seo-hiw-need-doc-img { width: 100%; height: auto; display: block; border-radius: 8px; }

.platform-cta { background: linear-gradient(135deg, var(--hero-blue) 0%, var(--dark-blue) 100%); padding: 2rem 0; }
.platform-contact-section .container { color: white; text-align: center; }

/* ========== PLATFORM CORE FOUNDATION ========== */
.platform-core-section {
    padding: 4rem 0;
    background: var(--white);
}

.platform-core-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.platform-core-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.platform-core-content h2 .accent {
    color: var(--accent-orange);
}

.platform-core-content > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.platform-core-features {
    list-style: none;
    margin-bottom: 2rem;
}

.platform-core-features li {
    padding: 0.5rem 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.platform-core-features li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: 800;
}

.btn-arch-docs {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--hero-blue);
    color: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-arch-docs:hover {
    background: var(--dark-bg);
    transform: translateY(-2px);
}

.platform-core-visual {
    position: relative;
    background: linear-gradient(135deg, #5c3d8a 0%, #3d2a5c 100%);
    border-radius: 16px;
    padding: 2rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.core-arch-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

.core-arch-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
}

.core-arch-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.core-arch-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.platform-features-highlight {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafb 0%, #fff 100%);
}

/* ========== PAGE CONTACT FORM FOOTER ========== */
.page-contact-form-footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.page-contact-form-footer h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-contact-form-footer ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.page-contact-form-footer li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.page-contact-form-footer li::before {
    content: '->';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: 700;
}

.platform-quick-contact {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.platform-quick-contact a {
    color: var(--hero-blue);
}

.platform-quick-contact a:hover {
    color: var(--accent-orange);
}

@media (max-width: 900px) {
    .platform-core-inner {
        grid-template-columns: 1fr;
    }
    .platform-core-visual {
        min-height: 240px;
    }
}

/* ========== PAGE CONTACT FORM (reusable on all sub-pages) ========== */
.page-contact-form-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
}

.page-contact-form-inner {
    max-width: 620px;
    margin: 0 auto;
}

.page-contact-form-inner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-contact-form-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.page-contact-form-inner .project-form {
    margin-top: 0;
}
.platform-contact-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; }
.platform-contact-subtitle { margin-bottom: 1.5rem; opacity: 0.9; }
.platform-contact-wrapper { max-width: 560px; margin: 0 auto; }
.platform-contact-form { background: white; padding: 2rem; border-radius: 12px; }
.platform-contact-form .form-group { margin-bottom: 1rem; }
.platform-contact-form label { display: block; margin-bottom: 0.35rem; color: var(--text-dark); }
.platform-contact-form input, .platform-contact-form textarea { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 8px; }
.platform-contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit { padding: 0.85rem 1.5rem; background: var(--orange); color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; }
/* ========== PAGE HERO (subpages) ========== */
.page-hero { padding: 120px 0 3rem; background: linear-gradient(180deg, #f8fafb 0%, #fff 100%); }
.page-hero .container { max-width: 900px; }
.page-hero-tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--accent-orange); letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.page-hero h1 { font-size: 2.25rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; line-height: 1.2; }
.page-hero h1 span.accent { color: var(--accent-orange); }
.page-hero-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.5rem; max-width: 640px; }
.page-hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ========== FULL-WIDTH DASHBOARD (fills right-side space) ========== */
.dashboard-fullwidth {
    width: 100%;
    padding: 0;
    background: #0f1419;
    overflow: hidden;
}

.dashboard-fullwidth-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.dashboard-fullwidth .dashboard-img {
    width: 100%;
    height: auto;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

/* ========== PAGE FEATURES GRID ========== */
.page-features { padding: 3rem 0; background: #fff; }
.page-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.page-feature-card { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 1.5rem; transition: all 0.3s; }
.page-feature-card:hover { border-color: var(--accent-orange); box-shadow: 0 8px 24px rgba(245,158,11,0.12); }
.page-feature-icon { width: 48px; height: 48px; background: rgba(245,158,11,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent-orange); margin-bottom: 1rem; }
.page-feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.page-feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
@media (max-width: 900px) { .page-features-grid { grid-template-columns: 1fr; } }

/* ========== CUSTOMERS PAGE (valuable-customers) ========== */
.customers-hero {
    padding: 140px 0 4rem;
    background: linear-gradient(180deg, var(--hero-bg) 0%, var(--dark-bg) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.customers-hero-globe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.06) 0%, transparent 50%);
    border-radius: 50%;
    pointer-events: none;
}

.customers-hero .container {
    position: relative;
    z-index: 1;
}

.customers-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.customers-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.customers-section {
    padding: 4rem 0;
    background: var(--white);
}

.customers-section-alt {
    background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
}

.customers-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.customers-section-header h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.customers-section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.customer-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.customer-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e8ecf1;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: customerCardFadeIn 0.5s ease-out both;
}

.customer-card:nth-child(1) { animation-delay: 0.05s; }
.customer-card:nth-child(2) { animation-delay: 0.1s; }
.customer-card:nth-child(3) { animation-delay: 0.15s; }
.customer-card:nth-child(4) { animation-delay: 0.2s; }
.customer-card:nth-child(5) { animation-delay: 0.25s; }
.customer-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes customerCardFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.customer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--hero-blue));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.customer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 91, 130, 0.12);
    border-color: rgba(255, 152, 0, 0.3);
}

.customer-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.customer-card-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    margin-bottom: 1.25rem;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.customer-card:hover .customer-card-logo {
    transform: scale(1.05);
    background: rgba(255, 152, 0, 0.08);
}

.customer-logo-img {
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
}

.customer-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem !important;
}

.customer-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.customer-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.customer-card-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.3s ease, color 0.3s ease;
}

.customer-card-link::after {
    content: '->';
    transition: transform 0.3s ease;
}

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

.view-all-customers-wrap {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-view-all-customers {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-view-all-customers:hover {
    background: var(--accent-orange);
    color: var(--white);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

/* Customers Contact Section (form only, no testimonials) */
.customers-contact-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
}

.customers-contact-inner {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.customers-contact-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.customers-contact-intro h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.customers-contact-intro p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Legacy - kept for any references */
.customers-discuss-section {
    padding: 4rem 0;
    background: var(--white);
}

.customers-discuss-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.customers-testimonials-panel {
    background: linear-gradient(135deg, var(--hero-blue) 0%, var(--dark-bg) 100%);
    padding: 3rem;
    color: var(--white);
}

.customers-testimonials-panel h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.customers-testimonials-panel .stars {
    color: var(--accent-orange);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.customers-testimonials-panel .testimonial-quote {
    font-size: 1rem;
    line-height: 1.75;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.testimonial-attribution {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.attribution-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}

.attribution-info {
    display: flex;
    flex-direction: column;
}

.attribution-info strong {
    font-size: 1rem;
}

.attribution-info span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.customers-social-links {
    display: flex;
    gap: 1rem;
}

.customers-social-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s, transform 0.3s;
}

.customers-social-links a:hover {
    color: var(--accent-orange);
    transform: translateY(-2px);
}

.customers-contact-section .customers-form-panel {
    background: transparent;
    padding: 0;
    border: none;
}

.customers-form-panel {
    background: var(--white);
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-left: none;
}

.customers-form-panel h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.customers-form-panel h2 .accent {
    color: var(--accent-orange);
}

.customers-project-form .form-group input,
.customers-project-form .form-group textarea {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
}

.btn-submit-customers {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    background: var(--hero-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-submit-customers:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

@media (max-width: 900px) {
    .customer-cards-grid { grid-template-columns: 1fr; }
    .customers-discuss-wrapper { grid-template-columns: 1fr; }
    .customers-form-panel { border-left: 1px solid var(--border-color); border-top: none; }
}
@media (max-width: 900px) {
    .seo-hiw-hero-inner { grid-template-columns: 1fr; }
    .seo-hiw-need-wrap { grid-template-columns: 1fr; }
    .seo-hiw-need-visual { order: -1; }
    .seo-hiw-steps-grid { grid-template-columns: 1fr; }
    .seo-hiw-steps-grid .seo-hiw-step-card:nth-child(n) { grid-column: 1; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-content { max-width: 100%; }
    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-visual-card { max-width: 400px; margin: 0 auto; }
    .hero-cards { grid-template-columns: 1fr; }
    .offerings-content-grid { grid-template-columns: repeat(2, 1fr); }
    .success-content { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .discuss-wrapper { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero-partners-track { gap: 2.5rem; animation-duration: 20s; }
    .hero-partner-logo { height: 34px; }
}

@media (max-width: 768px) {
    .hero-partners-section { margin-top: 3rem; padding-top: 2rem; }
    .hero-partners-title { font-size: 1.2rem; }
    .hero-partners-desc { font-size: 0.9rem; }
    .nav-menu {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        transition: max-height 0.3s, opacity 0.3s;
    }
    .nav-menu.active {
        max-height: 80vh;
        opacity: 1;
    }
    .menu-toggle { display: flex; }
    .btn-demo { margin-left: auto; }
    .hero { padding: 8rem 0 3rem; }
    .stories-grid { gap: 1rem; }
    .story-card { width: min(320px, 88vw); }
    .story-card-title-wrapper h3 { font-size: 1.45rem; }
    .story-location { letter-spacing: 0.2em; }
    .story-description { font-size: 0.9rem; }
    .partners-tabs { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
    .partner-tab { letter-spacing: 0.14em; padding: 0.85rem 1rem; font-size: 0.68rem; }
    .partner-card { min-height: 108px; padding: 2rem 1.2rem; }
    .partner-name { font-size: clamp(1.1rem, 5.4vw, 1.4rem); }
    .offerings-content-grid { grid-template-columns: 1fr; }
    .project-form .form-row { grid-template-columns: 1fr; }
    .testimonials-carousel { padding: 1rem; }
    .testimonial-head h3 { font-size: 1.28rem; }
    .testimonial-head p { max-width: 100%; font-size: 0.88rem; }
    .testimonials-slider { min-height: 420px; }
    .testimonial-card { padding: 1.1rem; }
    .testimonial-top { gap: 0.4rem; align-items: flex-start; flex-direction: column; }
    .discuss-project .home-contact-panel { padding: 1.2rem; }
    .discuss-project .home-contact-panel h2 { font-size: 1.35rem; }
    .home-contact-points { gap: 0.4rem; }
    .home-contact-points span { font-size: 0.68rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-tagline { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}

