/* ==========================================================================
   PLATINUM MEDIS & FARMAC - MODERN DESIGN SYSTEM
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    /* Color Palette */
    --primary-hue: 146;
    --primary-sat: 82%;
    --primary-lightness: 27%;
    
    --primary: hsl(var(--primary-hue), var(--primary-sat), var(--primary-lightness));
    --primary-light: hsl(var(--primary-hue), var(--primary-sat), calc(var(--primary-lightness) + 8%));
    --primary-dark: hsl(var(--primary-hue), var(--primary-sat), calc(var(--primary-lightness) - 8%));
    --primary-glow: hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.12);
    --primary-glow-strong: hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.25);
    
    --secondary: hsl(240, 1%, 25%);
    --secondary-light: hsl(240, 1%, 40%);
    
    --text-dark: #1e1e24;
    --text-light: #52525e;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: rgba(76, 76, 78, 0.1);
    --border-glow: rgba(13, 129, 64, 0.15);
    
    /* Layout Variables */
    --navbar-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Animation & Transitions */
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Shadow System */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 10px 30px -10px hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.35);
    
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

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

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

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 0.5em;
}

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition-fast);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.3);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Global Section Layouts */
.section {
    padding: 100px 0;
    position: relative;
}

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

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

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.header-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 20px auto;
    border-radius: var(--border-radius-sm);
}

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

/* Glassmorphism utility card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow), var(--shadow-sm);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    box-shadow: var(--glass-shadow), var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

/* Dynamic Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-light);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.btn-primary:hover {
    box-shadow: 0 15px 30px -5px hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.5);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.875rem;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-glow);
    color: var(--primary);
    border: 1px solid var(--border-glow);
}

.btn-small:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

/* Preloader Animation */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.preloader-inner {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner img {
    width: 60px;
    height: 60px;
    animation: pulseLogo 2s infinite ease-in-out;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-glow-strong);
    border-radius: 50%;
    animation: ringPulse 1.8s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes ringPulse {
    0% { transform: scale(0.3); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0; }
}

/* Scroll Progress Header Line */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    width: 0%;
    z-index: 1001;
    transition: width 0.05s linear;
}

/* ==========================================================================
   NAVIGATION BAR SECTION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo img {
    height: 40px;
}

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

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Button style for Contact link in navbar */
.nav-link.nav-btn {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 8px 18px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--primary);
}

.nav-link.nav-btn:hover {
    background-color: transparent;
    color: var(--primary);
    box-shadow: none;
}

.nav-link.nav-btn::after {
    display: none;
}

/* Language Selection buttons styling */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
}

.lang-btn {
    color: var(--text-light);
    opacity: 0.6;
    padding: 4px 6px;
}

.lang-btn:hover, .lang-btn.active {
    color: var(--primary);
    opacity: 1;
}

.lang-divider {
    color: var(--border-color);
    user-select: none;
}

/* Mobile Toggle menu button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    height: 20px;
    justify-content: space-between;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

/* Open states for menu drawer */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   HERO HEADER SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--navbar-height) + 40px);
    padding-bottom: 60px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('assets/vjvsenr_vne.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.94) 30%, rgba(248, 250, 252, 0.8) 60%, rgba(13, 129, 64, 0.06) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.3s ease;
}

.hero-tag {
    display: inline-block;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    background-color: var(--primary-glow);
    border: 1px solid var(--border-glow);
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-desc {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Right stats panel in Hero */
.hero-image-container {
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateX(40px);
    animation: fadeInRight 0.8s forwards 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-stats-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    max-width: 380px;
}

.stat-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-plus {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    display: block;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Scroll indicators inside Hero */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    font-size: 1.5rem;
    z-index: 2;
    animation: bounceIndicator 2s infinite ease-in-out;
}

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

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

@keyframes bounceIndicator {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.about-info-card {
    padding: 48px;
}

.about-info-card h3 {
    font-size: 1.85rem;
    color: var(--secondary);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.about-info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.about-info-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

.about-info-card p:last-child {
    margin-bottom: 0;
}

.about-image-wrapper {
    margin-top: 32px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
}

.about-corp-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-corp-img {
    transform: scale(1.03);
}

/* Mission, Vision, Values layout */
.about-mvg-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mvg-card {
    padding: 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
}

.mvg-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.mvg-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.mvg-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.mvg-content p {
    color: var(--text-light);
    font-size: 0.975rem;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.values-list li {
    font-size: 0.95rem;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
}

.values-list li strong {
    color: var(--secondary);
}

/* ==========================================================================
   THERAPEUTIC AREAS SECTION
   ========================================================================== */
.therapeutics {
    background-color: var(--bg-white);
}

.tabs-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    margin-top: 40px;
    align-items: start;
}

.tabs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tab-btn {
    text-align: left;
    padding: 20px 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
    border-radius: var(--border-radius-md);
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.tab-btn i {
    font-size: 1.25rem;
    transition: var(--transition-fast);
    color: var(--secondary-light);
}

.tab-btn:hover {
    background-color: var(--bg-white);
    border-color: var(--primary-glow-strong);
    color: var(--primary);
}

.tab-btn:hover i {
    color: var(--primary);
}

.tab-btn.active {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.tab-btn.active i {
    color: var(--bg-white);
}

/* Panels transition classes */
.tabs-content {
    position: relative;
    min-height: 480px;
}

.tab-panel {
    display: none;
    width: 100%;
}

.tab-panel.active {
    display: block;
    animation: fadeInTab 0.5s ease forwards;
}

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

.tab-panel-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.tab-panel-info {
    padding: 20px 0;
}

.tab-panel-info h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.tab-panel-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

.panel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--primary-glow);
    border: 1px solid var(--border-glow);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 50px;
}

.tab-panel-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.tab-panel-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.tab-panel-image:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   COMPLIANCE AND QUALITY SECTION
   ========================================================================== */
.quality-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.quality-intro-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.quality-features-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.quality-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
}

.q-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: var(--shadow-sm);
}

.q-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.q-text p {
    color: var(--text-light);
    font-size: 0.975rem;
}

/* Floating compliance badges in Quality layout */
.quality-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-quality-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--bg-white);
}

.quality-floating-card {
    position: absolute;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    max-width: 260px;
}

.quality-floating-card.top-left {
    top: 20px;
    left: -40px;
}

.quality-floating-card.bottom-right {
    bottom: 20px;
    right: -40px;
}

.badge-icon {
    font-size: 1.75rem;
    color: var(--primary);
}

.quality-floating-card h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--secondary);
}

.quality-floating-card p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ==========================================================================
   DISTRIBUTION NETWORK SECTION
   ========================================================================== */
.distribution {
    background-color: var(--bg-white);
}

.dist-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.dist-channels {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.channel-card {
    padding: 28px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.channel-info h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.channel-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Interactive logistical map design */
.dist-map-container {
    padding: 24px;
    position: relative;
}

.map-illustration {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 440px;
}

.map-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

/* Pulsing map locator elements */
.map-pulse-point {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.map-pulse-point::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: mapPulseAnim 2s infinite ease-out;
}

.point-maputo { bottom: 15%; left: 35%; }
.point-beira { bottom: 42%; left: 55%; }
.point-nampula { top: 32%; right: 28%; }
.point-tete { top: 38%; left: 38%; }
.point-pemba { top: 18%; right: 22%; }

@keyframes mapPulseAnim {
    0% { transform: scale(0.3); opacity: 0; }
    50% { opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 0; }
}

.map-stats-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
}

.ms-val {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.ms-lbl {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Logistics Gallery styles */
.logistics-gallery-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 60px;
    margin-bottom: 24px;
    text-align: center;
    position: relative;
    padding-bottom: 8px;
}

.logistics-gallery-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: var(--border-radius-sm);
}

.logistics-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

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

.gallery-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: center;
}

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

@media (max-width: 580px) {
    .logistics-gallery {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PARTNERSHIPS / WORK WITH US SECTION
   ========================================================================== */
.partners-box {
    background-image: linear-gradient(135deg, rgba(13, 129, 64, 0.9) 0%, rgba(30, 30, 36, 0.92) 100%), url('assets/5452204.jpeg');
    background-size: cover;
    background-position: center;
    padding: 60px;
    border-radius: var(--border-radius-lg);
    color: var(--bg-white);
    border: none;
}

.partners-box:hover {
    transform: none;
}

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

.partners-tag {
    display: inline-block;
    color: var(--primary-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.partners-box h2 {
    color: var(--bg-white);
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.partners-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 48px;
    text-align: justify;
}

.partners-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px;
    border-radius: var(--border-radius-md);
}

.b-num {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.benefit-card h4 {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
    text-align: left;
}

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

.partners-actions .btn-primary {
    background-color: var(--primary);
    border: 2px solid var(--primary);
}

.partners-actions .btn-primary:hover {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   CONTACT SECTION WITH BILINGUAL VALIDATION FORM
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
}

.info-value:hover {
    color: var(--primary);
}

/* Map placeholder inside Contact details */
.contact-map {
    height: 200px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(248, 250, 252, 0.8), rgba(248, 250, 252, 0.8)), url('assets/valores.png');
    background-size: cover;
    background-position: center;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    z-index: 2;
}

.map-placeholder i {
    font-size: 2.25rem;
    color: var(--primary);
    animation: pulseLogo 2s infinite ease-in-out;
}

.map-text {
    font-weight: 600;
    color: var(--secondary);
}

/* Contact form custom components styling */
.contact-form-container {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-form-container h3 {
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.contact-form-container p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-group input.invalid, .form-group textarea.invalid {
    border-color: #ef4444;
}

.error-msg {
    display: none;
    color: #ef4444;
    font-size: 0.775rem;
    margin-top: 4px;
}

.form-group input.invalid ~ .error-msg, .form-group textarea.invalid ~ .error-msg {
    display: block;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* Spinner during submission */
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--bg-white);
    animation: spin 1s ease-in-out infinite;
    position: absolute;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn.submitting .btn-text {
    visibility: hidden;
}

.btn.submitting .loading-spinner {
    display: block;
}

/* Form Success UI Layer */
.form-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.form-success.active {
    opacity: 1;
    visibility: visible;
}

.form-success i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.form-success h4 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.form-success p {
    max-width: 320px;
    margin: 0 auto 30px auto;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px 60px 40px;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 60px;
}

.footer-brand p {
    margin-top: 20px;
    line-height: 1.6;
    font-size: 0.925rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.4);
}

.footer-links h4, .footer-contact h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 24px;
}

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

.footer-links a {
    font-size: 0.925rem;
}

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

.footer-contact li {
    font-size: 0.925rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact li i {
    color: var(--primary-light);
    font-size: 1rem;
    width: 20px;
}

.footer-bottom {
    background-color: #15151a;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom strong {
    color: var(--bg-white);
}

.developer-credits {
    color: rgba(255, 255, 255, 0.45);
}

.developer-credits i {
    color: #ef4444;
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--bg-white);
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-spring);
    text-decoration: none;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: whatsappPulse 2s infinite ease-out;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(18, 140, 126, 0.5);
    color: var(--bg-white);
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================================================== */

/* Tablet Landscape, Portrait, and Small Desktop (Up to 1024px) */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .hero {
        padding-top: calc(var(--navbar-height) + 20px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-desc {
        font-size: 1.05rem;
    }
    
    .about-grid, .tab-panel-grid, .quality-grid, .dist-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-info-card {
        padding: 32px;
    }
    
    .hero-image-container {
        justify-content: center;
        width: 100%;
    }
    
    .hero-stats-card {
        flex-direction: row;
        max-width: 100%;
        width: 100%;
        justify-content: space-between;
    }
    
    .stat-item {
        border-bottom: none;
        border-right: 1px solid var(--border-color);
        padding-bottom: 0;
        padding-right: 20px;
        flex: 1;
        text-align: center;
    }
    
    .stat-item:last-child {
        border-right: none;
        padding-right: 0;
    }
    
    .tabs-container {
        grid-template-columns: 1fr;
    }
    
    .tabs-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 12px;
        gap: 12px;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        flex: 0 0 auto;
        padding: 14px 20px;
    }
    
    .tab-panel-image img {
        height: 320px;
    }
    
    .quality-visual {
        order: -1;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .quality-floating-card.top-left, .quality-floating-card.bottom-right {
        position: absolute;
    }
    
    .quality-floating-card.top-left {
        left: -20px;
    }
    
    .quality-floating-card.bottom-right {
        right: -20px;
    }
    
    .partners-benefit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    /* Responsive Hamburger Navigation for ALL Tablet and Mobile devices */
    .menu-toggle {
        display: flex;
        z-index: 1002;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -10px 0 30px rgba(0,0,0,0.08);
        z-index: 1001;
        transition: var(--transition-smooth);
        padding: 110px 40px 40px 40px;
        display: block;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        display: block;
        padding: 10px 0;
    }
    
    .nav-link.nav-btn {
        text-align: center;
        margin-top: 10px;
    }
}

/* Tablet Portrait down to Mobile (Up to 768px) */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.1rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats-card {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 16px;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Very Small Mobile screens (Up to 480px) */
@media (max-width: 480px) {
    .section-container, .nav-container, .footer-bottom-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .mvg-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    
    .tab-panel-image img {
        height: 220px;
    }
    
    .map-stats-footer {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partners-box {
        padding: 30px 20px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}

