/* =============================================
   ERMAKSAN DEFENCE
   Color Scheme: Black + Ermaksan Blue (#28397f)
   Font: Barlow
   ============================================= */

:root {
    --red: #28397f;
    --red-hover: #344a9e;
    --black: #000000;
    --dark: #0c1425;
    --dark-2: #141e35;
    --grey: #808180;
    --grey-light: #808285;
    --grey-lighter: #A7A9AC;
    --grey-border: #D1D3D4;
    --white: #FFFFFF;
    --container-max: 1420px;
    --transition: 0.3s ease;
}

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

html {
    background: var(--black);
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: #28397f;
    color: var(--white);
}

.container-fluid {
    max-width: var(--container-max);
    padding-left: 40px;
    padding-right: 40px;
}

/* =============================================
   PRELOADER
   ============================================= */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 30px;
    text-align: center;
}

.preloader-bar-track {
    width: 200px;
    height: 3px;
    background: rgba(40, 57, 127, 0.15);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar {
    height: 100%;
    width: 0%;
    background: var(--red);
    border-radius: 3px;
    animation: preloaderAnim 1.5s ease-in-out forwards;
}

@keyframes preloaderAnim {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(40, 57, 127, 0.15);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: var(--container-max);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    padding: 0 40px;
    transition: height 0.4s ease;
}

#header.scrolled .nav-container {
    height: 70px;
}

.navbar-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 55px;
    width: auto;
    transition: all 0.4s ease;
}

.navbar-brand:hover .nav-logo-img {
    transform: scale(1.03);
}

#header.scrolled .nav-logo-img {
    height: 42px;
}

.preloader-logo-img {
    height: 100px;
    width: auto;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.footer-logo-img {
    height: 45px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 6px;
}

.footer-logo-img:hover {
    opacity: 1;
}

/* Nav Links */
.navbar-nav .nav-link {
    color: #0c1425 !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 33px 18px !important;
    transition: color var(--transition);
    position: relative;
    text-transform: uppercase;
}

.navbar-nav .nav-link:hover {
    color: var(--red) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
}

/* Dropdown Toggle Arrow Override */
.navbar-nav .dropdown-toggle::after {
    display: none;
}

/* Hover ile dropdown açma (desktop) */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        margin-top: 0;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .navbar-nav .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* Mega Menu */
.mega-menu {
    background: var(--dark) !important;
    border: none;
    border-radius: 0;
    padding: 40px;
    width: 100vw;
    left: 0;
    position: fixed !important;
    top: 90px !important;
    border-top: 2px solid var(--red);
    animation: megaFadeIn 0.3s ease;
}

#header.scrolled .mega-menu {
    top: 70px !important;
}

@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mega-menu-products {
    background: var(--dark) !important;
}

.mega-title {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mega-menu .dropdown-item {
    color: var(--grey-light) !important;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 0;
    background: none !important;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu .dropdown-item:hover {
    color: var(--red) !important;
    padding-left: 5px;
}

.product-arrow {
    color: var(--red);
    font-size: 10px;
    transition: transform var(--transition);
}

.mega-menu .dropdown-item:hover .product-arrow {
    transform: translateX(4px);
}

/* Secondary Nav */
.second-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
}

.search-toggle {
    background: none;
    border: none;
    color: #0c1425;
    font-size: 18px;
    cursor: pointer;
    transition: color var(--transition);
    padding: 8px;
}

.search-toggle:hover {
    color: var(--red);
}

.lang-switch {
    color: #0c1425;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 10px;
    border: 1px solid #0c1425;
    border-radius: 2px;
    transition: all var(--transition);
}

.lang-switch:hover {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

/* Mobile Toggler */
.navbar-toggler {
    border: none;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #0c1425;
    transition: all var(--transition);
}

/* =============================================
   SEARCH OVERLAY
   ============================================= */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.search-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    transition: color var(--transition);
}

.search-close:hover {
    color: var(--red);
}

.search-form {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 60%;
    max-width: 800px;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 2px solid var(--grey);
    color: var(--white);
    font-family: 'Barlow', sans-serif;
    font-size: 36px;
    font-weight: 300;
    padding: 10px 0;
    outline: none;
    transition: border-color var(--transition);
}

.search-input:focus {
    border-color: var(--red);
}

.search-input::placeholder {
    color: var(--grey);
}

.search-submit {
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    height: 100vh;
    min-height: 700px;
    position: relative;
}

.hero-swiper {
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s ease;
}

.hero-swiper .swiper-slide-active .hero-bg {
    transform: scale(1.05);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.hero-overlay-dark {
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-content .row {
    width: 100%;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 18px;
    font-weight: 400;
    color: var(--grey-lighter);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.7;
}

/* Hero Pagination */
.hero-pagination {
    bottom: 40px !important;
}

.hero-pagination .swiper-pagination-bullet {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: var(--grey);
    opacity: 0.5;
    transition: all var(--transition);
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--red);
    opacity: 1;
    width: 60px;
}

/* Hero Navigation Butonları */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all var(--transition);
    opacity: 0;
}

.hero-section:hover .hero-nav {
    opacity: 1;
}

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

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

.hero-nav.swiper-button-disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .hero-nav {
        width: 42px;
        height: 42px;
        font-size: 16px;
        opacity: 0.7;
    }
    .hero-prev { left: 12px; }
    .hero-next { right: 12px; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-fnss {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-white-icon {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-white-icon:hover {
    background: var(--white);
    color: var(--black);
}

.btn-white-icon:hover i {
    transform: translateX(4px);
}

.btn-red-icon {
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
}

.btn-red-icon:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
}

.btn-fnss i {
    transition: transform var(--transition);
}

.btn-red-icon:hover i {
    transform: translateX(4px);
}

/* =============================================
   PRODUCT CATEGORY SLIDER
   ============================================= */
.product-cat-section {
    padding: 100px 0;
    background: var(--white);
}

.product-cat-swiper {
    padding: 0 60px;
}

.product-cat-swiper .swiper-slide {
    padding: 40px 0;
}

.cat-image {
    border-radius: 4px;
    overflow: hidden;
}

.cat-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.swiper-slide-active .cat-image img {
    transform: scale(1.02);
}

.cat-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cat-desc {
    font-size: 16px;
    font-weight: 400;
    color: var(--dark-2);
    line-height: 1.7;
    margin-bottom: 30px;
}

.cat-products h6 {
    font-size: 12px;
    font-weight: 700;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.cat-product-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: all var(--transition);
}

.cat-product-link i {
    color: var(--red);
    font-size: 12px;
    transition: transform var(--transition);
}

.cat-product-link:hover {
    color: var(--red);
    padding-left: 6px;
}

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

/* Category Slider Navigation */
.cat-next, .cat-prev {
    color: var(--black) !important;
    width: 50px !important;
    height: 50px !important;
}

.cat-next::after, .cat-prev::after {
    font-size: 20px !important;
    font-weight: 700;
}

/* =============================================
   TAGLINE
   ============================================= */
.tagline-section {
    padding: 120px 0;
    background: var(--black);
}

.tagline-text {
    font-size: 36px;
    font-weight: 300;
    color: var(--white);
    line-height: 1.5;
}

.tagline-line {
    width: 60px;
    height: 3px;
    background: var(--red);
    margin: 40px auto 0;
}

/* =============================================
   ABOUT
   ============================================= */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-visual {
    padding: 60px 40px;
}

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

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

.stat-number {
    font-size: 64px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-size: 36px;
    font-weight: 700;
    color: var(--red);
}

.stat-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--grey);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-title.color-white {
    color: var(--white);
}

.about-content {
    padding: 40px;
}

.about-text {
    font-size: 16px;
    font-weight: 400;
    color: var(--dark-2);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* =============================================
   PRODUCTS GRID
   ============================================= */
.products-section {
    padding: 100px 0;
    background: var(--dark);
}

.products-header {
    text-align: center;
    margin-bottom: 50px;
}

.products-main-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 4px;
}

/* Filters */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--grey);
    color: var(--grey);
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 24px;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-item {
    display: block;
    text-decoration: none;
    background: var(--dark-2);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.product-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.product-item:hover::after {
    transform: scaleX(1);
}

.product-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.item-img {
    display: block;
    overflow: hidden;
}

.item-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-item:hover .item-img img {
    transform: scale(1.08);
}

.item-title {
    display: block;
    padding: 16px 20px 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-category {
    display: block;
    padding: 0 20px 20px;
    font-size: 12px;
    font-weight: 400;
    color: var(--grey-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-item.hidden {
    display: none;
}

/* PDF Buton */
.pdf-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
}

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

.pdf-btn i {
    font-size: 14px;
}

/* =============================================
   PDF MODAL
   ============================================= */
.pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pdf-modal.active {
    opacity: 1;
    visibility: visible;
}

.pdf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
}

.pdf-modal-content {
    position: relative;
    width: 92%;
    max-width: 1100px;
    height: 92vh;
    margin: 4vh auto;
    background: var(--dark);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.pdf-modal.active .pdf-modal-content {
    transform: scale(1);
}

.pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: var(--dark-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pdf-modal-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pdf-modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdf-modal-download,
.pdf-modal-close {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
}

.pdf-modal-download:hover,
.pdf-modal-close:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.pdf-modal-body {
    flex: 1;
    background: #2a2a2a;
}

.pdf-modal-body iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .pdf-modal-content {
        width: 96%;
        height: 94vh;
        margin: 3vh auto;
    }

    .pdf-modal-title {
        font-size: 13px;
    }

    .pdf-btn {
        padding: 5px 10px;
        font-size: 10px;
        top: 10px;
        right: 10px;
    }
}

/* =============================================
   PRODUCT MODAL
   ============================================= */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop-custom {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
}

.modal-content-custom {
    position: relative;
    background: var(--dark);
    max-width: 1000px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 50px;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.product-modal.active .modal-content-custom {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--red);
}

.modal-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.modal-content-custom .modal-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-category {
    font-size: 14px;
    color: var(--red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.modal-desc {
    color: var(--grey-lighter);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.modal-specs {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.modal-specs table {
    width: 100%;
}

.modal-specs td {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.modal-specs td:first-child {
    color: var(--grey);
    font-weight: 500;
    width: 40%;
}

.modal-specs td:last-child {
    color: var(--white);
    font-weight: 400;
}

/* =============================================
   TECHNOLOGY
   ============================================= */
.tech-section {
    padding: 100px 0;
    background: var(--black);
}

.section-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--grey-lighter);
    line-height: 1.7;
}

.tech-card {
    background: var(--dark);
    padding: 40px 30px;
    height: 100%;
    border-left: 3px solid transparent;
    transition: all var(--transition);
}

.tech-card:hover {
    border-left-color: var(--red);
    transform: translateY(-4px);
}

.tech-icon {
    font-size: 32px;
    color: var(--red);
    margin-bottom: 20px;
}

.tech-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.tech-card p {
    font-size: 14px;
    color: var(--grey-light);
    line-height: 1.7;
}

/* =============================================
   SERVICES
   ============================================= */
.services-section {
    padding: 100px 0;
    background: var(--white);
}

.services-desc {
    font-size: 18px;
    font-weight: 400;
    color: var(--dark-2);
    line-height: 1.7;
}

.service-card {
    background: #f5f5f5;
    padding: 36px 30px;
    height: 100%;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    border-bottom-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.service-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.3;
}

.service-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.7;
}

/* =============================================
   NEWS
   ============================================= */
.news-section {
    padding: 100px 0;
    background: var(--dark);
}

.news-nav {
    display: flex;
    gap: 10px;
}

.news-prev, .news-next {
    width: 48px;
    height: 48px;
    background: none;
    border: 1px solid var(--grey);
    color: var(--grey);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.news-prev:hover, .news-next:hover {
    border-color: var(--red);
    color: var(--red);
}

.news-card {
    background: var(--dark-2);
    padding: 36px;
    height: 100%;
    border-bottom: 3px solid transparent;
    transition: all var(--transition);
}

.news-card:hover {
    border-bottom-color: var(--red);
}

.news-date {
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 14px;
    color: var(--grey-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-link:hover {
    color: var(--red);
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-info {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item i {
    font-size: 20px;
    color: var(--red);
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.6;
    margin: 0;
}

.contact-form .form-control {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 14px 16px;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    color: var(--black);
    transition: all var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(40, 57, 127, 0.15);
}

.contact-form .form-control::placeholder {
    color: var(--grey-light);
}

.form-status {
    margin: 16px 0 0;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    display: none;
}

.form-status.success,
.form-status.error {
    display: block;
}

.form-status.success {
    background: rgba(34, 139, 34, 0.12);
    color: #1e7e1e;
    border-left: 3px solid #228b22;
}

.form-status.error {
    background: rgba(220, 53, 69, 0.12);
    color: #b91d2c;
    border-left: 3px solid #dc3545;
}

#contactSubmit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--black);
}

.footer-main {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
    margin-bottom: 24px;
}

.footer-brand .footer-logo-img {
    height: 56px;
}

.footer-tagline {
    font-size: 28px;
    font-weight: 300;
    color: var(--grey-light);
    line-height: 1.3;
    margin-bottom: 24px;
}

.footer-address {
    font-size: 14px;
    color: var(--grey);
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-contact-info {
    font-size: 14px;
    color: var(--grey);
}

.footer-menu-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    font-size: 14px;
    color: var(--grey);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-menu a:hover {
    color: var(--red);
}

/* Footer Social */
.footer-social {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.social-links a {
    color: var(--white);
    font-size: 18px;
    transition: color var(--transition);
}

.social-links a:hover {
    color: var(--red);
}

.footer-logo-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.copyright {
    font-size: 13px;
    color: var(--grey);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 12px;
    color: var(--grey);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

/* Footer Parent */
.footer-parent {
    padding: 20px 0 30px;
}

.parent-logo-link {
    text-decoration: none;
}

.parent-logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--grey);
    letter-spacing: 5px;
    opacity: 0.4;
    transition: opacity var(--transition);
}

.parent-logo-text:hover {
    opacity: 0.7;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 56px;
    }

    .container-fluid {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 44px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .cat-title {
        font-size: 28px;
    }

    .tagline-text {
        font-size: 28px;
    }

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

    .products-main-title {
        font-size: 36px;
    }

    .about-stats {
        margin-bottom: 40px;
    }

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

    /* Mobile nav */
    .navbar-collapse {
        background: var(--black);
        padding: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        max-height: 80vh;
        overflow-y: auto;
    }

    .mega-menu {
        position: relative !important;
        top: 0 !important;
        width: 100%;
        padding: 20px;
        border-top: 1px solid var(--red);
    }

    .second-nav {
        margin-left: 0;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .product-cat-swiper {
        padding: 0 20px;
    }

    .cat-image {
        margin-bottom: 30px;
    }

    .footer-tagline {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 600px;
    }

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

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

    .hero-desc {
        font-size: 14px;
    }

    .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }

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

    .nav-logo-img {
        height: 38px;
        padding: 6px 10px;
    }

    #header.scrolled .nav-container {
        height: 60px;
    }

    #header.scrolled .nav-logo-img {
        height: 32px;
        padding: 5px 9px;
    }

    .tagline-section {
        padding: 80px 0;
    }

    .tagline-text {
        font-size: 22px;
    }

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

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

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

    .stat-label {
        font-size: 11px;
    }

    .product-filters {
        gap: 4px;
    }

    .filter-btn {
        font-size: 11px;
        padding: 8px 14px;
    }

    .footer-legal {
        justify-content: flex-start;
    }

    .footer-logo-area {
        justify-content: flex-start;
        margin-top: 16px;
    }

    .search-form {
        width: 85%;
    }

    .search-input {
        font-size: 24px;
    }

    .modal-content-custom {
        padding: 30px;
    }

    .modal-content-custom .modal-title {
        font-size: 24px;
    }
}

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

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

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 3px;
}

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