/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal-black: #0f0f0f;
    --darker-charcoal: #0f0f0f;
    --light-charcoal: #2a2a2a;
    --accent-color: #ed4528;
    --accent-orange: #ed4528;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #333333;
    --card-header-height: 120px;
}

html, body {
/*    overflow-x: hidden;*/
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--charcoal-black);
    color: var(--text-primary);
    line-height: 1.6;
}

.marquee-section,
.services-swiper-wrapper,
.hero-section {
    overflow-x: hidden; /* ✅ scoped — won't break sticky in other sections */
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================================
   REUSABLE ANIMATED CAPTION LINE
================================ */
.section-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    justify-content: center; /* for centered sections */
}

.section-caption.left-aligned {
    justify-content: flex-start;
}

.caption-anim-line {
    position: relative;
    width: 60px;
    height: 4px;
    background: #FF6B35;
    border-radius: 2px;
    flex-shrink: 0;
}

.caption-anim-line::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    animation: caption-dot-run 2s infinite ease-in-out;
}

@keyframes caption-dot-run {
    0%   { left: 0; }
    50%  { left: calc(100% - 8px); }
    100% { left: 0; }
}

.caption-anim-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.07);
    padding: 4px 12px;
    border-radius: 4px;
}


/* Header/Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

/*.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}*/

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

.logo a {
    display: block;
    line-height: 0;
}

.logo-img {
    height: 50px;  /* Adjust this size as needed */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: #FF8C5A;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--charcoal-black);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* Particles canvas fills hero */
#particles-js {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Typed Services */
.header-caption {
    display: block;
    margin: 12px 0 20px;
}

.cd-words-wrapper {
    display: inline-block;
    position: relative;
}

.cd-words-wrapper b {
    display: inline-block;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(135deg, #ed4528, #ed4528);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cd-words-wrapper b.is-hidden {
    display: none;
}

.cd-words-wrapper b.is-visible {
    display: inline-block;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,107,53,0.8), transparent);
    animation: scrollPulse 1.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* Statistics Section with Cards */
.statistics-section {
    background: var(--darker-charcoal);
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: var(--charcoal-black);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.1);
    cursor: pointer;
}

.stat-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-badge.hot {
    background: var(--accent-orange);
    color: white;
}

.stat-badge.featured {
    background: var(--accent-color);
    color: var(--charcoal-black);
}

.stat-big-number {
    font-size: clamp(56px, 2vw, 96px);
    font-weight: 900;
    margin: 20px;
    line-height: 1;
    background: var(--accent-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.stat-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* Sections */
section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-header.centered {
    text-align: center;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

/* Value Section */
.value-section {
    background: var(--light-charcoal);
}

.value-content {
    max-width: 1000px;
    margin: 0 auto;
}

.large-text {
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    background: var(--darker-charcoal);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* ========================================
   PARTICLES2 BACKGROUND (floating shapes)
   ======================================== */
.particles2 {
    position: absolute !important;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.particles2 .shape-one {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: absolute;
    top: 18%;
    left: 14%;
    background: rgba(237, 69, 40, 0.35);
    animation: animationFramesTwo 13s infinite linear;
}

.particles2 .shape-two {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    top: 16%;
    left: 41%;
    border: 5px solid rgba(237, 69, 40, 0.2);
    opacity: 0.5;
    animation: animationFramesOne 15s infinite linear;
}

.particles2 .shape-three {
    width: 28px;
    height: 28px;
    position: absolute;
    bottom: 15%;
    left: 35%;
    border: 5px solid rgba(237, 69, 40, 0.35);
    animation: animationFramesFour 15s infinite linear alternate;
}

.particles2 .shape-four {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    bottom: 12%;
    right: 30%;
    background: rgba(237, 69, 40, 0.25);
    animation: animationFramesFive 15s infinite linear alternate;
}

.particles2 .shape-five {
    width: 3px;
    height: 22px;
    position: absolute;
    top: 15%;
    right: 20%;
    background: rgba(237, 69, 40, 0.35);
    animation: animationFramesFour 15s infinite linear alternate;
}

.particles2 .shape-five::after,
.particles2 .shape-five::before {
    content: "";
    display: block;
    width: 100%;
    height: calc(50% - 2px);
    top: 6px;
    background: inherit;
    position: absolute;
    transform: rotate(90deg);
}

.particles2 .shape-five::after  { left: -6px; }
.particles2 .shape-five::before { right: -6px; }

/* Extra shapes for more visual richness */
.particles2 .shape-six {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 60%;
    left: 8%;
    background: rgba(237, 69, 40, 0.3);
    animation: animationFramesOne 18s infinite linear;
}

.particles2 .shape-seven {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 40%;
    right: 10%;
    border: 4px solid rgba(237, 69, 40, 0.2);
    border-radius: 50%;
    animation: animationFramesTwo 20s infinite linear alternate;
}

.particles2 .shape-eight {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    bottom: 30%;
    left: 60%;
    background: rgba(255, 255, 255, 0.15);
    animation: animationFramesFive 12s infinite linear;
}

/* ========================================
   PARTICLES2 — svc-detail-section
   Icon-only floating particles (no shapes)
   ======================================== */
.svc-detail-section .particles2 [class^="shape-"] {
    /* Reset ALL geometric shape styles */
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 18px;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove the cross/plus pseudo elements from shape-five in svc context */
.svc-detail-section .particles2 .shape-five::after,
.svc-detail-section .particles2 .shape-five::before {
    display: none !important;
}

/* Keep animations — just re-declare positions since width/height changed */
.svc-detail-section .particles2 .shape-one  { top: 18%; left: 14%; }
.svc-detail-section .particles2 .shape-two  { top: 16%; left: 41%; }
.svc-detail-section .particles2 .shape-three{ bottom: 15%; left: 35%; }
.svc-detail-section .particles2 .shape-four { bottom: 12%; right: 30%; }
.svc-detail-section .particles2 .shape-five { top: 15%; right: 20%; }
.svc-detail-section .particles2 .shape-six  { top: 60%; left: 8%; font-size: 14px; }
.svc-detail-section .particles2 .shape-seven{ top: 40%; right: 10%; font-size: 22px; }
.svc-detail-section .particles2 .shape-eight{ bottom: 30%; left: 60%; font-size: 12px; }

/* Keyframes */
@keyframes animationFramesOne {
    0%   { transform: translate(0, 0) rotate(0deg); }
    20%  { transform: translate(73px, -1px) rotate(36deg); }
    40%  { transform: translate(141px, 72px) rotate(72deg); }
    60%  { transform: translate(83px, 122px) rotate(108deg); }
    80%  { transform: translate(-40px, 72px) rotate(144deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes animationFramesTwo {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
    20%  { transform: translate(50px, -80px) rotate(45deg) scale(1.1); }
    40%  { transform: translate(100px, 30px) rotate(90deg) scale(0.9); }
    60%  { transform: translate(30px, 100px) rotate(135deg) scale(1.05); }
    80%  { transform: translate(-50px, 30px) rotate(180deg) scale(0.95); }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

@keyframes animationFramesFour {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(-60px, 40px) rotate(90deg); }
    50%  { transform: translate(30px, 80px) rotate(180deg); }
    75%  { transform: translate(60px, -20px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes animationFramesFive {
    0%   { transform: translate(0, 0) rotate(0deg); }
    30%  { transform: translate(40px, -60px) rotate(60deg); }
    60%  { transform: translate(-30px, 50px) rotate(120deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* ========================================
   CONTAINER stays above particles
   ======================================== */
.services-section .container {
    position: relative;
    z-index: 1;
}

/* Swiper wrapper */
.services-swiper-wrapper {
    position: relative;
    padding: 60px 0 80px 0;
    overflow: visible !important;
}

/* Swiper container */
.services-swiper {
    overflow: visible !important;
    padding-bottom: 40px;
}

/* Slides */
.services-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.services-swiper .service-card {
    width: 100%;
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.service-card {
    background: rgba(30, 30, 30, 0.85) !important;
    backdrop-filter: blur(6px) !important;
    padding: 24px 28px !important;
    border-radius: 18px !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    flex-direction: column !important;
}

.service-card:hover {
    transform: translateY(-10px) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 20px 60px rgba(237, 69, 40, 0.25) !important;
}

.service-icon {
    width: 72px !important;
    height: 72px !important;
    background: linear-gradient(135deg, var(--accent-color), #ed4528) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 24px !important;
    box-shadow: 0 10px 35px rgba(255, 107, 53, 0.4) !important;
    transition: all 0.4s !important;
    flex-shrink: 0 !important;
}

.service-icon i {
    font-size: 32px !important;
    color: var(--charcoal-black) !important;
}

.service-card h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 10px !important;
}

.service-card p {
    color: var(--text-secondary) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    flex: 1 !important;
    margin-bottom: 20px !important;
}

.service-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--accent-color) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-top: auto !important;
    transition: gap 0.3s !important;
}

.service-link:hover { gap: 14px !important; }

/* ========================================
   REVEAL ANIMATION — NO DELAY on load
   ======================================== */
.reveal-service {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-service.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ========================================
   ARROWS
   ======================================== */
.services-swiper-button-prev,
.services-swiper-button-next {
    display: flex !important;
    width: 54px !important;
    height: 54px !important;
    background: rgba(255, 107, 53, 0.95) !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: -70px !important;
    z-index: 9999 !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s !important;
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6) !important;
}

.services-swiper-button-prev { right: 95px !important; left: auto !important; }
.services-swiper-button-next { right: 25px !important; left: auto !important; }

.services-swiper-button-prev:hover,
.services-swiper-button-next:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 18px 45px rgba(255, 107, 53, 0.7) !important;
    border: 3px solid #ffffff !important;
}

.services-swiper-button-prev::after { content: '◀' !important; font-size: 22px !important; font-weight: 900 !important; color: #ffffff !important; }
.services-swiper-button-next::after { content: '▶' !important; font-size: 22px !important; font-weight: 900 !important; color: #ffffff !important; }

.services-swiper-button-prev.swiper-button-disabled,
.services-swiper-button-next.swiper-button-disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

/* ========================================
   PAGINATION
   ======================================== */
.swiper-pagination {
    position: static !important;
    margin-top: 35px !important;
    text-align: center !important;
    padding-top: 20px !important;
}

.swiper-pagination-bullet {
    width: 14px !important;
    height: 14px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
    margin: 0 8px !important;
    border-radius: 50% !important;
    border: 2px solid transparent !important;
    transition: all 0.3s !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
    border-color: #ffffff !important;
    transform: scale(1.6) !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .services-section { padding: 60px 0; }
    .services-swiper-wrapper { padding: 50px 0 70px 0 !important; }

    .services-swiper-button-prev,
    .services-swiper-button-next {
        top: -55px !important;
        width: 46px !important;
        height: 46px !important;
    }
    .services-swiper-button-prev { right: 68px !important; }
    .services-swiper-button-next { right: 12px !important; }
    .services-swiper-button-prev::after,
    .services-swiper-button-next::after { font-size: 18px !important; }

    .services-swiper .swiper-slide { padding: 0 4px; }
    .service-card { padding: 20px !important; }
    .service-icon { width: 60px !important; height: 60px !important; margin-bottom: 18px !important; }
    .service-icon i { font-size: 26px !important; }
}

@media (max-width: 480px) {
    .services-swiper-button-prev { right: 62px !important; }
    .services-swiper-button-next { right: 8px !important; }
}

/* ================================
   WHY CHOOSE - STICKY OVERLAP
================================ */
.why-sticky-section {
    background: #0a0a0f;
    padding: 100px 0 160px;
}

.why-sticky-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    /* MUST NOT have overflow:hidden here */
}

/* LEFT sticky — works only when html/body has no overflow set */
.why-sticky-left {
    position: sticky;
    top: 100px;
    padding-top: 20px;
    align-self: start;
}

.why-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.why-caption-line {
    width: 40px;
    height: 2px;
    background: #FF6B35;
    flex-shrink: 0;
}

.why-caption span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.07);
    padding: 4px 12px;
    border-radius: 4px;
}

.why-heading {
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 16px;
}

.why-subtext {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

/* RIGHT: stacking sticky cards */
.why-scroll-right {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 80px;
}

.why-card {
    background: #12121f;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    position: sticky;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.why-card:hover {
    border-color: rgba(255,107,53,0.4);
}

.why-card-inner {
    padding: 36px 32px;
    overflow: visible;
}

.why-number {
    font-size: 2rem;
    font-weight: 900;
    color: #FF6B35;
    margin-bottom: 10px;
    font-feature-settings: "tnum";
    line-height: 1;
}

.why-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.why-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.why-card ul li {
    color: rgba(255,255,255,0.7);
    font-size: 0.93rem;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.why-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FF6B35;
}

.why-result {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    font-style: italic;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin: 0;
}

.why-card:nth-child(1) {
    top: 100px;
    z-index: 1;
}
.why-card:nth-child(2) {
    top: calc(100px + var(--card-header-height));
    z-index: 2;
}
.why-card:nth-child(3) {
    top: calc(100px + var(--card-header-height) * 2);
    z-index: 3;
}
.why-card:nth-child(4) {
    top: calc(100px + var(--card-header-height) * 3);
    z-index: 4;
}

/* Mobile */
@media (max-width: 900px) {
    .why-sticky-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .why-sticky-left {
        position: relative;
        top: 0;
    }
    .why-card--sticky {
        position: relative;
        top: auto;
    }
    .why-card {
        margin-bottom: 16px;
    }
}



/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .carousel {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .choose-us-carousel {
        padding: 80px 0;
    }

    .carousel {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .carousel-cell {
        padding: 40px 25px;
    }
}

/* Contact Section */
.contact-section {
    background: var(--darker-charcoal);
    padding-top: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(36px, 4vw, 48px);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: var(--light-charcoal);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    transition: 0.3s;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--charcoal-black);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-services li {
    margin-bottom: 12px;
}

.footer-services a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-services p,
.footer-contact p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}



/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1200px) {
    .services-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.8);
        padding: 40px 20px;
        gap: 20px;
        border-top: 1px solid var(--border-color);
        z-index: 999;
        visibility: visible;
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 10px 20px;
        font-size: 18px;
    }

    .hamburger {
        display: flex;
    }

    .navbar .btn-primary {
        display: none;
    }

    section {
        padding: 80px 0;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .services-grid-4col {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: clamp(40px, 10vw, 70px);
    }
    
    .section-title {
        font-size: clamp(28px, 8vw, 42px);
    }
    
    .stat-big-number {
        font-size: clamp(48px, 12vw, 72px);
    }
    
    .service-card,
    .advantage-card {
        padding: 35px 25px;
    }

    /* Small Mobile Horizontal Scroll - MINIMAL SPACING */
    .horizontal-scroll-section {
        padding: 25px 0 40px 0;
    }
    
    .horizontal-scroll-section .section-header {
        margin-bottom: 15px;
    }
    
    .horizontal-scroll-container {
        min-height: 95vh;
        padding-bottom: 0;
    }
    
    .horizontal-sticky-wrapper {
        top: 70px;
        min-height: 60vh;
    }
    
    .work-card-horizontal {
        min-width: 88vw;
        max-width: 88vw;
    }
    
    .work-card-horizontal .work-content {
        padding: 25px 20px;
    }
    
    .work-content h3 {
        font-size: 20px;
    }
}

/* ========================================
   ABOUT - TRUE PARALLAX WITH BG IMAGE
   ======================================== */
.value-section {
    position: relative;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* TRUE PARALLAX - background-attachment: fixed */
.about-parallax-bg {
    position: absolute;
    inset: 0;
    background-image:url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* ← THIS IS THE PARALLAX */
    background-repeat: no-repeat;
    z-index: 0;
}

/* Orange glow orbs on top of bg */
.about-parallax-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 85% 20%, rgba(255,107,53,0.2) 0%, transparent 55%),
        radial-gradient(ellipse 40% 50% at 10% 85%, rgba(255,107,53,0.12) 0%, transparent 55%);
    z-index: 1;
}

/* Grid texture */
.about-parallax-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,107,53,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,53,0.04) 1px, transparent 1px);
    background-size: 70px 70px;
    background-attachment: fixed;
    z-index: 2;
}

/* Overlay */
.about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.6);
    z-index: 1;
}

/* Content */
.container {
    position: relative;
    z-index: 2;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    padding: 160px 0;
}

/* LEFT */
.about-left-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 6px;
    padding: 8px 20px;
    border: 1px solid rgba(255,107,53,0.4);
    border-radius: 30px;
    width: fit-content;
    background: rgba(255,107,53,0.06);
    opacity: 0;
    transform: translateX(-30px);
}

.about-main-title {
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-primary);
    opacity: 0;
    transform: translateX(-50px);
}

.about-main-title span {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.about-main-title span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: width 1s ease 0.5s;
}

.about-main-title span.active::after { width: 100%; }

.about-accent-bar {
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 2px;
    opacity: 0;
}

/* RIGHT */
.about-right-col {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.about-text-block {
    padding: 30px;
    border-left: 3px solid rgba(255,107,53,0.3);
    background: rgba(0,0,0,0.4);
    border-radius: 0 12px 12px 0;
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateX(50px);
    transition: border-color 0.4s, background 0.4s;
}

.about-text-block:hover {
    border-left-color: var(--accent-color);
    background: rgba(255,107,53,0.07);
}

.about-text-block p {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--text-secondary);
    line-height: 1.9;
}

.about-text-block:first-child p {
    color: var(--text-primary);
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 500;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 15px;
    width: fit-content;
    opacity: 0;
    transform: translateY(20px);
}

.about-cta i { transition: transform 0.3s; }
.about-cta:hover i { transform: translateX(8px); }

/* Content */
.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* Wave */
.wave-banner {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
}

.wave-container svg {
    width: 100%;
    height: 100%;
}

#wavePath {
    fill: #0f0f0f;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 120px 0;
    }
}

@media (max-width: 768px) {
    /* Disable fixed on mobile - causes bugs */
    .about-parallax-bg {
        background-attachment: scroll;
    }
    .about-parallax-bg::after {
        background-attachment: scroll;
    }
    .about-inner { padding: 100px 0; }
    .about-main-title { font-size: clamp(36px, 9vw, 52px); }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonial-section {
    background: var(--darker-charcoal);
    position: relative;
    overflow: hidden;
}

/* Background glow */
.testi-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.testi-bg::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255,107,53,0.08) 0%, transparent 65%);
    filter: blur(40px);
}

.testi-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,107,53,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,53,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Container z-index */
.testimonial-section .container {
    position: relative;
    z-index: 1;
}

/* ---- HEADER ---- */
.testi-header {
    text-align: center;
    margin-bottom: 70px;
}

.testi-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    padding: 7px 18px;
    border: 1px solid rgba(255,107,53,0.35);
    border-radius: 30px;
    background: rgba(255,107,53,0.06);
    margin-bottom: 18px;
}

/* ---- GRID ---- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

/* ---- CARD ---- */
.testi-card {
    background: var(--light-charcoal);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 45px 35px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(50px);
}

/* Shine sweep on hover */
.testi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,107,53,0.06),
        transparent
    );
    transition: left 0.7s ease;
}

.testi-card:hover::before {
    left: 150%;
}

.testi-card:hover {
    border-color: rgba(255,107,53,0.5);
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(255,107,53,0.15);
}

/* Accent card (middle) */
.testi-card--accent {
    background: linear-gradient(145deg, rgba(255,107,53,0.12), rgba(42,42,42,0.9));
    border-color: rgba(255,107,53,0.4);
    box-shadow: 0 20px 60px rgba(255,107,53,0.12);
}

.testi-card--accent:hover {
    box-shadow: 0 35px 80px rgba(255,107,53,0.3);
}

/* Big quote mark */
.testi-quote {
    font-size: 80px;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 0.6;
    font-family: Georgia, serif;
    opacity: 0.7;
}

/* Stars */
.testi-stars {
    color: var(--accent-color);
    font-size: 18px;
    letter-spacing: 3px;
}

/* Text */
.testi-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    flex: 1;
}

/* Author row */
.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

/* Avatar */
.testi-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-color);
    flex-shrink: 0;
}

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

.testi-avatar--placeholder {
    background: rgba(255,107,53,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-avatar--placeholder i {
    color: var(--accent-color);
    font-size: 22px;
}

/* Author info */
.testi-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.testi-info strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.testi-info span {
    font-size: 13px;
    color: var(--accent-color);
    opacity: 0.8;
}

/* ---- CTA BLOCK ---- */
.testi-cta-block {
    text-align: center;
    padding: 60px 40px;
    background: var(--light-charcoal);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

/* Glow behind CTA */
.testi-cta-block::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(255,107,53,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.testi-cta-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.testi-cta-bold {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 35px;
    line-height: 1.4;
}

.testi-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 45px;
    font-size: 15px;
}

.testi-btn i {
    transition: transform 0.3s;
}

.testi-btn:hover i {
    transform: translateX(6px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testi-grid .testi-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 80px 0;
    }

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

    .testi-grid .testi-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .testi-cta-block {
        padding: 40px 25px;
    }
}


/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal-black);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%,
        rgba(10,10,10,0.2) 0%,
        rgba(10,10,10,0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ========================================
   BANNER
   ======================================== */
.banner {
    position: relative;
    z-index: 2;
    padding-top: clamp(80px, 12vh, 140px);
}

.banner-row {
    overflow: hidden;
    display: flex;
    align-items: center;
}

.banner-row:first-child {
    padding: 0 clamp(20px, 5vw, 80px);
    gap: 40px;
}

.row-col {
    display: flex;
    align-items: center;
}

.row-col.col-title  { flex: 0 0 auto; }
.row-col.col-message { flex: 1; justify-content: flex-end; }

/* Big animated title */
.row-title-text {
    font-size: clamp(72px, 11vw, 160px);
    font-weight: 900;
    letter-spacing: clamp(-4px, -0.6vw, -2px);
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    color: var(--text-primary);
}

/* Individual letters */
.row-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(120px);
    will-change: transform;
}

.row-letter.animate-in {
    animation: letterRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

/* Right message */
.row-message-wrap {
    opacity: 0;
    transform: translateX(40px);
    animation: fadeSlideLeft 1s cubic-bezier(0.22, 1, 0.36, 1) 1.4s forwards;
    max-width: 340px;
    text-align: right;
}

.row-message-wrap p {
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

@keyframes fadeSlideLeft {
    to { opacity: 1; transform: translateX(0); }
}

/* ========================================
   MARQUEE ROW
   ======================================== */
.banner-row.marquee-row {
    margin-top: clamp(12px, 2vw, 28px);
    overflow: hidden;

    /* Hidden on load — JS adds .marquee-visible after word-by-word reveal */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.banner-row.marquee-row.marquee-visible {
    opacity: 1;
    transform: translateY(0);
}

/* marquee inner — scrolling paused until JS adds .scrolling */
.marquee__inner {
    width: fit-content;
    display: flex;
    align-items: center;
    will-change: transform;

    /* paused by default */
    animation: marqueeScroll 30s linear infinite;
    animation-play-state: paused;
}

.marquee__inner.scrolling {
    animation-play-state: running;
}

@keyframes marqueeScroll {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Each marquee word — hidden initially, revealed word-by-word by JS */
.marquee-title {
    font-size: clamp(56px, 8.5vw, 125px);
    font-weight: 900;
    letter-spacing: clamp(-3px, -0.5vw, -1px);
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    padding: 0 clamp(20px, 4vw, 60px);
    color: rgba(255, 255, 255);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);

    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.marquee-title.word-visible {
    opacity: 1;
    transform: translateY(0);
}

.marquee-sep {
    font-size: clamp(30px, 4vw, 60px);
    line-height: 1;
    display: inline-block;
    color: var(--accent-color);
    opacity: 0;
    padding: 0 clamp(8px, 1.5vw, 20px);
    transition: opacity 0.3s ease;
}

.marquee-sep.word-visible {
    opacity: 0.55;
}

/* ========================================
   HERO BOTTOM
   ======================================== */
.hero-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: clamp(28px, 4vw, 52px) clamp(20px, 5vw, 80px) clamp(40px, 6vh, 80px);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 1s ease 1.8s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: #c93a20;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(237, 69, 40, 0.35);
}

.btn-large { padding: 16px 40px; font-size: 16px; }

.hero-btn-primary { display: inline-flex; align-items: center; gap: 10px; }
.hero-btn-primary i { transition: transform 0.3s; }
.hero-btn-primary:hover i { transform: translateX(6px); }

.btn-ghost-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-ghost-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-ghost-hero:hover {
    border-color: rgba(255, 107, 53, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.btn-ghost-hero:hover::before { opacity: 1; }

.ghost-arrow { transition: transform 0.3s; }
.btn-ghost-hero:hover .ghost-arrow { transform: translateX(5px); }

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    animation: fadeUp 1s ease 2.4s forwards;
}

.scroll-indicator span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50%       { transform: scaleY(1.3); opacity: 1; }
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .banner-row:first-child { flex-direction: column; align-items: flex-start; gap: 16px; }
    .row-col.col-message { justify-content: flex-start; }
    .row-message-wrap { text-align: left; max-width: 100%; }
}

@media (max-width: 600px) {
    .row-message-wrap { display: none; }
    .hero-buttons { flex-direction: column; }
    .btn-ghost-hero, .btn-large { width: 100%; max-width: 280px; justify-content: center; }
}

/* ============================================
   PAGE BANNER
============================================ */
.page-banner {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

/* Gradient lives HERE — inside the section, not fixed to page */
.page-banner-bg {
    position: absolute;
    inset: 0;
    background-color: #ed4528;
    z-index: 0;
}

/* Radial accent glow */
.page-banner-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 10% 50%, rgba(237,69,40,0.4) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(237,69,40,0.15) 0%, transparent 55%);
}

/* Subtle grid lines */
.page-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Content on top */
.page-banner .container {
    position: relative;
    z-index: 3;
}

.page-banner-content {
    text-align: center;
    width: 100%;
}

.page-banner h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.page-banner p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.breadcrumb {
    margin-top: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: #ed4528; }
.breadcrumb span { margin: 0 8px; }

/* Next section overlaps banner bottom slightly */
.page-banner + section {
    position: relative;
    z-index: 2;
    margin-top: -40px;
    padding-top: 80px;
    background: transparent;
    /*background: #0f0f0f;*/
}

@media (max-width: 768px) {
    .page-banner { height: 320px; }
    .page-banner h1 { font-size: 2rem; }
}

@media (max-width: 576px) {
    .page-banner { height: 260px; }
}


/* ============================================
   NAV DROPDOWN — JS controlled
============================================ */
.nav-dropdown { position: relative; }

.nav-dropdown .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 10px); /* reduced gap */
    left: 0;
    background: #0f0f0f;
    border: 1px solid #333333;
    border-top: 2px solid #ed4528; /* accent top border */
    border-radius: 0 0 12px 12px;
    min-width: 240px;
    padding: 10px 0;
    z-index: 999;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

/* Invisible bridge fills the 2px gap — prevents mouseout firing */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px; /* covers the gap */
    background: transparent;
}

.nav-dropdown .dropdown-menu.dropdown-open {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

.nav-dropdown .dropdown-menu li { list-style: none; }

.nav-dropdown .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.15s;
    border-left: 2px solid transparent;
    white-space: nowrap;
}

.nav-dropdown .dropdown-menu li a:hover {
    color: #ffffff;
    background: rgba(237,69,40,0.1);
    border-left-color: #ed4528;
}

.nav-dropdown .dropdown-menu li a i {
    color: #ed4528;
    width: 16px;
    font-size: 0.85rem;
}

/* Arrow rotation when open */
.nav-dropdown:has(.dropdown-open) .nav-arrow {
    transform: rotate(180deg);
}
.nav-arrow {
    font-size: 0.65rem;
    margin-left: 4px;
    transition: transform 0.2s;
    display: inline-block;
}

/* Mobile dropdown inside nav */
@media (max-width: 768px) {
    .nav-dropdown .dropdown-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        pointer-events: none;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid #ed4528;
        border-radius: 0;
        background: rgba(237,69,40,0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    .nav-dropdown .dropdown-menu.dropdown-open {
        pointer-events: all;
        max-height: 400px;
        padding: 8px 0;
    }

    .nav-dropdown .dropdown-menu li a {
        padding: 10px 30px;
        font-size: 15px;
    }
}

/* ============================================
   SERVICE DETAIL PAGES
============================================ */
.service-detail-section { padding: 80px 0; }
.service-intro { margin-bottom: 50px; }
.service-intro-text { font-size: 1.15rem; line-height: 1.9; color: rgba(255,255,255,0.75); max-width: 860px; }

.service-region-block {
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(255,255,255,0.02);
    border: 1px solid #333333;
    border-radius: 16px;
    border-left: 4px solid #ed4528;
}
.region-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.region-header h2 { font-size: 1.6rem; color: #ffffff; }

.service-sub-block { margin-bottom: 40px; }
.service-sub-block h3 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333333;
}
.service-sub-block h3 i { color: #ed4528; }
.service-sub-block p { color: rgba(255,255,255,0.7); line-height: 1.8; }

.service-list { list-style: none; padding: 0; margin: 16px 0; }
.service-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.service-list li::before { content: "→"; position: absolute; left: 0; color: #ed4528; }
.service-list.ordered { list-style: decimal; padding-left: 20px; }
.service-list.ordered li::before { display: none; }

.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
.two-col-list h4 { color: #ffffff; margin-bottom: 10px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
.two-col-services { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* ============================================
   ABOUT PAGE
============================================ */
.about-page-section { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 50px; }
.feature-card {
    padding: 32px;
    background: rgba(255,255,255,0.02);
    border: 1px solid #333333;
    border-radius: 16px;
    transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: #ed4528; background: rgba(237,69,40,0.05); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(237,69,40,0.12);
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-icon i { color: #ed4528; font-size: 1.4rem; }
.feature-card h3 { color: #ffffff; margin-bottom: 10px; }
.feature-card p { color: rgba(255,255,255,0.65); line-height: 1.7; }

.philosophy-section, .who-we-serve-section, .approach-section { padding: 80px 0; }

.serve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 40px; }
.serve-item { text-align: center; padding: 30px 20px; background: rgba(255,255,255,0.03); border: 1px solid #333333; border-radius: 14px; transition: all 0.3s; }
.serve-item:hover { border-color: #ed4528; }
.serve-item i { font-size: 2rem; color: #ed4528; margin-bottom: 16px; display: block; }
.serve-item p { color: rgba(255,255,255,0.75); }

.approach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 40px; }
.approach-item {
    display: flex; align-items: center; gap: 14px; padding: 18px 24px;
    background: rgba(255,255,255,0.02); border: 1px solid #333333; border-radius: 10px; transition: all 0.3s;
}
.approach-item:hover { border-color: #ed4528; }
.approach-check { width: 32px; height: 32px; border-radius: 50%; background: rgba(237,69,40,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.approach-check i { color: #ed4528; }
.approach-item p { color: rgba(255,255,255,0.75); margin: 0; }
.text-center { text-align: center; }

/* ============================================
   SERVICES OVERVIEW PAGE
============================================ */
.services-page-section { padding: 80px 0; }
.services-full-grid { display: flex; flex-direction: column; gap: 24px; margin-top: 50px; }
.service-full-card {
    display: flex; align-items: flex-start; gap: 30px; padding: 40px;
    background: rgba(255,255,255,0.02); border: 1px solid #333333; border-radius: 16px; transition: all 0.3s;
}
.service-full-card:hover { border-color: #ed4528; transform: translateX(6px); background: rgba(237,69,40,0.04); }
.sfc-icon { width: 70px; height: 70px; border-radius: 18px; background: rgba(237,69,40,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sfc-icon i { font-size: 1.8rem; color: #ed4528; }
.sfc-content h3 { color: #ffffff; font-size: 1.3rem; margin-bottom: 10px; }
.sfc-content p { color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 20px; }

/* ============================================
   ACCOUNTING PAGE
============================================ */
.service-highlight-box { padding: 40px; background: rgba(237,69,40,0.05); border: 1px solid rgba(237,69,40,0.3); border-radius: 16px; margin-top: 40px; }
.service-highlight-box h3 { color: #ffffff; margin-bottom: 24px; }
.highlight-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.highlight-item { display: flex; align-items: flex-start; gap: 12px; }
.highlight-item i { color: #ed4528; font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.highlight-item p { color: rgba(255,255,255,0.75); margin: 0; }

/* ============================================
   CTA STRIP
============================================ */
.cta-strip {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(237,69,40,0.1) 0%, rgba(237,69,40,0.04) 100%);
    border-top: 1px solid rgba(237,69,40,0.25);
    text-align: center;
}
.cta-strip h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: #ffffff; margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,0.65); margin-bottom: 28px; }

/* ============================================
   CONTACT PAGE
============================================ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 576px) {
    .form-row { grid-template-columns: 1fr; }
    .page-banner { height: 430px; }
    .page-banner h1 { font-size: 1.8rem; }
}
.contact-details { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-detail-item i { width: 44px; height: 44px; border-radius: 12px; background: rgba(237,69,40,0.12); display: flex; align-items: center; justify-content: center; color: #ed4528; font-size: 1.1rem; flex-shrink: 0; }
.contact-detail-item strong { color: #ffffff; display: block; margin-bottom: 4px; }
.contact-detail-item p { margin: 0; color: rgba(255,255,255,0.65); }
.contact-form select { width: 100%; padding: 14px 16px; background: rgba(255,255,255,0.05); border: 1px solid #333333; border-radius: 10px; color: rgba(255,255,255,0.8); font-size: 1rem; outline: none; transition: border-color 0.3s; }
.contact-form select:focus { border-color: #ed4528; }
.contact-form select option { background: #0f0f0f; color: #ffffff; }

/* Service card link */
.service-link { display: inline-flex; align-items: center; gap: 6px; color: #ed4528; font-size: 0.9rem; font-weight: 600; text-decoration: none; margin-top: 12px; transition: gap 0.2s; }
.service-link:hover { gap: 10px; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .two-col-list, .two-col-services { grid-template-columns: 1fr; }
    .service-full-card { flex-direction: column; }
    .service-region-block { padding: 24px; }
    .page-banner { padding: 110px 0 50px; }
}

/* ============================================
   ABOUT PAGE — INTRO SECTION (new classes, always visible)
============================================ */
.about-page-intro {
    padding: 80px 0;
    background: #0f0f0f;
}
.api-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.api-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.api-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
}
.api-title span {
    color: #ed4528;
}
.api-accent-bar {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ed4528, transparent);
    border-radius: 2px;
}
.api-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.api-text-block {
    padding: 28px 30px;
    border-left: 3px solid rgba(237,69,40,0.35);
    background: rgba(255,255,255,0.03);
    border-radius: 0 12px 12px 0;
    transition: border-color 0.3s, background 0.3s;
}
.api-text-block:hover {
    border-left-color: #ed4528;
    background: rgba(237,69,40,0.06);
}
.api-text-block p {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.9;
}

/* ============================================
   PHILOSOPHY — 3 PER ROW GRID
============================================ */
.philosophy-section { padding: 80px 0; }
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}
.philosophy-card {
    padding: 32px;
    background: rgba(255,255,255,0.02);
    border: 1px solid #333333;
    border-radius: 16px;
    transition: all 0.3s;
}
.philosophy-card:hover {
    transform: translateY(-6px);
    border-color: #ed4528;
    background: rgba(237,69,40,0.05);
}
.philo-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(237,69,40,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.philo-icon i { color: #ed4528; font-size: 1.3rem; }
.philosophy-card h3 { color: #ffffff; font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.philosophy-card p { color: rgba(255,255,255,0.65); line-height: 1.7; font-size: 0.95rem; }

/* ============================================
   WHO WE SERVE — standalone (no parallax bg)
============================================ */
.who-we-serve-section {
    padding: 80px 0;
    background: #0a0a0a;
}

/* ============================================
   APPROACH — line below h2, no label
============================================ */
.approach-section { padding: 80px 0; }
.section-title-line {
    width: 60px;
    height: 4px;
    background: #ed4528;
    border-radius: 2px;
    margin: 16px auto 24px;
}
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

/* ============================================
   RESPONSIVE — about page
============================================ */
@media (max-width: 900px) {
    .api-grid { grid-template-columns: 1fr; gap: 40px; }
    .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .philosophy-grid { grid-template-columns: 1fr; }
    .approach-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SERVICES PAGE — 2 column grid
============================================ */
.services-page-section {
    padding: 80px 0;
    background: #0f0f0f;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 60px;
}

/* Last card — center it if odd count */
.svc-grid .svc-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.svc-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 36px;
    background: rgba(255,255,255,0.02);
    border: 1px solid #333333;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.svc-card:hover {
    border-color: #ed4528;
    background: rgba(237,69,40,0.05);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(237,69,40,0.1);
}

.svc-card-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 16px;
    background: rgba(237,69,40,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.svc-card:hover .svc-card-icon {
    background: rgba(237,69,40,0.25);
}

.svc-card-icon i {
    font-size: 1.6rem;
    color: #ed4528;
}

.svc-card-body {
    flex: 1;
}

.svc-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.svc-card-body p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 18px;
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ed4528;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.svc-link:hover {
    gap: 12px;
}

.svc-link i {
    font-size: 0.75rem;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 900px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
    .svc-grid .svc-card:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .svc-card {
        flex-direction: column;
        padding: 24px;
    }
}

/* ============================================
   SERVICE DETAIL PAGES
============================================ */
.svc-detail-section {
    padding: 80px 0;
    background: #0f0f0f;
}
.svc-intro-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.75);
    max-width: 900px;
    margin-bottom: 60px;
    padding-left: 20px;
    border-left: 3px solid #ed4528;
}
.svc-block-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.svc-block {
    padding: 36px 0;
    border-bottom: 1px solid #222222;
}
.svc-block:last-child { border-bottom: none; }
.svc-block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.svc-block-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    background: rgba(237,69,40,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-block-icon i { color: #ed4528; font-size: 1.1rem; }
.svc-block-header h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}
.svc-block > p {
    color: rgba(255,255,255,0.7);
    line-height: 1.85;
    max-width: 860px;
}

/* Accounting 2-col grid */
.svc-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}
.svc-detail-card {
    padding: 36px;
    background: rgba(255,255,255,0.02);
    border: 1px solid #333333;
    border-radius: 16px;
    transition: all 0.3s;
}
.svc-detail-card:hover {
    border-color: #ed4528;
    background: rgba(237,69,40,0.04);
    transform: translateY(-4px);
}
.svc-detail-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(237,69,40,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.svc-detail-icon i { color: #ed4528; font-size: 1.3rem; }
.svc-detail-card h3 { color: #ffffff; font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }

/* Highlight box */
.svc-highlight-box {
    padding: 40px;
    background: rgba(237,69,40,0.05);
    border: 1px solid rgba(237,69,40,0.25);
    border-radius: 16px;
    margin-top: 20px;
}
.svc-highlight-box h3 { color: #ffffff; font-size: 1.1rem; margin-bottom: 28px; }
.svc-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.svc-highlight-item { display: flex; align-items: flex-start; gap: 12px; }
.svc-highlight-item i { color: #ed4528; font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.svc-highlight-item p { color: rgba(255,255,255,0.75); margin: 0; line-height: 1.6; }

/* Region blocks (immigration) */
.svc-region-block {
    margin-bottom: 50px;
    padding: 40px;
    background: rgba(255,255,255,0.02);
    border: 1px solid #333333;
    border-left: 4px solid #ed4528;
    border-radius: 0 16px 16px 0;
}
.svc-region-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333333;
}
.svc-region-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(237,69,40,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-region-icon i { color: #ed4528; }
.svc-region-header h2 { color: #ffffff; font-size: 1.4rem; font-weight: 700; margin: 0; }
.svc-region-block > p { color: rgba(255,255,255,0.7); line-height: 1.85; margin-bottom: 20px; }

/* Two-col (immigration visas) */
.svc-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}
.svc-two-col h4 {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Shared list */
.svc-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}
.svc-list li {
    padding: 7px 0 7px 22px;
    position: relative;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    line-height: 1.6;
}
.svc-list li::before { content: "→"; position: absolute; left: 0; color: #ed4528; }
.svc-list.svc-list-ordered { list-style: decimal; padding-left: 20px; }
.svc-list.svc-list-ordered li::before { display: none; }

/* Responsive */
@media (max-width: 900px) {
    .svc-detail-grid    { grid-template-columns: 1fr; }
    .svc-highlight-grid { grid-template-columns: 1fr; }
    .svc-two-col        { grid-template-columns: 1fr; }
    .svc-region-block   { padding: 24px; }
}
@media (max-width: 576px) {
    .svc-detail-section { padding: 50px 0; }
    .svc-block          { padding: 28px 0; }
}

/* ============================================
   SERVICE DETAIL — CARD GRID LAYOUT
   (for software, hr, staffing pages)
============================================ */
.svc-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.svc-card-grid .svc-block {
    padding: 32px;
    background: rgba(255,255,255,0.02);
    border: 1px solid #333333;
    border-radius: 16px;
    border-bottom: none; /* override list style */
    transition: all 0.3s;
}

.svc-card-grid .svc-block:hover {
    border-color: #ed4528;
    background: rgba(237,69,40,0.04);
    transform: translateY(-4px);
}

.svc-card-grid .svc-block-header {
    margin-bottom: 14px;
}

.svc-card-grid .svc-block > p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Last card center if odd */
.svc-card-grid .svc-block:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 900px) {
    .svc-card-grid {
        grid-template-columns: 1fr;
    }
    .svc-card-grid .svc-block:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: 100%;
    }
}

/* ============================================
   IMMIGRATION PAGE — region blocks
============================================ */

/* Each region = full-width card */
.svc-region-block {
    margin-bottom: 32px;
    padding: 40px;
    background: rgba(255,255,255,0.02);
    border: 1px solid #333333;
    border-left: 4px solid #ed4528;
    border-radius: 0 16px 16px 0;
    transition: border-color 0.3s;
}

.svc-region-block:hover {
    border-color: #ed4528;
    background: rgba(237,69,40,0.03);
}

.svc-region-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
}

.svc-region-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(237,69,40,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.svc-region-icon i { color: #ed4528; font-size: 1rem; }

.svc-region-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Direct p and ul inside region block */
.svc-region-block > p {
    color: rgba(255,255,255,0.7);
    line-height: 1.85;
    margin-bottom: 16px;
    font-size: 0.98rem;
}

/* Sub-blocks inside USA region — mini card grid */
.svc-region-block .svc-block {
    padding: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    border-bottom: 1px solid #2a2a2a; /* override list style */
    margin-bottom: 16px;
    transition: border-color 0.3s;
}

.svc-region-block .svc-block:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid #2a2a2a;
}

.svc-region-block .svc-block:hover {
    border-color: rgba(237,69,40,0.4);
}

.svc-region-block .svc-block-header {
    margin-bottom: 12px;
}

.svc-region-block .svc-block-header h3 {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.svc-region-block .svc-block > p {
    color: rgba(255,255,255,0.68);
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Two col for individuals vs employers */
.svc-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.svc-two-col h4 {
    color: #ed4528;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2a2a2a;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .svc-region-block { padding: 24px 20px; }
    .svc-two-col { grid-template-columns: 1fr; }
}

/* ============================================
   IMMIGRATION — USA sub-blocks grid
============================================ */
.svc-usa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* First card (Non-Immigrant Visas) spans full width
   because it has the two-col content inside */
.svc-usa-grid .svc-block:first-child {
    grid-column: 1 / -1;
}

/* Green Card + Consular side by side */
.svc-usa-grid .svc-block {
    padding: 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    transition: border-color 0.3s;
    margin-bottom: 0; /* remove any default margin */
}

.svc-usa-grid .svc-block:hover {
    border-color: rgba(237,69,40,0.45);
    background: rgba(237,69,40,0.04);
}

.svc-usa-grid .svc-block-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.svc-usa-grid .svc-block-header h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.svc-usa-grid .svc-block > p {
    color: rgba(255,255,255,0.68);
    font-size: 0.93rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .svc-usa-grid {
        grid-template-columns: 1fr;
    }
    .svc-usa-grid .svc-block:first-child {
        grid-column: auto;
    }
}

/* ============================================
   IMMIGRATION — layout
============================================ */

/* USA full width */
.svc-region-full {
    margin-bottom: 28px;
}

/* UK + Europe + NZ — 3 columns */
.svc-region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

/* All region blocks same base style */
.svc-region-block {
    padding: 32px;
    background: rgba(255,255,255,0.02);
    border: 1px solid #333333;
    border-left: 4px solid #ed4528;
    border-radius: 0 14px 14px 0;
    transition: all 0.3s;
}

.svc-region-block:hover {
    border-color: #ed4528;
    background: rgba(237,69,40,0.03);
}

.svc-region-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2a2a;
}

.svc-region-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(237,69,40,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.svc-region-icon i { color: #ed4528; font-size: 0.95rem; }

.svc-region-header h2 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.svc-region-block > p {
    color: rgba(255,255,255,0.68);
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* USA inner 3 sub-blocks */
.svc-usa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.svc-usa-grid .svc-block:first-child {
    grid-column: 1 / -1; /* Non-immigrant visas full width */
}

.svc-usa-grid .svc-block {
    padding: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    transition: border-color 0.3s;
}

.svc-usa-grid .svc-block:hover {
    border-color: rgba(237,69,40,0.4);
}

.svc-usa-grid .svc-block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.svc-usa-grid .svc-block-header h3 {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    margin: 0;
}

.svc-usa-grid .svc-block > p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    line-height: 1.75;
}

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

@media (max-width: 768px) {
    .svc-region-grid  { grid-template-columns: 1fr; }
    .svc-usa-grid     { grid-template-columns: 1fr; }
    .svc-usa-grid .svc-block:first-child { grid-column: auto; }
    .svc-region-block { padding: 24px 20px; }
}

.footer-social {
    margin-top: 20px;
}

.footer-social h4 {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #ffffff10;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #ffffff;
    color: #000;
    transform: translateY(-3px);
}

.page-banner--video {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.banner-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;

    filter: brightness(0.4) contrast(1.1);
}

.page-banner--video .page-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-banner h1 {
    position: relative;
}

.page-banner h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 12px auto 0;
}

.page-banner--video.parallax-active .banner-video {
    transform: translate(-50%, -50%) scale(1.25);
    transition: transform 0.2s linear;
}

/* ===== CAREERS PAGE ===== */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.career-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333333;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.career-card:hover {
    transform: translateY(-5px);
    border-color: rgba(237, 69, 40, 0.5);
    box-shadow: 0 20px 60px rgba(237, 69, 40, 0.12);
}

.career-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 0;
}

.career-dept-badge {
    background: rgba(237, 69, 40, 0.12);
    color: #ed4528;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.career-urgent-badge {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.career-card-body {
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.career-card-body a{
    text-decoration: none;
}

.career-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.career-excerpt {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    /* Clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

.career-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    margin-top: auto;
}

.career-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #2a2a2a;
}

.career-meta span i {
    color: #ed4528;
    font-size: 11px;
}

.career-deadline {
    font-size: 12px;
    color: #ff6b6b;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.career-card-footer {
    padding: 14px 20px;
    border-top: 1px solid #2a2a2a;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Filter Buttons */
.careers-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.careers-filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 8px 18px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.careers-filter-btn:hover,
.careers-filter-btn.active {
    background: #ed4528;
    border-color: #ed4528;
    color: #ffffff;
}

.filter-count {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
}

/* Empty State */
.careers-empty {
    text-align: center;
    padding: 80px 20px;
}

.careers-empty-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.3);
}

.careers-empty h3 {
    color: #ffffff;
    margin-bottom: 12px;
}

.careers-empty p {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
}

/* Pagination */
.careers-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #333333;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.page-btn:hover {
    background: rgba(237, 69, 40, 0.15);
    border-color: rgba(237, 69, 40, 0.4);
    color: #ffffff;
}

.page-btn.active {
    background: #ed4528;
    border-color: #ed4528;
    color: #ffffff;
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ===== CAREER DETAIL PAGE ===== */
.career-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    align-items: start;
}

.career-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #2a2a2a;
}

.career-section:last-child {
    border-bottom: none;
}

.career-section h2 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.career-section h2 i {
    color: #ed4528;
}

.career-rich-content ul,
.career-rich-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.career-rich-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.career-rich-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Sidebar */
.career-detail-sidebar {
    position: sticky;
    top: 100px;
}

.career-sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 28px;
}

.career-sidebar-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ed4528;
    color: #ffffff;
}

.career-overview-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.career-overview-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid #2a2a2a;
}

.career-overview-list li:last-child {
    border-bottom: none;
}

.career-overview-list li i {
    color: #ed4528;
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}

.career-overview-list li div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.career-overview-list li strong {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.35);
}

.career-overview-list li span {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.career-apply-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.career-apply-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.svc-detail-section {
    overflow: visible !important;
}

.career-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    align-items: start;
}

.career-detail-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    scrollbar-width: none;
}

.career-detail-sidebar::-webkit-scrollbar {
    display: none;
}

.careers-results-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 24px;
}

.careers-results-count strong {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 900px) {
    .career-detail-layout {
        grid-template-columns: 1fr;
    }
    .career-detail-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    .careers-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BLOG LISTING ===== */
/* ===== BLOG LISTING — IMAGE FIX ===== */

/* Featured post — proper img tag instead of bg */
.blog-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #333333;
    margin-bottom: 60px;
    min-height: 420px;
    text-decoration: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured:hover {
    border-color: rgba(237, 69, 40, 0.5);
    box-shadow: 0 20px 60px rgba(237, 69, 40, 0.12);
}

.blog-featured-image {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    background: #1a1a1a;
}

/* Actual img fills the box, no crop */
.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* cover for featured — intentional */
    display: block;
    position: absolute;
    inset: 0;
    transition: transform 0.4s ease;
}

.blog-featured:hover .blog-featured-image img {
    transform: scale(1.03);
}

.blog-featured-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    font-size: 60px;
    color: rgba(255,255,255,0.2);
}

.blog-featured-content {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #111111;
    color: #ffffff;
}

.blog-featured-label {
    font-size: 12px;
    font-weight: 600;
    color: #ed4528;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-featured-content h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #ffffff;
}

.blog-featured-content p {
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 15px;
}

/* Blog card image — use <img> not background */
.blog-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

/* ← KEY FIX: contain so full image shows without crop */
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111111;
    display: block;
    transition: transform 0.3s ease;
}

.blog-card-front:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255,255,255,0.2);
}

/* Category tag position */
.blog-category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ed4528;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 1;
}

/* Card title link */
.blog-card-title-link {
    text-decoration: none;
}

.blog-card-title-link h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #ffffff;
    transition: color 0.2s;
}

.blog-card-title-link:hover h3 {
    color: #ed4528;
}

/* Blog listing header row */
.blog-listing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-section-label {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* ===== BLOG SINGLE SIDEBAR — STICKY FIX ===== */
.blog-single-section {
    padding: 80px 0;
    overflow: visible;
}

.blog-single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    align-items: start;   /* critical for sticky */
}

.blog-single-sidebar {
    position: sticky;
    top: 90px;            /* match header height */
    align-self: start;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    scrollbar-width: none;
}

.blog-single-sidebar::-webkit-scrollbar {
    display: none;
}

/* Sidebar widget */
.blog-sidebar-widget {
    background: rgba(255,255,255,0.03);
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 20px;
}

.blog-sidebar-widget h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ed4528;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-sidebar-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar-posts li {
    border-bottom: 1px solid #2a2a2a;
}

.blog-sidebar-posts li:last-child {
    border-bottom: none;
}

/* Each sidebar post is a flex row: thumb + text */
.blog-sidebar-posts li a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    text-decoration: none;
    transition: opacity 0.2s;
}

.blog-sidebar-posts li a:hover {
    opacity: 0.8;
}

.blog-sidebar-thumb {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1a1a1a;
}

.blog-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-sidebar-post-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0; /* prevent text overflow */
}

.blog-sidebar-post-title {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    /* clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-sidebar-post-date {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Sidebar CTA */
.blog-sidebar-cta {
    background: linear-gradient(135deg, rgba(237,69,40,0.15), rgba(237,69,40,0.05));
    border: 1px solid rgba(237,69,40,0.3);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.blog-sidebar-cta i {
    font-size: 32px;
    color: #ed4528;
    margin-bottom: 12px;
    display: block;
}

.blog-sidebar-cta h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.blog-sidebar-cta p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}

/* Hero image */
.blog-single-hero-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    background: #111;
}

.blog-single-hero-image img {
    width: 100%;
    height: auto;           /* natural height, no crop */
    display: block;
    max-height: 500px;
    object-fit: contain;    /* full image visible */
    background: #111;
}

/* Related section */
.blog-related-section {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid #2a2a2a;
}

.blog-related-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
    .blog-featured {
        grid-template-columns: 1fr;
    }
    .blog-featured-image {
        min-height: 240px;
    }
    .blog-single-layout {
        grid-template-columns: 1fr;
    }
    .blog-single-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    .blog-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BLOG CARDS GRID ===== */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* force 3 columns */
    gap: 28px;
    margin-top: 10px;
}

/* Each card = stacked column: image ON TOP, text BELOW */
.blog-card-front {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333333;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;   /* ← stacks image above text */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card-front:hover {
    transform: translateY(-5px);
    border-color: rgba(237, 69, 40, 0.5);
    box-shadow: 0 20px 60px rgba(237, 69, 40, 0.12);
}

/* Image link — don't stretch it */
.blog-card-image-link {
    display: block;
    text-decoration: none;
    flex-shrink: 0;
}

/* Image container — fixed height */
.blog-card-image {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #111111;
    flex-shrink: 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* ← cover fills the box cleanly */
    display: block;
    transition: transform 0.3s ease;
}

.blog-card-front:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.2);
}

/* Body sits below image */
.blog-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title-link {
    text-decoration: none;
}

.blog-card-title-link h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #ffffff;
    transition: color 0.2s;
    /* clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title-link:hover h3 {
    color: #ed4528;
}

.blog-card-body > p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    /* clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta-row {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.blog-meta-row span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta-row span i {
    color: #ed4528;
    font-size: 11px;
}

.blog-read-more {
    font-size: 13px;
    font-weight: 600;
    color: #ed4528;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: gap 0.2s;
}

.blog-read-more:hover {
    gap: 10px;
}

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

@media (max-width: 600px) {
    .blog-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Dropdown — NO display:none, use visibility instead ── */
.nav-dropdown {
    position: relative;
}

/* Invisible bridge — fills gap between nav item and menu */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 16px;
    background: transparent;
    z-index: 9998;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);  /* sits below the bridge */
    left: 0;
    min-width: 240px;
    background: #111111;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 8px 0;
    z-index: 9999;
    list-style: none;

    /* Use visibility — allows transition, no flicker */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown-menu.dropdown-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(237, 69, 40, 0.12);
    color: #ed4528;
}

.dropdown-menu li a i {
    color: #ed4528;
    width: 16px;
    font-size: 13px;
    flex-shrink: 0;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .nav-dropdown::after {
        display: none; /* no bridge needed on mobile */
    }

    .dropdown-menu {
        position: static;
        visibility: visible;      /* reset — controlled by max-height */
        opacity: 1;
        pointer-events: none;
        transform: none;
        transition: max-height 0.3s ease, opacity 0.3s ease;

        max-height: 0;
        overflow: hidden;
        opacity: 0;

        border: none;
        border-left: 2px solid #ed4528;
        border-radius: 0;
        background: rgba(237, 69, 40, 0.04);
        padding: 0;
        margin-left: 16px;
        min-width: unset;
        width: calc(100% - 16px);
    }

    .dropdown-menu.dropdown-open {
        max-height: 400px;
        opacity: 1;
        pointer-events: auto;
        padding: 4px 0;
    }

    .dropdown-menu li a {
        padding: 10px 16px;
        font-size: 15px;
    }

    /* Rotate arrow when open */
    .nav-dropdown:has(.dropdown-open) .nav-arrow {
        transform: rotate(180deg);
    }

    .nav-arrow {
        transition: transform 0.25s ease;
        display: inline-block;
    }
}

/* ── Blog Tags ── */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    margin-bottom: 28px;
    padding-top: 24px;
    border-top: 1px solid #2a2a2a;
}

.blog-tags strong {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.blog-tags strong i {
    color: #ed4528;
}

.blog-tag {
    background: rgba(237, 69, 40, 0.1);
    border: 1px solid rgba(237, 69, 40, 0.25);
    color: rgba(255, 255, 255, 0.75);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.blog-tag:hover {
    background: rgba(237, 69, 40, 0.2);
    color: #ffffff;
}

/* ── Author Box ── */
.blog-author-box {
    display: flex;
    align-items: center;      /* ← fixes icon/text misalignment */
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 0;            /* tags already has margin-bottom */
    margin-bottom: 0;
}

.blog-author-avatar {
    width: 52px;
    height: 52px;
    background: rgba(237, 69, 40, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;           /* ← stops icon from squishing */
    font-size: 20px;
    color: #ed4528;
}

.blog-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-author-info strong {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.blog-author-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
}

/* ── Blog Content — proper bullets & spacing ── */
.blog-single-content h1,
.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
    color: #ffffff;
    margin: 28px 0 12px;
    line-height: 1.3;
}

.blog-single-content h2 { font-size: 22px; }
.blog-single-content h3 { font-size: 18px; }

.blog-single-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.85;
    margin-bottom: 16px;
}

/* Empty paragraphs from ChatGPT — collapse them */
.blog-single-content p:empty,
.blog-single-content p br:only-child {
    display: none;
}

.blog-single-content ul,
.blog-single-content ol {
    padding-left: 24px;
    margin: 0 0 20px;
}

.blog-single-content ul {
    list-style: none;
    padding-left: 15px;
}

/* Custom bullet points */
.blog-single-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.blog-single-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #ed4528;
    border-radius: 50%;
}

.blog-single-content ol li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.blog-single-content strong {
    color: #ffffff;
    font-weight: 600;
}

.blog-single-content a {
    color: #ed4528;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Career Rich Content ── */
.career-rich-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.85;
    margin-bottom: 14px;
}

.career-rich-content ul,
.career-rich-content ol {
    margin: 0 0 18px;
    padding-left: 0;
}

.career-rich-content ul {
    list-style: none;
}

.career-rich-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.career-rich-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #ed4528;
    border-radius: 50%;
}

.career-rich-content ol li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    padding-left: 4px;
}

.career-rich-content strong {
    color: #ffffff;
    font-weight: 600;
}

.career-rich-content h3,
.career-rich-content h4 {
    color: #ffffff;
    margin: 20px 0 10px;
}

.career-rich-content p:empty,
.career-rich-content p br:only-child {
    display: none;
}
/* ── Summernote dark editor ── */
.note-editor.note-frame {
    border: 1px solid #2a2a2a !important;
    border-radius: 8px !important;
}

.note-editor .note-editing-area .note-editable {
    background-color: #1a1a1a !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    caret-color: #ffffff !important;
}

/* Toolbar dark */
.note-editor .note-toolbar {
    background-color: #111111 !important;
    border-bottom: 1px solid #2a2a2a !important;
    padding: 6px 8px !important;
}

.note-editor .note-toolbar .note-btn {
    background: transparent !important;
    border: 1px solid #333 !important;
    color: rgba(255,255,255,0.7) !important;
}

.note-editor .note-toolbar .note-btn:hover {
    background: rgba(237,69,40,0.15) !important;
    border-color: #ed4528 !important;
    color: #ed4528 !important;
}

/* Statusbar */
.note-editor .note-statusbar {
    background: #111111 !important;
    border-top: 1px solid #2a2a2a !important;
}

/* Code view area */
.note-editor .note-codable {
    background: #0d0d0d !important;
    color: #ed4528 !important;
    font-family: monospace !important;
}

/* Dropdown menus in toolbar */
.note-editor .dropdown-menu {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
}

.note-editor .dropdown-menu a,
.note-editor .dropdown-menu .note-item {
    color: rgba(255,255,255,0.8) !important;
}

.note-editor .dropdown-menu a:hover {
    background: rgba(237,69,40,0.1) !important;
    color: #ed4528 !important;
}

/* Placeholder text */
.note-editor .note-editable[data-placeholder]:empty::before {
    color: rgba(255,255,255,0.25) !important;
}
/* Force career/blog content text color regardless of inline styles */
.career-rich-content *,
.blog-single-content * {
    color: inherit !important;
}

.career-rich-content,
.blog-single-content {
    color: rgba(255, 255, 255, 0.75) !important;
}

.career-rich-content strong,
.blog-single-content strong,
.career-rich-content b,
.blog-single-content b {
    color: #ffffff !important;
}

.career-rich-content h1,
.career-rich-content h2,
.career-rich-content h3,
.career-rich-content h4,
.blog-single-content h1,
.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
    color: #ffffff !important;
}