/* ============================================================
   RIYAMEDS PHARMA WEBSITE V2.0 — COMPLETE STYLESHEET
   Premium Warm-Cream Glassmorphism Design
   Font: Plus Jakarta Sans
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ---------------------------------------------------------- */
:root {
    --primary: #0A192F;
    --primary-light: #112240;
    --primary-lighter: #233554;
    --accent-green: #10B981;
    --accent-green-hover: #059669;
    --accent-teal: #06B6D4;
    --text-main: #CCD6F6;
    --text-muted: #8892B0;
    --bg-light: #F5EFE6;
    --bg-white: #FDFAF5;
    --bg-cream-mid: #F8F1E7;
    --text-dark: #0F172A;
    --text-dark-muted: #475569;
    --glass-bg: rgba(253, 250, 245, 0.88);
    --glass-border: rgba(210, 190, 155, 0.25);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

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

/* ----------------------------------------------------------
   3. PRELOADER
   ---------------------------------------------------------- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    transition: opacity 0.6s ease, visibility 0.6s ease;
    /* Pure-CSS fallback only (no visual effect once JS already hid it at ~400ms) —
       covers the rare case where script.js itself fails to load/run. */
    animation: preloaderAutoHide 0.6s ease 2.5s forwards;
}

@keyframes preloaderAutoHide {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.preloader-logo {
    width: 80px;
    height: 80px;
    animation: pulseLogo 1.4s ease-in-out infinite;
}

@keyframes pulseLogo {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ----------------------------------------------------------
   4. UTILITY CLASSES
   ---------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.mt-3  { margin-top: 1rem; }
.mt-4  { margin-top: 1.5rem; }
.mt-8  { margin-top: 3rem; }
.mt-16 { margin-top: 5rem; }
.mb-3  { margin-bottom: 1rem; }
.mb-4  { margin-bottom: 1.5rem; }
.mb-5  { margin-bottom: 2rem; }

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-dark-muted);
    max-width: 640px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.section-badge {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
    border-radius: 9999px;
    margin-bottom: 1rem;
}

/* ----------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 9999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-green);
    color: #fff;
    border-color: var(--accent-green);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
    background: var(--accent-green-hover);
    border-color: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--accent-green);
    border-color: var(--accent-green);
}

.btn-outline:hover {
    background: var(--accent-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--glass-border);
}

.btn-outline-dark:hover {
    background: var(--text-dark);
    color: #fff;
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--bg-cream-mid);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ----------------------------------------------------------
   6. HEADER
   ---------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(253, 250, 245, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.6rem 0;
    background: rgba(253, 250, 245, 0.95);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

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

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark-muted);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.15s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.08);
}

.nav-links a:hover::after {
    width: calc(100% - 2rem);
}

.nav-links a:active {
    transform: scale(0.92);
}

.nav-links a.active {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.14);
    font-weight: 800;
}

.nav-links a.active::after {
    width: calc(100% - 2rem);
    background: var(--primary);
}

@keyframes navClickPulse {
    0% { transform: scale(1); }
    40% { transform: scale(0.88); }
    100% { transform: scale(1); }
}

.nav-links a.nav-pulse {
    animation: navClickPulse 0.35s ease;
}

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

.contact-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.contact-phone i {
    color: var(--accent-green);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

/* ----------------------------------------------------------
   7. HERO
   ---------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 160px;
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 40%, var(--bg-cream-mid) 100%);
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.15);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.12);
    bottom: -80px;
    left: -80px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-brand-mark {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3.5rem;
    line-height: 1.1;
    gap: 6px;
    max-width: 100%;
    overflow: hidden;
}

.hero-brand-line1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5.5rem;
    font-weight: 900;
    color: #4caf27;
    letter-spacing: 10px;
    text-transform: uppercase;
    line-height: 1;
}

.hero-brand-line2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0A192F;
    letter-spacing: 16px;
    text-transform: uppercase;
}

.hero-brand-line3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #8892B0;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 2rem;
    padding-left: 1.1rem;
    border-left: 3px solid var(--accent-green);
    letter-spacing: 0.1px;
}

.hero-subtitle .highlight {
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.glass-card:hover {
    box-shadow: var(--shadow-md);
}

.hero .glass-card {
    padding: 2rem;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.stats-item {
    text-align: center;
    padding: 1rem;
}

.stats-item h4 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-green);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stats-item p {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    font-weight: 600;
}

/* ----------------------------------------------------------
   8. ABOUT SECTION
   ---------------------------------------------------------- */
.about-modern {
    background: var(--bg-white);
}

.about-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.about-text-column {
    padding: 2.5rem;
    border-radius: 20px;
}

.about-text-column:nth-child(1) {
    border-top: 4px solid var(--accent-green);
}

.about-text-column:nth-child(2) {
    border-top: 4px solid var(--accent-teal);
}

.about-text-column h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-text-column p {
    font-size: 1rem;
    color: var(--text-dark-muted);
    line-height: 1.8;
}

/* ----------------------------------------------------------
   9. MISSION & VISION
   ---------------------------------------------------------- */
.mission-vision-grand {
    position: relative;
    background: var(--primary);
    color: #fff;
    overflow: hidden;
}

.custom-shape-divider-top,
.custom-shape-divider-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top {
    top: 0;
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom {
    bottom: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-top svg .shape-fill,
.custom-shape-divider-bottom svg .shape-fill {
    fill: var(--bg-white);
}

.mv-grand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-top: 2rem;
}

.mv-grand-card {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem;
    transition: var(--transition);
}

.mv-grand-card:hover {
    background: rgba(17, 34, 64, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.mv-grand-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
}

.mv-text-content p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ----------------------------------------------------------
   10. BUSINESS DIVISIONS
   ---------------------------------------------------------- */
.divisions {
    background: var(--bg-light);
}

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

.division-card {
    padding: 2.5rem;
    text-align: center;
    cursor: default;
}

.division-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.division-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.6rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    transition: var(--transition);
}

.division-card:hover .division-icon {
    background: var(--accent-green);
    color: #fff;
    transform: scale(1.1);
}

.division-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.division-card p {
    font-size: 0.92rem;
    color: var(--text-dark-muted);
    line-height: 1.7;
}

/* ----------------------------------------------------------
   11. HEALTHCARE SOLUTIONS (TABBED)
   ---------------------------------------------------------- */
.solutions {
    background: var(--bg-white);
}

.solutions-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.65rem 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 9999px;
    border: 2px solid var(--glass-border);
    background: transparent;
    color: var(--text-dark-muted);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.tab-btn.active {
    background: var(--accent-green);
    color: #fff;
    border-color: var(--accent-green);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

/* Partner Banner */
.partner-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-green);
    border-radius: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
    border-radius: 9999px;
}

/* Product Filters */
.product-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.product-filters input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    border-radius: 9999px;
    border: 1px solid var(--glass-border);
    background: var(--bg-cream-mid);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

.product-filters input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.product-filters input::placeholder {
    color: var(--text-dark-muted);
}

.product-filters select {
    padding: 0.75rem 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    border-radius: 9999px;
    border: 1px solid var(--glass-border);
    background: var(--bg-cream-mid);
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
    appearance: auto;
    transition: var(--transition);
}

.product-filters select:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image-container {
    position: relative;
    background: var(--bg-cream-mid);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image {
    height: 220px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
    transition: var(--transition);
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(253, 250, 245, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-dark-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.product-manufacturer {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dark-muted);
    background: var(--bg-cream-mid);
    border-radius: 9999px;
    border: 1px solid var(--glass-border);
}

.no-results {
    text-align: center;
    padding: 3rem;
    display: none;
    color: var(--text-dark-muted);
    font-size: 1.1rem;
}

.enquire-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 9999px;
    border: none;
    background: var(--accent-green);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.enquire-btn:hover {
    background: var(--accent-green-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ----------------------------------------------------------
   12. PARTNER BRANDS
   ---------------------------------------------------------- */
.partners {
    background: var(--bg-light);
}

.partner-showcase {
    padding: 3rem;
    display: grid;
    grid-template-columns: 0.4fr 1fr;
    gap: 3rem;
    align-items: center;
}

.partner-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-cream-mid);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.partner-logo-area i {
    font-size: 3rem;
    color: var(--accent-green);
}

.partner-logo-area span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.partner-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.partner-info p {
    font-size: 1rem;
    color: var(--text-dark-muted);
    line-height: 1.8;
}

/* ----------------------------------------------------------
   13. WHY CHOOSE RIYAMEDS
   ---------------------------------------------------------- */
.why-us {
    background: var(--bg-white);
}

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

.why-card {
    padding: 2.5rem;
    text-align: center;
    cursor: default;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.6rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--accent-green);
    color: #fff;
    transform: scale(1.1);
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.92rem;
    color: var(--text-dark-muted);
    line-height: 1.7;
}

/* ----------------------------------------------------------
   14. LEADERSHIP
   ---------------------------------------------------------- */
.leadership {
    background: var(--bg-light);
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    margin: 0 auto;
    gap: 3rem;
}

.leader-card {
    text-align: center;
    padding: 3rem;
}

.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.portrait-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-cream-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--glass-border);
}

.portrait-placeholder i {
    font-size: 3rem;
    color: var(--text-dark-muted);
}

.leader-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.leader-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

.leader-card p:not(.leader-title) {
    font-size: 0.92rem;
    color: var(--text-dark-muted);
    line-height: 1.7;
}

.leadership-values {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.value-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
    border-radius: 9999px;
    transition: var(--transition);
}

.value-pill:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

/* ----------------------------------------------------------
   15. BUSINESS PROCESS
   ---------------------------------------------------------- */
.process {
    background: var(--primary);
    color: #fff;
}

.process .section-title {
    color: #fff;
}

.process .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.process .section-badge {
    background: rgba(16, 185, 129, 0.2);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-green), var(--accent-teal));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
}

.timeline-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.2);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ----------------------------------------------------------
   16. INDUSTRIES SERVED
   ---------------------------------------------------------- */
.industries {
    background: var(--bg-light);
}

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

.industry-card {
    text-align: center;
    padding: 2.5rem;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.6rem;
    transition: var(--transition);
}

.industry-icon.green-tint {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.industry-icon.teal-tint {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-teal);
}

.industry-card:hover .industry-icon {
    transform: scale(1.1);
}

.industry-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.industry-card p {
    font-size: 0.92rem;
    color: var(--text-dark-muted);
    line-height: 1.7;
}


/* ----------------------------------------------------------
   17. STATISTICS BANNER
   ---------------------------------------------------------- */
.stats-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #1a365d 100%);
    padding: 4rem 3rem;
    border-radius: 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* ----------------------------------------------------------
   18. DOWNLOAD CENTRE
   ---------------------------------------------------------- */
.downloads {
    background: var(--bg-white);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.download-card {
    text-align: center;
    padding: 2rem;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-teal);
}

.download-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.download-card p {
    font-size: 0.82rem;
    color: var(--text-dark-muted);
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #92400e;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 9999px;
    margin-top: 0.5rem;
}

/* ----------------------------------------------------------
   19. PARTNER SECTION (DARK)
   ---------------------------------------------------------- */
.partner-section {
    background: var(--primary);
    color: #fff;
}

.partner-section .section-title {
    color: #fff;
}

.partner-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.partner-section .section-badge {
    background: rgba(16, 185, 129, 0.2);
}

.partner-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
}

.glass-card-dark {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.glass-card-dark:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.partner-form-container .form-modern-group input,
.partner-form-container .form-modern-group textarea,
.partner-form-container .form-modern-group select {
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    outline: none;
    transition: var(--transition);
}

.partner-form-container .form-modern-group input:focus,
.partner-form-container .form-modern-group textarea:focus,
.partner-form-container .form-modern-group select:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.partner-form-container .form-modern-group input::placeholder,
.partner-form-container .form-modern-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* ----------------------------------------------------------
   20. CONTACT SECTION
   ---------------------------------------------------------- */
.contact-section {
    background: var(--primary);
    color: #fff;
}

.contact-section .section-title {
    color: #fff;
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact-section .section-badge {
    background: rgba(16, 185, 129, 0.2);
}

/* Contact Cards Row */
.contact-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card-item {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.contact-card-item:hover {
    background: rgba(17, 34, 64, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.contact-card-body {
    text-align: center;
}

.contact-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.3rem;
}

.contact-card-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
}

.contact-card-value a {
    color: var(--accent-green);
}

.contact-card-value a:hover {
    text-decoration: underline;
}

/* Inquiry Grid */
.inquiry-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.inquiry-form-modern {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
}

.form-modern-header {
    margin-bottom: 2rem;
}

.form-modern-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.form-modern-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.form-modern-group {
    margin-bottom: 1.25rem;
}

.form-modern-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.form-modern-group input,
.form-modern-group textarea,
.form-modern-group select {
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    outline: none;
    transition: var(--transition);
}

.form-modern-group input:focus,
.form-modern-group textarea:focus,
.form-modern-group select:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-modern-group input::placeholder,
.form-modern-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-modern-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-modern-group select option {
    background: var(--primary);
    color: #fff;
}

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

.btn-submit-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    background: var(--accent-green);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.btn-submit-modern:hover {
    background: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

/* Map Side */
.inquiry-map-modern {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.map-modern-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-modern-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.3rem;
}

.map-modern-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.map-modern-wrapper {
    flex: 1;
    min-height: 300px;
}

.map-modern-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
    display: block;
}

.map-modern-address {
    padding: 1.25rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.map-modern-address i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

/* ----------------------------------------------------------
   21. FOOTER
   ---------------------------------------------------------- */
.footer {
    background: var(--primary);
    color: #fff;
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.footer-links ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-green);
    padding-left: 4px;
}

.footer-contact p,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

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

.footer-contact i {
    color: var(--accent-green);
    margin-top: 0.2rem;
    min-width: 16px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-green);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: var(--accent-green);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ----------------------------------------------------------
   22. WHATSAPP FLOAT
   ---------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* ----------------------------------------------------------
   23. PRODUCT MODAL
   ---------------------------------------------------------- */
#product-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#product-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeInUp 0.35s ease;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image-col {
    background: var(--bg-cream-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border-radius: 24px 0 0 24px;
}

.modal-image-col img {
    max-height: 350px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1));
}

.modal-info-col {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-info-col h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
}

.modal-info-col .product-category {
    margin-bottom: 0;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-cream-mid);
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.close-modal:hover {
    background: var(--text-dark);
    color: #fff;
    transform: rotate(90deg);
}

.modal-composition,
.modal-indications,
.modal-packaging {
    padding: 1rem 0;
    border-top: 1px solid var(--glass-border);
}

.modal-composition h4,
.modal-indications h4,
.modal-packaging h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

.modal-composition p,
.modal-indications p,
.modal-packaging p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
    line-height: 1.7;
}

/* ----------------------------------------------------------
   24. ANIMATIONS
   ---------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Repeat-fade: same look as fade-in, but replays every time the element
   scrolls into view (used for the Business Process timeline) instead of
   only animating once. */
.repeat-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.repeat-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.tilt-effect {
    transition: transform 0.2s ease;
}

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

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

/* ----------------------------------------------------------
   25. HELPER CLASSES
   ---------------------------------------------------------- */
.text-teal {
    color: var(--accent-teal);
}

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

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* ----------------------------------------------------------
   26. RESPONSIVE DESIGN
   ---------------------------------------------------------- */

/* ---- 1200px ---- */
@media (max-width: 1200px) {
    .divisions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .downloads-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- 1024px ---- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-brand-line1 {
        font-size: 3.6rem;
        letter-spacing: 6px;
    }

    .hero-brand-line2 {
        font-size: 2rem;
        letter-spacing: 10px;
    }

    .hero-brand-line3 {
        font-size: 0.7rem;
        letter-spacing: 5px;
    }

    .hero-container {
        gap: 2.5rem;
    }

    .about-modern-grid {
        gap: 2rem;
    }

    .mv-grand-grid {
        gap: 2rem;
    }

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

    .contact-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* ---- 900px ---- */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(253, 250, 245, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--text-dark);
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .contact-phone {
        display: none;
    }
}

/* ---- 768px ---- */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Hero */
    .hero {
        padding-top: 120px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-brand-mark {
        margin-bottom: 2rem;
    }

    .hero-brand-line1 {
        font-size: 2.1rem;
        letter-spacing: 3px;
    }

    .hero-brand-line2 {
        font-size: 1.2rem;
        letter-spacing: 5px;
    }

    .hero-brand-line3 {
        font-size: 0.55rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

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

    .hero-image {
        order: -1;
    }

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

    /* Grids to single col */
    .about-modern-grid,
    .mv-grand-grid,
    .divisions-grid,
    .why-us-grid,
    .industries-grid,
    .inquiry-main-grid,
    .contact-cards-row {
        grid-template-columns: 1fr;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .partner-showcase {
        grid-template-columns: 1fr;
    }

    .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Timeline */
    .timeline {
        padding-left: 2.5rem;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline-marker {
        left: -2.5rem;
    }

    .timeline-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    /* Stats Banner */
    .stats-banner {
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    /* Modal */
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-image-col {
        border-radius: 24px 24px 0 0;
        padding: 2rem;
    }

    .modal-image-col img {
        max-height: 220px;
    }

    /* Partner Banner */
    .partner-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ---- 480px ---- */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

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

    .form-modern-row {
        grid-template-columns: 1fr;
    }

    .product-filters {
        flex-direction: column;
    }

    .solutions-tabs {
        gap: 0.4rem;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .leader-card {
        padding: 2rem;
    }

    .mv-grand-card {
        padding: 2rem;
    }

    .about-text-column {
        padding: 1.5rem;
    }

    .inquiry-form-modern {
        padding: 1.5rem;
    }

    .stats-banner {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }
}
