/* ==========================================================================
   Om Medicare Enterprises - Premium Corporate Design System
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* --- Modern Custom Properties --- */
:root {
    /* Color Palette */
    --primary-red: #A81C1C;
    --primary-hover: #8A1414;
    --primary-light: #FDF2F2;
    --secondary-blue: #0E7490;
    --secondary-hover: #0891B2;
    --secondary-light: #ECFEFF;
    
    /* Neutrals */
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;
    --border-color: #E2E8F0;
    --border-hover: #CBD5E1;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --info: #3B82F6;

    /* Typographic Weights */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(168, 28, 28, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 40px -15px rgba(168, 28, 28, 0.12), 0 12px 16px -8px rgba(0, 0, 0, 0.04);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout Constants */
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.3;
}

p {
    color: var(--text-muted);
}

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

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

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

/* --- Accessibility & Focus states --- */
*:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 4px;
}

/* ==========================================================================
   Component & Layout Utilities
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-light);
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(168, 28, 28, 0.15);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    position: relative;
}

.section-title span {
    color: var(--primary-red);
}

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

/* --- Premium Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--bg-main);
    box-shadow: 0 4px 12px rgba(168, 28, 28, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 28, 28, 0.35);
}

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

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--secondary-blue);
    color: var(--bg-main);
    box-shadow: 0 4px 12px rgba(14, 116, 144, 0.15);
}

.btn-accent:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 116, 144, 0.25);
}

/* ==========================================================================
   Header / Sticky Navigation
   ========================================================================== */
.header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: transparent;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    height: 70px;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.header.scrolled .logo-image {
    height: 42px;
}

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

.logo-brand {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

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

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

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1010;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* Mobile Nav Menu Show */
@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-main);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px;
        gap: 24px;
        transition: 0.4s ease-in-out;
        z-index: 1005;
    }
    
    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        width: 100%;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ==========================================================================
   Hero Section & ECG Motif
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* Heartbeat Grid Motif Styling */
.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(168, 28, 28, 0.015) 1px, transparent 0),
        linear-gradient(rgba(168, 28, 28, 0.01) 1px, transparent 0),
        linear-gradient(90deg, rgba(168, 28, 28, 0.01) 1px, transparent 0);
    background-size: 40px 40px, 20px 20px, 20px 20px;
    background-position: center;
    z-index: 1;
}

.hero-ecg-svg {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 2;
    opacity: 0.15;
    pointer-events: none;
}

.ecg-line {
    stroke: var(--primary-red);
    stroke-width: 2.5;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawECG 12s linear infinite;
    fill: none;
}

@keyframes drawECG {
    0% { stroke-dashoffset: 2000; }
    80% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}

.hero .container {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--primary-light);
    color: var(--primary-red);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(168, 28, 28, 0.1);
}

.hero-tag i {
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.2); }
    40% { transform: scale(1.1); }
    60% { transform: scale(1.3); }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--primary-red);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(168, 28, 28, 0.1);
    z-index: -1;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Hero Trust Strip */
.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.trust-item i {
    color: var(--success);
    font-size: 1rem;
}

.trust-separator {
    width: 4px;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 50%;
}

/* Hero Graphic Frame */
.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 480px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-main);
    border: 4px solid var(--bg-main);
    z-index: 2;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #A81C1C 0%, #1E3A8A 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--bg-main);
    padding: 32px;
    text-align: center;
}

.hero-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.9;
    animation: heartbeat 2s infinite ease-in-out;
}

.hero-glow-bg {
    position: absolute;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(168, 28, 28, 0.08) 0%, transparent 70%);
    top: -15%;
    left: -15%;
    z-index: 1;
    border-radius: 50%;
    animation: rotateGlow 30s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 991px) {
    .hero {
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 60px;
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust-strip {
        justify-content: center;
    }

    .hero-image-frame {
        max-width: 400px;
        height: 400px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-trust-strip {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .trust-separator {
        display: none;
    }

    .hero-image-frame {
        max-width: 320px;
        height: 320px;
    }
}

/* ==========================================================================
   Products Grid & Filtering
   ========================================================================== */
.products-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    background-color: var(--bg-light);
    color: var(--text-muted);
    border-radius: 50px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-red);
    color: var(--bg-main);
    border-color: var(--primary-red);
    box-shadow: 0 4px 10px rgba(168, 28, 28, 0.15);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

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

/* Premium Product Card */
.product-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(168, 28, 28, 0.2);
}

.product-img-box {
    position: relative;
    width: 100%;
    height: 240px;
    background-color: var(--bg-light);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.product-card-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #1E293B 0%, #475569 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--bg-main);
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

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

.product-placeholder-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    opacity: 0.8;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background-color: var(--primary-red);
    color: var(--bg-main);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.product-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.product-card:hover .product-name {
    color: var(--primary-red);
}

.product-desc {
    font-size: 0.925rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.product-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-blue);
    background-color: var(--secondary-light);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(14, 116, 144, 0.1);
}

.product-action-row {
    display: flex;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.product-action-row .btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.85rem;
}

/* Flagship Product Feature Showcase */
.flagship-showcase {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    margin-top: 60px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 991px) {
    .flagship-showcase {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 32px;
    }
}

.flagship-graphic {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-md);
}

.flagship-details-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--primary-red);
}

.flagship-specs-list {
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

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

.flagship-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.flagship-spec-item i {
    color: var(--primary-red);
    font-size: 1.1rem;
}

/* Elegant Table Design */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-top: 32px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.spec-table th, 
.spec-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
}

.spec-table th {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

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

.spec-table tr:hover td {
    background-color: rgba(168, 28, 28, 0.02);
}

.gauge-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.1);
}

/* Color Coding for Gauges */
.dot.orange { background-color: #FF6600; }
.dot.grey { background-color: #8E8E93; }
.dot.green { background-color: #00B159; }
.dot.pink { background-color: #FF5E8E; }
.dot.blue { background-color: #0088FF; }
.dot.yellow { background-color: #FFCC00; }
.dot.none { background-color: transparent; border: 1px dashed var(--border-color); }

/* ==========================================================================
   About Us & Manufacturing Sections
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.about-text h3 {
    font-size: 1.85rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.highlight-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

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

.highlight-card {
    background-color: var(--bg-card);
    padding: 24px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.highlight-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    font-size: 1.75rem;
    color: var(--primary-red);
    margin-bottom: 12px;
}

.highlight-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-main);
}

.highlight-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Manufacturing Layout */
.manufacturing-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .manufacturing-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.mfg-images-cluster {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mfg-image-box {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 200px;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--bg-card);
}

.mfg-image-box.large {
    grid-column: span 2;
    height: 240px;
}

/* ==========================================================================
   Quality & Certifications Section
   ========================================================================== */
.quality-edge-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .quality-edge-row {
        grid-template-columns: 1fr;
    }
}

.quality-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.quality-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 116, 144, 0.3);
    box-shadow: var(--shadow-lg);
}

.quality-card-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(168, 28, 28, 0.1);
    line-height: 1;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.quality-card:hover .quality-card-num {
    color: var(--primary-red);
}

.quality-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

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

/* Badges Showcase */
.badges-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 48px;
}

.trust-badge-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.trust-badge-icon {
    font-size: 2rem;
    color: var(--secondary-blue);
}

.trust-badge-info {
    text-align: left;
}

.trust-badge-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.trust-badge-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Applications & Icon Cards
   ========================================================================== */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.app-card {
    background-color: var(--bg-card);
    padding: 32px 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.app-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-lg);
}

.app-icon-box {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary-red);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.75rem;
    transition: var(--transition-smooth);
}

.app-card:hover .app-icon-box {
    background-color: var(--primary-red);
    color: var(--bg-main);
}

.app-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.app-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Contact Section & Interactive Forms
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: stretch;
}

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

.contact-info-panel {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: var(--bg-main);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
}

.contact-info-top h3 {
    color: var(--bg-main);
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info-top p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-light);
    flex-shrink: 0;
}

.contact-detail-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-detail-content p, 
.contact-detail-content a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-detail-content a:hover {
    color: var(--primary-light);
}

.map-wrapper {
    width: 100%;
    height: 180px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.map-placeholder-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Premium Form Design */
.contact-form-panel {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 576px) {
    .contact-form-panel, 
    .contact-info-panel {
        padding: 24px;
    }
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light);
    color: var(--text-main);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    background-color: var(--bg-main);
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(168, 28, 28, 0.08);
}

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

.form-success-banner {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-weight: 600;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.form-success-banner.visible {
    opacity: 1;
    height: auto;
}

/* ==========================================================================
   Footer & Global Disclaimer
   ========================================================================== */
.footer {
    background-color: #0F172A;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 32px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

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

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

.footer-col h4 {
    color: var(--bg-main);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--bg-main);
    font-family: var(--font-heading);
}

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

.footer-logo-tag {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

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

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-contact-row i {
    color: var(--primary-red);
    margin-top: 4px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.775rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Interactive Product Specs Modal
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 850px;
    max-height: 90vh;
    border-radius: var(--border-radius-lg);
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    position: relative;
    transform: scale(0.9);
    transition: cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    z-index: 100;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-red);
    transform: rotate(90deg);
}

.modal-body {
    padding: 48px;
}

@media (max-width: 576px) {
    .modal-body {
        padding: 24px;
    }
}

.modal-product-header {
    margin-bottom: 24px;
}

.modal-product-name {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--primary-red);
}

.modal-product-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Sticky UI & Special Utilities
   ========================================================================== */

/* Floating WhatsApp Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

/* Back To Top Button */
.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 38px;
    width: 48px;
    height: 48px;
    background-color: var(--bg-card);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    z-index: 998;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-red);
    color: var(--bg-main);
    border-color: var(--primary-red);
    transform: translateY(-4px);
}

/* Scroll Reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Placeholder Specific Overrides for White Text Legibility */
.product-card-placeholder h1,
.product-card-placeholder h2,
.product-card-placeholder h3,
.product-card-placeholder h4,
.product-card-placeholder h5,
.product-card-placeholder h6,
.hero-placeholder h1,
.hero-placeholder h2,
.hero-placeholder h3,
.hero-placeholder h4,
.hero-placeholder h5,
.hero-placeholder h6 {
    color: #FFFFFF !important;
}

.product-card-placeholder p,
.hero-placeholder p {
    color: rgba(255, 255, 255, 0.85) !important;
}
