/* ==========================================================================
   HOA GLOBAL GENERAL TRADING - LIGHT THEME DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* 1. CSS VARIABLES & SYSTEM DESIGN */
:root {
    /* Color Palette */
    --color-primary: #0891b2;          /* Deep Cyan / Clinical Teal */
    --color-primary-rgb: 8, 145, 178;
    --color-secondary: #0284c7;        /* Medical Ocean Blue */
    --color-secondary-rgb: 2, 132, 199;
    --color-accent: #10b981;           /* Clinical Emerald Green */
    --color-accent-rgb: 16, 185, 129;
    --color-warning: #d97706;          /* Supply Chain Gold/Amber */
    --color-warning-rgb: 217, 119, 6;
    
    /* Backgrounds */
    --bg-light-1: #f8fafc;             /* Light Slate background */
    --bg-light-2: #f1f5f9;             /* Section alternative background */
    --bg-light-3: #ffffff;             /* Pure white for cards */
    --bg-glass: rgba(255, 255, 255, 0.8);
    --border-light: rgba(0, 0, 0, 0.06);
    --border-light-hover: rgba(2, 132, 199, 0.2);
    
    /* Text Colors */
    --text-primary: #0f172a;           /* Deep Slate Navy for headings */
    --text-secondary: #334155;         /* Medium Slate for body */
    --text-muted: #64748b;             /* Muted Slate for labels */
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Animation & Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Structural variables */
    --header-height: 85px;
    --container-width: 1280px;
}

/* 2. BASE STYLES & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-light-1);
    color: var(--text-secondary);
    font-family: var(--font-primary);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

ul {
    list-style: none;
}

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

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

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

.grid {
    display: grid;
    gap: 2rem;
}

.align-center {
    align-items: center;
}

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

.justify-center {
    justify-content: center;
}

.flex {
    display: flex;
}

.section-padding {
    padding: 8rem 0;
}

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

/* 3. TYPOGRAPHY & GRADIENTS */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 20%, var(--color-secondary) 70%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--color-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.35);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.btn-secondary {
    background: rgba(2, 132, 199, 0.05);
    color: var(--color-secondary);
    border: 2px solid rgba(2, 132, 199, 0.15);
}

.btn-secondary:hover {
    background: rgba(2, 132, 199, 0.1);
    transform: translateY(-3px);
    border-color: var(--color-secondary);
}

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

.btn-outline:hover {
    border-color: var(--color-secondary);
    background-color: rgba(2, 132, 199, 0.05);
    color: var(--color-secondary);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Premium Card styling */
.glass {
    background: var(--bg-light-3);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: all var(--transition-normal);
}

.glass:hover {
    border-color: var(--border-light-hover);
    box-shadow: 0 15px 40px rgba(2, 132, 199, 0.08);
}

/* 4. HEADER & NAV STYLING */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.site-header.scrolled {
    height: 75px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

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

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

.header-logo-img {
    height: 48px;
    width: auto;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-fast);
}

.site-header.scrolled .header-logo-img {
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 850;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-family: var(--font-primary);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    transition: var(--transition-fast);
}

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

.nav-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1010;
}

.hamburger {
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    left: 3px;
    top: 14px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Active Hamburger State */
.nav-toggle.open .hamburger {
    background: transparent;
}

.nav-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}


/* 5. HERO TEXT SLIDER SECTION STYLING */
.hero-text-slider-section {
    position: relative;
    min-height: 80vh;
    padding-top: var(--header-height);
    background: radial-gradient(circle at 50% 30%, rgba(2, 132, 199, 0.04) 0%, rgba(248, 250, 252, 1) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 1.5rem 4rem;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    min-height: 440px;
}

.hero-text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: translateY(15px);
}

.hero-text-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-text-slide .badge {
    margin-bottom: 2rem;
}

.hero-text-slide .hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text-slide .hero-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text-slide .hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-text-slide .hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

/* Arrow Navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
    z-index: 10;
    transition: all var(--transition-fast);
}

.slider-arrow:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.prev-arrow {
    left: -2rem;
}

.next-arrow {
    right: -2rem;
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-dot.active {
    width: 28px;
    border-radius: 50px;
    background-color: var(--color-primary);
}

.inner-page-hero {
    padding-top: 3.5rem !important;
}

/* Media Queries for Centered Slider */
@media (max-width: 1024px) {
    .prev-arrow {
        left: 0rem;
    }
    .next-arrow {
        right: 0rem;
    }
}

@media (max-width: 768px) {
    .hero-text-slider-section {
        min-height: auto;
        padding-top: calc(var(--header-height) + 1rem);
        padding-bottom: 2rem;
    }
    .hero-slider-container {
        padding: 1.5rem 1rem 2.5rem;
    }
    .slider-wrapper {
        min-height: auto;
    }
    .hero-text-slide {
        position: absolute;
        width: 100%;
        opacity: 0;
        visibility: hidden;
    }
    .hero-text-slide.active {
        position: relative;
        opacity: 1;
        visibility: visible;
        padding-bottom: 2.5rem;
    }
    .hero-text-slide .badge {
        margin-bottom: 1rem;
    }
    .hero-text-slide .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
        letter-spacing: -0.5px;
        margin-bottom: 1rem;
    }
    .hero-text-slide .hero-lead {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    .hero-text-slide .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-text-slide .hero-actions .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    .hero-text-slide .hero-stats {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    .hero-text-slide .stat-item {
        flex: 1 1 28%;
        min-width: 90px;
        text-align: center;
    }
    .hero-text-slide .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.15rem;
    }
    .hero-text-slide .stat-label {
        font-size: 0.7rem;
        max-width: 100%;
        line-height: 1.2;
    }
    .slider-arrow {
        display: none;
    }
    .slider-dots {
        bottom: 0.5rem;
    }
}
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(8, 145, 178, 0.08);
    top: -50px;
    right: 50px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(16, 185, 129, 0.05);
    bottom: -50px;
    left: 50px;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    color: #065f46;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
    animation: blink 1.5s infinite;
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--text-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 140px;
}

/* Hero Visual SVG */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.glowing-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.med-vector {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(15, 23, 42, 0.08));
}

.pulse-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-pulse 5s linear infinite;
}

.floating-box {
    animation: float 6s ease-in-out infinite;
}

.info-tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-light-3);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    z-index: 3;
    animation: float-tag 5s ease-in-out infinite;
}

.tag-top {
    top: 15%;
    right: -5%;
    animation-delay: 0.5s;
}

.tag-bottom {
    bottom: 15%;
    left: -5%;
    animation-delay: 1.5s;
}

.tag-icon {
    font-size: 1.2rem;
}

.tag-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* 6. GENERAL SECTION HEADER */
.section-header {
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: -0.75px;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.header-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* 7. CORPORATE OVERVIEW SECTION */
.overview-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
}

.overview-text .lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.overview-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.promise-quote {
    position: relative;
    padding-left: 2.5rem;
    border-left: 4px solid var(--color-primary);
    margin-top: 3rem;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 0.5rem;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: rgba(8, 145, 178, 0.1);
    line-height: 1;
}

.quote-text {
    font-size: 1.05rem;
    color: var(--text-primary) !important;
    line-height: 1.5;
    margin-bottom: 0 !important;
}

.quote-text strong {
    color: var(--color-primary);
}

.overview-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.vision-card {
    padding: 2.5rem;
}

.card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: rgba(2, 132, 199, 0.07);
    border: 1px solid rgba(2, 132, 199, 0.15);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.card-icon {
    width: 24px;
    height: 24px;
}

.vision-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.vision-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}


/* 8. HOA ADVANTAGE SECTION */
.advantage-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.advantage-card {
    position: relative;
    padding: 3rem 2.5rem 2.5rem;
    overflow: hidden;
}

.card-num {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.03);
    line-height: 1;
    transition: var(--transition-normal);
}

.advantage-card:hover .card-num {
    color: rgba(2, 132, 199, 0.08);
    transform: scale(1.1);
}

.adv-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.06);
    border: 1px solid rgba(2, 132, 199, 0.15);
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

.adv-icon svg {
    width: 28px;
    height: 28px;
}

.advantage-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.advantage-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.card-list {
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-list li::before {
    content: '•';
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 1.25rem;
}


/* 9. COMPREHENSIVE PRODUCT PORTFOLIO */
.portfolio-tabs {
    gap: 0.75rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-light-3);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(2, 132, 199, 0.3);
    background: rgba(2, 132, 199, 0.02);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-color: var(--color-secondary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

.mobile-category-select {
    display: none;
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    font-family: var(--font-heading);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background-color: var(--bg-light-3);
    color: var(--text-primary);
    margin-bottom: 2rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.mobile-category-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

@media (max-width: 768px) {
    .portfolio-tabs {
        flex-wrap: wrap;
        overflow-x: visible;
        justify-content: flex-start;
        padding-bottom: 0;
        padding-top: 10px;
        position: sticky;
        top: calc(var(--header-height) - 10px);
        z-index: 100;
        background: var(--bg-light-1);
        margin-left: -2rem;
        margin-right: -2rem;
        padding-left: 2rem;
        padding-right: 2rem;
        border-bottom: 1px solid var(--border-light);
        margin-bottom: 2rem;
    }
    .portfolio-tabs::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        display: none; /* Hide buttons on mobile */
    }
    .mobile-category-select {
        display: block; /* Show dropdown on mobile */
    }
}

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

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    transform: translateY(0);
}

.product-card.hide {
    display: none;
}

.product-image-container {
    height: 220px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-image-placeholder {
    height: 220px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(2, 132, 199, 0.4);
    position: relative;
    overflow: hidden;
}

.product-image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, rgba(255, 255, 255, 0) 80%);
}

.med-svg-icon {
    width: 64px;
    height: 64px;
    transition: var(--transition-normal);
}

.product-card:hover .med-svg-icon {
    transform: scale(1.15);
    color: var(--color-secondary);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    background: var(--bg-light-3);
    border: 1px solid var(--border-light);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.product-cat {
    color: var(--color-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

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

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.25rem;
}

.product-features li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li::before {
    content: "✓";
    color: var(--color-accent);
    font-weight: bold;
}


/* 10. OPERATIONAL WORKFLOW SECTION */
.workflow-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.workflow-steps-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--bg-light-3);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.step-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    border-radius: 100px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--bg-light-2);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.step-nav-btn:hover {
    color: var(--text-primary);
}

.step-nav-btn:hover .step-num {
    background: rgba(2, 132, 199, 0.08);
    color: var(--color-secondary);
}

.step-nav-btn.active {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.15);
}

.step-nav-btn.active .step-num {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--color-secondary);
}

.workflow-details {
    padding: 4rem;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.workflow-details-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.workflow-details-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.workflow-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.step-tag {
    display: inline-block;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.workflow-desc-col h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.step-summary {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.workflow-desc-col p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.handle-box {
    background: var(--bg-light-1);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
}

.handle-box h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.handle-box ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.handle-box li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.handle-box li::before {
    content: "⚡";
    color: var(--color-secondary);
    font-size: 0.8rem;
}

.handle-box li.has-custom-icon::before {
    display: none;
}

.handle-box li.has-custom-icon svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.workflow-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-icon-bg {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    position: relative;
}

.step-icon-bg svg {
    width: 70px;
    height: 70px;
    color: var(--color-secondary);
    animation: float 6s ease-in-out infinite;
}


/* 11. COMMITMENT TO QUALITY & SUSTAINABILITY */
.quality-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.quality-content .section-title {
    margin-bottom: 2rem;
}

.quality-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.quality-points {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.quality-point {
    display: flex;
    gap: 1.5rem;
}

.point-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 50%;
    color: var(--color-accent);
    font-weight: 700;
}

.quality-point h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.quality-point p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.quality-graphics {
    display: flex;
    justify-content: center;
    position: relative;
}

.cert-seal {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-light-hover);
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.04);
}

.cert-icon {
    width: 60px;
    height: 60px;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.cert-seal h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cert-seal p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.cert-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 2px dashed rgba(2, 132, 199, 0.15);
    animation: rotate-slow 40s linear infinite;
}


/* 12. CONTACT & FORM SECTION */
.contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
}

.contact-details-list {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.05);
    border: 1px solid rgba(2, 132, 199, 0.15);
    color: var(--color-secondary);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-text a:hover {
    color: var(--color-secondary);
}

.form-wrapper {
    padding: 3.5rem;
}

.form-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.form-wrapper p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.2rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

/* Form validation states */
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: #ef4444;
}

.error-msg {
    display: none;
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.4rem;
}

.form-group.invalid .error-msg {
    display: block;
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991b1b;
}


/* 13. SITE FOOTER */
.site-footer {
    background-color: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6rem 0 0 0;
    color: #e2e8f0;
}

.site-footer h4, .site-footer h1, .site-footer h2, .site-footer h3 {
    color: #ffffff;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr 0.9fr;
    gap: 6rem;
    padding-bottom: 5rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 360px;
    margin-top: 1rem;
}

.site-footer h4 {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}

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

.site-footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.site-footer ul a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.site-footer ul a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.site-footer ul li {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-regulatory ul li {
    position: relative;
    padding-left: 1.25rem;
}

.footer-regulatory ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

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

.footer-legal a:hover {
    color: #ffffff;
}

/* Home Portal Snippet Styles */
.portal-summary-box {
    padding: 3rem;
    margin-bottom: 3rem;
}

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

.portal-link-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.portal-link-card h3 {
    margin-bottom: 0.75rem;
}

.portal-link-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more-link:hover {
    color: var(--color-primary);
    transform: translateX(3px);
}


/* 14. ANIMATIONS */
@keyframes draw-pulse {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes float-tag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Entrance Animations using Javascript class hooks */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    animation: fadeInAnim 1s ease forwards;
}

.hero-title.fade-in { animation-delay: 0.1s; }
.hero-lead.fade-in { animation-delay: 0.2s; }
.hero-actions.fade-in { animation-delay: 0.3s; }
.hero-stats.fade-in { animation-delay: 0.4s; }
.hero-visual.fade-in { animation-delay: 0.25s; }

@keyframes fadeInAnim {
    to {
        opacity: 1;
    }
}


/* 15. RESPONSIVE DESIGN - BREAKPOINTS */

@media (max-width: 1024px) {
    :root {
        --header-height: 75px;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual,
    .hero-visual-split {
        margin-top: 2rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portal-grid-link {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-steps-nav {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 20px;
        gap: 0.5rem;
    }
    
    .step-nav-btn {
        border-radius: 12px;
        padding: 1rem;
    }
    
    .workflow-details {
        padding: 2.5rem;
    }
    
    .workflow-info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .workflow-visual-col {
        order: -1;
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .quality-graphics {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    /* Mobile Menu Drawer */
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #ffffff;
        border-left: 1px solid var(--border-light);
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
        padding: calc(var(--header-height) + 2rem) 2.5rem 2rem;
        transition: right var(--transition-normal);
        z-index: 1000;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        width: 100%;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .portfolio-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0.5rem 1.25rem;
        margin: 0 -1.25rem 2.5rem -1.25rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .portfolio-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .portfolio-tabs .tab-btn {
        flex-shrink: 0;
    }

    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portal-grid-link {
        grid-template-columns: 1fr;
    }
    
    .workflow-steps-nav {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        padding: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Breadcrumbs Styling */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 550;
    color: var(--text-muted);
    margin-bottom: 2rem;
    list-style: none;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--color-primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1;
}

.breadcrumb-item.active {
    color: var(--color-primary);
    font-weight: 600;
}

