/* ==========================================================
   World Industrie - Feuille de style principale
   Couleurs : Bleu (#1e5799) + Vert (#2eb872)
             + BTP Or (#c9952a) + Acier (#6b7b8d) + Béton (#9ca3af)
   ========================================================== */

:root {
    /* ── Palette principale (logo World Industrie) ── */
    --primary:        #1e5799;   /* bleu profond */
    --primary-dark:   #143d6e;
    --secondary:      #2eb872;   /* vert émeraude */
    --secondary-dark: #20934f;
    --accent:         #2989d8;   /* bleu ciel */

    /* ── Palette BTP / Industrie lourde ── */
    --btp-gold:       #c9952a;   /* or chantier  */
    --btp-gold-light: #f0c050;   /* jaune grue   */
    --btp-gold-dark:  #9a7020;
    --btp-steel:      #4a5568;   /* acier foncé  */
    --btp-steel-mid:  #6b7b8d;   /* acier moyen  */
    --btp-steel-light:#a0aec0;   /* acier clair  */
    --btp-concrete:   #e8e4dc;   /* béton clair  */
    --btp-concrete-dark:#b5b0a5; /* béton foncé  */

    /* ── Gradient signatures ── */
    --gradient:       linear-gradient(135deg, #1e5799 0%, #2989d8 40%, #2eb872 100%);
    --gradient-gold:  linear-gradient(135deg, #9a7020 0%, #c9952a 50%, #f0c050 100%);
    --gradient-btp:   linear-gradient(135deg, #1e5799 0%, #4a5568 40%, #c9952a 100%);
    --gradient-steel: linear-gradient(135deg, #2c3e50 0%, #4a5568 60%, #6b7b8d 100%);
    --gradient-soft:  linear-gradient(135deg, rgba(30,87,153,0.08), rgba(46,184,114,0.08));
    --gradient-gold-soft: linear-gradient(135deg, rgba(201,149,42,0.10), rgba(240,192,80,0.08));

    /* ── Neutres ── */
    --dark:       #1a1a2e;
    --gray:       #f5f7fa;
    --gray-dark:  #e4e8ee;
    --text:       #2c3e50;
    --text-light: #6b7c93;

    /* ── Ombres & Formes ── */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow:    0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(30,87,153,0.15);
    --shadow-gold: 0 10px 30px rgba(201,149,42,0.25);
    --radius: 12px;
}

/* ── Utility BTP classes ── */
.text-gold { color: var(--btp-gold) !important; }
.text-steel { color: var(--btp-steel) !important; }
.bg-gold { background: var(--gradient-gold) !important; }
.bg-steel { background: var(--gradient-steel) !important; }
.bg-btp { background: var(--gradient-btp) !important; }
.badge-gold {
    display: inline-block;
    background: var(--gradient-gold);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.badge-steel {
    display: inline-block;
    background: var(--btp-steel);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}
/* Bordure or sur les cards spéciales BTP */
.card-btp {
    border-top: 4px solid var(--btp-gold) !important;
    box-shadow: var(--shadow-gold) !important;
}
/* Accent or sur les titres */
.title-accent::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: var(--gradient-gold);
    border-radius: 4px;
    margin-top: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--secondary); }

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

ul { list-style: none; }

/* ==========================================================
   Topbar
   ========================================================== */
.topbar {
    background: linear-gradient(90deg, #1a1a2e 0%, #2c3e50 60%, #1a2c1a 100%);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid var(--btp-gold);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.topbar-left span { margin-right: 25px; }
.topbar-left i { color: var(--secondary); margin-right: 6px; }
.topbar-right a {
    color: #fff;
    margin-left: 15px;
    width: 28px; height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    font-size: 12px;
}
.topbar-right a:hover {
    background: var(--gradient);
    transform: translateY(-2px);
}

/* ==========================================================
   Header / Navigation
   ========================================================== */
.site-header {
    background: #fff;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}
.site-header.scrolled { padding: 10px 0; }

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
}
.logo-icon svg { width: 100%; height: auto; }
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-weight: 700;
}
.logo-world {
    font-size: 22px;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.logo-industrie {
    font-size: 16px;
    color: var(--secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.main-nav ul {
    display: flex;
    gap: 5px;
    align-items: center;
}
.main-nav a {
    color: var(--text);
    padding: 10px 14px;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: var(--gradient-soft);
}
.main-nav .has-submenu { position: relative; }
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 260px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    flex-direction: column;
    gap: 2px;
    align-items: stretch;
}
.submenu li { width: 100%; }
.submenu a {
    padding: 10px 14px;
    border-radius: 6px;
    display: block;
    font-size: 14px;
}
.submenu a:hover {
    background: var(--gradient-soft);
    color: var(--primary);
}
.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* ==========================================================
   Hero Section / Slider Accueil
   ========================================================== */
.hero {
    position: relative;
    min-height: 760px;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #08141f;
}
.hero-slider-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    transform: scale(1.14);
    transition: opacity 1.15s ease, transform 10s ease;
    will-change: opacity, transform;
}
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(9, 28, 44, 0.26) 0%, rgba(30, 87, 153, 0.20) 42%, rgba(74, 85, 104, 0.14) 68%, rgba(201, 149, 42, 0.10) 100%);
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1.02);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 18% 45%, rgba(46, 184, 114, 0.14), transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(30, 87, 153, 0.18), transparent 34%),
        radial-gradient(circle at 78% 82%, rgba(201, 149, 42, 0.14), transparent 28%);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(7, 18, 31, 0.30) 0%, rgba(7, 18, 31, 0.10) 45%, rgba(7, 18, 31, 0.24) 100%);
}
.hero .container {
    position: relative;
    z-index: 3;
    padding: 110px 20px 90px;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 430px);
    gap: 40px;
    align-items: end;
}
.hero-content {
    max-width: 760px;
}
.hero-content.is-switching {
    animation: heroCopyFade 0.45s ease;
}
@keyframes heroCopyFade {
    0% { opacity: 0.25; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.hero-badge i { color: var(--btp-gold-light); margin-right: 8px; }

.hero h1 {
    font-size: 62px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #fff, #fce9a8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lead {
    font-size: 19px;
    line-height: 1.75;
    margin-bottom: 35px;
    opacity: 0.97;
    max-width: 680px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Activity panel */
.hero-activity-panel {
    background: rgba(9, 20, 33, 0.56);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(12px);
    padding: 26px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.20);
}
.hero-panel-kicker {
    display: inline-block;
    color: var(--btp-gold-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}
.hero-activity-panel h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #fff;
}
.hero-activity-panel p {
    color: rgba(255,255,255,0.88);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 18px;
}
.hero-current-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,149,42,0.16);
    color: #fff;
    border: 1px solid rgba(240,192,80,0.28);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.hero-thumbs {
    display: grid;
    gap: 10px;
}
.hero-thumb {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-thumb:hover,
.hero-thumb.active {
    background: rgba(255,255,255,0.10);
    border-color: rgba(240,192,80,0.34);
    transform: translateY(-2px);
}
.hero-thumb-num {
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30,87,153,0.88), rgba(201,149,42,0.88));
    font-weight: 800;
    font-size: 13px;
}
.hero-thumb-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero-thumb-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.hero-thumb-text small {
    font-size: 12px;
    color: rgba(255,255,255,0.70);
}
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.18);
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-dot.active,
.hero-dot:hover {
    background: var(--btp-gold-light);
    border-color: var(--btp-gold-light);
    transform: scale(1.12);
}
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(8, 20, 31, 0.34);
    backdrop-filter: blur(10px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.16);
}
.hero-nav:hover {
    background: rgba(201,149,42,0.28);
    border-color: rgba(240,192,80,0.35);
    transform: translateY(-50%) scale(1.06);
}
.hero-nav i {
    font-size: 18px;
}
.hero-nav-prev { left: 20px; }
.hero-nav-next { right: 20px; }

/* Stats hero */
.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    flex-wrap: wrap;
}
.hero-stat h3 {
    font-size: 44px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #fce9a8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.hero-stat p {
    font-size: 14px;
    opacity: 0.92;
    margin-top: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
@keyframes heroZoomFloat {
    0%   { transform: scale(1.02) translate3d(0, 0, 0); }
    50%  { transform: scale(1.13) translate3d(-1.5%, 0.6%, 0); }
    100% { transform: scale(1.22) translate3d(-2.4%, 1.1%, 0); }
}
.hero-slide.active {
    animation: heroZoomFloat 10s ease-out forwards;
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide.active,
    .hero-content.is-switching {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: none;
}
.btn-primary {
    background: #fff;
    color: var(--primary);
}
.btn-primary:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(46, 184, 114, 0.4);
}
.btn-secondary {
    background: var(--gradient);
    color: #fff;
}
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30, 87, 153, 0.4);
    color: #fff;
}
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn-outline-white:hover {
    background: #fff;
    color: var(--primary);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ==========================================================
   Sections
   ========================================================== */
section { padding: 90px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header .subtitle {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.section-header h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 17px;
}

/* ==========================================================
   Services / Feature grid
   ========================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.feature-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-dark);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 70px; height: 70px;
    background: var(--gradient-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
    transition: all 0.3s;
}
.feature-card:hover .feature-icon {
    background: var(--gradient);
    color: #fff;
    transform: rotate(-10deg) scale(1.1);
}
.feature-card h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
}
.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}
.feature-card .read-more {
    display: inline-block;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* ==========================================================
   About Section
   ========================================================== */
.about-section { background: var(--gray); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.about-image .badge-overlay {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}
.badge-overlay .num {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.badge-overlay p {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.about-content .subtitle {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 15px;
}
.about-content h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.2;
}
.about-content > p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.8;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--dark);
}
.about-feature i {
    color: var(--secondary);
    width: 24px; height: 24px;
    background: rgba(46, 184, 114, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ==========================================================
   Products grid
   ========================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    border: 1px solid var(--gray-dark);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-image {
    height: 220px;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
}
.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 60%);
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}
.product-category-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-body {
    padding: 25px;
}
.product-body h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}
.product-body p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gray-dark);
}
.product-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
}
.product-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.product-link:hover i { transform: translateX(4px); }
.product-link i { transition: transform 0.3s; }

/* ==========================================================
   Category cards
   ========================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.category-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}
.category-card > * { position: relative; z-index: 1; }
.category-card:hover { transform: translateY(-8px); }
.category-card:hover::after { opacity: 1; }
.category-card:hover h3,
.category-card:hover p,
.category-card:hover .cat-icon { color: #fff; }
.category-card:hover .cat-icon { background: rgba(255,255,255,0.2); }

.cat-icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary);
    transition: all 0.4s;
}
.category-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.category-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================================
   Projects
   ========================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.project-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.project-image {
    height: 240px;
    background: var(--gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255,255,255,0.4);
}
.project-body { padding: 25px; }
.project-tag {
    display: inline-block;
    background: var(--gradient-soft);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}
.project-body h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}
.project-body p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}
.project-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
    padding-top: 15px;
    border-top: 1px solid var(--gray-dark);
}
.project-meta i { color: var(--secondary); margin-right: 5px; }

/* ==========================================================
   News / Blog
   ========================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    border: 1px solid var(--gray-dark);
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.news-image {
    height: 200px;
    background: var(--gradient);
    position: relative;
}
.news-body { padding: 25px; }
.news-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}
.news-meta span { display: inline-flex; align-items: center; gap: 6px; }
.news-meta i { color: var(--secondary); }
.news-body h3 {
    font-size: 19px;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}
.news-body p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================
   CTA Section
   ========================================================== */
.cta-section {
    background: var(--gradient);
    color: #fff;
    padding: 60px 0;
}
.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.cta-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}
.cta-content p {
    opacity: 0.95;
    font-size: 16px;
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
    background: #0f1419;
    color: #a0aec0;
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.logo-icon-sm { width: 40px; height: 40px; }
.footer-logo .logo-world { color: #fff; }

.footer-col h4 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #a0aec0;
    font-size: 15px;
    transition: all 0.3s;
}
.footer-links a::before {
    content: '›';
    color: var(--secondary);
    margin-right: 8px;
    font-size: 18px;
    font-weight: 700;
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}
.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    font-size: 14px;
}
.footer-contact i {
    color: var(--secondary);
    width: 18px;
    flex-shrink: 0;
    margin-top: 4px;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 14px;
}
.footer-social a:hover {
    background: var(--gradient);
    color: #fff;
    transform: translateY(-3px);
}

.newsletter {
    display: flex;
    background: rgba(255,255,255,0.06);
    border-radius: 50px;
    padding: 5px;
    margin-top: 20px;
}
.newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 18px;
    color: #fff;
    outline: none;
    font-size: 14px;
}
.newsletter input::placeholder { color: #6b7c93; }
.newsletter button {
    background: var(--gradient);
    color: #fff;
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}
.newsletter button:hover { transform: scale(1.08); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a { color: #a0aec0; }
.footer-bottom-links a:hover { color: var(--secondary); }

/* ==========================================================
   Page Header (interne)
   ========================================================== */
.page-header {
    background: linear-gradient(135deg, rgba(30, 87, 153, 0.95), rgba(46, 184, 114, 0.9)),
                url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1920') center/cover;
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}
.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}
.breadcrumb {
    display: inline-flex;
    gap: 10px;
    font-size: 14px;
    opacity: 0.95;
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { opacity: 0.6; }

/* ==========================================================
   Contact Form
   ========================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
}
.contact-info-box {
    background: var(--gradient);
    color: #fff;
    padding: 50px 40px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.contact-info-box::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.contact-info-box h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}
.contact-info-box > p { position: relative; opacity: 0.95; margin-bottom: 35px; }
.contact-info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
    position: relative;
    align-items: flex-start;
}
.contact-info-item .icon-circle {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
.contact-info-item h4 { font-size: 16px; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; opacity: 0.9; }

.contact-form-wrap {
    background: #fff;
    padding: 45px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
    font-size: 26px;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 800;
}
.contact-form-wrap > p {
    color: var(--text-light);
    margin-bottom: 25px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-dark);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
    background: #fff;
    color: var(--text);
}
.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(46, 184, 114, 0.12);
}
textarea.form-control { resize: vertical; min-height: 140px; }

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ==========================================================
   Product detail
   ========================================================== */
.product-detail {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: start;
}
.product-detail-image {
    background: var(--gradient);
    height: 450px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 140px;
    color: rgba(255,255,255,0.5);
    position: relative;
    box-shadow: var(--shadow-lg);
}
.product-detail-info h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}
.product-detail-meta {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-dark);
    margin-bottom: 25px;
}
.product-detail-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}
.product-detail-meta i { color: var(--secondary); }
.product-detail-price {
    font-size: 38px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 25px;
}
.product-detail-description {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}
.specs-box {
    background: var(--gray);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
}
.specs-box h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--dark);
}
.specs-box ul li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--gray-dark);
    font-size: 14px;
    color: var(--text);
}
.specs-box ul li:last-child { border-bottom: none; }
.specs-box ul li strong { color: var(--primary); min-width: 140px; display: inline-block; }

/* ==========================================================
   Stats
   ========================================================== */
.stats-section {
    background: var(--dark);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(30, 87, 153, 0.3), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(46, 184, 114, 0.25), transparent 50%);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
    text-align: center;
}
.stat-item h3 {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #2989d8, #2eb872);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-item p {
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 500;
}

/* ==========================================================
   Testimonials
   ========================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.testimonial-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--gray-dark);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px; right: 25px;
    font-size: 80px;
    color: var(--gradient);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.08;
    font-weight: 900;
}
.testimonial-stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 15px;
}
.testimonial-card p {
    color: var(--text);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-dark);
}
.author-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}
.author-info h5 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 2px;
    font-weight: 700;
}
.author-info p {
    font-size: 13px;
    color: var(--text-light);
    font-style: normal;
    margin: 0;
}

/* ==========================================================
   Partners / Brands
   ========================================================== */
.partners-section {
    background: var(--gray);
    padding: 60px 0;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: center;
}
.partner-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.partner-item:hover { transform: translateY(-4px); color: var(--secondary); }

/* ==========================================================
   Back to top
   ========================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px; height: 50px;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s;
    z-index: 999;
    font-size: 18px;
    box-shadow: var(--shadow);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-4px); }

/* ==========================================================
   Filters / Search
   ========================================================== */
.filter-bar {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.filter-bar input, .filter-bar select {
    padding: 12px 18px;
    border: 2px solid var(--gray-dark);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
}
.filter-bar input { flex: 1; min-width: 200px; }
.filter-bar input:focus, .filter-bar select:focus {
    outline: none;
    border-color: var(--secondary);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}
.pagination a, .pagination span {
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--gray-dark);
    transition: all 0.3s;
    cursor: pointer;
}
.pagination a:hover, .pagination .active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 992px) {
    .about-grid, .contact-grid, .product-detail { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero { min-height: 860px; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; align-items: start; }
    .hero h1 { font-size: 44px; }
    .hero-stats { gap: 30px; }
    .hero-activity-panel { max-width: 100%; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .hero { min-height: 860px; }
    .hero .container { padding: 95px 20px 80px; }
    .hero h1 { font-size: 36px; }
    .hero p.lead { font-size: 16px; }
    .hero-activity-panel { padding: 20px; border-radius: 16px; }
    .hero-activity-panel h3 { font-size: 22px; }
    .hero-thumb { padding: 12px; gap: 12px; }
    .hero-thumb-num { min-width: 38px; height: 38px; }
    .hero-dots { bottom: 18px; }
    .hero-nav { width: 46px; height: 46px; top: 42%; }
    .hero-nav-prev { left: 12px; }
    .hero-nav-next { right: 12px; }
    .section-header h2, .about-content h2 { font-size: 30px; }
    .page-header h1 { font-size: 32px; }
    .hero-buttons .btn { padding: 12px 24px; font-size: 14px; }

    .topbar-left span { display: block; margin-right: 0; margin-bottom: 4px; font-size: 12px;}
    .topbar .container { font-size: 12px; }

    .menu-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #fff;
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s;
    }
    .main-nav.open { max-height: 600px; }
    .main-nav ul {
        flex-direction: column;
        padding: 15px;
        gap: 4px;
    }
    .main-nav a { display: block; padding: 12px 15px; }
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        padding: 0 0 0 20px;
        background: var(--gray);
        border-radius: 8px;
        margin-top: 5px;
    }
    .has-submenu:hover .submenu { display: block; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .form-row { grid-template-columns: 1fr; }
    .cta-content { flex-direction: column; text-align: center; }
    .about-image img { height: 320px; }
    .product-detail-image { height: 280px; font-size: 90px; }
    .stat-item h3 { font-size: 42px; }
    .hero-stat h3 { font-size: 32px; }
    .contact-info-box, .contact-form-wrap { padding: 30px 25px; }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.8s ease-out; }

.wow {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s;
}
.wow.visible {
    opacity: 1;
    transform: translateY(0);
}
