@charset "UTF-8";

/* ============================================
   GLOBAL STYLES & RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #006D5B;
    --secondary-color: #D95B00;
    --accent-color: #006D5B;
    --dark-bg: #ffffff;
    --darker-bg: #f5f5f5;
    --dark-text: #1a2b27;
    --light-text: #1a2b27;
    --gray-text: #415450;
    --card-bg: rgba(0, 109, 91, 0.04);
    --glass-bg: rgba(0, 109, 91, 0.06);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glow: 0 0 20px rgba(0, 109, 91, 0.3);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.6;
}

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

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.chemical-flask {
    width: 80px;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, transparent 30%, rgba(0, 109, 91, 0.1) 30%);
    border: 3px solid var(--primary-color);
    border-radius: 0 0 40px 40px;
    position: relative;
    margin: 0 auto 20px;
    animation: flask-shake 2s ease-in-out infinite;
}

.chemical-flask::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: var(--dark-bg);
    border: 3px solid var(--primary-color);
    border-bottom: none;
}

.liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 0 0 37px 37px;
    animation: fill-liquid 2s ease-in-out infinite;
}

@keyframes flask-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes fill-liquid {
    0%, 100% { height: 20%; }
    50% { height: 70%; }
}

.loader p {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
}

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

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

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--light-text);
}

.logo-img {
    height: 48px;
    width: auto;
    max-width: 52px;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 2px 8px rgba(0, 109, 91, 0.2));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    vertical-align: middle;
}

.logo a:hover .logo-img {
    transform: rotate(20deg) scale(1.1);
}

.logo i {
    font-size: 28px;
    color: var(--primary-color);
}

.logo .highlight {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-drawer-header,
.nav-drawer-footer {
    display: none !important;
}

.drawer-brand-img {
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    object-fit: contain !important;
}

.nav-link {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-arrow {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

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

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

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

/* Navbar Dropdown Menu */
.has-dropdown {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    min-width: 290px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 45px rgba(0, 40, 32, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transform-origin: top left;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1050;
    border: 1px solid rgba(0, 109, 91, 0.12);
    border-top: 3px solid var(--secondary-color);
    overflow: hidden;
}

/* Invisible Hover Bridge to ensure smooth mouse movement */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu li {
    width: 100%;
    position: relative;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 22px;
    color: #1a2b27;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 3px solid transparent;
}

.dropdown-menu li a i {
    font-size: 15px;
    color: var(--primary-color);
    width: 22px;
    text-align: center;
    transition: all 0.25s ease;
}

.dropdown-menu li a:hover {
    background: rgba(0, 109, 91, 0.07);
    color: var(--primary-color);
    padding-left: 28px;
    border-left-color: var(--secondary-color);
    font-weight: 600;
}

.dropdown-menu li a:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.dropdown-menu li a.active {
    background: rgba(0, 109, 91, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-3d-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 109, 91, 0.12) 0%, transparent 55%),
                radial-gradient(circle at 85% 75%, rgba(0, 109, 91, 0.15) 0%, transparent 55%),
                radial-gradient(circle at 75% 25%, rgba(255, 121, 0, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

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

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.title-line {
    display: block;
}

.highlight-text {
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--secondary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 121, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #e06000;
    box-shadow: 0 6px 25px rgba(255, 121, 0, 0.6);
}

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

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

.hero-stats {
    display: flex;
    gap: 50px;
}

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

.stat-number-box {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 5px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.5px;
}

.stat-plus {
    font-size: 34px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 2px;
    line-height: 1;
    transform: translateY(-2px);
}

/* ============================================
   DATASHEETS CATALOG & CATEGORY BOXES
   ============================================ */
.datasheet-catalog-section {
    padding: 40px 0 120px 0;
}

.category-filter-sticky {
    position: sticky;
    top: 85px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 109, 91, 0.15);
    border-radius: 16px;
    padding: 18px 24px;
    margin-bottom: 45px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.filter-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.filter-search-box {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.filter-search-box input {
    width: 100%;
    padding: 12px 18px 12px 42px;
    border-radius: 30px;
    border: 1px solid rgba(0, 109, 91, 0.2);
    outline: none;
    font-size: 14px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.filter-search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 109, 91, 0.15);
}

.filter-search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 14px;
}

.category-pills {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.category-pills::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(0, 109, 91, 0.05);
    border: 1px solid rgba(0, 109, 91, 0.15);
    color: var(--dark-text);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.cat-pill:hover, .cat-pill.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 109, 91, 0.25);
}

.cat-pill .count-badge {
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 11px;
}

.cat-pill.active .count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Category Box Container */
.category-box {
    background: var(--card-bg);
    border: 1px solid rgba(0, 109, 91, 0.15);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    scroll-margin-top: 180px;
}

.category-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 109, 91, 0.08);
}

.category-header-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 109, 91, 0.1);
    margin-bottom: 30px;
}

.category-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.category-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), #004d40);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 6px 15px rgba(0, 109, 91, 0.25);
}

.category-title-group h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
}

.category-badge {
    background: rgba(0, 109, 91, 0.08);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 109, 91, 0.2);
}

/* Product Cards Grid inside Category Box */
.tds-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Individual Product Column/Card */
.tds-product-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.tds-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tds-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 109, 91, 0.3);
}

.tds-product-card:hover::before {
    opacity: 1;
}

.tds-card-top {
    margin-bottom: 16px;
}

.tds-card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.tds-product-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
    line-height: 1.3;
}

.tds-product-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(0, 109, 91, 0.08);
    border: 1px solid rgba(0, 109, 91, 0.18);
    border-radius: 6px;
    padding: 3px 8px;
    line-height: 1.3;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin-top: 2px;
}

.tds-product-desc {
    font-size: 12.5px;
    color: var(--gray-text);
    line-height: 1.55;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tds-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 500;
    color: #374151;
    background: #f3f7f5;
    border: 1px solid rgba(0, 109, 91, 0.14);
    border-radius: 4px;
    padding: 2.5px 7px;
    white-space: nowrap;
    line-height: 1.3;
}

.spec-pill i {
    font-size: 9.5px;
    color: #008f75;
}

.tds-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.btn-view-tds {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), #005648);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 109, 91, 0.2);
}

.btn-view-tds:hover {
    background: linear-gradient(135deg, #008a73, var(--primary-color));
    box-shadow: 0 6px 18px rgba(0, 109, 91, 0.35);
    transform: translateY(-1px);
}

.btn-request-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 121, 0, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(255, 121, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-request-quote:hover {
    background: var(--secondary-color);
    color: #ffffff;
}

.hero-3d-object {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Brand Emblem (Rotating Gear + Foreground Flask) */
.hero-brand-emblem {
    position: relative;
    width: 460px;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 20px 40px rgba(0, 109, 91, 0.22));
}

.emblem-gear-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotateLogoGear 24s linear infinite;
    transform-origin: 50% 50%;
}

.emblem-gear-svg {
    width: 100%;
    height: 100%;
    display: block;
}

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

.emblem-flask-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    animation: flaskGentleFloat 4s ease-in-out infinite alternate;
}

.emblem-flask-svg {
    width: 100%;
    height: 100%;
    display: block;
}

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

.floating-bubbles-group {
    animation: bubblesBob 2.5s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes bubblesBob {
    0% {
        transform: translateY(0px) scale(1);
    }
    100% {
        transform: translateY(-6px) scale(1.06);
    }
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel-scroll 2s infinite;
}

@keyframes wheel-scroll {
    0%, 100% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator p {
    font-size: 12px;
    color: var(--gray-text);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 120px 0;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-card-3d {
    width: 100%;
    height: 500px;
    position: relative;
    perspective: 1000px;
    cursor: pointer;
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.8s;
    border-radius: 20px;
    overflow: hidden;
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-back {
    background: linear-gradient(135deg, var(--primary-color), #008a73);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    color: #ffffff;
}

.about-card-3d:hover .card-front {
    transform: rotateY(180deg);
}

.about-card-3d:hover .card-back {
    transform: rotateY(0deg);
}

.about-right h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-description {
    color: var(--gray-text);
    margin-bottom: 40px;
    line-height: 1.8;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--gray-text);
    font-size: 14px;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(0, 109, 91, 0.05));
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: #ffffff;
    border: 1px solid rgba(0, 109, 91, 0.1);
    border-radius: 18px;
    padding: 32px 26px 26px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 109, 91, 0.3);
    box-shadow: 0 16px 40px rgba(0, 109, 91, 0.12);
}

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

.product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 109, 91, 0.1) 0%, rgba(0, 109, 91, 0.03) 100%);
    border: 1px solid rgba(0, 109, 91, 0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    background: var(--primary-color);
    transform: scale(1.06);
}

.product-icon i {
    font-size: 24px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.product-card:hover .product-icon i {
    color: #ffffff;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0d2838;
    margin-bottom: 12px;
}

.product-card > p {
    color: #556b66;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 0;
}

.product-features {
    list-style: none;
    margin-bottom: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-features li {
    color: #3b504b;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 109, 91, 0.03);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(0, 109, 91, 0.06);
}

.product-features i {
    color: var(--primary-color);
    font-size: 11px;
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(0, 109, 91, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 109, 91, 0.1);
    margin-top: auto;
}

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

.product-link i {
    transition: transform 0.3s ease;
}

.product-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   PRODUCT SHOWCASE SLIDESHOW (FULL AREA COVER)
   ============================================ */
.product-showcase-section {
    padding: 50px 0;
    background: transparent;
    position: relative;
}

.fuerza-slideshow-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.fuerza-slideshow-container {
    position: relative;
    width: 100%;
    height: 560px;
    border-radius: 20px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.fuerza-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease-in-out;
    z-index: 1;
}

.fuerza-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Nav Buttons */
.slide-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: all 0.25s ease;
    font-size: 16px;
}

.slide-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.08);
}

.slide-nav-btn.prev {
    left: 20px;
}

.slide-nav-btn.next {
    right: 20px;
}

/* 10s Progress bar */
.slideshow-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 4;
}

.slideshow-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    transition: width 0.1s linear;
}

/* Indicators */
.slideshow-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: rgba(0, 109, 91, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.indicator-dot:hover {
    background: var(--primary-color);
}

.indicator-dot.active {
    width: 32px;
    background: var(--primary-color);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 120px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.service-card {
    text-align: left;
    padding: 32px 26px;
    background: #ffffff;
    border: 1px solid rgba(0, 109, 91, 0.1);
    border-radius: 18px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 109, 91, 0.3);
    box-shadow: 0 16px 40px rgba(0, 109, 91, 0.12);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 58px;
    height: 58px;
    margin: 0 0 20px 0;
    background: linear-gradient(135deg, rgba(0, 109, 91, 0.12) 0%, rgba(0, 109, 91, 0.04) 100%);
    border: 1px solid rgba(0, 109, 91, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    background: var(--primary-color);
    transform: scale(1.06);
}

.service-icon-wrapper i {
    font-size: 24px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover .service-icon-wrapper i {
    color: #ffffff;
}

.service-card h3 {
    font-size: 18.5px;
    font-weight: 700;
    color: #0d2838;
    margin-bottom: 10px;
    line-height: 1.35;
}

.service-card p {
    color: #526762;
    font-size: 13.5px;
    line-height: 1.65;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(0, 109, 91, 0.05), transparent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.gallery-overlay p {
    color: var(--primary-color);
    font-size: 14px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--darker-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.info-item p {
    color: var(--gray-text);
    font-size: 14px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-5px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 50px 16px 20px;
    background: var(--card-bg);
    border: 1px solid rgba(0, 109, 91, 0.1);
    border-radius: 10px;
    color: var(--light-text);
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 109, 91, 0.08);
}

.form-group i {
    position: absolute;
    right: 20px;
    top: 18px;
    color: var(--gray-text);
    pointer-events: none;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.contact-form button {
    align-self: flex-start;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(0, 109, 91, 0.1);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid rgba(0, 109, 91, 0.1);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    transform: translateX(3px);
}

.newsletter-feedback {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.4s ease;
}

.newsletter-feedback.success {
    background: rgba(0, 109, 91, 0.12);
    color: #006D5B;
    border: 1px solid rgba(0, 109, 91, 0.25);
}

.newsletter-feedback.error {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 109, 91, 0.1);
}

.footer-bottom p {
    color: var(--gray-text);
    font-size: 14px;
}

.footer-bottom i {
    color: var(--secondary-color);
}

/* ============================================
   NAVIGATION OVERLAY BACKDROP
   ============================================ */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 28, 22, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 998;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.nav-open {
    overflow: hidden;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 54px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .navbar {
        padding: 10px 0;
        height: 68px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .logo-img {
        height: 38px;
        max-width: 44px;
    }

    .logo a span {
        font-size: 20px;
    }

    /* Professional Mobile & Tablet Drawer (Side Panel) */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: min(340px, 86vw);
        height: 100vh;
        background: #ffffff;
        box-shadow: -10px 0 40px rgba(0, 30, 20, 0.22);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        margin: 0;
        gap: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid rgba(0, 109, 91, 0.1);
        text-align: left;
    }
    
    .nav-menu.active {
        right: 0;
        left: auto;
    }

    /* Drawer Header */
    .nav-drawer-header {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        padding: 16px 60px 16px 20px;
        min-height: 68px;
        background: linear-gradient(135deg, rgba(0, 109, 91, 0.08) 0%, rgba(255, 121, 0, 0.04) 100%);
        border-bottom: 1px solid rgba(0, 109, 91, 0.1);
    }

    .drawer-brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .drawer-brand-img {
        height: 34px !important;
        width: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        object-fit: contain !important;
    }

    .drawer-brand-text h4 {
        font-size: 17px;
        font-weight: 800;
        color: var(--primary-color);
        line-height: 1.1;
        margin: 0;
    }

    .drawer-brand-text span {
        font-size: 10.5px;
        color: var(--gray-text);
        font-weight: 600;
        letter-spacing: 0.3px;
        display: block;
    }

    .nav-drawer-close {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(0, 109, 91, 0.08);
        border: 1px solid rgba(0, 109, 91, 0.15);
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .nav-drawer-close:hover {
        background: var(--primary-color);
        color: #ffffff;
    }

    /* Drawer Menu Links */
    .nav-menu > li {
        width: 100%;
        list-style: none;
        padding: 2px 12px;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        font-size: 15px;
        font-weight: 600;
        color: #1a2f2b;
        border-radius: 10px;
        text-decoration: none;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
        width: 100%;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 109, 91, 0.07);
        color: var(--primary-color);
        border-left-color: var(--primary-color);
    }

    .nav-arrow {
        font-size: 11px;
        color: #7b948e;
        transition: transform 0.3s ease;
    }

    .has-dropdown.active .nav-arrow {
        transform: rotate(180deg);
        color: var(--primary-color);
    }

    /* Accordion Submenu */
    .has-dropdown {
        width: 100%;
    }

    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        background: rgba(0, 109, 91, 0.03);
        border: none;
        border-left: 2px solid rgba(0, 109, 91, 0.2);
        border-radius: 0 10px 10px 0;
        margin: 2px 0 4px 18px;
        padding: 0;
        box-shadow: none;
        min-width: 0 !important;
        width: calc(100% - 18px);
    }

    .has-dropdown.active .dropdown-menu {
        max-height: 200px;
        padding: 4px 0;
    }

    .dropdown-menu li {
        width: 100%;
        list-style: none;
    }

    .dropdown-menu li a {
        padding: 10px 14px;
        font-size: 13.5px;
        font-weight: 500;
        color: #3b524c;
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        justify-content: flex-start;
        border-radius: 8px;
        border-left: none;
    }

    .dropdown-menu li a i {
        font-size: 13px;
        color: var(--primary-color);
        width: 16px;
        text-align: center;
    }

    .dropdown-menu li a:hover,
    .dropdown-menu li a.active {
        background: rgba(0, 109, 91, 0.08);
        color: var(--primary-color);
        padding-left: 18px;
    }

    /* Drawer Footer */
    .nav-drawer-footer {
        display: flex !important;
        padding: 18px 16px 24px;
        background: #f8faf9;
        border-top: 1px solid rgba(0, 109, 91, 0.1);
        flex-direction: column;
        gap: 12px;
        margin-top: auto;
    }

    .drawer-cta-btn {
        width: 100%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 18px;
        background: var(--secondary-color);
        color: #ffffff;
        font-weight: 700;
        font-size: 14px;
        border-radius: 10px;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(255, 121, 0, 0.28);
        transition: all 0.25s ease;
    }

    .drawer-cta-btn:hover {
        background: #e06000;
    }

    .drawer-contact-info {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 12px;
        color: #556f68;
        font-weight: 600;
    }

    .drawer-contact-info i {
        color: var(--primary-color);
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    /* Tablet Hero Optimization */
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    .hero-title {
        font-size: clamp(34px, 4.8vw, 44px);
        line-height: 1.22;
        max-width: 620px;
        margin: 0 auto 16px;
    }

    .hero-subtitle {
        font-size: 15.5px;
        line-height: 1.6;
        margin: 0 auto 24px;
        max-width: 540px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
        max-width: 480px;
        margin: 0 auto;
        gap: 14px;
    }
    
    .hero-3d-object {
        height: 260px;
        max-width: 280px;
        margin: 10px auto 0;
    }

    .hero-brand-emblem {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .page-hero {
        padding: 110px 0 45px;
        min-height: 230px;
    }

    .page-hero-title {
        font-size: 34px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-3d-viewer {
        height: 320px;
    }

    .product-info-panel {
        padding: 28px 22px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-detail-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .story-photos-grid,
    .story-photos-grid-reverse {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

    .section-title {
        font-size: 26px;
        line-height: 1.25;
    }

    .section-subtitle {
        font-size: 13.5px;
        margin-bottom: 28px;
    }
    
    .hero {
        padding: 92px 0 40px;
    }

    .page-hero {
        padding: 95px 0 35px;
        min-height: 180px;
    }

    .page-hero-title {
        font-size: clamp(26px, 6vw, 34px);
        margin: 6px 0 10px;
    }

    .page-hero-subtitle {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .hero-title {
        font-size: clamp(25px, 6.2vw, 32px);
        line-height: 1.25;
        max-width: 340px;
        margin: 0 auto 12px;
        letter-spacing: -0.4px;
    }

    .title-line {
        display: inline;
    }

    .title-line.highlight-text {
        display: inline;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.55;
        max-width: 320px;
        margin: 0 auto 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 26px;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 14px;
        border-radius: 12px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .stat-item {
        background: #ffffff;
        border: 1px solid rgba(0, 109, 91, 0.14);
        border-radius: 14px;
        padding: 12px 6px;
        box-shadow: 0 4px 15px rgba(0, 109, 91, 0.05);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .stat-number-box {
        display: flex;
        align-items: baseline;
        justify-content: center;
        margin-bottom: 2px;
    }

    .stat-number {
        font-size: 22px;
        font-weight: 800;
        line-height: 1;
    }

    .stat-plus {
        font-size: 16px;
        font-weight: 700;
        color: var(--secondary-color);
    }

    .stat-item p {
        font-size: 10px;
        font-weight: 600;
        color: #4a635d;
        margin: 0;
        line-height: 1.2;
    }

    .hero-3d-object {
        height: 210px;
        margin: 12px auto 0;
    }

    .hero-brand-emblem {
        width: 180px;
        height: 180px;
    }

    .page-hero {
        padding: 95px 0 35px;
        min-height: 190px;
    }

    .page-hero-title {
        font-size: 26px;
        line-height: 1.2;
        margin: 4px 0 8px;
    }

    .page-hero-subtitle {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 12px;
        padding: 0 6px;
    }
    
    /* Sleek Mobile Service Cards */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        text-align: left;
        padding: 18px 16px;
        border-radius: 16px;
        background: #ffffff;
        border: 1px solid rgba(0, 109, 91, 0.12);
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    }

    .service-icon-wrapper {
        width: 48px;
        height: 48px;
        margin: 0;
        flex-shrink: 0;
        border-radius: 12px;
    }

    .service-icon-wrapper i {
        font-size: 20px;
    }

    .service-card-body {
        flex: 1;
        min-width: 0;
    }

    .service-card h3 {
        font-size: 16px;
        font-weight: 700;
        color: #0d2838;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .service-card p {
        font-size: 12.5px;
        line-height: 1.5;
        color: #526762;
        margin: 0;
    }
    
    /* Sleek Mobile Product Cards */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-card {
        padding: 18px 16px;
        border-radius: 16px;
        background: #ffffff;
        border: 1px solid rgba(0, 109, 91, 0.12);
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    }

    .product-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .product-icon i {
        font-size: 18px;
    }

    .product-card h3 {
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .product-card > p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .product-features {
        margin-bottom: 14px;
        gap: 6px;
    }

    .product-features li {
        font-size: 12px;
        padding: 5px 8px;
        border-radius: 6px;
    }

    .product-link {
        font-size: 13px;
        padding: 9px 12px;
        width: 100%;
        border-radius: 8px;
        justify-content: space-between;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-list {
        grid-template-columns: 1fr;
    }

    .tds-products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .category-box {
        padding: 20px 14px;
        border-radius: 16px;
        margin-bottom: 25px;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .product-3d-viewer {
        height: 230px;
    }

    .product-info-panel {
        padding: 20px 14px;
        border-radius: 16px;
    }

    .product-info-panel h3 {
        font-size: 20px;
    }

    .spec-item {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .spec-label-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .chemical-select-wrapper {
        width: 100%;
    }

    .chemical-select {
        width: 100%;
        max-width: 100%;
        font-size: 12.5px;
        padding: 8px 30px 8px 10px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form-col {
        order: 1;
        width: 100%;
    }

    .contact-info-col {
        order: 2;
        width: 100%;
        background: #ffffff;
        border: 1px solid rgba(0, 109, 91, 0.12);
        border-radius: 18px;
        padding: 24px 18px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    }

    .contact-info {
        gap: 20px;
        margin-bottom: 22px;
    }

    .info-item {
        gap: 14px;
    }

    .info-item i {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .info-item h4 {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .info-item p {
        font-size: 13px;
        line-height: 1.5;
    }

    .contact-form button {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14.5px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
    
    .scroll-indicator {
        display: none;
    }

    .story-card-block {
        padding: 22px 16px;
        margin-bottom: 20px;
        border-radius: 16px;
    }

    .story-card-block h3 {
        font-size: 18px;
        line-height: 1.35;
    }

    .story-card-block p {
        font-size: 13.5px;
        line-height: 1.65;
    }

    .story-highlight-box {
        padding: 22px 16px;
        margin: 20px 0;
        border-radius: 16px;
    }

    .story-highlight-box h3 {
        font-size: 18px;
    }

    .story-highlight-box p {
        font-size: 13.5px;
        line-height: 1.65;
    }

    .photo-placeholder-card {
        padding: 22px 14px;
        border-radius: 16px;
    }

    .photo-placeholder-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .photo-placeholder-card h4 {
        font-size: 16px;
    }

    .photo-placeholder-card p {
        font-size: 12.5px;
    }

    .clientele-empty-wrapper {
        padding: 20px 14px;
        border-radius: 16px;
    }

    .clientele-empty-card {
        padding: 26px 14px;
        border-radius: 12px;
    }

    .clientele-icon-box {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .clientele-empty-card h3 {
        font-size: 17px;
    }

    .clientele-empty-card p {
        font-size: 13px;
    }

    .story-photos-grid,
    .story-photos-grid-reverse {
        grid-template-columns: 1fr !important;
        gap: 18px;
        margin: 20px 0;
    }

    .story-card-block {
        padding: 22px 16px;
        margin-bottom: 20px;
        border-radius: 16px;
    }

    .stay-connected-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }
    
    .hero-title {
        font-size: 26px;
    }

    .page-hero {
        padding: 85px 0 28px;
        min-height: 160px;
    }

    .page-hero-title {
        font-size: 25px;
    }

    .page-hero-subtitle {
        font-size: 13px;
    }

    .section-title {
        font-size: 22px;
    }

    .hero-brand-emblem {
        width: 155px;
        height: 155px;
    }

    .hero-3d-object {
        height: 180px;
    }

    .tds-filter-pills {
        gap: 6px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .cat-pill {
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 8px;
    }

    .newsletter-form button {
        position: static;
        width: 100%;
        height: 46px;
        border-radius: 10px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 23px;
    }

    .section-title {
        font-size: 20px;
    }

    .stat-number {
        font-size: 19px;
    }

    .hero-buttons .btn {
        padding: 11px 14px;
        font-size: 13px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .product-card[data-tilt] {
        transform: none !important;
    }
    .service-card:hover {
        transform: none;
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

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

/* Utility Classes */
.text-gradient {
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Selection */
::selection {
    background: var(--secondary-color);
    color: #ffffff;
}

/* ============================================
   MULTI-PAGE LAYOUT (Inner Pages)
   ============================================ */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.navbar.page-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
}

.page-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, rgba(0, 109, 91, 0.08) 0%, rgba(255, 121, 0, 0.06) 100%);
    overflow: hidden;
}

.page-hero .particles {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.page-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 10px 0 16px;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: 18px;
    color: var(--gray-text);
    max-width: 640px;
    margin: 0 auto 24px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-text);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb i {
    font-size: 10px;
    opacity: 0.6;
}

.page-section {
    padding: 100px 0;
}

.page-section.alt {
    background: var(--darker-bg);
}

/* Vision / Mission / Values */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.vm-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 109, 91, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 109, 91, 0.25);
}

.vm-card .vm-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 109, 91, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

.vm-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.vm-card p {
    color: var(--gray-text);
    opacity: 0.9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(0, 109, 91, 0.08);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 121, 0, 0.3);
}

.value-card .value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 109, 91, 0.12), rgba(255, 121, 0, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.value-card p {
    font-size: 14px;
    color: var(--gray-text);
    opacity: 0.9;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.client-chip {
    background: #fff;
    border: 1px solid rgba(0, 109, 91, 0.1);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.client-chip:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

/* Product detail list (Square card boxes 3 per row - matching Image 3 design) */
.product-detail-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.product-detail-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid rgba(0, 109, 91, 0.12);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.product-detail-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 109, 91, 0.15);
    border-color: var(--primary-color);
}

.product-detail-item .pd-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(0, 109, 91, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.product-detail-item:hover .pd-icon {
    background: var(--primary-color);
    color: #ffffff;
}

.product-detail-item h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1a2b27;
    margin-bottom: 12px;
    line-height: 1.35;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

.product-detail-item p {
    font-size: 14px;
    color: #556b66;
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.pd-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed rgba(0, 109, 91, 0.12);
    width: 100%;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 109, 91, 0.2);
}

.btn-outline.secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline.secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

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

@media (max-width: 640px) {
    .product-detail-list {
        grid-template-columns: 1fr;
    }
}

.btn-outline.secondary:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* CTA band */
.cta-band {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #004d42);
    text-align: center;
    color: #fff;
}

.cta-band h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.cta-band p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-band .btn-primary {
    background: var(--secondary-color);
    color: #fff;
}

.cta-band .btn-primary:hover {
    background: #e56d00;
}

.cta-band .btn-secondary {
    border-color: #fff;
    color: #fff;
}

.cta-band .btn-secondary:hover {
    background: #fff;
    color: var(--primary-color);
}

.cta-band .hero-buttons {
    justify-content: center;
}

/* Home teaser sections */
.home-teaser {
    padding: 100px 0;
}

.home-teaser .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1050px;
    margin: 0 auto;
    justify-content: center;
}

@media (max-width: 968px) {
    .home-teaser .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

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

.teaser-actions {
    text-align: center;
    margin-top: 50px;
}

.map-embed {
    margin-top: 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 109, 91, 0.1);
}

.map-embed iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--secondary-color);
}

@media (max-width: 968px) {
    .page-hero-title {
        font-size: 42px;
    }

    .vm-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

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

    .product-detail-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pd-actions {
        align-items: center;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .product-detail-item .pd-icon {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 320px;
        padding: 140px 0 60px;
    }

    .page-hero-title {
        font-size: 32px;
    }

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

    .cta-band h2 {
        font-size: 28px;
    }
}

/* ============================================
   NUESTRA FILOSOFÍA & ABOUT PAGE STYLES
   ============================================ */
.page-hero.hero-about {
    padding-top: 180px;
    padding-bottom: 70px;
}

.philosophy-quote-card {
    background: linear-gradient(135deg, rgba(0, 109, 91, 0.06) 0%, rgba(255, 121, 0, 0.06) 100%);
    border: 1px solid rgba(0, 109, 91, 0.18);
    border-left: 6px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px 45px;
    margin: 40px 0 50px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 109, 91, 0.06);
    overflow: hidden;
}

.philosophy-quote-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 25px;
    font-size: 140px;
    color: rgba(0, 109, 91, 0.06);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.philosophy-quote-card .quote-es {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.35;
}

.philosophy-quote-card .quote-en {
    font-size: 17px;
    font-weight: 500;
    color: #4a635d;
    font-style: italic;
}

.principles-section {
    margin-bottom: 60px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: 25px;
}

.principle-chip {
    background: #ffffff;
    border: 1px solid rgba(0, 109, 91, 0.14);
    border-radius: 18px;
    padding: 24px 14px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.principle-chip:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 109, 91, 0.15);
}

.principle-chip i {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.principle-chip:hover i {
    transform: scale(1.15);
    color: var(--secondary-color);
}

.principle-chip span.es {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #1a2b27;
    margin-bottom: 2px;
}

.principle-chip span.en {
    display: block;
    font-size: 12px;
    color: #556b66;
    opacity: 0.85;
}

.spanish-badge {
    display: inline-block;
    background: rgba(0, 109, 91, 0.08);
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-style: italic;
    border: 1px solid rgba(0, 109, 91, 0.12);
}

.tech-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.philosophy-content-block {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 109, 91, 0.12);
    padding: 38px 36px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.03);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.philosophy-content-block.full-width {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(0, 109, 91, 0.04) 0%, rgba(255, 121, 0, 0.03) 100%);
}

.philosophy-content-block:hover {
    box-shadow: 0 15px 35px rgba(0, 109, 91, 0.12);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.philosophy-content-block h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2b27;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.philosophy-content-block h3 i {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 109, 91, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.philosophy-content-block p {
    font-size: 14.5px;
    color: #4a635d;
    line-height: 1.75;
    margin-bottom: 16px;
}

.philosophy-content-block p:last-of-type {
    margin-bottom: 0;
}

.philosophy-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed rgba(0, 109, 91, 0.12);
}

.philosophy-tag {
    background: rgba(0, 109, 91, 0.06);
    color: var(--primary-color);
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 109, 91, 0.1);
}

.motto-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d42 100%);
    border-radius: 28px;
    padding: 60px 45px;
    text-align: center;
    color: #ffffff;
    margin: 70px 0 30px;
    box-shadow: 0 18px 45px rgba(0, 109, 91, 0.25);
    position: relative;
    overflow: hidden;
}

.motto-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 121, 0, 0.2), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.motto-banner .motto-es {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.motto-banner .motto-en {
    font-size: 19px;
    font-weight: 400;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 24px;
}

.motto-banner p.closing-text {
    max-width: 860px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
}

@media (max-width: 1024px) {
    .principles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tech-philosophy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .motto-banner .motto-es {
        font-size: 24px;
    }
    .philosophy-quote-card .quote-es {
        font-size: 20px;
    }
}

/* ============================================
   SCREENSHOT MATCHING STORY SPLIT CARD & OVERLAY
   ============================================ */
.story-split-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 109, 91, 0.1);
    margin-bottom: 50px;
}

.story-left-visual {
    position: relative;
    min-height: 480px;
    background: url('https://images.unsplash.com/photo-1541888946425-d0fbb186a5b3?w=1000&q=80') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    overflow: hidden;
}

.story-left-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 30, 48, 0.3) 0%, rgba(8, 30, 48, 0.88) 100%);
}

.story-visual-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.story-visual-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    display: block;
}

.story-visual-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.story-social-icons {
    display: flex;
    gap: 15px;
}

.story-social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.story-social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

.story-right-text {
    padding: 45px 50px 45px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-right-text h2.story-heading {
    font-size: 36px;
    font-weight: 700;
    color: #0d2838;
    margin-bottom: 24px;
    position: relative;
}

.story-right-text p.story-paragraph {
    font-size: 15.5px;
    line-height: 1.85;
    color: #4b5e65;
    margin-bottom: 20px;
}

/* Stay Connected Bar */
.stay-connected-bar {
    background: var(--primary-color);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.stay-connected-bar h4 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.stay-connected-icons {
    display: flex;
    gap: 16px;
}

.stay-connected-icons a {
    color: #ffffff;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.stay-connected-icons a:hover {
    transform: scale(1.2);
    color: var(--secondary-color);
}

/* Clientele Page & Client Logo Showcase Styling */
.clientele-main-wrapper {
    padding-top: 50px;
    padding-bottom: 70px;
}

/* Trust Metric Highlights Strip */
.clientele-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.clientele-stat-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(0, 109, 91, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.clientele-stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 109, 91, 0.12);
    border-color: rgba(0, 109, 91, 0.25);
}

.clientele-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0, 109, 91, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.clientele-stat-box:hover .clientele-stat-icon {
    background: var(--primary-color);
    color: #ffffff;
}

.clientele-stat-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a2b27;
    line-height: 1.1;
    margin-bottom: 4px;
}

.clientele-stat-info p {
    font-size: 13px;
    color: #607973;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
}

/* Client Logos Section Container */
.client-logos-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 109, 91, 0.1);
    margin-bottom: 45px;
    position: relative;
}

.client-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 109, 91, 0.08);
}

.client-section-titles h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b27;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-section-titles h2 i {
    color: var(--secondary-color);
}

.client-section-titles p {
    font-size: 15px;
    color: #557069;
    max-width: 680px;
    line-height: 1.6;
    margin: 0;
}

.client-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 109, 91, 0.08);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(0, 109, 91, 0.15);
}

/* Clientele Mingled (Square 4-in-a-row & Rectangular 2-in-a-row) Logo Showcase */
.client-mingled-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

/* 1. Square Box: spans 1 col in 4-col grid (4 per full row) */
.client-card-square {
    grid-column: span 1;
    background: #ffffff;
    border: 1px solid rgba(0, 109, 91, 0.12);
    border-radius: 18px;
    aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.client-card-square::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card-square:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 109, 91, 0.35);
    box-shadow: 0 16px 36px rgba(0, 109, 91, 0.14);
}

.client-card-square:hover::before {
    opacity: 1;
}

.client-card-square img {
    max-width: 82%;
    max-height: 82%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.03));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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


/* 2. Rectangular Box: spans 2 cols in 4-col grid (2 per full row) */
.client-card-rect {
    grid-column: span 2;
    background: #ffffff;
    border: 1px solid rgba(0, 109, 91, 0.12);
    border-radius: 18px;
    width: 100%;
    height: 100%;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.client-card-rect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card-rect:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 109, 91, 0.35);
    box-shadow: 0 16px 36px rgba(0, 109, 91, 0.14);
}

.client-card-rect:hover::before {
    opacity: 1;
}

.client-card-rect img {
    max-width: 92%;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.03));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.08);
}

.client-card-rect:hover img {
    transform: scale(1.16);
}


/* 3. Special Dark / Black Box for White Logos (Maheen & Hassan, Adamjee, Patel Group) */
.client-card-dark {
    background: #0f1614 !important;
    border-color: rgba(0, 109, 91, 0.4) !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3) !important;
}

.client-card-dark::before {
    background: linear-gradient(90deg, #FF7900 0%, #00d2aa 100%) !important;
}

.client-card-dark:hover {
    background: #080d0c !important;
    border-color: #00d2aa !important;
    box-shadow: 0 16px 38px rgba(0, 109, 91, 0.4), 0 0 20px rgba(0, 210, 170, 0.25) !important;
}

.client-card-dark img {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6)) !important;
}

/* 4. Size Boost for Compact Logos (Nixor College, Bin Hashim, Askari Bank) */
.client-card-square img.logo-scale-up,
.client-card-rect img.logo-scale-up {
    max-width: 95% !important;
    max-height: 95% !important;
    transform: scale(1.18);
}

.client-card-square:hover img.logo-scale-up,
.client-card-rect:hover img.logo-scale-up {
    transform: scale(1.28);
}

.client-card-rect img.logo-scale-askari {
    max-height: 120px !important;
    transform: scale(1.20);
}
.client-card-rect:hover img.logo-scale-askari {
    transform: scale(1.28);
}

.client-card-rect img.logo-scale-patel-hospital {
    max-width: 86% !important;
    max-height: 65px !important;
    transform: scale(0.92) !important;
    object-fit: contain !important;
}
.client-card-rect:hover img.logo-scale-patel-hospital {
    transform: scale(1.00) !important;
}

.client-card-rect img.logo-scale-patel {
    max-width: 60% !important;
    max-height: 68px !important;
    transform: scale(0.85) !important;
}
.client-card-rect:hover img.logo-scale-patel {
    transform: scale(0.92) !important;
}

.client-card-rect img.logo-scale-nixor-rect {
    max-width: 80% !important;
    max-height: 75px !important;
    transform: scale(0.85) !important;
}
.client-card-rect:hover img.logo-scale-nixor-rect {
    transform: scale(0.92) !important;
}

.client-card-rect img.logo-scale-adamjee {
    max-width: 62% !important;
    max-height: 65px !important;
    transform: scale(0.85) !important;
}
.client-card-rect:hover img.logo-scale-adamjee {
    transform: scale(0.92) !important;
}

/* 5. Scaled Down 12-15% for Wide/Tall Rectangles (Threads Connect, Family, Aga Khan) */
.client-card-rect img.logo-scale-fit {
    max-width: 86% !important;
    max-height: 98px !important;
    transform: scale(0.96) !important;
}

.client-card-rect:hover img.logo-scale-fit {
    transform: scale(1.04) !important;
}

/* Appreciation Certificates Section */
.client-certs-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 109, 91, 0.1);
    margin-bottom: 20px;
}

.cert-showcase-placeholder {
    border: 2px dashed rgba(0, 109, 91, 0.25);
    border-radius: 18px;
    padding: 50px 30px;
    text-align: center;
    background: rgba(0, 109, 91, 0.02);
    transition: all 0.3s ease;
}

.cert-showcase-placeholder:hover {
    border-color: var(--primary-color);
    background: rgba(0, 109, 91, 0.04);
}

.cert-placeholder-icon {
    width: 76px;
    height: 76px;
    background: rgba(0, 109, 91, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.cert-showcase-placeholder h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a2b27;
    margin-bottom: 10px;
}

.cert-showcase-placeholder p {
    font-size: 15px;
    color: #557069;
    max-width: 620px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.clientele-tag-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 121, 0, 0.12);
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 13px;
    border-radius: 20px;
}



@media (max-width: 992px) {
    .story-split-container {
        grid-template-columns: 1fr;
    }
    .story-left-visual {
        min-height: 320px;
    }
    .story-right-text {
        padding: 35px 25px;
    }
}

/* Our Story Photo Placeholders & Cards */
.story-photos-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 30px;
    margin: 40px 0;
}

.story-photos-grid-reverse {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

@media (max-width: 1024px) {
    .story-photos-grid,
    .story-photos-grid-reverse {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .story-photos-grid,
    .story-photos-grid-reverse {
        grid-template-columns: 1fr !important;
        gap: 18px;
        margin: 20px 0;
    }
}

.photo-placeholder-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    border: 2px dashed rgba(0, 109, 91, 0.3);
    text-align: center;
    background: linear-gradient(145deg, rgba(0, 109, 91, 0.02) 0%, rgba(255, 121, 0, 0.02) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.photo-placeholder-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 109, 91, 0.12);
    transform: translateY(-3px);
}

.photo-placeholder-icon {
    width: 90px;
    height: 90px;
    background: rgba(0, 109, 91, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 109, 91, 0.2);
}

.photo-placeholder-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0d2838;
    margin-bottom: 8px;
}

.photo-placeholder-card p {
    font-size: 14px;
    color: #557069;
    margin-bottom: 18px;
    line-height: 1.6;
}

.photo-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(255, 121, 0, 0.12);
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 13px;
    border-radius: 20px;
    border: 1px solid rgba(255, 121, 0, 0.3);
}

.story-card-block {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 109, 91, 0.1);
    border-top: 4px solid var(--primary-color);
    margin-bottom: 35px;
    transition: all 0.3s ease;
}

.story-card-block:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.story-card-block h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0d2838;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.story-card-block h3 i {
    color: var(--primary-color);
    font-size: 26px;
}

.story-card-block p {
    font-size: 15.5px;
    line-height: 1.85;
    color: #4b5e65;
    margin-bottom: 18px;
}

.story-card-block p:last-child {
    margin-bottom: 0;
}

.story-highlight-box {
    background: linear-gradient(135deg, #006d5b 0%, #0d2838 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 45px;
    margin: 40px 0;
    box-shadow: 0 15px 35px rgba(0, 109, 91, 0.2);
    position: relative;
    overflow: hidden;
}

.story-highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 121, 0, 0.15));
    pointer-events: none;
}

.story-highlight-box h3 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.story-highlight-box p {
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 16px;
}

.story-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 109, 91, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 6px;
    font-size: 13.5px;
    border: 1px solid rgba(0, 109, 91, 0.2);
}


