/*
Theme Name: First Link Trading Theme
Theme URI: https://firstlinktrading.com
Description: Custom high-performance, dynamic scroll-animating theme for First Link Trading Company, Jakarta. Features GSAP animations and visual Custom Metabox editability.
Version: 1.0.0
Author: Antigravity
Author URI: https://google.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: first-link-theme
*/

:root {
    --primary-red: #D32F2F;
    --primary-red-hover: #B71C1C;
    --primary-red-alpha: rgba(211, 47, 47, 0.1);
    --white: #FFFFFF;
    --dark-charcoal: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-100: #F1F5F9;
    --slate-50: #F8FAFC;
    --text-dark: #0F172A;
    --text-light: #F8FAFC;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --transition-speed: 0.4s;
    --font-headings: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1280px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-charcoal);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Typography Utilities */
.section-tag {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-charcoal);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
    font-family: var(--font-headings);
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-charcoal);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--slate-100);
    border-color: var(--slate-700);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-red);
}

.btn-white:hover {
    background-color: var(--slate-100);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Header / Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.3s ease;
}

header.scrolled .nav-wrapper {
    height: 65px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark-charcoal);
}

.logo-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 8px;
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.logo-text span {
    color: var(--primary-red);
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--slate-700);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--dark-charcoal);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Nav Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    padding: 100px 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Layout & Views */
.page-view {
    display: none;
    opacity: 0;
    padding-top: 80px; /* offset for header */
    min-height: calc(100vh - 80px);
}

.page-view.active {
    display: block;
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--dark-charcoal);
    color: var(--text-light);
    padding: 5rem 0 2rem;
    border-top: 4px solid var(--primary-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

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

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-family: var(--font-headings);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

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

.footer-contact li svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-red);
    flex-shrink: 0;
    margin-top: 3px;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--slate-800);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ------------------ HOME PAGE ------------------ */
.hero {
    position: relative;
    background-color: var(--dark-charcoal);
    color: var(--text-light);
    overflow: hidden;
    min-height: 0;
}

/* Compact above-the-fold homepage hero: no forced viewport height,
   no flex-centering gap. Content starts immediately below the navbar. */
.hero.hero-split-section {
    min-height: 0 !important;
    display: block !important;
    align-items: initial !important;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    z-index: 1;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--dark-charcoal) 85%);
    z-index: 2;
}

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

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

.hero p {
    font-size: 1.25rem;
    color: var(--slate-100);
    margin-bottom: 2.5rem;
    max-width: 650px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-strip {
    background-color: var(--slate-100);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-label {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--slate-700);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-markets {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.market-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--dark-charcoal);
    font-family: var(--font-headings);
}

.market-badge span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red);
    display: inline-block;
}

.benefits {
    padding: 6rem 0;
    background-color: var(--white);
}

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

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

.benefit-card {
    background-color: var(--slate-50);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 1; /* always visible — GSAP only enhances */
    animation: fadeCardIn 0.6s ease both;
}

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

.benefit-card:nth-child(2) { animation-delay: 0.15s; }
.benefit-card:nth-child(3) { animation-delay: 0.30s; }

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 30px rgba(15, 23, 42, 0.05);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-red-alpha);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-red);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.services-preview {
    padding: 6rem 0;
    background-color: var(--slate-50);
}

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

@media (max-width: 992px) {
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.preview-left {
    max-width: 500px;
}

.preview-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 576px) {
    .preview-right {
        grid-template-columns: 1fr;
    }
}

.service-preview-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-preview-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    transform: translateY(-3px);
}

.service-preview-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.service-preview-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonials {
    padding: 6rem 0;
    background-color: var(--white);
}

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

@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.testimonial-card {
    background-color: var(--slate-50);
    padding: 2rem 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    white-space: normal !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.07);
}

.testimonial-quote {
    font-size: 0.97rem;
    color: var(--slate-700);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.7;
}

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

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--border-color);
    background-size: cover;
    background-position: center;
}

.author-info h5 {
    font-size: 1rem;
    color: var(--dark-charcoal);
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.final-cta {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.final-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 10%, transparent 70%);
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* ------------------ ABOUT PAGE ------------------ */
.about-hero {
    background-color: var(--slate-100);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.about-story {
    padding: 6rem 0;
    background-color: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.story-img-wrapper {
    position: relative;
}

.story-img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.story-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.3);
    text-align: center;
}

.story-badge h4 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
}

.story-badge p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.story-content h2 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
}

.story-content p {
    color: var(--slate-700);
    margin-bottom: 1.5rem;
}

.mission-vision {
    padding: 6rem 0;
    background-color: var(--slate-50);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.mission-box {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.mission-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--primary-red);
}

.mission-box p {
    color: var(--slate-700);
}

.differentiation {
    padding: 6rem 0;
    background-color: var(--white);
}

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

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

.diff-box {
    padding: 2rem;
    border-left: 3px solid var(--primary-red);
    background-color: var(--slate-50);
    border-radius: 0 8px 8px 0;
}

.diff-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.diff-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ------------------ SERVICES PAGE ------------------ */
.services-hero {
    background-color: var(--slate-100);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.services-grid-page {
    padding: 6rem 0;
    background-color: var(--white);
}

.full-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

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

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

.service-full-card {
    background-color: var(--slate-50);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-full-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.service-full-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-full-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.how-it-works {
    padding: 6rem 0;
    background-color: var(--slate-50);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
}

.timeline-step {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
    padding-right: 3rem;
}

.timeline-step:nth-child(even) {
    left: 50%;
    padding-right: 0;
    padding-left: 3rem;
}

@media (max-width: 768px) {
    .timeline-step {
        width: 100%;
        left: 0 !important;
        padding-left: 70px !important;
        padding-right: 0 !important;
    }
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white);
    border: 4px solid var(--primary-red);
    position: absolute;
    top: 10px;
    right: -10px;
    z-index: 10;
}

.timeline-step:nth-child(even) .timeline-dot {
    left: -10px;
}

@media (max-width: 768px) {
    .timeline-dot {
        left: 20px !important;
    }
}

.timeline-step-num {
    position: absolute;
    top: 2px;
    right: 2rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(211, 47, 47, 0.15);
    font-family: var(--font-headings);
}

.timeline-step:nth-child(even) .timeline-step-num {
    left: 2rem;
    text-align: right;
}

@media (max-width: 768px) {
    .timeline-step-num {
        left: 70px !important;
        top: -35px !important;
        text-align: left !important;
    }
}

.timeline-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--dark-charcoal);
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--font-headings);
    color: var(--dark-charcoal);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    margin-top: 1rem;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* ------------------ PRODUCTS PAGE ------------------ */
.products-hero {
    background-color: var(--slate-100);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-section {
    padding: 3rem 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--slate-50);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.product-count {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.listings-section {
    padding: 4rem 0 6rem;
    background-color: var(--slate-50);
}

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

@media (max-width: 1200px) {
    .listings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.05);
    border-color: var(--primary-red);
}

.product-card-img-wrapper {
    position: relative;
    padding-bottom: 75%;
    overflow: hidden;
    background-color: var(--slate-100);
}

.product-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-charcoal);
}

.product-card-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-card-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.product-spec {
    font-size: 0.8rem;
    color: var(--slate-700);
    font-weight: 600;
}

.product-card-btn {
    font-size: 0.85rem;
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-card-btn svg {
    width: 14px;
    height: 14px;
    fill: var(--primary-red);
    transition: transform 0.3s ease;
}

.product-card-btn:hover svg {
    transform: translateX(3px);
}

/* ------------------ CONTACT PAGE ------------------ */
.contact-hero {
    background-color: var(--slate-100);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-section-page {
    padding: 6rem 0;
    background-color: var(--white);
}

.contact-grid-page {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

@media (max-width: 992px) {
    .contact-grid-page {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.contact-info-col h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info-col p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.contact-detail-list {
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    background-color: var(--primary-red-alpha);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-box svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-red);
}

.contact-item-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-item-text p, .contact-item-text a {
    color: var(--slate-700);
    font-size: 0.95rem;
}

.contact-form-box {
    background-color: var(--slate-50);
    padding: 3.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

@media (max-width: 576px) {
    .contact-form-box {
        padding: 2rem;
    }
}

.contact-form-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-form-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--slate-700);
    font-family: var(--font-headings);
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
}

textarea.form-input {
    height: 150px;
    resize: vertical;
}

.map-section {
    height: 400px;
    background-color: var(--slate-100);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 280px;
    z-index: 5;
}

.map-overlay h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.map-overlay p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.map-placeholder-graphics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e5e9f0;
    background-image: radial-gradient(#d3dbe8 2px, transparent 2px);
    background-size: 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ------------------ GLOBAL TRADE ROUTES MAP SVG ------------------ */
.route-map-section {
    padding: 6rem 0;
    background-color: var(--slate-50);
    border-top: 1px solid var(--border-color);
}

.svg-map-wrapper {
    background-color: var(--dark-charcoal);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    overflow: hidden;
}

.svg-map-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.svg-map-header h3 {
    color: var(--white);
    font-size: 1.8rem;
}

.svg-map-header p {
    color: var(--slate-100);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Fullscreen Transition Overlay */
.transition-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-red);
    z-index: 99999;
    transition: none;
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    fill: #FFF;
}
.whatsapp-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Video Section Styles */
.video-outer-wrap {
    margin: 2rem auto;
    width: 100%;
    max-width: 880px;
}
.video-container-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
}
.video-container-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-sound-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #fff;
    transition: all 0.3s ease;
}
.video-sound-btn:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: scale(1.05);
}

/* Infinite Marquee Ticker for Target Markets */
.trust-strip {
    background-color: var(--slate-100);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.trust-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    flex-wrap: nowrap;
}
.trust-label {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--slate-700);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    background: var(--slate-100);
    padding-right: 1.5rem;
    z-index: 5;
    box-shadow: 10px 0 15px var(--slate-100);
}
.trust-ticker-container {
    overflow: hidden;
    display: flex;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.trust-markets {
    display: inline-flex;
    gap: 6rem;
    align-items: center;
    white-space: nowrap;
    flex-wrap: nowrap;
    animation: marquee 25s linear infinite;
}
@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    .hamburger {
        display: flex !important;
    }
    .nav-actions .btn {
        display: none !important;
    }
    .trust-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .trust-label {
        width: 100%;
        padding-right: 0;
        box-shadow: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 0.5rem;
        margin-bottom: 0.25rem;
    }
    .gmap-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .gmap-container svg {
        min-width: 750px !important;
        height: 360px !important;
    }
    .gmap-info-box, .gmap-controls, .gmap-scale-box {
        display: none !important;
    }
    .map-legend {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        margin-top: 1rem !important;
        width: 100% !important;
        max-width: none !important;
        box-shadow: none !important;
        background: rgba(15, 23, 42, 0.4) !important;
        border: 1px solid rgba(255,255,255,0.05) !important;
    }
    .svg-map-wrapper {
        padding: 1.5rem !important;
    }
}


/* --- WordPress Nav Menu Alignment Fix --- */
.nav-links,
.nav-links ul,
.nav-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links li,
.nav-menu li {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.nav-links a,
.nav-menu a,
.nav-link {
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    color: var(--slate-700) !important;
    text-decoration: none !important;
    position: relative;
    padding: 0.5rem 0 !important;
    transition: color 0.3s ease !important;
    white-space: nowrap !important;
}

.nav-links a:hover,
.nav-menu a:hover,
.nav-link:hover,
.nav-link.active {
    color: var(--primary-red) !important;
}

/* Video Outer Wrapper Gap Fix */
.video-outer-wrap {
    margin: 1.5rem auto 2.5rem auto !important;
    width: 100%;
    max-width: 880px;
}

.benefits {
    padding: 4rem 0 5rem 0 !important;
}

.benefits-grid {
    margin-top: 1rem !important;
}


/* Header / Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.25rem 0;
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.nav-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 80px;
    transition: height 0.3s ease;
}

header.scrolled .nav-wrapper {
    height: 65px;
}

.logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2.2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.nav-link {
    font-family: var(--font-body), 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: #334155 !important;
    text-decoration: none !important;
    position: relative !important;
    padding: 0.5rem 0 !important;
    transition: color 0.3s ease !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

.nav-link:hover, 
.nav-link.active {
    color: #D32F2F !important;
}

.nav-link::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background-color: #D32F2F !important;
    transition: width 0.3s ease !important;
}

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

.nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-shrink: 0 !important;
}



/* --- Guarantee 100% Benefit Card Visibility on Desktop & Mobile --- */
.benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }
}

.benefit-card {
    background-color: var(--slate-50) !important;
    padding: 3rem 2rem !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-color) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
}

.benefit-card * {
    opacity: 1 !important;
    visibility: visible !important;
}

.benefit-card:hover {
    transform: translateY(-5px) !important;
    border-color: var(--primary-red) !important;
    box-shadow: 0 20px 30px rgba(15, 23, 42, 0.08) !important;
}



/* --- Guarantee 1 Single Line Infinite Auto-Scroll Ticker --- */
.trust-strip {
    background-color: #F1F5F9 !important;
    padding: 1.1rem 0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
    overflow: hidden !important;
}

.trust-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2rem !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
}

.trust-label {
    font-family: 'Sora', sans-serif !important;
    font-weight: 700 !important;
    color: #334155 !important;
    font-size: 0.88rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    background: #F1F5F9 !important;
    padding-right: 1rem !important;
    z-index: 5 !important;
}

.trust-ticker-container {
    overflow: hidden !important;
    display: flex !important;
    width: 100% !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent) !important;
}

.trust-markets {
    display: flex !important;
    flex-direction: row !important;
    gap: 3.5rem !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
    animation: marquee 22s linear infinite !important;
}

.market-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: #0F172A !important;
    font-family: 'Sora', sans-serif !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.market-badge span {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #D32F2F !important;
    box-shadow: 0 0 10px #D32F2F !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

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



/* ========================================================= */
/* --- FORCE MARQUEE TICKER TO 1 SINGLE LINE ON ALL DEVICES --- */
/* ========================================================= */
.trust-strip {
    background-color: #F1F5F9 !important;
    padding: 1.1rem 0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
    overflow: hidden !important;
}

.trust-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.5rem !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
}

.trust-label {
    font-family: 'Sora', sans-serif !important;
    font-weight: 700 !important;
    color: #334155 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    background: #F1F5F9 !important;
    padding-right: 1rem !important;
    z-index: 5 !important;
    margin: 0 !important;
}

.trust-ticker-container {
    overflow: hidden !important;
    display: flex !important;
    width: 100% !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent) !important;
}

.trust-markets {
    display: flex !important;
    flex-direction: row !important;
    gap: 3.5rem !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
    animation: marquee 25s linear infinite !important;
}

.market-badge {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    color: #0F172A !important;
    font-family: 'Sora', sans-serif !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.market-badge span {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #D32F2F !important;
    box-shadow: 0 0 8px #D32F2F !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}



/* --- Explicit Video Sound Button Styling --- */
.video-sound-btn {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    z-index: 100 !important;
    pointer-events: auto !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4) !important;
}

.video-sound-btn:hover {
    transform: scale(1.12) !important;
    background-color: #D32F2F !important;
    border-color: #D32F2F !important;
}


/* --- Mobile Navigation Drawer Fix --- */
.hamburger {
    cursor: pointer !important;
    z-index: 100000 !important;
    padding: 6px !important;
}

@media (max-width: 992px) {
    .hamburger {
        display: flex !important;
    }
}

.mobile-nav {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 290px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background-color: #FFFFFF !important;
    z-index: 99999 !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25) !important;
    padding: 80px 2rem 2rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
}

.mobile-nav.open,
.mobile-nav.active,
.mobile-nav.show {
    right: 0 !important;
}

.mobile-nav-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 8px !important;
}

.mobile-nav a {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #0F172A !important;
    text-decoration: none !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid #F1F5F9 !important;
    display: block !important;
}

.mobile-nav a:hover {
    color: #C41E3A !important;
}


/* --- Clean Responsive Header Navigation Fix --- */
@media (min-width: 993px) {
    .nav-links,
    .nav-links ul,
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 2rem !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .nav-links li,
    .nav-menu li {
        display: inline-flex !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    .nav-links a,
    .nav-menu a,
    .nav-link {
        font-weight: 500 !important;
        font-size: 0.95rem !important;
        color: var(--slate-700) !important;
        text-decoration: none !important;
        position: relative;
        padding: 0.5rem 0 !important;
        transition: color 0.3s ease !important;
        white-space: nowrap !important;
    }
    .nav-links a:hover,
    .nav-menu a:hover,
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-red) !important;
    }
    .hamburger {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .nav-links,
    .nav-links ul,
    .nav-menu {
        display: none !important;
    }
    .hamburger {
        display: flex !important;
    }
    .nav-actions .btn {
        display: none !important;
    }
}


/* --- Bulletproof Mobile Drawer & Backdrop CSS --- */
.hamburger {
    cursor: pointer !important;
    z-index: 100001 !important;
    padding: 8px !important;
    display: none;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 32px !important;
    height: 24px !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.hamburger span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background-color: #0F172A !important;
    border-radius: 3px !important;
    transition: all 0.3s ease !important;
}

@media (max-width: 992px) {
    .hamburger {
        display: flex !important;
    }
}

.mobile-nav-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 99998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.mobile-nav-backdrop.open,
.mobile-nav-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 300px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background-color: #FFFFFF !important;
    z-index: 99999 !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25) !important;
    padding: 80px 2rem 2rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
    visibility: hidden !important;
}

.mobile-nav.open,
.mobile-nav.active {
    transform: translateX(0) !important;
    visibility: visible !important;
}

.mobile-nav-close {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 6px 12px !important;
    user-select: none !important;
}

.mobile-nav a {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #0F172A !important;
    text-decoration: none !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid #F1F5F9 !important;
    display: block !important;
}

.mobile-nav a:hover {
    color: #C41E3A !important;
}


/* --- Comprehensive Mobile Overflow & Content Cropping Fix --- */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    /* Container Padding Fix for Mobile Viewports */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        box-sizing: border-box !important;
    }

    /* Hero & Typography Mobile Resizing */
    .hero:not(.hero-split-section) {
        padding: 5rem 0 3rem 0 !important;
        min-height: auto !important;
    }
    .hero.hero-split-section {
        padding: 1rem 0 1.75rem 0 !important;
        min-height: auto !important;
    }
    .hero-content {
        max-width: 100% !important;
        text-align: center !important;
    }
    .hero-content h1,
    .section-title,
    h1.section-title,
    h2.section-title,
    h1, h2 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    .hero-content p,
    .section-desc,
    p.section-desc {
        font-size: 0.98rem !important;
        line-height: 1.55 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.75rem !important;
    }
    .hero-actions .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Single Column Layouts for All Mobile Grids */
    .benefits-grid,
    .listings-grid,
    .preview-grid,
    .story-grid,
    .mission-grid,
    .diff-grid,
    .adv-grid,
    .presence-grid,
    .full-services-grid,
    .contact-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
    }

    /* Prevent Card Content Cropping & Horizontal Overflows */
    .benefit-card,
    .product-card,
    .service-preview-card,
    .service-full-card,
    .diff-box,
    .adv-card,
    .presence-card,
    .testimonial-card,
    .contact-info-box,
    .story-stats,
    .contact-form-box,
    .faq-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 1.5rem 1.25rem !important;
        overflow: hidden !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Product Filter Bar Mobile Responsiveness */
    .filter-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem !important;
        gap: 1rem !important;
    }
    .filter-btn-group {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        width: 100% !important;
        justify-content: center !important;
    }
    .filter-btn {
        padding: 0.5rem 0.85rem !important;
        font-size: 0.82rem !important;
        flex: 1 1 auto !important;
        text-align: center !important;
    }

    /* Media & Images Responsiveness */
    img, video, iframe {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Map Overlay Mobile Alignment */
    .map-overlay {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 1rem !important;
        box-sizing: border-box !important;
    }
}


/* --- About Us Page Responsive Grid Fix --- */
.story-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3.5rem !important;
    align-items: center !important;
}

.mission-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
}

.presence-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 1.75rem !important;
}

@media (max-width: 992px) {
    .story-grid,
    .mission-grid,
    .presence-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
    }
}


/* 







/* Bulletproof Logo Sizing Fix for Tablet, Mobile & Desktop */
.logo,
header .logo,
.nav-wrapper .logo,
.footer-column .logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    height: 44px !important;
    max-height: 44px !important;
}

.logo img,
header .logo img,
.nav-wrapper .logo img,
.footer-column .logo img,
a.logo img {
    height: 44px !important;
    max-height: 44px !important;
    min-height: 32px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 4px !important;
}

@media (max-width: 1024px) {
    .logo, header .logo, .nav-wrapper .logo {
        height: 40px !important;
        max-height: 40px !important;
    }
    .logo img, header .logo img, .nav-wrapper .logo img, .footer-column .logo img, a.logo img {
        height: 40px !important;
        max-height: 40px !important;
        width: auto !important;
        max-width: 190px !important;
    }
}

@media (max-width: 768px) {
    .logo, header .logo, .nav-wrapper .logo {
        height: 38px !important;
        max-height: 38px !important;
    }
    .logo img, header .logo img, .nav-wrapper .logo img, .footer-column .logo img, a.logo img {
        height: 38px !important;
        max-height: 38px !important;
        width: auto !important;
        max-width: 170px !important;
    }
}


/* 2-Column Hero Split Gateway Styling */
.hero-split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.hero-split-card {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.75rem 2.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-split-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.09);
    border-color: #C41E3A;
    box-shadow: 0 20px 40px rgba(196, 30, 58, 0.25);
}

.hero-split-card .card-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-split-card .badge-red {
    background: #C41E3A;
    color: #FFFFFF;
}

.hero-split-card .badge-white {
    background: #FFFFFF;
    color: #0F172A;
}

.hero-split-card .card-title {
    color: #FFFFFF !important;
    font-size: 1.7rem;
    font-family: var(--font-headings);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-split-card .card-desc {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-split-card .card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.25rem;
}

.hero-split-card .card-action-text {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.hero-split-card:hover .card-action-text {
    color: #FFD1D1;
}

.hero-split-card .arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #C41E3A;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.hero-split-card:hover .arrow-btn {
    transform: translateX(6px) scale(1.05);
    background: #E52B4D;
}

@media (max-width: 992px) {
    .hero-split-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .hero-split-card {
        padding: 2rem 1.5rem !important;
    }
    .hero-split-card .card-title {
        font-size: 1.45rem !important;
    }
}


/* ============================================================== */
/* Red Cards, White Text, White Landing BG, Red Footer & Mobile Side-by-Side */
/* ============================================================== */

.hero-split-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.75rem !important;
    align-items: stretch !important;
}

.hero-split-card {
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 2.75rem 2.25rem !important;
    background: #C41E3A !important;
    border: 2px solid #C41E3A !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.25) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-split-card:hover {
    transform: translateY(-6px) !important;
    background: #A0182E !important;
    border-color: #A0182E !important;
    box-shadow: 0 20px 40px rgba(196, 30, 58, 0.4) !important;
}

.hero-split-card .card-badge {
    display: inline-block !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    margin-bottom: 1.25rem !important;
}

.hero-split-card .badge-white-outline {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.hero-split-card .card-title {
    color: #FFFFFF !important;
    font-size: 1.65rem !important;
    font-family: var(--font-headings) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
}

.hero-split-card .card-desc {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
}

.hero-split-card .card-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding-top: 1.25rem !important;
}

.hero-split-card .card-action-text {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
}

.hero-split-card .arrow-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    background: #FFFFFF !important;
    color: #C41E3A !important;
    border-radius: 50% !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    transition: all 0.3s ease !important;
}

.hero-split-card:hover .arrow-btn {
    transform: translateX(6px) scale(1.08) !important;
    background: #FFFFFF !important;
    color: #A0182E !important;
}

/* Side-by-Side (Left & Right) Layout for Mobile & Tablet */
@media (max-width: 992px) {
    .hero-split-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    .hero-split-card {
        padding: 1.75rem 1.25rem !important;
    }
    .hero-split-card .card-title {
        font-size: 1.25rem !important;
    }
    .hero-split-card .card-desc {
        font-size: 0.88rem !important;
        margin-bottom: 1.25rem !important;
    }
    .hero-split-card .card-badge {
        font-size: 0.65rem !important;
        padding: 4px 8px !important;
        margin-bottom: 0.85rem !important;
    }
    .hero-split-card .card-action-text {
        font-size: 0.82rem !important;
    }
    .hero-split-card .arrow-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .hero-split-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    .hero-split-card {
        padding: 1.25rem 0.85rem !important;
        border-radius: 12px !important;
    }
    .hero-split-card .card-title {
        font-size: 1.05rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.5rem !important;
    }
    .hero-split-card .card-desc {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
    }
    .hero-split-card .card-badge {
        font-size: 0.6rem !important;
        padding: 3px 6px !important;
        margin-bottom: 0.6rem !important;
    }
    .hero-split-card .card-bottom {
        padding-top: 0.85rem !important;
    }
    .hero-split-card .card-action-text {
        font-size: 0.75rem !important;
    }
    .hero-split-card .arrow-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.85rem !important;
    }
}

/* Red Footer with All White Content, Text & Icons */
footer {
    background-color: #C41E3A !important;
    color: #FFFFFF !important;
    padding: 4.5rem 0 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

footer h4,
footer .footer-col h4 {
    color: #FFFFFF !important;
}

footer h4::after,
footer .footer-col h4::after {
    background-color: #FFFFFF !important;
}

footer p,
footer .footer-desc,
footer .footer-links a,
footer .footer-contact li,
footer .footer-bottom,
footer span,
footer div {
    color: #FFFFFF !important;
}

footer .footer-links a:hover {
    color: rgba(255, 255, 255, 0.85) !important;
    padding-left: 4px;
}

footer .footer-contact li svg,
footer svg {
    fill: #FFFFFF !important;
    color: #FFFFFF !important;
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}


/* Compact Hero Split Gateway Alignment for Above-The-Fold Visibility */
.hero-split-card {
    padding: 2rem 1.75rem !important;
}

.hero-split-card .card-badge {
    margin-bottom: 0.85rem !important;
}

.hero-split-card .card-title {
    font-size: 1.45rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.6rem !important;
}

.hero-split-card .card-desc {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.25rem !important;
}

.hero-split-card .card-bottom {
    padding-top: 1rem !important;
}

@media (max-width: 992px) {
    .hero-split-card {
        padding: 1.5rem 1.1rem !important;
    }
    .hero-split-card .card-title {
        font-size: 1.15rem !important;
    }
}


/* Smooth Red Page Wipe Transition Overlay */
.transition-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #C41E3A !important;
    z-index: 999999 !important;
    transform: translateY(-100%) !important;
    transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1) !important;
    pointer-events: none !important;
}

.transition-overlay.active {
    transform: translateY(0%) !important;
    pointer-events: auto !important;
}

.transition-overlay.exit {
    transform: translateY(100%) !important;
    pointer-events: none !important;
}


/* ================= SENIOR UX PASS ================= */

main#home-view { padding-top: 80px !important; }
@media (max-width: 992px) { main#home-view { padding-top: 65px !important; } }

.hero.hero-split-section {
  min-height: 0 !important;
  display: block !important;
  padding-top: 1rem !important;
  padding-bottom: 1.75rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
@media (min-width: 768px) {
  .hero.hero-split-section { padding-top: 1.5rem !important; padding-bottom: 2.75rem !important; }
}

.hero.hero-split-section .section-tag { font-size: clamp(0.7rem, 1.4vw, 0.85rem) !important; }
.hero.hero-split-section h1 { font-size: clamp(1.6rem, 4.2vw, 2.5rem) !important; line-height: 1.2 !important; }
.hero.hero-split-section p { font-size: clamp(0.9rem, 1.6vw, 1.05rem) !important; }
.hero-split-card .card-title { font-size: clamp(1.05rem, 2.4vw, 1.7rem) !important; word-break: break-word !important; }
.hero-split-card .card-desc { font-size: clamp(0.82rem, 1.3vw, 1rem) !important; }
.hero-split-card .card-action-text { font-size: clamp(0.75rem, 1.1vw, 0.95rem) !important; }

@media (max-width: 640px) {
  .hero-split-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .hero-split-card { width: 100% !important; padding: 1.5rem 1.25rem !important; }
}
@media (min-width: 641px) and (max-width: 992px) {
  .hero-split-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1.25rem !important; }
}

.hamburger { position: relative !important; }
.hamburger span {
  background-color: #C41E3A !important;
  height: 2.5px !important;
  border-radius: 3px !important;
}
.hamburger span:nth-child(1) { transform-origin: center !important; }
.hamburger span:nth-child(2) { transform-origin: center !important; }
.hamburger span:nth-child(3) { transform-origin: center !important; }
.hamburger:hover span { background-color: #A0182E !important; }
.hamburger:active span { opacity: 0.7 !important; }
.hamburger.active span:nth-child(1),
.hamburger.open span:nth-child(1) { transform: translateY(10.5px) rotate(45deg) !important; }
.hamburger.active span:nth-child(2),
.hamburger.open span:nth-child(2) { opacity: 0 !important; transform: scaleX(0) !important; }
.hamburger.active span:nth-child(3),
.hamburger.open span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg) !important; }

.mobile-nav-backdrop {
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}
.mobile-nav-backdrop.open,
.mobile-nav-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (min-width: 993px) {
  .nav-actions .btn { display: inline-flex !important; }
}
@media (max-width: 992px) {
  .nav-wrapper { padding: 0 0.25rem !important; }
  .nav-actions { gap: 0.5rem !important; }
}

.btn {
  height: 2.7rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 1.4rem !important;
  padding-right: 1.4rem !important;
  font-size: 0.9rem !important;
  border-radius: 8px !important;
  line-height: 1 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@media (max-width: 480px) {
  .btn { padding-left: 1.1rem !important; padding-right: 1.1rem !important; font-size: 0.82rem !important; height: 2.5rem !important; }
}
.btn:hover { transform: translateY(-2px) !important; }

.hero-split-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease !important;
  -webkit-tap-highlight-color: transparent !important;
}
.hero-split-card:active { transform: scale(0.97) !important; }
.hero-split-card .ripple {
  position: absolute !important;
  border-radius: 50% !important;
  transform: scale(0) !important;
  background: rgba(255,255,255,0.45) !important;
  pointer-events: none !important;
  animation: flt-ripple 0.6s ease-out !important;
}
@keyframes flt-ripple { to { transform: scale(2.6); opacity: 0; } }

img, svg, video, iframe, table { max-width: 100%; height: auto; }
html, body { overflow-x: hidden !important; }
.container { width: 100% !important; box-sizing: border-box !important; max-width: var(--max-width); padding-left: clamp(1rem, 4vw, 1.5rem) !important; padding-right: clamp(1rem, 4vw, 1.5rem) !important; }


/* ================= PREMIUM HERO BACKGROUND + ENTRANCE MOTION ================= */

.hero.hero-split-section {
  isolation: isolate !important;
}

.hero.hero-split-section {
  background-image: radial-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px) !important;
  background-size: 26px 26px !important;
  background-position: 0 0 !important;
}

.hero.hero-split-section .container { position: relative !important; z-index: 1 !important; }

/* Entrance animation - staggered fade + rise */
@keyframes fltFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fltFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero.hero-split-section .section-tag,
.hero.hero-split-section h1,
.hero.hero-split-section p {
  animation: fltFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}
/* Cards: opacity-only entrance so it never fights the hover-lift transform.
   Uses fill-mode 'both' (not a separate opacity:0 rule) so content can never
   get stuck invisible if the animation fails to apply for any reason. */
.hero-split-card {
  animation: fltFadeIn 0.7s ease-out both !important;
}
.hero.hero-split-section .section-tag { animation-delay: 0.05s !important; }
.hero.hero-split-section h1 { animation-delay: 0.15s !important; }
.hero.hero-split-section p { animation-delay: 0.28s !important; }
.hero-split-grid .hero-split-card:nth-child(1) { animation-delay: 0.42s !important; }
.hero-split-grid .hero-split-card:nth-child(2) { animation-delay: 0.54s !important; }

@media (prefers-reduced-motion: reduce) {
  .hero.hero-split-section {
    animation: none !important;
  }
  .hero.hero-split-section .section-tag,
  .hero.hero-split-section h1,
  .hero.hero-split-section p,
  .hero-split-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}




/* ================= PREMIUM TRADE-ROUTE HERO SCENE (parallax, responsive) ================= */

.hero-trade-scene {
  position: absolute !important;
  top: -4% !important; left: -4% !important; right: -4% !important; bottom: -4% !important;
  z-index: 0 !important;
  pointer-events: none !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform !important;
}

.hero.hero-split-section .container { position: relative !important; z-index: 1 !important; }

.hero-trade-svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.trade-dots circle { fill: #0F172A; opacity: 0.14; }

.trade-arc {
  stroke: #C41E3A;
  stroke-width: 1.6;
  stroke-dasharray: 5 6;
  opacity: 0.6;
  animation: fltArcFlow 1.8s linear infinite;
}
.trade-arc.arc-2 { animation-duration: 2.1s; }
.trade-arc.arc-3 { animation-duration: 2.4s; }

@keyframes fltArcFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -22; }
}

.trade-origin { fill: #C41E3A; }
.trade-origin-ping {
  fill: none;
  stroke: #C41E3A;
  stroke-width: 1.2;
  opacity: 0.5;
  transform-origin: 350px 140px;
  animation: fltOriginPing 2.4s ease-out infinite;
}
@keyframes fltOriginPing {
  0%   { transform: scale(0.7); opacity: 0.55; }
  100% { transform: scale(2.1); opacity: 0; }
}

.trade-dest { fill: #0F172A; opacity: 0.75; }

@media (max-width: 992px) {
  .hero-trade-scene { opacity: 0.75 !important; }
}

@media (max-width: 560px) {
  .hero-trade-scene { opacity: 0.5 !important; }
  .trade-arc { animation: none !important; stroke-dasharray: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-trade-scene { transform: none !important; transition: none !important; }
  .trade-arc, .trade-origin-ping { animation: none !important; }
}

/* HERO CARD BACKGROUND PHOTOGRAPHY */

.card-bg-img {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-split-card:hover .card-bg-img {
  transform: scale(1.08) !important;
}

.card-bg-overlay {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.80) 0%, rgba(196, 30, 58, 0.90) 100%) !important;
  transition: background 0.3s ease !important;
}

.hero-split-card:hover .card-bg-overlay {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.72) 0%, rgba(196, 30, 58, 0.85) 100%) !important;
}

.hero-split-card .card-top,
.hero-split-card .card-bottom {
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 560px) {
  .card-bg-img { opacity: 0.9 !important; }
}


/* SERVICES PAGE CARD IMAGES */

.service-card-box {
  overflow: hidden !important;
  position: relative !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.service-card-box:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.10) !important;
}
.service-card-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.service-card-box:hover .service-card-img {
  transform: scale(1.08) !important;
}


/* SERVICES PAGE HORIZONTAL LIST CARDS */

.service-list-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.service-list-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10) !important;
}
.service-list-photo img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.service-list-card:hover .service-list-photo img {
  transform: scale(1.08) !important;
}
@media (min-width: 700px) {
  .service-list-photo { display: block !important; }
}
@media (max-width: 699px) {
  .service-list-card { flex-wrap: wrap !important; }
  .service-list-photo { display: none !important; }
}


/* HOMEPAGE VISA CARD - BLUE VARIANT */

.visa-card .card-bg-overlay {
  background: linear-gradient(160deg, rgba(10, 20, 45, 0.82) 0%, rgba(30, 64, 143, 0.90) 100%) !important;
}
.visa-card:hover .card-bg-overlay {
  background: linear-gradient(160deg, rgba(10, 20, 45, 0.72) 0%, rgba(30, 64, 143, 0.82) 100%) !important;
}
.visa-card:hover {
  border-color: rgba(59, 110, 246, 0.6) !important;
  box-shadow: 0 20px 40px rgba(30, 64, 143, 0.30) !important;
}
.visa-card .card-action-text {
  color: #1E3A8A !important;
}
.visa-card .arrow-btn {
  background: #1E3A8A !important;
  color: #FFF !important;
}
.visa-card .card-action-text,
.visa-card .card-bottom .card-action-text {
  color: #FFF !important;
}


/* HERO CARDS - WHITE PILL BUTTON BAR AT BOTTOM (matches reference exactly) */

.hero-split-card .card-bottom {
  background: #FFFFFF !important;
  border-top: none !important;
  border-radius: 50px !important;
  padding: 0.4rem 0.4rem 0.4rem 1.25rem !important;
  margin-top: 1rem !important;
}

.hero-split-card .card-action-text {
  color: var(--primary-red) !important;
  font-weight: 800 !important;
}
.hero-split-card .arrow-btn {
  background: var(--primary-red) !important;
  color: #FFF !important;
  width: 40px !important;
  height: 40px !important;
}

.visa-card .card-action-text {
  color: #1E3A8A !important;
}
.visa-card .arrow-btn {
  background: #1E3A8A !important;
  color: #FFF !important;
}


/* CATALOGUE/SERVICES HERO - ASYMMETRIC IMAGE SPLIT + STAT BAR */

.cat-hero-stats {
  scroll-margin-top: 100px;
}
@media (max-width: 768px) {
  .cat-hero { padding: 3rem 0 4.5rem 0 !important; }
  .cat-hero-bg-img { width: 100% !important; opacity: 0.25 !important; }
  .cat-hero > div[style*="position: absolute; inset: 0"] { background: rgba(196,30,58,0.88) !important; }
  .cat-hero-stats { grid-template-columns: repeat(2, 1fr) !important; display: grid !important; margin: -3rem 1rem 2rem 1rem !important; }
}
@media (max-width: 480px) {
  .cat-hero .container > div { max-width: 100% !important; }
}


/* FINAL POLISH - match reference spec precisely */
.hero-split-card {
  border-radius: 24px !important;
}
.hero-split-card .card-bg-img {
  border-radius: 24px !important;
}


/* ==================== FLT HOMEPAGE HERO - CLEAN REBUILD ==================== */

.flt-hero {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  padding: 1rem 0 2rem 0;
}
@media (min-width: 768px) {
  .flt-hero { padding: 1.5rem 0 2.75rem 0; }
}

.flt-hero-trade-scene {
  position: absolute;
  inset: -4%;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.flt-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.flt-hero-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 1.5rem auto;
}

.flt-hero-tag {
  display: inline-block;
  color: #C41E3A;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.flt-hero-title {
  color: #0F172A;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0.15rem 0 0.5rem 0;
}

.flt-hero-desc {
  color: #475569;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto;
}

.flt-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .flt-cards { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}

.flt-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  text-decoration: none;
  min-height: 460px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.flt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.22);
}
.flt-card:active { transform: scale(0.98); }

.flt-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.flt-card:hover .flt-card-bg { transform: scale(1.08); }

.flt-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.flt-card--red .flt-card-overlay {
  background: linear-gradient(160deg, rgba(90, 10, 20, 0.90) 0%, rgba(196, 30, 58, 0.55) 100%);
}
.flt-card--blue .flt-card-overlay {
  background: linear-gradient(160deg, rgba(8, 16, 38, 0.92) 0%, rgba(30, 64, 143, 0.55) 100%);
}

.flt-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 1.75rem 1.5rem;
  gap: 0.6rem;
}

.flt-card-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.flt-card--red .flt-card-badge { background: rgba(196, 30, 58, 0.55); }
.flt-card--blue .flt-card-badge { background: rgba(30, 64, 143, 0.55); }

.flt-card-title {
  color: #FFFFFF;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  line-height: 1.25;
  margin: 0.2rem 0 0 0;
}

.flt-card-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 0.4rem 0;
}

.flt-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border-radius: 50px;
  padding: 0.4rem 0.4rem 0.4rem 1.4rem;
  margin-top: 0.4rem;
  transition: transform 0.3s ease;
}
.flt-card:hover .flt-card-cta { transform: translateY(-2px); }

.flt-card-cta-text {
  font-weight: 800;
  font-size: 0.88rem;
}
.flt-card--red .flt-card-cta-text { color: #C41E3A; }
.flt-card--blue .flt-card-cta-text { color: #1E3A8A; }

.flt-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.flt-card--red .flt-card-arrow { background: #C41E3A; }
.flt-card--blue .flt-card-arrow { background: #1E3A8A; }
.flt-card:hover .flt-card-arrow { transform: translateX(4px); }

@media (max-width: 480px) {
  .flt-card { min-height: 400px; }
  .flt-card-content { padding: 1.5rem 1.25rem; }
}

/* FLT HERO CARDS - badge icon alignment + title divider line (matches reference) */
.flt-card-badge {
  display: inline-flex !important;
  align-items: center !important;
}
.flt-card-title {
  position: relative;
  padding-bottom: 0.85rem;
}
.flt-card-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: 2px;
}
.flt-card--red .flt-card-title::after { background: #FFFFFF; }
.flt-card--blue .flt-card-title::after { background: #5B8DEF; }


/* FLT HERO CARDS - colored glow shadow (matches reference halo effect) */
.flt-card--red {
  box-shadow: 0 20px 45px rgba(196, 30, 58, 0.30) !important;
}
.flt-card--red:hover {
  box-shadow: 0 28px 55px rgba(196, 30, 58, 0.42) !important;
}
.flt-card--blue {
  box-shadow: 0 20px 45px rgba(30, 64, 143, 0.30) !important;
}
.flt-card--blue:hover {
  box-shadow: 0 28px 55px rgba(30, 64, 143, 0.42) !important;
}


/* ================================================ */
/* Photo Hero Cards - 2-Column Split Gateway        */
/* ================================================ */

.hero-split-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
}

.photo-hero-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 420px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 2rem 1.75rem !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25) !important;
}

.photo-hero-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 22px 55px rgba(0,0,0,0.4) !important;
}

.commodity-card {
    background-image: linear-gradient(to right, rgba(100,10,20,0.9) 35%, rgba(90,10,10,0.3) 100%), url(https://firstlinktrading.com/wp-content/uploads/2026/07/card-commodity-sourcing-bg.jpg) !important;
}

.business-card {
    background-image: linear-gradient(to right, rgba(8,20,60,0.92) 35%, rgba(10,30,80,0.3) 100%), url(https://firstlinktrading.com/wp-content/uploads/2026/07/card-jakarta-business-bg.jpg) !important;
}

.photo-card-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    background: rgba(255,255,255,0.18) !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    color: #FFFFFF !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    width: fit-content !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

.photo-card-badge svg {
    fill: #FFFFFF !important;
    flex-shrink: 0 !important;
}

.photo-card-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding-top: 1.25rem !important;
}

.photo-card-title {
    color: #FFFFFF !important;
    font-size: 1.65rem !important;
    font-family: var(--font-headings) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 0 0.85rem 0 !important;
}

.photo-card-divider {
    width: 48px !important;
    height: 3px !important;
    border-radius: 3px !important;
    margin-bottom: 0.85rem !important;
}

.commodity-divider { background: #C41E3A !important; }
.business-divider  { background: #4A90D9 !important; }

.photo-card-desc {
    color: rgba(255,255,255,0.88) !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin: 0 0 1.5rem 0 !important;
}

.photo-card-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #FFFFFF !important;
    color: #111111 !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    width: fit-content !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2) !important;
}

.photo-hero-card:hover .photo-card-cta {
    background: #F4F4F4 !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
}

.photo-card-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    flex-shrink: 0 !important;
    color: #FFFFFF !important;
}

.commodity-arrow { background: #C41E3A !important; }
.business-arrow  { background: #1A3A7A !important; }

@media (max-width: 992px) {
    .hero-split-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    .photo-hero-card {
        min-height: 350px !important;
        padding: 1.5rem 1.25rem !important;
    }
    .photo-card-title { font-size: 1.2rem !important; }
    .photo-card-desc  { font-size: 0.85rem !important; }
    .photo-card-cta   { font-size: 0.78rem !important; padding: 10px 14px !important; }
}

@media (max-width: 576px) {
    .hero-split-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }
    .photo-hero-card {
        min-height: 290px !important;
        padding: 1rem 0.85rem !important;
        border-radius: 14px !important;
    }
    .photo-card-badge {
        font-size: 0.58rem !important;
        padding: 5px 9px !important;
    }
    .photo-card-title {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }
    .photo-card-divider {
        width: 32px !important;
        height: 2px !important;
        margin-bottom: 0.5rem !important;
    }
    .photo-card-desc {
        font-size: 0.75rem !important;
        margin-bottom: 0.85rem !important;
    }
    .photo-card-cta {
        font-size: 0.68rem !important;
        padding: 8px 10px !important;
        gap: 6px !important;
    }
    .photo-card-arrow {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.75rem !important;
    }
}

/* Red Footer - All White Contents */
footer {
    background-color: #C41E3A !important;
    color: #FFFFFF !important;
}
footer h4, footer .footer-col h4 { color: #FFFFFF !important; }
footer h4::after, footer .footer-col h4::after { background-color: #FFFFFF !important; }
footer p, footer .footer-desc, footer .footer-links a,
footer .footer-contact li, footer .footer-bottom, footer span { color: #FFFFFF !important; }
footer .footer-links a:hover { color: rgba(255,255,255,0.8) !important; }
footer .footer-contact li svg, footer svg { fill: #FFFFFF !important; color: #FFFFFF !important; }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.2) !important; }


/* Fix: Remove white gap below cards on tablet/mobile */
#home-view {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
}

.hero-split-section {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 2rem !important;
}

@media (max-width: 1024px) {
    #home-view {
        min-height: 0 !important;
        height: auto !important;
        padding-bottom: 0 !important;
    }
    .hero-split-section {
        padding-bottom: 1.5rem !important;
    }
}


/* Hero Banner Image Fix for Mobile and Tablet */
.cat-hero { min-height: 280px !important; }

.cat-hero-bg-img {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 58% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    z-index: 0 !important;
    opacity: 1 !important;
    display: block !important;
}

@media (max-width: 992px) {
    .cat-hero {
        min-height: 260px !important;
        padding: 3rem 0 3.5rem 0 !important;
    }
    .cat-hero-bg-img {
        width: 50% !important;
        opacity: 1 !important;
        display: block !important;
    }
    .cat-hero .container > div {
        max-width: 52% !important;
    }
}

@media (max-width: 768px) {
    .cat-hero {
        min-height: 300px !important;
        padding: 2.5rem 0 3rem 0 !important;
    }
    .cat-hero-bg-img {
        width: 100% !important;
        opacity: 1 !important;
        display: block !important;
    }
    .cat-hero .container > div {
        max-width: 70% !important;
    }
}

@media (max-width: 480px) {
    .cat-hero .container > div {
        max-width: 80% !important;
    }
}


/* ===================================================== */
/* Hero Banner: background-image approach (all devices)  */
/* ===================================================== */

/* Remove old opacity/width overrides on the now-deleted img tag */
.cat-hero-bg-img { display: none !important; }

/* Desktop: gradient covers left 35%, image visible on right */
.cat-hero {
    background-size: cover !important;
    background-position: center right !important;
    background-repeat: no-repeat !important;
    min-height: 280px !important;
}

/* Gradient overlay adjustments per screen */
@media (max-width: 992px) {
    .cat-hero {
        padding: 3.5rem 0 4rem 0 !important;
        background-position: 70% center !important;
    }
}

@media (max-width: 768px) {
    .cat-hero {
        padding: 3rem 0 3.5rem 0 !important;
        background-position: 65% center !important;
    }
    .cat-hero .container > div {
        max-width: 75% !important;
    }
}

@media (max-width: 480px) {
    .cat-hero {
        padding: 2.5rem 0 3rem 0 !important;
        background-position: 60% center !important;
    }
    .cat-hero .container > div {
        max-width: 85% !important;
    }
}





/* =============================================
   SERVICE LISTING CARDS - FULLY RESPONSIVE
   ============================================= */
.svc-section {
    padding: 4.5rem 0 3.5rem 0;
    background: #FFFFFF;
}
.svc-section--alt {
    background: #F8FAFC;
}
.svc-divider {
    width: 100%; height: 4px;
    background: linear-gradient(to right, #C41E3A, #E85D75, #C41E3A);
}
.svc-section-header {
    margin-bottom: 2.5rem;
}
.svc-section-badge {
    display: inline-block;
    background: #C41E3A; color: #FFF;
    font-size: 0.72rem; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 5px 18px; border-radius: 20px;
    margin-bottom: 0.75rem;
}
.svc-section-title {
    font-size: 2rem; font-weight: 800;
    color: #0F172A; margin: 0 0 0.5rem 0;
    font-family: var(--font-headings, inherit);
}
.svc-section-sub {
    color: #64748B; font-size: 1rem;
    line-height: 1.6; max-width: 640px; margin: 0;
}
.svc-list {
    display: flex; flex-direction: column; gap: 1.5rem;
}

/* --- Individual Card --- */
.svc-card {
    display: flex; flex-direction: row;
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.svc-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Image area — LARGE */
.svc-card-img {
    flex-shrink: 0;
    width: 320px;
    min-height: 220px;
}
.svc-card-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

/* Text body */
.svc-card-body {
    flex: 1;
    padding: 1.8rem 2rem;
    display: flex; flex-direction: column;
    justify-content: center;
}
.svc-tag {
    display: inline-block;
    background: #FEF2F2; color: #C41E3A;
    font-size: 0.68rem; font-weight: 800;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 3px 12px; border-radius: 12px;
    margin-bottom: 0.6rem; width: fit-content;
}
.svc-card-body h3 {
    font-size: 1.25rem; font-weight: 700;
    color: #0F172A; margin: 0 0 0.5rem 0;
    font-family: var(--font-headings, inherit);
}
.svc-card-body p {
    color: #64748B; font-size: 0.92rem;
    line-height: 1.65; margin: 0 0 0.8rem 0;
}
.svc-bullets {
    color: #64748B; font-size: 0.88rem;
    line-height: 1.7; margin: 0 0 1rem 0;
    padding-left: 1.2rem;
}
.svc-bullets li { margin-bottom: 0.15rem; }
.svc-link {
    color: #C41E3A; font-weight: 700;
    font-size: 0.9rem; text-decoration: none;
    transition: color 0.2s ease;
}
.svc-link:hover { color: #A01830; }

/* --- TABLET (768px - 1024px) --- */
@media (max-width: 1024px) {
    .svc-card-img {
        width: 260px; min-height: 200px;
    }
    .svc-card-body {
        padding: 1.4rem 1.5rem;
    }
    .svc-section {
        padding: 3.5rem 0 2.5rem 0;
    }
}

/* --- MOBILE (below 768px) — stack vertically --- */
@media (max-width: 768px) {
    .svc-card {
        flex-direction: column;
    }
    .svc-card-img {
        width: 100%; min-height: 200px;
        max-height: 240px;
    }
    .svc-card-body {
        padding: 1.3rem 1.2rem 1.5rem 1.2rem;
    }
    .svc-section-title {
        font-size: 1.55rem;
    }
    .svc-section {
        padding: 2.5rem 0 2rem 0;
    }
    .svc-section-header {
        margin-bottom: 1.8rem;
    }
}

/* --- SMALL MOBILE (below 480px) --- */
@media (max-width: 480px) {
    .svc-card-img {
        max-height: 190px;
    }
    .svc-card-body h3 {
        font-size: 1.1rem;
    }
    .svc-card-body p, .svc-bullets {
        font-size: 0.85rem;
    }
    .svc-section-title {
        font-size: 1.35rem;
    }
}

/* =============================================
   SERVICE CARDS - MOBILE/TAB RESPONSIVE FIX
   ============================================= */

/* Ensure card body always has solid background */
.svc-card-body {
    background: #FFF;
    position: relative;
    z-index: 2;
}

/* Image container must be self-contained */
.svc-card-img {
    position: relative;
    overflow: hidden;
}
.svc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* TABLET (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .svc-card {
        flex-direction: row;
    }
    .svc-card-img {
        width: 220px;
        min-height: 180px;
        flex-shrink: 0;
    }
    .svc-card-body {
        padding: 1.2rem 1.3rem;
    }
    .svc-card-body h3 {
        font-size: 1.1rem;
    }
    .svc-card-body p,
    .svc-bullets {
        font-size: 0.85rem;
    }
    .svc-section-title {
        font-size: 1.6rem;
    }
    .svc-filter-bar .container {
        gap: 0.5rem !important;
    }
    .svc-filter-btn {
        padding: 8px 20px !important;
        font-size: 0.85rem !important;
    }
}

/* MOBILE (below 768px) - stack vertically */
@media (max-width: 768px) {
    .svc-card {
        flex-direction: column !important;
    }
    .svc-card-img {
        width: 100% !important;
        height: 200px !important;
        min-height: unset !important;
        max-height: 200px !important;
        flex-shrink: 0;
    }
    .svc-card-img img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    .svc-card-body {
        padding: 1.2rem 1rem 1.4rem 1rem !important;
        background: #FFF !important;
    }
    .svc-card-body h3 {
        font-size: 1.1rem;
    }
    .svc-card-body p,
    .svc-bullets {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    .svc-bullets {
        padding-left: 1rem;
    }
    .svc-section {
        padding: 2rem 0 1.5rem 0 !important;
    }
    .svc-section-header {
        margin-bottom: 1.5rem !important;
    }
    .svc-section-title {
        font-size: 1.4rem !important;
    }
    .svc-section-sub {
        font-size: 0.9rem !important;
    }
    .svc-list {
        gap: 1.2rem !important;
    }
    .svc-filter-bar {
        top: 70px !important;
    }
    .svc-filter-bar .container {
        gap: 0.4rem !important;
    }
    .svc-filter-btn {
        padding: 8px 16px !important;
        font-size: 0.82rem !important;
    }
    .svc-tag {
        font-size: 0.62rem !important;
    }
    .svc-link {
        font-size: 0.85rem !important;
    }
}

/* SMALL MOBILE (below 480px) */
@media (max-width: 480px) {
    .svc-card-img {
        height: 170px !important;
        max-height: 170px !important;
    }
    .svc-card-img img {
        height: 170px;
    }
    .svc-card-body {
        padding: 1rem 0.9rem 1.2rem 0.9rem !important;
    }
    .svc-card-body h3 {
        font-size: 1rem !important;
    }
    .svc-card-body p,
    .svc-bullets {
        font-size: 0.82rem !important;
    }
    .svc-section-title {
        font-size: 1.25rem !important;
    }
    .svc-filter-btn {
        padding: 7px 14px !important;
        font-size: 0.78rem !important;
    }
}

/* --- PRODUCT FILTER RESPONSIVE IMPROVEMENTS --- */
@media (max-width: 1024px) {
    .filter-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0.75rem !important;
        background: var(--slate-50) !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 12px !important;
    }
    .filter-btn-group {
        display: flex !important;
        flex-wrap: wrap !important;
        overflow: visible !important;
        overflow-x: visible !important;
        gap: 0.4rem !important;
        width: 100% !important;
        justify-content: flex-start !important;
        padding-bottom: 0 !important;
    }
    .filter-btn {
        flex: 0 0 auto !important;
        padding: 7px 14px !important;
        font-size: 0.78rem !important;
        border-radius: 30px !important;
        background: #FFFFFF !important;
        color: #1e293b !important;
        border: 1px solid var(--border-color) !important;
        white-space: nowrap !important;
    }
    .filter-btn.active,
    .filter-btn:hover,
    .filter-btn:active,
    .filter-btn:focus {
        background: var(--primary-red) !important;
        background-color: var(--primary-red) !important;
        border-color: var(--primary-red) !important;
        color: #FFFFFF !important;
    }
    .product-count {
        text-align: left !important;
        padding-left: 4px;
        margin-top: 0.25rem;
    }
}


/* Explicit text colors for active filter button */
.filter-btn.active,
.filter-btn.active:hover,
.filter-btn.active:focus,
.filter-btn.active:active {
    background-color: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    color: #FFFFFF !important;
}
