/* 
   RESET / GLOBAL
 */
:root {
    --primary-blue: #1b3a6b;
    --hover-blue: #2358a6;
    --text-dark: #333;
    --white: #ffffff;
}

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

body {
    font-family: "Montserrat", sans-serif;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

main {
    padding-top: 80px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
    position: relative;
}

/* 
   HEADER (ümumi)
    */
.header-wrapper {
    background-color: var(--primary-blue);
    height: 80px;
    position: fixed;
    /* Yuxarıda sabitləyir */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5000;
    /* Hər şeyin, hətta meqa menyunun da üstündə olması üçün */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

/* Native select qalarsa */
.lang-select {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2px 5px;
    outline: none;
    font-size: 13px;
    cursor: pointer;
    border-radius: 3px;
}

.lang-select option {
    color: #333;
}

/* 
   DESKTOP (1025px+)
    */
@media (min-width: 1025px) {
    .navbar-container {
        position: relative;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo-box {
        position: absolute;
        left: 15px;
        top: 0;
        width: 150px;
        height: 130px;
        background: transparent;
        padding: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 5px 5px;
        z-index: 1300;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    /* Sağ hissə (dil + search) */
    .header-actions {
        position: absolute;
        right: 15px;
        top: 0;
        height: 100%;
        display: flex;
        align-items: center;
        gap: 20px;
        color: #fff;
        font-size: 14px;
    }

    /* Dil dropdown */
    .lang-custom-wrapper {
        position: relative;
        width: 85px;
        cursor: pointer;
        user-select: none;
        margin-right: 15px;
        z-index: 2000;
    }

    .lang-selected {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 10px;
        /* border bug düzəldi */
        background: transparent;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        height: 32px;
        transition: 0.3s;
    }

    .lang-selected .arrow {
        font-size: 10px;
        transition: transform 0.3s;
    }

    .lang-options {
        position: absolute;
        top: calc(100% + 2px);
        left: 0;
        width: 100%;
        background: #1b3a6b;
        border-radius: 6px;
        margin: 0;
        padding: 0;
        overflow: hidden;
        display: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .lang-options li {
        padding: 8px 12px;
        color: #fff;
        font-size: 14px;
        transition: background 0.2s;
        text-align: center;
    }

    .lang-options li:hover {
        background: #2c5282;
    }

    .lang-custom-wrapper.active .lang-options {
        display: block;
    }

    .lang-custom-wrapper.active .arrow {
        transform: rotate(180deg);
    }

    /* Menu */
    .nav-menu {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .nav-links {
        display: flex;
        gap: 30px;
        height: 100%;
        align-items: center;
    }

    .nav-links>li {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .nav-links>li>a {
        color: #fff;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0 5px;
        white-space: nowrap;
    }

    .nav-links>li>a:hover {
        color: rgba(255, 255, 255, 0.7);
    }

    /* Arrow */
    .arrow-icon {
        margin-left: 5px;
        font-size: 12px;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .has-dropdown:hover .arrow-icon {
        transform: rotate(180deg);
    }

    .hamburger {
        display: none;
    }

    /* Mega menu */
    .mega-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 4px solid #cecece;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: 0.3s;
        z-index: 1200;
    }

    .has-dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mega-content {
        display: flex;
        padding: 32px 40px;
        max-width: 1400px;
        align-items: flex-start;
        gap: 40px;
        margin: 0 auto;
    }

    .mega-image {
        flex: 0 0 320px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-right: 30px;
        border-right: 1px solid #f1f1f1;
    }

    .mega-image img {
        width: 100%;
        max-height: 280px;
        object-fit: contain;
        display: block;
    }

    .mega-links {
        flex: 1;
        padding-left: 30px;
        display: grid;
        grid-template-columns: repeat(3, minmax(200px, 1fr));
        gap: 32px 40px;
        align-items: start;
        max-height: 60vh;
        overflow-y: auto;
    }

    .category-item h3 {
        margin-bottom: 10px;
    }

    .category-item h3 a {
        font-weight: 800;
        color: var(--primary-blue);
        font-size: 16px;
        border-bottom: 2px solid transparent;
    }

    .category-item h3 a:hover {
        color: #2358a6;
        border-bottom: 2px solid #2358a6;
    }

    .category-item ul li {
        margin-bottom: 5px;
    }

    .category-item ul li a {
        font-size: 14px;
        color: #555;
    }

    .category-item ul li a:hover {
        color: var(--primary-blue);
        text-decoration: underline;
    }
}

/* 
   Notebook (1025px - 1350px)
    */
@media (min-width: 1025px) and (max-width: 1350px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links>li>a {
        font-size: 12px;
        padding: 0 2px;
    }

    .logo-box {
        width: 140px;
        height: 110px;
    }

    .header-actions {
        gap: 10px;
        right: 10px;
    }
}

/* 
   TABLET/MOBILE (1024px-)
    */
@media (max-width: 1024px) {
    .navbar-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }

    .hamburger {
        display: block;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        z-index: 1102;
    }

    .logo-box {
        width: 120px;
        height: 90px;
        padding: 10px;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 5px 5px;
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        z-index: 1200;
    }

    .logo-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .header-actions {
        display: flex;
        gap: 15px;
        align-items: center;
        color: #fff;
        z-index: 1102;
    }

    /* Dil dropdown */
    .lang-custom-wrapper {
        position: relative;
        z-index: 9999;
    }

    .lang-options {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        min-width: 60px;
        background: #1b3a6b;
        border: none;
        border-radius: 4px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        padding: 5px 0;
        margin-top: 5px;
        display: none;
        flex-direction: column;
    }

    .lang-custom-wrapper.active .lang-options {
        display: flex;
    }

    .lang-options li {
        padding: 10px;
        text-align: center;
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .lang-options li:last-child {
        border-bottom: none;
    }

    /* Mobile menu */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 998;
    }

    .nav-menu.active {
        max-height: 100vh;
        overflow-y: auto;
    }

    .nav-links {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .nav-links>li {
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .nav-links>li>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        color: #333;
        font-weight: 700;
        font-size: 14px;
        width: 100%;
    }

    .nav-links>li>a:hover {
        color: var(--primary-blue);
        background: #f5f5f5;
    }

    /* Mobile mega menu */
    .mega-menu {
        display: none;
        background: #f9f9f9;
        padding: 0 20px 20px;
    }

    .has-dropdown.active .mega-menu {
        display: block;
    }

    .arrow-icon {
        transition: transform 0.3s ease;
    }

    .has-dropdown.active .arrow-icon {
        transform: rotate(180deg);
    }

    .mega-content {
        flex-direction: column;
        padding: 0;
    }

    .mega-image {
        display: none;
    }

    .mega-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-top: 10px;
    }

    .category-item ul li a {
        display: block;
        padding: 5px 0;
        color: #555;
    }

    .category-item ul li a:hover {
        color: var(--primary-blue);
        padding-left: 5px;
        font-weight: 500;
    }

    /* Overlay mobildə headerin altından başlasın */
    .search-overlay {
        top: 80px;
    }
}

/* 
   SEARCH
    */
.search-icon i {
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-icon:hover i {
    color: rgba(255, 255, 255, 0.7);
}

.search-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

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

.search-bar-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 25px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.search-bar-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-inner {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 28px;
    font-weight: 300;
    color: #555;
    background: transparent;
    font-family: "Montserrat", sans-serif;
}

.search-input::placeholder {
    color: #ccc;
}

.search-close {
    font-size: 28px;
    color: #333;
    cursor: pointer;
    margin-left: 20px;
    transition: 0.3s;
}

.search-close:hover {
    color: var(--primary-blue);
    transform: rotate(90deg);
}

@media (max-width: 1024px) {
    .search-inner {
        padding: 0 20px;
    }

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

/* 
   HERO SLIDER
    */
.hero-slider-wrapper {
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    cursor: grab;
    touch-action: pan-y;
    margin-top: 0;
}

.hero-slider-wrapper:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.slide-item {
    min-width: 100%;
    height: 100%;
    position: relative;
    user-select: none;
}

.slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.slide-content-container {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

.slide-text-box {
    text-align: center;
    color: #fff;
    max-width: 800px;
    pointer-events: none;
}

.slider-btn {
    pointer-events: auto;
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

.slider-btn:hover {
    background: #fff;
    color: var(--text-dark);
    border-color: #fff;
}

.slide-text-box h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.slide-text-box p {
    font-size: 18px;
    line-height: 1.6;
}

.slide-brand-box {
    position: absolute;
    bottom: 10px;
    left: 15px;
    background: #fff;
    padding: 15px 30px;
    width: 200px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 6;
    pointer-events: auto;
}

.slide-brand-box img {
    max-width: 100%;
    max-height: 100%;
}

.slider-nav {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-dot {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    background: transparent;
}

.nav-dot.active,
.nav-dot:hover {
    background: #fff;
    color: var(--text-dark);
    border-color: #fff;
}

@media (max-width: 1024px) {
    .slider-nav {
        top: auto;
        transform: none;
        bottom: 10px;
        right: 20px;
        gap: 10px;
    }

    .nav-dot {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* 
   SOLUTIONS
    */
.solutions-section {
    padding: 50px 0 80px;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .sub-title {
    display: inline-block;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header .sub-title::before,
.section-header .sub-title::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background-color: #d63031;
}

.section-header .sub-title::before {
    left: -50px;
}

.section-header .sub-title::after {
    right: -50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-top: 5px;
}

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

.solution-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.solution-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.4s ease;
}

.solution-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    transition: color 0.4s ease;
}

.solution-card:hover {
    background: linear-gradient(135deg, #1b3a6b 0%, #a41851 100%);
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(164, 24, 81, 0.4);
}

.solution-card:hover h3,
.solution-card:hover p {
    color: #fff;
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* 
   BACK TO TOP
    */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

/* 
   BRANDS
    */
.brands-section {
    padding: 30px 0 50px;
    background-color: #fff;
}

.brands-main-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.brands-slider-wrapper {
    overflow: hidden;
    width: 100%;
    cursor: grab;
    padding: 10px 0;
}

.brands-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-out;
    will-change: transform;
}

.brand-card {
    flex: 0 0 calc(25% - 15px);
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.brand-card img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    pointer-events: none;
}

.brand-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    flex-shrink: 0;
}

.brand-nav-btn:hover {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

@media (max-width: 1024px) {
    .brand-card {
        flex: 0 0 calc(50% - 10px);
        padding: 15px;
    }

    .brand-nav-btn {
        display: none;
    }
}

@media (max-width: 600px) {
    .brand-card {
        flex: 0 0 calc(80% - 10px);
    }

    .brands-section .section-header h2 {
        font-size: 22px;
    }
}

/* 
   NEWS (Homepage)
    */
.news-section {
    padding: 60px 0;
    background-color: #fff;
}

.news-inner-container {
    background-color: #f4f4f4;
    padding: 40px 20px;
    border-radius: 8px;
}

.news-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-section .section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1b3a6b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* homepage grid */
.news-section .news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #eee;
    overflow: hidden;
}

.img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    z-index: 2;
    position: relative;
}

.news-image img.loaded {
    opacity: 1;
}

.news-image img.loaded+.img-placeholder {
    display: none;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 13px;
    color: #888;
}

@media (max-width: 1100px) {
    .news-section .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-section .news-grid {
        grid-template-columns: 1fr;
    }
}

/* 
   FOOTER
    */
.footer-wrapper {
    background-color: #0d274d;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    padding-right: 20px;
}

.links-grid {
    display: flex;
    gap: 40px;
}

.links-grid ul li {
    margin-bottom: 10px;
}

.links-grid ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: 0.3s;
}

.links-grid ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-col address {
    font-style: normal;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-info strong {
    font-size: 16px;
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #fff;
    color: #0d274d;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .links-grid {
        gap: 80px;
    }
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* 
   DAXİLİ SƏHİFƏLƏR (Korporativ / Haqqımızda və s.)
    */
.corporate-page {
    background-color: #fff;
}

/* Banner (qara fon) */
.inner-page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px;
    /* İstədiyin hündürlük */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.inner-page-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Tündlük dərəcəsi */
    z-index: 1;
}

/* Breadcrumb */
.breadcrumb-nav {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.breadcrumb-nav ul {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #888;
}

.breadcrumb-nav ul a {
    color: #333;
    font-weight: 600;
}

.breadcrumb-nav i {
    font-size: 10px;
}

/* Haqqımızda layout */
.about-flex-container {
    display: flex;
    gap: 60px;
    padding: 60px 0;
    align-items: flex-start;
}

.about-image-side {
    flex: 1;
}

.about-image-side img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text-side {
    flex: 1.5;
}

.page-main-title {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 10px;
    color: #333;
}

.sub-quote {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.content-sub-title {
    font-size: 28px;
    font-weight: 700;
    margin: 30px 0 20px;
    color: #222;
}

.detailed-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .about-flex-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-image-side,
    .about-text-side {
        width: 100%;
    }
}

/* Ölçmə xidməti (detallar) */
.measurement-apps {
    padding: 0 0 60px 0;
    /* yuxarı 0, aşağı 60 */

    background-color: #fff;
}

.app-row {
    margin-bottom: 30px;
}

.app-row h4 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #333;
}

.app-image-flex {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.app-image-flex img {
    flex: 1;
    width: 33.33%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
}

.app-info-flex {
    display: flex;
    gap: 30px;
}

.app-info-flex p {
    flex: 1;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.app-info-flex p strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.half-app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.app-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
}

@media (max-width: 1024px) {
    .app-image-flex {
        flex-direction: column;
    }

    .app-image-flex img {
        width: 100%;
        height: auto;
    }

    .app-info-flex {
        flex-direction: column;
    }

    .half-app-grid {
        grid-template-columns: 1fr;
    }
}

/* Kalibrasiya (ziqzaq) */
.calib-row {
    padding: 0 40px 0;
}

.calib-row+.calib-row {
    padding-top: 0;
}

.row-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;

    margin: 0 auto;
}

.row-flex.reverse {
    flex-direction: row-reverse;
    margin-top: 0;
    margin-bottom: 40px;


}

.row-image {
    flex: 0 0 450px;
}

.row-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

}

.row-text {
    flex: 1;
    max-width: 600px;
}

.row-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-align: left;
}

@media (max-width: 1024px) {

    .row-flex,
    .row-flex.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .row-image,
    .row-text {
        width: 100%;
    }
}

/* 
   KORPORATİV (HAQQIMIZDA) SƏHİFƏSİ
    */
.corporate-page {
    background-color: #fff;
}

/* Səhifə Başlığı (Qara fonlu hissə) */
.page-title-area {
    padding: 80px 0;
    text-align: center;
}

.page-title-content h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Breadcrumb */
.breadcrumb-nav {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.breadcrumb-nav ul {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #888;
}

.breadcrumb-nav ul a {
    color: #333;
    font-weight: 600;
}

.breadcrumb-nav i {
    font-size: 10px;
}

/* Mətn Hissəsi */
.corporate-text-section {
    margin-top: 20px;
    padding-bottom: 10px;
}

.sub-slogan {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.section-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.text-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.corporate-services {
    padding: 0 0 100px 0;
    background-color: #fcfcfc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-item-card {
    background: #fff;
    border: 1px solid #eee;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.service-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-body {
    padding: 30px;
    position: relative;
}

.service-icon {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.service-body p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .page-title-area {
        padding: 50px 0;
    }
}

.gray-cont {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


.news-page2 {
    margin-top: 0;
    padding-top: 0;
    background: none;

}

.news-card-page {
    background-color: rgb(251, 250, 250);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 3-cu hisse */

/* --- HABER DETAY & ALBUM --- */
.detail-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.featured-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-title {
    font-size: 32px;
    color: #1b3a6b;
    margin-bottom: 10px;
}

.article-date {
    color: #999;
    display: block;
    margin-bottom: 25px;
}

.article-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Albom Gridi */
.photo-album {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 4px;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Lightbox Modal CSS */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 5000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    border: 3px solid #fff;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
}

.lightbox-nav button {
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}



/* --- MEHSUL QRUPU: BANNER & OVERLAY --- */
.faro-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 300px;
    /* Yazı olmadığı üçün hündürlüyü sabitlədik */
}

.faro-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Şəkli bir az tündləşdirir */
}




/* --- MƏHSUL QRİDİ (Böyük və Yan-yana Qutular) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Yan-yana 3 böyük qutu */
    gap: 40px;
    padding: 10px 0;
    margin-bottom: 20px;
}

.product-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product-img {
    position: relative;
    width: 100%;
    height: 400px;
    /* Qutunu böyütdük */
    overflow: hidden;
    background: #fff;
}

.product-img img {
    width: 100%;
    height: 100%;
    background-color: #fff;
    object-fit: cover;
    /* Şəkil boşluqsuz tam oturur */
    transition: transform 0.6s ease, filter 0.6s ease;
}

/* --- QARA VƏ BLUR (BUZLU ŞÜŞƏ) OVERLAY --- */
.info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    /* Qara şəffaf overlay */
    backdrop-filter: blur(8px);
    /* Buzlu şüşə effekti */
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.overlay-content p {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* --- ƏTRAFLI BAX DÜYMƏSİ --- */
.detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.detail-btn i {
    transition: transform 0.3s ease;
}

/* --- HOVER EFFEKTLƏRİ --- */
.product-box:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: #1b3a6b;
}

.product-box:hover .product-img img {
    transform: scale(1.1);
    /* Şəkil daxildə yüngül böyüyür */
    filter: blur(4px);
    /* Arxa fon yüngül bulanıqlaşır */
}

.product-box:hover .info-overlay {
    opacity: 1;
}

.product-box:hover .overlay-content {
    transform: translateY(0);
}

/* Düymə Hover-i */
.product-box:hover .detail-btn {
    background: #fff;
    color: #000;
}

.product-box:hover .detail-btn i {
    transform: translateX(8px);
    /* Ox sağa tərpənir */
}

.product-info {
    padding: 25px;
    text-align: center;
    background: #fff;
}

.product-info h3 {
    font-size: 20px;
    color: #1b3a6b;
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .product-img {
        height: 300px;
    }
}













/* --- SABİT TEKLİF İSTE DÜYMƏSİ (STICKY) --- */
.sticky-quote-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-blue);
    /* Göy fon */
    color: #ffffff;
    padding: 20px 12px;
    writing-mode: vertical-rl;
    /* Yazını şaquli edir */
    text-orientation: mixed;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 8px 0 0 8px;
    /* Sol tərəfi yuvarlaq */
    z-index: 2000;
    transition: all 0.3s ease;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-quote-btn:hover {
    background-color: #a41851;
    /* Hover zamanı tünd qırmızı/bənövşəyi ton */
    padding-right: 25px;
    /* Hover effekti üçün sağa genişlənmə */
    color: #fff;
}

/* Mobildə düymənin yerini və ya görünüşünü tənzimləyirik */
@media (max-width: 768px) {
    .sticky-quote-btn {
        padding: 15px 8px;
        font-size: 12px;
        border-radius: 5px 0 0 5px;
    }
}



/* --- MATTERPORT: YEKUN SIXLAŞDIRILMIŞ DİZAYN --- */

/* 1. Banner Mərkəzləmə (Sabit) */
.banner-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 5;
}

.banner-text-center {
    text-align: center;
    max-width: 800px;
    color: #fff;
}

.banner-text-center h1 {
    font-size: 48px;
    /* Bir az yığcamlaşdırıldı */
    font-weight: 700;
    margin: 15px 0 25px;
}

/* 2. Demo Buton Hover */
.demo-btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.demo-btn-outline:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* 3. SIXLAŞDIRILMIŞ QUTULAR (Compact) */
.solution-row.compact {
    display: flex;
    align-items: center;
    gap: 30px;
    /* Yazı və media arasındakı məsafə azaldıldı */
    padding: 20px 0;
    /* Qutuların bir-birinə şaquli yaxınlığı artırıldı */
}

.media-box-small {
    width: 100%;
    max-width: 480px;
    /* Qutular daha yığcam edildi */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.media-box-small img,
.media-box-small video {
    width: 100%;
    display: block;
}

.sol-text h2 {
    font-size: 30px;
    /* Başlıqlar daha sıx */
    line-height: 1.2;
    color: #1b3a6b;
    margin-bottom: 12px;
}

.sol-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* 4. Qara Ekstra Xidmətlər Divi (Sıxlaşdırılmış) */
.extra-services-black {
    background-color: #000;
    color: #fff;
    padding: 60px 0;
    /* Boşluq 100px-dən 60px-ə endirildi */
    margin: 20px 0;
}

.extra-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Mərkəzləndi */
    gap: 60px;
    /* Məsafə azaldıldı */
}

.extra-left h2 {
    font-size: 38px;
    /* Daha yığcam font */
    font-weight: 700;
    line-height: 1.1;
    max-width: 450px;
}

.extra-right {
    max-width: 400px;
}

.extra-right p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #ccc;
}

/* Mərkəzi Başlıq */
.section-title-center {
    text-align: center;
    padding: 40px 0 20px;
}

.section-title-center h2 {
    font-size: 32px;
    color: #1b3a6b;
}

/* Mobil üçün */
@media (max-width: 1024px) {
    .extra-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .extra-left h2 {
        font-size: 28px;
        margin: 0 auto;
    }

    .banner-text-center h1 {
        font-size: 32px;
    }

    .solution-row.compact {
        flex-direction: column;
        gap: 25px;
        padding: 30px 0;
    }
}

/* --- DEMO PLANLA SƏHİFƏSİ --- */

.demo-form-section {
    padding: 60px 0;
    background-color: #fcfcfc;
}

.demo-flex-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.demo-info-side {
    flex: 1;
}

.demo-info-side h2 {
    font-size: 36px;
    color: #1b3a6b;
    margin-bottom: 25px;
}

.demo-features {
    margin-top: 20px;
}

.demo-features li {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.demo-features i {
    color: #28a745;
}

/* Form Kartı */
.demo-form-card {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #1b3a6b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.1);
}

.submit-demo-btn {
    width: 100%;
    padding: 15px;
    background: #1b3a6b;
    color: #fff;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-demo-btn:hover {
    background: #a41851;
    transform: translateY(-2px);
}

/* Mobil */
@media (max-width: 1024px) {
    .demo-flex-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .demo-form-card {
        width: 100%;
    }
}



/* --- ƏLAQƏ SƏHİFƏSİ (YENİ DİZAYN) --- */

.contact-content-section {
    padding: 70px 0;
    background: #f6f7fb;
    /* page bg */
}

.contact-flex-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* info | form */
    gap: 40px;
    align-items: start;
}

/* Sol tərəf (info) */
.contact-info-list {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.info-item {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-item strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #1b3a6b;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.info-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* Sağ tərəf (form card) */
.contact-form-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Ad | Telefon */
    gap: 16px;
    margin-bottom: 16px;
}

.form-input {
    margin-bottom: 16px;
}

.form-input.full-width {
    width: 100%;
}

.form-input label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-input input,
.form-input textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    background: #fbfbfd;
    font-family: inherit;
    font-size: 15px;
    color: #222;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-input textarea {
    resize: vertical;
    min-height: 140px;
}

.form-input input:focus,
.form-input textarea:focus {
    border-color: #1b3a6b;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(27, 58, 107, 0.12);
    /* focus ring */
}

/* Button */
.contact-send-btn {
    width: 100%;
    padding: 14px 18px;
    background: #1b3a6b;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
    margin-top: 6px;
    box-shadow: 0 10px 18px rgba(27, 58, 107, 0.20);
}

.contact-send-btn:hover {
    background: #16325d;
    transform: translateY(-1px);
}

.contact-send-btn:active {
    transform: translateY(0px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .contact-flex-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 640px) {
    .contact-content-section {
        padding: 50px 0;
    }

    .contact-form-box,
    .contact-info-list {
        padding: 20px;
        border-radius: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ==================================================
   MƏHSUL DETALI (PRODUCT DETAIL) - YEKUN RESPONSİV KOD
   ================================================== */

.main-content-fixed {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 15px;
    align-items: start;
}

.gallery-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.info-side {
    text-align: left;

}

.main-img-box-fixed {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 15px;
    background: #fff;
}

.main-img-box-fixed img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.thumbs-center {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbs-center img {
    width: 85px;
    height: 65px;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: 0.3s;
    object-fit: cover;
}

.thumbs-center img.active {
    border: 2px solid #1b3a6b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 2. PDF DÜYMƏSİ (İkonlar Sabit) */
.pdf-btn-fixed {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: center;
    background: #1b3a6b;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    width: 100%;
    max-width: 400px;
    height: 65px;
    overflow: hidden;
    margin-top: 20px;
    transition: 0.3s;
}

.p-icon {
    background: rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.p-text {
    padding: 0 15px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

.p-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
}

.pdf-btn-fixed:hover {
    background: #a41851;
    transform: translateY(-2px);
}

/* 3. TAB MENYU (MƏRKƏZ VƏ İRİ FONT) */
.tabs-fixed-section {
    width: 100%;
    margin: 40px 0;
}

.tab-header-center {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-bottom: 2px solid #eee;
    width: 100%;
}

.tab-link-big {
    padding: 15px 0;
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    transition: 0.3s;
}

.tab-link-big.active {
    color: #1b3a6b;
}

.tab-link-big.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1b3a6b;
}

/* 4. VİDEO (TAM MƏRKƏZ) */
.video-center-wrapper {
    max-width: 850px;
    width: 100%;
    margin: 40px auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.video-center-wrapper iframe {
    width: 100%;
    height: 100%;
}

.tab-inner-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
    padding: 0 15px;
}

.tab-inner-box h3 {
    font-size: 24px;
    color: #1b3a6b;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-list-center {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
    margin-top: 20px;
}

.feature-list-center li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #444;
    display: flex;
    align-items: center;
}

.feature-list-center li i {
    color: #1b3a6b;
    margin-right: 12px;
    font-size: 18px;
}

/* --- ÖNƏ ÇIXAN MEHSULLAR BÖLMƏSİ --- */
.featured-products-section {
    background-color: #fcfcfc;
    padding: 60px 0 !important;
    border-top: 1px solid #eee;
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    padding: 0 15px;
}

.product-box {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
}

.product-overlay-black {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
    backdrop-filter: blur(4px);
    padding: 25px;
}

.product-box:hover .product-overlay-black {
    opacity: 1;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.btn-more-detail {
    display: inline-block;
    background: #a41851;
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-info-header {
    margin: 20px
}

/* ==================================================
   RESPONSİV DÜZƏLİŞLƏR (MÜTLƏQ)
   ================================================== */

@media (max-width: 768px) {
    .detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .info-side {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pdf-btn-fixed {
        max-width: 100%;
    }

    .tab-header-center {
        gap: 20px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 10px;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .tab-header-center::-webkit-scrollbar {
        display: none;
    }

    .tab-link-big {
        font-size: 16px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-overlay-black {
        display: none !important;
        /* Mobildə hover yoxdur */
    }

    .product-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .thumbs-center img {
        width: 65px;
        height: 50px;
    }

    .tab-link-big {
        font-size: 14px;
    }
}

/* --- SEARCH PAGE STYLES --- */
.search-page-wrapper {
    padding: 60px 0;
    background-color: #f9f9f9;
    min-height: 60vh;
}

.search-header-box {
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.search-header-box h1 {
    font-size: 28px;
    color: #1b3a6b;
}

.search-header-box h1 span {
    color: #a41851;
    /* Axtarılan söz rəngi */
}

.search-header-box p {
    color: #888;
    margin-top: 5px;
}

/* Nəticə Divləri */
.search-results-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-item {
    background: #fff;
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.result-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.result-img img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.result-info {
    flex: 1;
}

.category-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #e8f0fe;
    color: #1b3a6b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 10px;
}

.category-tag.news-tag {
    background: #fdf2f8;
    color: #a41851;
}

.result-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.result-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more-link {
    font-size: 13px;
    font-weight: 700;
    color: #1b3a6b;
    text-decoration: none;
}

.read-more-link:hover {
    color: #a41851;
}

/* Responsiv */
@media (max-width: 768px) {
    .result-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Ümumi Alert Stili */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-family: system-ui, -apple-system, sans-serif;
    margin-bottom: 20px;
    border: 1px solid transparent;
    /* Sərhəd xətti üçün yer */
    display: flex;
    align-items: center;
    font-size: 15px;
}

/* 1. Success - Uğurlu (Yaşıl) */
.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border-color: #badbcc;
}

/* 2. Error - Xəta (Qırmızı) */
.alert-error {
    background-color: #f8d7da;
    color: #842029;
    border-color: #f5c2c7;
}

/* 3. Warning - Xəbərdarlıq (Sarı/Narıncı) */
.alert-warning {
    background-color: #fff3cd;
    color: #664d03;
    border-color: #ffecb5;
}

/* 4. Info - Məlumat (Mavi) */
.alert-info {
    background-color: #cff4fc;
    color: #055160;
    border-color: #b6effb;
}