@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@300;400;500;600;700&display=swap');

:root {
    /* Primary Brand Color */
    --primary-blue: #0B4DBA;
    --primary: var(--primary-blue);

    /* Accent Color */
    --accent-yellow: #F6B400;
    --accent-yellow-dark: #e0a600;

    /* Supporting Palette */
    --secondary: #1E88E5;
    --accent: #FB9F88;

    /* Neutrals */
    --dark: #022B5C;
    --light: #F8F9FA;
    --text: #2E2E2E;

    /* Effects */
    --gradient: linear-gradient(135deg, var(--primary) 0%, #1E88E5 100%);
    --shadow: 0 10px 30px rgba(11, 77, 186, 0.12);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 17px;
    -webkit-text-size-adjust: 100%;
}

/* Common body styles */
body {
    font-family: 'Crimson Pro', serif;
    font-size: 1rem;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 80px;
    position: relative;
}

p,
li,
a,
button,
input,
textarea,
select,
label {
    font-size: 1rem;
}

/* Specific background for index page */
body.index-page {
    background-image: none;
    background-color: var(--light);
    min-height: 100vh;
    padding-top: 0;
}

body.index-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.492);
    z-index: -1;
}

h1,
h2,
h3,
h4 {
    font-family: 'Crimson Pro', serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Reserve space so header/footer load feels instant and stable */
#header-placeholder:empty {
    min-height: 80px;
}

#footer-placeholder:empty {
    min-height: 220px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent-yellow);
    color: var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.18s ease;
    box-shadow: 0 6px 18px rgba(11, 77, 186, 0.08);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    background: var(--accent-yellow-dark);
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(11, 77, 186, 0.10);
} 

.btn-outline {
    background: var(--accent-yellow);
    border: 2px solid var(--accent-yellow);
    color: #0B4DBA;
    box-shadow: none;
    transition: all 0.18s ease;
}

.btn-outline:hover {
    background: var(--accent-yellow-dark);
    color: #0B4DBA;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 77, 186, 0.06);
}

/* Header Styles - Modern Redesign */
header {
    background-color: #fff;
    color: var(--primary-blue);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    height: 80px;
    font-family: 'Crimson Pro', serif;
}

.header-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 0;
    max-width: 1600px;
    margin: 0 auto;
    width: 90%;
    height: 100%;
}

/* Logo Design */
.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 12px;
}

.logo .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo .brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-blue);
}

.logo .tagline {
    font-size: 10px;
    font-weight: 600;
    color: rgba(11, 77, 186, 0.85);
    margin-top: 2px;
}

.logo i {
    color: var(--primary-blue);
    margin-right: 6px;
    font-size: 22px;
}

.logo-image {
    display: block;
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo:hover {
    transform: scale(1.02);
    color: var(--primary-blue);
}

/* Main Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    margin-left: auto;
    margin-right: 22px;
    font-family: 'Crimson Pro', serif;
    justify-content: flex-end;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-whatsapp {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0;
}

.header-whatsapp i {
    font-size: 1.4rem;
    line-height: 1;
}

.header-whatsapp:hover {
    transform: translateY(-2px);
    background: #1fba59;
    box-shadow: 0 14px 26px rgba(37, 211, 102, 0.28);
}

.header-whatsapp:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.25);
    outline-offset: 3px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 20px;
    padding: 8px 12px;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-menu a:hover {
    color: #073a8c;
    background: none;
    box-shadow: none;
}

.nav-menu a:focus {
    outline: none;
    box-shadow: none;
} 

/* Underline Animation */
.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, #0b4dba, #1e88e5);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

/* Active State */
.nav-menu a.active {
    color: var(--primary-blue);
    font-weight: 700;
    background: none;
    padding: 8px 12px;
}

/* DROPDOWN MENU - Modern Design */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown > a::after {
    font-size: 9px;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 12px 0;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(11, 77, 186, 0.08);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1001;
    border: 1px solid rgba(11, 77, 186, 0.12);
    overflow: hidden;
    font-family: 'Crimson Pro', serif;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

/* Dropdown Items */
.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu li a {
    padding: 12px 20px;
    color: var(--text);
    font-size: 20px;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
    background: linear-gradient(90deg, rgba(11, 77, 186, 0.08), rgba(11, 77, 186, 0.03));
    color: var(--primary);
    padding-left: 25px;
    border-left: 3px solid var(--primary);
    transform: none;
}

.dropdown-menu li a.active {
    background: linear-gradient(90deg, rgba(11, 77, 186, 0.12), rgba(11, 77, 186, 0.06));
    color: var(--primary);
    font-weight: 600;
    border-left: 3px solid var(--primary);
}

.dropdown-menu li a:after {
    display: none;
}

.dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid rgba(11, 77, 186, 0.06);
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    background: none;
    border: none;
    padding: 5px;
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

/* Header Scroll Effect */
header.scrolled {
    background-color: #fff;
    backdrop-filter: blur(6px);
    box-shadow: none;
    border-bottom: 1px solid rgba(11, 77, 186, 0.12);
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 80px;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide-content {
    position: absolute;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    color: white;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 85vh;
        min-height: 450px;
        margin-top: 70px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 80vh;
        min-height: 380px;
        margin-top: 65px;
    }
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Desktop hero: prevent image cut and keep a stable static frame */
@media (min-width: 769px) {
    body.index-page .hero-slider {
        height: auto;
        min-height: 0;
        aspect-ratio: 2 / 1;
        background: #fff;
        margin-top: 80px;
    }

    body.index-page .slide img {
        object-fit: contain;
        object-position: center center;
        background: #fff;
    }
}

/* About Section */
.about {
    background-color: white;
    padding: 20px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    height: 800px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: var(--primary-blue);
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80%;
    height: 4px;
    background: var(--gradient);
    bottom: -10px;
    left: 0;
    border-radius: 10px;
}

.about-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    color: #555;
    margin: 20px 0;
}

.about-text p {
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Products Section */
.products {
    background: none;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #0b4dba;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

body.index-page .department-section .section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    color: var(--primary-blue);;
}

body.index-page .department-section .section-header h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 240px;
    height: 4px;
    background: var(--primary-blue);;
    border-radius: 999px;
}

.section-header p {
    font-size: 20px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.department-section {
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.department-section:last-child {
    margin-bottom: 0;
}

/* HERO BANNER - FULL WIDTH */
.department-section .hero-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 60px;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
}

.department-section .hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.department-section .hero-banner:hover img {
    transform: scale(1.03);
}

/* Banner Overlay */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(11, 77, 186, 0.1), rgba(246, 180, 0, 0.05));
    z-index: 1;
    pointer-events: none;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* PRODUCT CARD */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(33, 158, 188, 0.06);
    transition: all 0.35s ease;
}

.product-card:hover {
    background: rgba(11, 77, 186, 0.12);
    border-color: rgba(11, 77, 186, 0.35);
    transform: translateY(-6px);
}

.product-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.product-card:hover .product-image {
    filter: brightness(0.95);
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    position: relative;
}

.product-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    right: 25px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
}

.product-card:hover .product-info::before {
    background: transparent;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--dark);
    transition: color 0.3s ease;
}

.product-info p {
    color: #666;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.product-card:hover h3,
.product-card:hover p {
    color: #111;
}

.product-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
    transition: all 0.3s ease;
}

.product-card:hover .product-tag {
    background: #4f9ddd;
}

.product-card .btn {
    transition: all 0.3s ease;
}

.product-card:hover .btn {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.product-card:hover .btn:hover {
    background: #083b91;
    color: white;
}

/* Blueprint grid lines for the section */
.department-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    bottom: 0;
    background-image:
        linear-gradient(rgba(33, 158, 188, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 158, 188, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    border-radius: 10px;
    opacity: 0.5;
}

/* Contact Section */
.contact {
    background-color: white;
    padding: 20px;
}

.contact-content {
    display: flex;
    gap: 60px;
}

.contact-form {
    flex: 1;
}

.contact-info {
    flex: 1;
    background: var(--gradient);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: white;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-detail i {
    margin-right: 15px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(142, 202, 230, 0.3);
}

/* Blog Section */
.blog-section {
    padding: 10px 0;
    background: #f8f9fa;
}

.blog-slider {
    padding: 30px 30px;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.blog-track {
    display: flex;
    gap: 30px;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}

.blog-card {
    min-width: calc(33.333% - 20px);
    flex-shrink: 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.blog-content {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    transition: color 0.3s ease;
}

.blog-card:hover h3 {
    color: var(--primary-blue);
}

.blog-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.blog-card:hover p {
    color: var(--primary-blue);
}

.blog-content .btn {
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.25s ease;
}

.blog-content .btn:hover {
    transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 992px) {
    .blog-card {
        min-width: calc(50% - 20px);
    }
    
    .department-section .hero-banner {
        height: 320px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .blog-slider {
        padding: 15px 12px;
        overflow: visible;
    }

    .blog-track {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, auto);
        gap: 12px;
        transform: none !important;
    }

    .blog-card {
        min-width: 0;
    }
    
    .department-section .hero-banner {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .blog-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, auto);
    }

    .department-section .hero-banner {
        height: 180px;
    }
}

/* Distribution Partners */
.distribution-partners {
    padding: 10px 0;
    background: transparent;
    box-shadow: none;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.partner-logo {
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-yellow);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.partner-logo i {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 3rem;
}

.partner-logo h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.partner-logo p {
    color: #4b5563;
    font-size: 0.9rem;
}

/* International Certifications */
.international-certs {
    background: white;
    padding: 10px 0;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.cert-item {
    background: transparent;
    padding: 26px 18px 22px;
    border-radius: 18px;
    text-align: center;
    box-shadow: none;
    transition: all 0.3s ease;
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 240px;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.cert-badge {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 18px;
    box-shadow: none;
    overflow: hidden;
}

.cert-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cert-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0;
    font-size: 1.15rem;
    line-height: 1.4;
}

/* Footer */
footer {
    background-color: #fff;
    color: #000;
    padding: 50px 0;
    font-family: 'Segoe UI', sans-serif;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: none;
}

footer a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0b4dba;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1 1 220px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #000;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.04);
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #000;
    color: #fff;
}

footer .copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #000;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .about-image img {
        height: 560px;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .nav-menu {
        gap: 20px;
    }
    
    .dropdown-menu {
        min-width: 220px;
    }
    
    .hero-slider {
        height: calc(90vh - 70px);
        min-height: 450px;
    }
    
    .blog-track {
        padding: 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }

    /* Header/menu animation removed for mobile */
    header,
    .logo,
    .mobile-toggle,
    .header-whatsapp,
    .nav-menu,
    .nav-menu a,
    .dropdown-menu,
    .dropdown-menu li a {
        transition: none !important;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        height: calc(100vh - 65px);
        background: white;
        flex-direction: column;
        padding: 12px 20px 20px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        overflow-y: auto;
        gap: 0;
        justify-content: flex-start;
        z-index: 1200;
    }
    
    .nav-menu.active {
        display: flex;
        animation: none;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
    }
    
    .nav-menu a {
        padding: 12px 0;
        width: 100%;
        font-size: 17px;
        border-bottom: 1px solid rgba(142, 202, 230, 0.1);
    }

    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        min-width: auto;
        border-radius: 0;
        margin-top: 10px;
        border-left: 2px solid rgba(142, 202, 230, 0.3);
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        animation: none;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateX(-10px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .dropdown > a::after {
        content: '▶';
    }
    
    .dropdown.active > a::after {
        content: '▼';
    }
    
    .dropdown-menu li a {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .dropdown-menu li a:hover {
        padding-left: 20px;
    }
    
    .mobile-toggle {
        display: block;
    }

    .header-container {
        padding: 12px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    body.index-page .contact .section-title,
    body.index-page .blog-section .section-title,
    body.index-page .distribution-partners .section-header .section-title,
    body.index-page .international-certs .section-header .section-title {
        display: block;
        width: 100%;
        font-size: 40px;
        line-height: 1.1;
        text-align: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .hero-slider {
        height: calc(85vh - 70px);
        min-height: 400px;
        margin-top: 65px;
    }
    
    body {
        padding-top: 65px;
    }

    .container { padding: 0; }

    .about,
    .contact {
        padding: 30px;
    }

    body.index-page .about {
        padding: 0 12px 20px;
        overflow: hidden;
    }

    body.index-page .about-content {
        gap: 0;
        width: 100%;
    }

    body.index-page .about-image {
        width: 100%;
        margin: 0;
        flex: none;
    }

    .about-image img {
        height: 460px;
        border-radius: 20px;
    }

    .contact-content {
        gap: 30px;
    }

    .contact-info {
        padding: 28px;
    }

    /* Prevent image crop on mobile */
    .slide img {
        object-fit: cover;
        object-position: center center;
    }

    .department-section .hero-banner img {
        object-fit: contain;
        object-position: center center;
        background: #fff;
    }

    .product-image,
    .blog-image {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        background-color: #fff;
    }

    .about-image img {
        object-fit: contain;
        background: #fff;
    }

    /* Remove extra top whitespace on index mobile */
    body.index-page {
        padding-top: 0;
    }

    .hero-slider {
        margin-top: 65px;
        height: calc(62vh - 65px);
        min-height: 260px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15.5px;
    }

    .logo {
        font-size: 18px;
    }
    
    .logo i {
        font-size: 16px;
        margin-right: 8px;
    }

    .logo-image {
        height: 38px;
    }
    
    .header-container {
        width: 92%;
    }
    
    body {
        padding-top: 65px;
    }
    
    header {
        padding: 0 4%;
        height: 65px;
    }
    
    .hero-slider {
        margin-top: 65px;
        height: calc(78vh - 65px);
        min-height: 320px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    body.index-page .contact .section-title {
        font-size: clamp(1.3rem, 5vw, 1.65rem);
        letter-spacing: 0.2px;
    }

    body.index-page .blog-section .section-title {
        font-size: clamp(1.2rem, 4.7vw, 1.45rem);
        letter-spacing: 0.2px;
    }

    .container { padding: 0; }

    .about,
    .contact {
        padding: 20px;
    }

    .about-image img {
        height: 340px;
        border-radius: 16px;
    }

    .contact-info {
        padding: 22px;
    }

    .department-section .hero-banner {
        height: 200px;
        margin-bottom: 40px;
    }

    .department-section .hero-banner img {
        object-fit: cover;
        object-position: center center;
    }

    .blog-image {
        height: 220px;
        background-size: cover;
        background-position: center center;
    }

    body.index-page {
        padding-top: 0;
    }

    .hero-slider {
        margin-top: 65px;
        height: calc(52vh - 65px);
        min-height: 220px;
    }

}

@media (max-width: 480px) {
    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 62px;
        height: 62px;
    }

    .floating-whatsapp i {
        font-size: 1.7rem;
    }
}

body.menu-open {
    overflow: hidden;
}

/* Final mobile image-fit fix: show full image (no cut) */
@media (max-width: 768px) {
    body.index-page .hero-slider {
        margin-top: 65px;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    body.index-page .slide img {
        object-fit: contain !important;
        object-position: center center;
        background: #fff;
    }

    body.index-page .department-section .hero-banner {
        height: auto;
        aspect-ratio: 3 / 1;
    }

    body.index-page .department-section .hero-banner img {
        object-fit: contain !important;
        object-position: center center;
        background: #fff;
    }

    body.index-page .product-image,
    body.index-page .blog-image {
        height: auto;
        aspect-ratio: 4 / 3;
        background-size: contain !important;
        background-repeat: no-repeat;
        background-position: center center;
        background-color: #fff;
    }

    body.index-page .about-image img {
        object-fit: cover !important;
        width: 100%;
        height: 320px;
        background: #fff;
        border-radius: 18px;
    }

    /* Mobile spacing cleanup */
    body.index-page .products {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    body.index-page .department-section {
        margin-bottom: 16px;
    }

    body.index-page .department-section .section-header {
        margin-bottom: 12px !important;
    }

    body.index-page .department-section .section-header h2 {
        margin-bottom: 8px;
    }

    body.index-page .department-section .section-header h2::after {
        width: 180px;
    }

    body.index-page .department-section .hero-banner {
        margin-bottom: 16px !important;
    }

    body.index-page .product-card {
        overflow: hidden;
    }

    /* Blog section as mobile box grid */
    body.index-page .blog-slider {
        padding: 12px;
        overflow: visible;
    }

    body.index-page .blog-track {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        transform: none !important;
    }

    body.index-page .blog-card {
        min-width: 0;
        border-radius: 12px;
    }

    body.index-page .blog-content {
        padding: 12px;
        gap: 8px;
    }

    body.index-page .blog-content h3 {
        font-size: 1rem;
        line-height: 1.3;
    }

    body.index-page .blog-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    body.index-page .blog-content .btn {
        padding: 8px 14px;
        font-size: 0.78rem;
    }

    /* Keep long section headings on a single mobile line */
    body.index-page .distribution-partners .section-header .section-title,
    body.index-page .international-certs .section-header .section-title {
        max-width: 100%;
        margin-inline: auto;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    body.index-page .distribution-partners .section-header .section-title::after,
    body.index-page .international-certs .section-header .section-title::after {
        width: 100%;
    }

    /* Mobile box grid style for partner/cert cards */
    body.index-page .partners-grid,
    body.index-page .certs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.index-page .partner-logo,
    body.index-page .cert-item {
        padding: 20px 12px;
        border-radius: 12px;
    }

    body.index-page .partner-logo i {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    body.index-page .cert-badge {
        width: 98px;
        height: 98px;
        padding: 8px;
        margin-bottom: 12px;
    }

    body.index-page .partner-logo h4,
    body.index-page .cert-item h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    body.index-page .partner-logo p,
    body.index-page .cert-item p {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    body.index-page .cert-item {
        min-height: 170px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body.index-page .department-section .section-header {
        margin-bottom: 10px !important;
    }

    body.index-page .department-section .hero-banner {
        margin-bottom: 14px !important;
    }

    body.index-page .contact .section-title,
    body.index-page .blog-section .section-title,
    body.index-page .distribution-partners .section-header .section-title,
    body.index-page .international-certs .section-header .section-title {
        font-size: 40px;
        line-height: 1.08;
    }

    body.index-page .blog-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, auto);
    }
}
.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
    z-index: 2000;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.floating-whatsapp i {
    font-size: 2.05rem;
    line-height: 1;
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);
    background: #1fba59;
    box-shadow: 0 18px 34px rgba(37, 211, 102, 0.42);
}

.floating-whatsapp:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}
