/**
 * ETC Teknoloji - Modern ve Fütüristik Web Tasarım
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Wilo Benzeri Kurumsal Renkler + Turuncu Vurgu */
    --primary-color: #003D7A;
    --secondary-color: #00A3E0;
    --accent-color: #0073CF;
    --orange-color: #FF6B35;
    --orange-light: #FFA500;
    --dark-color: #1a2332;
    --darker-color: #0f1621;
    --gradient-1: linear-gradient(135deg, #003D7A 0%, #0073CF 100%);
    --gradient-2: linear-gradient(135deg, #00A3E0 0%, #0073CF 100%);
    --gradient-3: linear-gradient(135deg, #e6f4fb 0%, #cfe9f7 100%);
    --gradient-orange: linear-gradient(135deg, #FF6B35 0%, #FFA500 100%);
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --bg-light: #e6f4fb;
    --bg-dark: #1a2332;
    --shadow-sm: 0 2px 8px rgba(0, 61, 122, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 61, 122, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 61, 122, 0.15);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-orange: 0 8px 25px rgba(255, 107, 53, 0.3);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', sans-serif;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #d9d9d9;
    padding: 0.3rem 0;
    transition: var(--transition-normal);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

.logo img {
    height: 110px;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: opacity .2s ease;
}
@media (max-width: 768px){
  .logo img{height:88px}
}

.logo:hover img { transform: none }

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

.nav-menu > li {
    position: relative;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-normal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link i.fa-chevron-down {
    font-size: 0.7rem;
    transition: var(--transition-normal);
}

.nav-menu > li:hover .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #3f5b44;
    transition: var(--transition-normal);
    border-radius: 3px;
}

.nav-link:hover {
    color: #3f5b44;
    background: transparent;
    border-radius: 0;
}

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

.nav-link.active {
    color: #3f5b44;
    background: transparent;
    border-radius: 0;
}

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

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 10px 40px rgba(0, 61, 122, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    min-width: 700px;
    opacity: 0;
    visibility: hidden;
    margin-top: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3000;
    border-top: 3px solid #3f5b44;
}

.nav-menu > li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

@media (max-width: 768px) {
    .mega-menu {
        min-width: 400px;
        padding: 1.5rem;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

.mega-menu-item {
    padding: 1.2rem;
    border-radius: var(--border-radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    border: 2px solid #e5e7eb;
    background: white;
    position: relative;
    overflow: hidden;
}
.mega-menu-thumb{width:50px;height:50px;border-radius:12px;overflow:hidden;flex-shrink:0;box-shadow:0 4px 15px rgba(0,61,122,.2)}
.mega-menu-thumb img{width:100%;height:100%;object-fit:contain}

.mega-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 69, 50, 0.06) 0%, rgba(78, 106, 80, 0.06) 100%);
    transition: var(--transition-normal);
    z-index: 0;
}

.mega-menu-item:hover::before {
    left: 0;
}

.mega-menu-item:hover {
    border-color: #3f5b44;
    transform: translateY(-3px) translateX(5px);
    box-shadow: 0 8px 25px rgba(63, 91, 68, 0.18);
}

.mega-menu-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 61, 122, 0.2);
}

.mega-menu-item:hover .mega-menu-icon {
    background: linear-gradient(135deg,#344532 0%, #3f5b44 50%, #4e6a50 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(63, 91, 68, 0.3);
}

.mega-menu-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.mega-menu-content h4 {
    color: var(--primary-color);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-menu-item:hover .mega-menu-content h4 {
    color: #3f5b44;
}

.mega-menu-content p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.6;
}

.mega-menu-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(63, 91, 68, 0.12);
    color: #3f5b44;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 15px;
    margin-left: 0.5rem;
    text-transform: uppercase;
}

.admin-link {
    background: linear-gradient(135deg,#344532 0%, #3f5b44 50%, #4e6a50 100%);
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    color: white !important;
    box-shadow: 0 4px 15px rgba(63, 91, 68, 0.30);
}

.admin-link:hover {
    box-shadow: 0 6px 20px rgba(63, 91, 68, 0.45);
    transform: scale(1.05);
}

.form-control{width:100%;padding:.7rem 1rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff;font-size:.95rem}
.tool-card{background:#fff;border:1px solid #eee;border-radius:12px;padding:16px;box-shadow:var(--shadow-sm)}
.tool-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);transition:var(--transition-normal)}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2100;
    padding: 8px;
    margin-left: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #3f5b44;
    border-radius: 3px;
    transition: var(--transition-normal);
}

@media (max-width: 992px) {
    .nav-cta {
        display: none !important;
    }
    
    .lang-switch {
        margin-left: 0 !important;
    }
    
    .lang-switch .wa {
        display: none !important;
    }
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 61, 122, 0.60) 0%, rgba(0, 61, 122, 0.25) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    max-width: 700px;
    padding: 0 2rem;
}
.hero-slider .container, .slide .container{height:100%}

/* Slider Content Position Helpers */
.slide-content.pos-top { justify-content: flex-start; }
.slide-content.pos-center { justify-content: center; }
.slide-content.pos-bottom { justify-content: flex-end; }
.slide-content.align-left { align-items: flex-start; text-align: left; }
.slide-content.align-center { align-items: center; text-align: center; }
.slide-content.align-right { align-items: flex-end; text-align: right; }

.slide-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 400;
}

.slide-description {
    font-size: 1.15rem;
    color: white;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 600px;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 30%;
    animation-delay: 10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: 20%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.slider-controls {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.slider-btn {
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-btn:hover {
    background: var(--orange-color);
    color: white;
    border-color: var(--orange-color);
    box-shadow: var(--shadow-orange);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-normal);
}

.dot.active {
    background: var(--orange-color);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
    transform: scale(1.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.btn:focus{outline:none;box-shadow:0 0 0 4px rgba(0,115,207,.15)}
a.btn{text-decoration:none}
button.btn{border:none}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
    border: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}
.btn-primary, .btn.btn-primary { border-radius: 50px }

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,#344532 0%, #3f5b44 50%, #4e6a50 100%);
    transition: var(--transition-normal);
    z-index: -1;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(63,91,68,0.30);
    transform: translateY(-2px);
}

.btn-primary:hover::after {
    left: 0;
}

/* Header-specific button behavior: in green header, transition from green to grey */
.page-header.green-anim .btn-primary{
  background: linear-gradient(135deg,#344532 0%, #3f5b44 50%, #4e6a50 100%);
  color:#fff;
}
.page-header.green-anim .btn-primary::after{
  background: linear-gradient(135deg,#e5e7eb 0%, #cfd3d8 100%);
}
.page-header.green-anim .btn-primary:hover{
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
  color:#111;
}

.btn.btn-orange {
    background: linear-gradient(135deg,#344532 0%, #3f5b44 50%, #4e6a50 100%);
    box-shadow: 0 8px 25px rgba(63,91,68,0.30);
}

.btn.btn-orange:hover {
    background: #4e6a50;
    transform: translateY(-3px) scale(1.05);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-orange);
    margin: 0 auto;
    border-radius: 10px;
}

/* Services */
.services-section {
    background: var(--bg-secondary);
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #f9fbfd;
    display:flex;
    flex-direction:column;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid #eaeef3;
    transition: var(--transition-normal);
    cursor: pointer;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: #c8c8c8;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #c8c8c8;
    transition: var(--transition-normal);
}

.service-card:hover::before {
    height: 100%;
}

.service-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: var(--transition-normal);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
    will-change: transform;
}
/* Tabs */
.tabs .tab-nav { display:flex; align-items:center; gap:2rem; background:#f5f7fa; border-radius:12px; padding:0 1rem; height:64px; border-bottom:2px solid #e5e7eb }
.tab-btn { background:transparent; border:0; padding:0 1.2rem; height:100%; display:flex; align-items:center; font-weight:600; color:var(--text-primary); position:relative; border-radius:12px }
.tab-btn.active { background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.08) }
.tab-btn::after { content:""; position:absolute; left:14px; right:14px; bottom:-5px; height:4px; background:transparent; border-radius:3px }
.tab-btn.active::after { background:#22c55e }
.tab-pane.active { display:block }

/* Product slider */
.image-slider{position:relative;background:#fff;border:1px solid #eee;border-radius:12px;min-height:360px;display:flex;align-items:center;justify-content:center}
.image-slider .slide-img{max-width:100%;max-height:320px;object-fit:contain;transition:opacity .6s ease;will-change:opacity}
.image-slider .arrow{position:absolute;top:50%;transform:translateY(-50%);background:#fff;border:1px solid #e5e7eb;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.08);cursor:pointer}
.image-slider .arrow.left{left:10px}
.image-slider .arrow.right{right:10px}
.thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.thumbs .thumb{width:64px;height:52px;border:1px solid #e5e7eb;border-radius:8px;object-fit:contain;background:#fff;cursor:pointer;opacity:.8}
.thumbs .thumb.active{border-color:#22c55e;opacity:1}
.recommended{background:#fff;border:1px solid #eee;border-radius:12px;padding:1rem}
.recommended h4{margin:0 0 .8rem 0;color:var(--primary-color)}
.recommended .rec-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.recommended .rec-item{background:#f9fbfd;border:1px solid #e5e7eb;border-radius:10px;padding:.8rem;display:flex;gap:.8rem;align-items:center}
.recommended .rec-item img{width:42px;height:42px;object-fit:contain;border-radius:6px;background:#fff;border:1px solid #e5e7eb}
.recommended .rec-item span{font-weight:600;color:var(--text-primary)}

/* Document thumbnails */
.doc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
.doc-item{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:.8rem;display:flex;flex-direction:column;align-items:center;gap:.5rem}
.doc-item canvas.pdf-thumb{width:160px;height:160px;border:1px solid #e5e7eb;border-radius:8px;background:#fafafa}
.doc-item .doc-title{font-size:.9rem;text-align:center;color:var(--text-primary);min-height:2.2em}
.doc-item .btn{font-size:.8rem;padding:.3rem .5rem}

/* Language flags */
.lang-switch .flag { width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:20px; background:#fff; border:1px solid #e5e7eb; box-shadow:0 2px 8px rgba(0,0,0,.08); transition:transform .15s ease, box-shadow .15s ease; cursor:pointer; overflow:hidden }
.lang-switch .flag img { width:24px; height:auto; border-radius:3px; display:block }
.lang-switch .flag:hover { transform:scale(1.08); box-shadow:0 6px 14px rgba(0,0,0,.12) }
.lang-switch .flag.active { border-color:#22c55e; box-shadow:0 0 0 3px rgba(34,197,94,.15) }
.lang-switch .wa { width:44px; height:44px; padding:0; border-radius:50%; display:flex; align-items:center; justify-content:center; gap:0; background:#25D366; color:#fff; border:1px solid #1ebe57; box-shadow:0 4px 12px rgba(37,211,102,.35); transition:width .18s ease, padding .18s ease, transform .15s ease, box-shadow .15s ease, gap .18s ease; text-decoration:none; margin-left:.6rem; animation: waPulse 2.2s ease-in-out infinite; white-space:nowrap; font-weight:600; overflow:hidden }
.lang-switch .wa:hover { transform:scale(1.04); box-shadow:0 8px 18px rgba(37,211,102,.45); width:172px; padding:0 14px; border-radius:999px; gap:.45rem }
.lang-switch .wa .wa-label{font-size:.9rem; max-width:0; opacity:0; transition:max-width .18s ease, opacity .18s ease}
.lang-switch .wa:hover .wa-label{max-width:130px; opacity:1}
.lang-switch .wa i{font-size:22px; line-height:1; display:block}
@keyframes waPulse { 0%,100% { box-shadow:0 4px 12px rgba(37,211,102,.35) } 50% { box-shadow:0 6px 16px rgba(37,211,102,.45) } }

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    color: #555;
    transform: scale(1.1);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    min-height: 48px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
    min-height: 64px;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.service-bg {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card .btn { position: relative; z-index: 2; }

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* About Section */
.about-section {
    background: white;
    padding: 5rem 0;
}

.about-subtitle {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.about-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    color: var(--orange-color);
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.feature-item:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.feature-text h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
}

.feature-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about-image {
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3));
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-icon {
    font-size: 3rem;
    color: var(--orange-color);
    margin-bottom: 1rem;
    transition: var(--transition-normal);
}

.stat-item:hover .stat-icon {
    transform: scale(1.2) rotate(360deg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* References */
.references-section {
    background: var(--bg-secondary);
    overflow: hidden;
    padding: 2rem 0;
}

.references-section .section-header{margin-bottom:2rem}

.references-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;padding:1rem 0}
@media (max-width: 992px){.references-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width: 640px){.references-grid{grid-template-columns:1fr}}

.references-slider {
    position: relative;
    padding: 1.2rem 0;
    overflow: hidden;
}

/* Breadcrumb for category/group */
.crumb-bar{display:flex;align-items:center;gap:.6rem;font-weight:600;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:.6rem .8rem;box-shadow:0 4px 16px rgba(0,0,0,.06);animation:crumbIn .35s ease both}
@keyframes crumbIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.crumb-link{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .6rem;border:1px solid #cfd3d8;border-radius:10px;background:linear-gradient(135deg,#f2f4f3 0%, #e8ece9 100%);color:#3f5b44;text-decoration:none;transition:transform .15s ease, box-shadow .15s ease}
.crumb-link i{color:#3f5b44}
.crumb-link:hover{transform:translateX(5px);box-shadow:0 6px 14px rgba(0,0,0,.08);color:#111;background:linear-gradient(135deg,#e5e7eb 0%, #d9dbdf 100%)}
.crumb-sep{color:#64748b}
.crumb-current{display:inline-flex;align-items:center;gap:.35rem;color:var(--text-primary);background:#fff;border:1px dashed #e5e7eb;border-radius:10px;padding:.35rem .6rem;position:relative}
.crumb-current::after{content:"";position:absolute;left:8px;right:8px;bottom:-2px;height:2px;background:linear-gradient(90deg,#344532 0%, #3f5b44 50%, #4e6a50 100%);border-radius:2px;animation:crumbPulse 1.8s ease infinite;opacity:.6}
@keyframes crumbPulse{0%{opacity:.2}50%{opacity:1}100%{opacity:.2}}

.reference-track {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    animation: slideReferences 30s linear infinite;
    width: fit-content;
}

.reference-track:hover {
    animation-play-state: paused;
}

@keyframes slideReferences {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.reference-item {
    min-width: 280px;
    max-width: 280px;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    border: 2px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 61, 122, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.reference-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transition: var(--transition-normal);
}

.reference-item:hover::before {
    left: 0;
}

.reference-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 61, 122, 0.15);
}

.reference-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.reference-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(80%) brightness(0.9);
    transition: all 0.4s ease;
}

.reference-item:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.reference-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reference-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.reference-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.2);
    transition: var(--transition-normal);
}

.reference-item:hover .reference-badge {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* Reference Info Text */
.reference-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Contact */
.contact-section {
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: white;
}

.info-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.info-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    text-decoration: none;
    color: var(--primary-color);
}

.social-link:hover {
    background: var(--gradient-orange);
    border-color: var(--orange-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-orange);
}

.contact-form {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

/* Footer */
.footer {
    background: #d9d9d9;
    padding: 3rem 0 1rem;
    border-top: 1px solid #c8c8c8;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 96px;
    max-width: 100%;
    margin-bottom: 1rem;
    display: block;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}
.footer-top-title{font-weight:700;font-size:1.3rem;margin-bottom:1.5rem;text-align:left}
.footer-top-title::after{content:"";display:none}
.footer-columns-3{grid-template-columns:repeat(3,300px);justify-content:center}
.footer .container{max-width:1360px}
.footer-divider{border-top:1px solid #333;opacity:.6;margin:1.5rem 0}
.footer-legal{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.footer-legal-left{display:flex;align-items:center;gap:1rem}
.footer-legal-left>div{margin:.2rem 0}
.footer-legal .legal-logo{height:110px;object-fit:contain}
@media (max-width: 768px){
  .footer-legal .legal-logo{height:88px}
}
.footer-social{display:flex;align-items:center;gap:1rem}
.footer-social .social-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #bcbcbc;border-radius:50%;text-decoration:none;background:#fff;color:#333;transition:all .25s ease;animation:footerIconIn .6s ease both}
.footer-social .social-icon.icon-image{border-radius:10px;width:56px;height:56px}
.footer-social .social-icon.icon-image img{width:100%;height:100%;object-fit:contain}
@media (max-width:768px){
  .footer-social .social-icon.icon-image{width:48px;height:48px}
}
.footer-social .social-icon i{font-size:.95rem}
.footer-social .social-icon:hover{background: var(--primary-color); color:#fff; border-color: var(--primary-color); transform: translateY(-2px) scale(1.08)}
.footer-social .social-icon.icon-image:hover{background:#fff;color:inherit;border-color:#bcbcbc;transform:translateY(-2px) scale(1.05)}
.footer-social .social-icon:nth-child(1){animation-delay:.0s}
.footer-social .social-icon:nth-child(2){animation-delay:.08s}
.footer-social .social-icon:nth-child(3){animation-delay:.16s}
.footer-social .social-icon:nth-child(4){animation-delay:.24s}
@keyframes footerIconIn{0%{opacity:0;transform:translateY(8px) scale(.98)}100%{opacity:1;transform:translateY(0) scale(1)}}
.map-full iframe{width:100%!important;border:0;min-height:420px}

.footer-col h4 {
    color: #111;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col{ text-align:left }

.footer-col p {
    color: #111;
    line-height: 1.8;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    position: relative;
}

.footer-col ul li a { color: #111; transition: all 0.3s ease; text-decoration: none; display: inline-block; position: relative; padding-left: 0; }
.footer-col ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #3f5b44;
}

.footer-col ul li a:hover { color: #111; transform: translateX(8px); padding-left: 15px; }

.footer-col ul li a:hover::before {
    opacity: 1;
    left: 0;
}

.contact-list li {
    display: flex;
    gap: 0.8rem;
    color: #111;
    transition: all 0.3s ease;
    cursor: default;
}

.contact-list li:hover {
    color: #111;
    transform: translateX(5px);
}

.contact-list li i {
    color: #111;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.contact-list li:hover i {
    color: #111;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #d1d5db;
    color: #222;
}

/* Footer real-color logos & dark text */
.footer .footer-logo, .footer .footer-col img { filter: none; opacity: 1 }
/* Quick links icons background removal */
.footer .footer-col ul li img.ql-icon{background:transparent !important;border:0 !important;box-shadow:none !important;mix-blend-mode:multiply}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: var(--gradient-orange);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-orange);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        right: 1rem;
        bottom: 1.5rem;
        width: 50px;
        height: 50px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #3f5b44 0%, #4e6a50 100%);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition-normal);
        overflow-y: auto;
        z-index: 2000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        color: #fff;
        font-size: 1.1rem;
        padding: 0.8rem 0;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: #d4e5d7;
    }
    
    .nav-menu .nav-link::after {
        background: #fff;
    }
    
    .nav-toggle {
        display: flex !important;
        z-index: 2100;
    }

    .nav-menu > li.open .mega-menu {
        position: static;
        left: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin-top: 0.5rem;
        min-width: auto;
        width: 100%;
        background: rgba(255,255,255,0.95);
        border-top: none;
        border-radius: 12px;
        padding: 1rem;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .nav-menu > li .mega-menu {
        display: none;
    }
    
    .nav-menu > li.open .mega-menu {
        display: block;
    }
    
    .nav-menu > li .mega-menu .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .nav-menu > li .mega-menu .mega-menu-item {
        padding: 0.8rem;
        pointer-events: auto;
    }
    
    .nav-menu > li .mega-menu .mega-menu-item:active {
        transform: scale(0.98);
        background: #f0f0f0;
    }
    
    .nav-menu > li > a.nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .nav-menu > li.open > a.nav-link i.fa-chevron-down {
        transform: rotate(180deg);
    }
}

/* Mobile: hide left side filters on products/category pages */
@media (max-width: 992px) {
  .filter-layout { display: block !important; }
  .filter-aside { position: fixed; left: 0; top: var(--mobile-filter-top, 90px); width: 82%; max-width: 340px; height: calc(100vh - var(--mobile-filter-top, 90px) - 12px); background:#fff; box-shadow:0 20px 60px rgba(0,0,0,.25); border-right:2px solid #e5e7eb; border-radius:0 12px 12px 0; transform: translateX(-100%); transition: transform .25s ease; z-index: 3600; overflow-y:auto; padding: 12px }
  .mobile-filter-toggle { position: fixed; left: 12px; top: var(--mobile-filter-top, 90px); z-index: 3650; background: var(--gradient-orange); color:#fff; border: none; border-radius: 999px; padding:.6rem 1rem; box-shadow:0 10px 30px rgba(255,107,53,.35) }
  .mobile-filter-overlay { position: fixed; inset: 0; background: rgba(10,14,39,.35); opacity: 0; visibility: hidden; transition: opacity .2s ease; z-index: 3550 }
  .mobile-filter-toggle, .mobile-filter-overlay { display: block }
  body.filters-open .filter-aside { transform: translateX(0) }
  body.filters-open .mobile-filter-overlay { opacity: 1; visibility: visible }
}

@media (max-width: 992px) {
    .slide-title {
        font-size: 2.5rem;
    }
    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .slide-content {
        padding: 0 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
.details-btn{flex:1;text-align:center}
.details-btn-sm{flex:0 0 auto;text-align:center;padding:.6rem 1rem;font-size:.9rem}
.page-header.futuristic{position:relative;overflow:hidden}
.page-header.futuristic::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(1000px 400px at 10% 20%, rgba(0,96,191,.25), transparent 60%),
    radial-gradient(600px 300px at 80% 10%, rgba(205,42,42,.20), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 40px);
  background-size: auto, auto, 200px 200px, 200px 200px;
  background-position: 0 0, 100% 0, 0 0, 0 0;
  mix-blend-mode: soft-light;
  animation: headerDrift 30s linear infinite;
}
.page-header.futuristic::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background: radial-gradient(closest-side, rgba(255,255,255,.12), transparent 70%);
  animation: headerGlow 10s ease-in-out infinite;
}
.page-header.futuristic .container{position:relative;z-index:1}
.page-header{margin-top:var(--navbar-height,70px) !important;padding:1.2rem 0 !important}
.page-header .container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0;min-height:165px}
@media (max-width:768px){.page-header .container{min-height:140px}}

.page-header.green-anim{background:linear-gradient(135deg,#344532 0%, #3f5b44 50%, #4e6a50 100%);background-size:200% 200%;animation:greenShift 18s ease infinite}
@keyframes greenShift{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}

@keyframes headerDrift{
  0%{background-position:0 0, 100% 0, 0 0, 0 0}
  50%{background-position:10% 6%, 96% 0, 120px 60px, 60px 120px}
  100%{background-position:20% 12%, 92% 0, 240px 120px, 120px 240px}
}
@keyframes headerGlow{
  0%{opacity:.10; transform:translateY(0)}
  50%{opacity:.18; transform:translateY(-4px)}
  100%{opacity:.10; transform:translateY(0)}
}
.footer.futuristic{position:relative;overflow:hidden}
.footer.futuristic::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(800px 300px at 10% 100%, rgba(0,96,191,.12), transparent 60%),
    radial-gradient(600px 250px at 90% 0%, rgba(205,42,42,.10), transparent 60%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.03) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.02) 0 1px, transparent 1px 40px);
  background-size:auto,auto,200px 200px,200px 200px;
  background-position:0 0,100% 0,0 0,0 0;
  mix-blend-mode:soft-light;
  animation: headerDrift 30s linear infinite;
}
.footer.futuristic::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background: radial-gradient(closest-side, rgba(255,255,255,.10), transparent 70%);
  animation: headerGlow 10s ease-in-out infinite;
}
.footer.futuristic .container{position:relative;z-index:1}
/* Mobile filter controls (hidden by default on desktop) */
.mobile-filter-toggle, .mobile-filter-overlay { display: none }
.contact-card-title{font-weight:700;color:#3f5b44;margin-bottom:.5rem}
.contact-section .tool-card .info-content h4{color:#3f5b44}
.contact-section .tool-card .info-icon{width:36px;height:36px;min-width:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#3f5b44}
.contact-section .tool-card .info-icon i{color:#fff;margin:0}
.footer-title-row{grid-column:1 / -1;justify-self:stretch}
.footer-title-row::after{content:"";display:block;height:1px;background:#333;opacity:.6;margin:.6rem 0 1rem}
.page-header.green-anim + section .btn-primary{
  background: linear-gradient(135deg,#344532 0%, #3f5b44 50%, #4e6a50 100%);
  color:#fff;
}
.page-header.green-anim + section .btn-primary::after{
  background: linear-gradient(135deg,#e5e7eb 0%, #cfd3d8 100%);
}
.page-header.green-anim + section .btn-primary:hover{
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
  color:#111;
}
.hero-slider .slide-content .btn-primary{
  background: linear-gradient(135deg,#344532 0%, #3f5b44 50%, #4e6a50 100%);
  color:#fff;
}
.hero-slider .slide-content .btn-primary::after{
  background: linear-gradient(135deg,#e5e7eb 0%, #cfd3d8 100%);
}
.hero-slider .slide-content .btn-primary:hover{
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
  color:#111;
}
.navbar .container{max-width:1360px}
.nav-menu{gap:1.2rem}
.nav-cta{gap:.4rem}
