/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #00174a;
    --secondary-blue: #002b71;
    --accent-blue: #003483;
    --light-blue: #e8f0fe;
    --lighter-blue: #f0f6ff;
    --white: #ffffff;
    --off-white: #fafbfc;
    --text-dark: #1e293b;
    --text-medium: #4a5568;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --gradient-blue: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-blue) 100%);
    --gradient-light: linear-gradient(180deg, var(--lighter-blue) 0%, var(--white) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Horizontal Line Divider */
.horizontal-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 20%, var(--accent-blue) 50%, var(--primary-blue) 80%, transparent 100%);
    position: relative;
    margin: 0 auto;
    transform-origin: center;
}

.horizontal-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horizontal-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px var(--white), 0 0 0 2px var(--primary-blue);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 2rem;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: auto;
    height: 66px;
    max-width: 90px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 80%;
}

/* Click feedback for nav items (replaces the old rectangle outline on click) */
.nav-link:active::after {
    width: 90%;
}

.nav-link:active,
.dropdown-btn:active,
.nav-cta:active {
    transform: scale(0.96);
}

/* Suppress the mouse-click focus rectangle; keyboard users still get :focus-visible */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    outline: none;
}

.dropdown-btn:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.dropdown-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: width 0.3s ease;
}

.dropdown-btn:hover {
    color: var(--primary-blue);
}

.dropdown-btn:hover::after {
    width: 80%;
}

.dropdown-btn svg {
    transition: transform 0.3s ease;
}

.dropdown.open .dropdown-btn svg {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    min-width: 260px;
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    z-index: 1001;
    padding: 0.75rem 0;
    border: 1px solid var(--border-color);
}

.dropdown-content.open {
    display: block;
}

.dropdown-group-label {
    display: block;
    padding: 0.5rem 1.25rem 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: none;
}

.dropdown-group-label:first-child {
    padding-top: 0.25rem;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    text-decoration: none;
    color: var(--text-medium);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-link::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--light-blue);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dropdown-link svg {
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.dropdown-link:hover svg {
    opacity: 1;
}

.dropdown-link:hover {
    background-color: var(--lighter-blue);
    color: var(--primary-blue);
    padding-left: 1.5rem;
}

.dropdown-link:hover::before {
    background: var(--primary-blue);
}

/* Categories flyout submenu (Furniture / Agriculture -> subcategories on hover) */
.dropdown-sub {
    position: relative;
}

.dropdown-parent {
    justify-content: space-between;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
}

.dropdown-parent::before {
    display: none;
}

.dropdown-parent:hover {
    padding-left: 1.25rem;
}

.dropdown-caret {
    opacity: 0.55;
    transition: transform 0.3s ease;
}

.dropdown-sub:hover .dropdown-caret,
.dropdown-sub.open .dropdown-caret {
    transform: rotate(90deg);
    opacity: 1;
}

.dropdown-flyout {
    position: absolute;
    top: -0.75rem;
    right: calc(100% + 0.5rem);
    min-width: 220px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1002;
}

.dropdown-sub:hover .dropdown-flyout,
.dropdown-sub.open .dropdown-flyout {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-sublink {
    display: block;
    padding: 0.55rem 1.5rem;
    text-decoration: none;
    color: var(--text-medium);
    font-size: 0.88rem;
    transition: all 0.25s ease;
}

.dropdown-sublink:hover {
    background-color: var(--lighter-blue);
    color: var(--primary-blue);
    padding-left: 1.75rem;
}

/* Brief highlight on the product card a submenu link points to */
.product-card.is-highlighted {
    box-shadow: 0 0 0 3px var(--accent-blue), var(--shadow-xl);
}

.nav-cta {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 23, 74, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-cta:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 23, 74, 0.4);
}

.nav-cta:hover::before {
    left: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100dvh;
    max-height: 850px;
    display: flex;
    align-items: flex-end;
    position: relative;
    background: var(--primary-blue);
    color: var(--white);
    overflow: hidden;
    padding: 2rem;
    padding-top: 6rem;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 23, 74, 0.85) 0%, rgba(0, 23, 74, 0.6) 50%, rgba(0, 23, 74, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    padding-bottom: 4rem;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-tagline-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-tagline p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    max-width: none;
    line-height: 1.4;
}

.hero-tagline-accent {
    color: var(--white);
    font-weight: 600;
}

.spin-leaf {
    animation: spinLeaf 6s linear infinite;
}

@keyframes spinLeaf {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-headline-row {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-headline {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-headline-accent {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #bfdbfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    margin-bottom: 0.4rem;
}

.hero-arrow-circle {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.hero-arrow-btn:hover .hero-arrow-circle {
    transform: rotate(-45deg);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2.25rem;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtext {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
    margin-top: -0.75rem;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2.25rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Section Base Styles */
section {
    padding: 7rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--lighter-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* About Section */
.about-section {
    background: var(--lighter-blue);
    position: relative;
    padding: 5rem 2rem 3rem;
}

.about-intro-row {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    margin-bottom: 2rem;
}

.about-intro-left {
    max-width: 500px;
    width: 100%;
    flex-shrink: 0;
}

.about-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--primary-blue);
    padding: 0.4rem 1rem 0.4rem 0.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-color);
}

/* Section Number Badge (Globistix style) */
.section-number-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-number {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.section-number-line {
    width: 40px;
    height: 1px;
    background: var(--border-color);
}

.section-bedge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.about-intro-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2.5rem;
}

.about-intro-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* Expandable Detailed Content */
.about-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-expandable.expanded {
    max-height: 6000px;
}

.about-detailed {
    padding-top: 1rem;
}

.about-detailed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-detailed-grid-reverse {
    direction: rtl;
}

.about-detailed-grid-reverse>* {
    direction: ltr;
}

.about-detailed-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-detailed-text p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.about-detailed-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-detailed-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.about-full-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.about-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stats-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.4rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.about-expand-toggle {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.about-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.about-read-more-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.about-read-more-btn.expanded .about-btn-arrow {
    transform: rotate(180deg);
}

.about-btn-arrow {
    transition: transform 0.3s ease;
}

/* Team Section */
.team-section {
    background: var(--white);
    padding: 5rem 2rem 7rem;
}

.team-header-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 1000px;
}

.team-number-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.team-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
}

.team-number-line {
    width: 48px;
    height: 1px;
    background: var(--border-color);
}

.team-section-badge {
    display: inline-flex;
    align-items: center;
    background: var(--lighter-blue);
    color: var(--primary-blue);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-header-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
}

.team-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
}

.team-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 280px);
    gap: 1.25rem;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.25rem 0 1rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) rgba(0, 23, 74, 0.08);
}

.team-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    max-width: 100%;
    min-height: 100%;
    scroll-snap-align: start;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.team-card-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--lighter-blue), var(--light-blue));
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

.team-card-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 1.2rem;
}

.team-card-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    min-height: 2.8rem;
}

.team-card-role {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    font-size: 0.74rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-height: 4.7rem;
}

.team-card-role-main {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.45rem;
    line-height: 1.5;
}

.team-card-role-main span {
    display: block;
    flex: 1;
}

.team-card-role-main svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.team-card-company {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
    opacity: 0;
    transform: translateX(-24px);
    animation: team-company-slide-in 0.8s ease-out 0.2s forwards;
}

@keyframes team-company-slide-in {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.team-card-bio {
    margin: 0;
    margin-top: auto;
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.55;
}

.team-grid::-webkit-scrollbar {
    height: 8px;
}

.team-grid::-webkit-scrollbar-track {
    background: rgba(0, 23, 74, 0.08);
    border-radius: 999px;
}

.team-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 52, 131, 0.65);
    border-radius: 999px;
}

/* Dropdown on mobile - click to toggle */
.dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Team Inside About Section */
.team-in-about {
    margin-top: 4rem;
    padding: 3rem 2rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Contact Layout - Form prominent */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.contact-compact {
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.contact-compact-text {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-compact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-compact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0.75rem;
    background: var(--lighter-blue);
    border-radius: 10px;
}

.contact-compact-link:hover {
    color: var(--primary-blue);
    background: var(--light-blue);
}

.contact-compact-link svg {
    flex-shrink: 0;
    color: var(--accent-blue);
}

.contact-compact-whatsapp {
    margin-top: 0.5rem;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: white;
    padding: 0.85rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.whatsapp-link:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Products Section */
.products-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.products-scroll-container {
    overflow-x: auto;
    padding: 1rem 0 2rem;
    margin: 0 -2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-blue) var(--light-blue);
    scroll-snap-type: x mandatory;
}

.products-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.products-scroll-container::-webkit-scrollbar-track {
    background: var(--light-blue);
    border-radius: 3px;
}

.products-scroll-container::-webkit-scrollbar-thumb {
    background: var(--gradient-blue);
    border-radius: 3px;
}

.products-track {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 2rem;
    width: max-content;
}

.product-card {
    width: 320px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    scroll-snap-align: start;
    border: 1px solid var(--border-color);
    transform-style: preserve-3d;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 23, 74, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.product-link:hover {
    gap: 0.75rem;
    color: var(--accent-blue);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
}

.category-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.category-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 23, 74, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.category-overlay svg {
    opacity: 0.9;
}

.category-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.category-info {
    padding: 1.75rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.category-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(0, 23, 74, 0.25);
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 23, 74, 0.35);
}

/* Products Subcategory */
.products-subcategory {
    margin-top: 1rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-bottom: 1.5rem;
}

.back-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(-3px);
}

.subcategory-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.scroll-btn {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-sidebar-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-sidebar-card:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-sidebar-icon {
    width: 44px;
    height: 44px;
    background: var(--lighter-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-sidebar-card h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.contact-sidebar-card a,
.contact-sidebar-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    text-decoration: none;
    line-height: 1.4;
}

.contact-sidebar-card a:hover {
    color: var(--primary-blue);
}

.contact-sidebar-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.85rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-sidebar-whatsapp a:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Form error & states */
.form-error {
    display: none;
    font-size: 0.8rem;
    color: #dc2626;
    margin-top: 0.25rem;
}

.form-group input.error+.form-error,
.form-group textarea.error+.form-error {
    display: block;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.form-submit-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-submit-error,
.form-submit-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-submit-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.form-submit-success {
    background: #ecfdf5;
    color: #065f46;
}

.submit-btn.loading .submit-btn-text,
.submit-btn.loading .submit-btn-icon {
    display: none;
}

.submit-btn.loading .submit-btn-loader {
    display: flex !important;
}

.submit-btn.success .submit-btn-text,
.submit-btn.success .submit-btn-icon {
    display: none;
}

.submit-btn.success .submit-btn-loader {
    display: none !important;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.submit-btn-loader svg {
    animation: spin 1s linear infinite;
}

/* Responsive contact */
/* Contact Section */
.contact-section {
    background: var(--gradient-light);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

/* Honeypot anti-spam field: hidden from people, present for bots */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}





.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-blue);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 23, 74, 0.2);
}



.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 16px 16px 0 0;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-group label .required {
    color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 0;
    border: none;
    border-bottom: 2px solid var(--border-color);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: transparent;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-blue);
    background: transparent;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group select[multiple] {
    height: auto;
    min-height: 100px;
    cursor: pointer;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
}





.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 23, 74, 0.3);
    box-shadow: 0 4px 15px rgba(0, 23, 74, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 23, 74, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 5rem 2rem 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--secondary-blue), var(--accent-blue));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-section {
    padding: 0;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    width: auto;
    height: 52px;
    max-width: 80px;
    object-fit: contain;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-blue);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-links a:hover::before {
    width: 15px;
}

.footer-links a svg {
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-links a:hover svg {
    opacity: 1;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-intro-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-intro-right {
        padding-top: 0;
    }

    .about-detailed-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-detailed-grid-reverse {
        direction: ltr;
    }

    /* On mobile every block reads the same way: paragraph first, then its image */
    .about-detailed-grid-reverse .about-detailed-text {
        order: -1;
    }

    .about-detailed-image img {
        height: 280px;
    }

    .about-full-image {
        height: 280px;
    }

    .about-stats-compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-auto-columns: minmax(230px, 260px);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        padding-right: 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100dvh - 90px);
        overflow-y: auto;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 2rem 1.5rem 4rem;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        width: 100%;
        justify-content: center;
    }

    .nav-item {
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-btn {
        justify-content: center;
        width: 100%;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }

    /* On mobile the categories dropdown and its flyouts stack inline */
    .dropdown-content {
        position: static;
        transform: none;
        min-width: auto;
        width: 100%;
        max-width: 320px;
        margin: 0.5rem auto 0;
        box-shadow: none;
        border: none;
        padding: 0.75rem;
        background-color: var(--lighter-blue);
        border-radius: 12px;
    }

    .dropdown-link {
        justify-content: center;
        width: 100%;
        padding: 0.5rem 1rem;
    }

    .dropdown-link::before {
        display: none;
    }

    .dropdown-parent {
        justify-content: center;
    }

    .dropdown-flyout {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        min-width: auto;
        padding: 0.25rem 0 0.5rem;
        width: 100%;
    }

    .dropdown-sublink {
        text-align: center;
        padding: 0.4rem 1rem;
    }

    .nav-cta {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        min-height: 90dvh;
        max-height: none;
        padding: 1.5rem;
        padding-top: 5rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-btn,
    .hero-cta-secondary {
        justify-content: center;
    }

    .hero-subtext {
        font-size: 1rem;
        margin-top: 0;
    }

    .hero-stats {
        gap: 1.75rem;
        margin-top: 1.75rem;
    }

    .hero-stat-num {
        font-size: 1.6rem;
    }

    .hero-headline-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-arrow-btn {
        width: 44px;
        height: 44px;
    }

    .hero-tagline {
        flex-wrap: wrap;
        padding: 0.55rem 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-section {
        padding: 3rem 1.5rem 2rem;
    }

    .about-main-title {
        font-size: 2.2rem;
    }

    .about-stats-compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-detailed-image img {
        height: 220px;
    }

    .about-full-image {
        height: 200px;
    }

    .team-section {
        padding: 3rem 1.5rem 5rem;
    }

    .team-heading {
        font-size: 1.8rem;
    }

    .team-grid {
        grid-auto-columns: minmax(240px, 84vw);
        gap: 1rem;
    }

    .product-card {
        width: 280px;
    }

    .category-image {
        height: 180px;
    }

    .category-title {
        font-size: 1.25rem;
    }


    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        padding: 0 1rem;
    }

    .footer-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-compact {
        position: static;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        position: static;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 85dvh;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .about-main-title {
        font-size: 1.8rem;
    }

    .about-stats-compact {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .product-card {
        width: 260px;
    }

    .team-card-image {
        height: 220px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }

    .cta-button:hover,
    .nav-cta:hover,
    .submit-btn:hover {
        transform: none;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .product-card {
        transform: none !important;
    }

    .product-card:hover {
        transform: none !important;
    }
}

/* Additional hover effects */
.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.product-link:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

/* Glow effect for CTA buttons */
.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 20px rgba(0, 23, 74, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cta-button:hover::after {
    opacity: 1;
}

/* Image loading animation */
.product-image img,
.about-detailed-image img,
.about-full-image img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-image img.loaded,
.about-detailed-image img.loaded,
.about-full-image img.loaded {
    opacity: 1;
}

/* Print styles */
@media print {

    .navbar,
    .hamburger,
    .scroll-indicators,
    .social-links,
    .notification {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
        background: none;
        color: var(--text-dark);
    }

    .hero-headline,
    .hero-subheadline {
        color: var(--text-dark);
    }

    .cta-button {
        background: var(--text-dark);
        color: var(--white);
    }

    section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }

    .footer {
        background: none;
        color: var(--text-dark);
        border-top: 1px solid var(--text-dark);
    }
}