/* ----------------------------
    Font Definition: PINAR
------------------------------- */
/* Light */
@font-face {
    font-family: "Pinar";
    src: url("../font/PINAR-LIGHT.TTF") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Regular */
@font-face {
    font-family: "Pinar";
    src: url("../font/PINAR-REGULAR.TTF") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium */
@font-face {
    font-family: "Pinar";
    src: url("../font/PINAR-MEDIUM.TTF") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Bold */
@font-face {
    font-family: "Pinar";
    src: url("../font/PINAR-BOLD.TTF") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ExtraBold */
@font-face {
    font-family: "Pinar";
    src: url("../font/PINAR-EXTRABOLD.TTF") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ----------------------------
    Variables
------------------------------- */
:root {
    /* Colors */
    --primary-color: #2f499f;
    --primary-light: #acb4d7;
    --secondary-color: #d6dbeb;
    --secondary-light-color: #6b7280;
    --accent-color: #3baa7d;
    --text-color: #333333;
    --light-text: #eaeaea;
    --bg-color: #ffffff;
    --section-bg: #f7f8fa;

    /* Size */
    --max-width: 1440px;
    --section-padding: 9rem;

    /* Shadow & Radius */
    --shadow-default: 0px 0px 10px rgba(0, 0, 0, 0.12);
    --radius-sm: 10px;
    --radius-md: 12px;
    --radius-lg: 15px;

    /* Font */
    --font-primary: "Pinar", sans-serif;
    --font-size-base: 1.3rem;
    --font-size-title: 2.3rem;
    --font-size-subtitle: 2rem;
}

/* ----------------------------
    Reset & Base
------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*::after,
*::before {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 70%;
}

/* BigDesktop */
@media only screen and (min-width: 1800px) {
    html {
        font-size: 85%;
    }
}

/* MiniDesktop */
@media only screen and (max-width: 1400px) {
    html {
        font-size: 52%;
    }
}

/* Tablet */
@media only screen and (max-width: 1015px) {
    html {
        font-size: 50%;
    }
}

/* Phone */
@media only screen and (max-width: 768px) {
    html {
        font-size: 40%;
    }
}

@media only screen and (max-width: 397px) {
    html {
        font-size: 44%;
    }
}

body {
    font-family: var(--font-primary);
    font-weight: 400; /* Regular */
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    direction: rtl;
    background-image: url("../../image/pattern-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ----------------------------
    Container & Sections
------------------------------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 10rem;
}

/* ----------------------------
   Layout
------------------------------- */
/* ----------------------------
   Header Section
------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding: 1.5rem 9rem;
    background-color: transparent;
    z-index: 200;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Logo */
.logo img {
    width: 11.75rem;
    height: 3.125rem;
    display: block;
    max-width: 100%;
    height: auto;
}

/* Menu */
.navbar .menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.menu-item a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.menu-item a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: var(--radius-lg);
    transition: width 0.28s ease;
    will-change: width;
}

.menu-item a:hover {
    color: var(--primary-color);
}

.menu-item a:hover::after {
    width: 100%;
}

/* Social Icons */
.navbar .social_icons {
    display: flex;
    gap: 0.375rem;
}

.social_icons-item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3.9rem;
    height: 3.9rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--bg-color);
    font-size: 2.2rem;
    transition: 0.3s ease;
}

.social_icons-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.social_icons-item:hover {
    opacity: 0.8;
}

.responsive {
    display: none !important;
}

/* Hamburger button (hidden by default) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 16px;
    height: 13.5px;
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    display: block;
    height: 2.3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Header Title */
.header_title {
    text-align: center;
    color: var(--color-text);
    margin-top: 9rem;
    padding: 0.8rem var(--section-padding);
}

.header_title h1 {
    font-family: "Pinar-ExtraBold", var(--font-primary);
    font-weight: 800;
    font-size: 2.3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.header_title h2 {
    font-family: "Pinar-Bold", var(--font-primary);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.header_title h4 {
    font-family: "Pinar-Light", var(--font-primary);
    font-weight: 300;
    font-size: 1.3rem;
    display: inline-block;
    margin: 0 0.5rem;
    color: var(--color-text-light);
}

/* Hero Slider */
.hero_shape {
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero_shape > .header_buttons {
    position: absolute;
    top: 5.8rem;
    right: var(--section-padding, 3.1rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 60;
    pointer-events: auto;
}

.hero_shape > .header_buttons img {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    z-index: 1;
    pointer-events: none;
}

@media only screen and (max-width: 1400px) {
    .hero_shape > .header_buttons img {
        max-width: 20rem;
    }
}

.header_buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero_slider {
    position: relative;
    width: 100%;
    height: 36.875rem;
    overflow: hidden;
    z-index: 1;
    padding: 3.1rem var(--section-padding);
}

.catalog-btn {
    position: relative;
    z-index: 20;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.3rem;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    background: var(--accent-color);
    color: var(--bg-color);
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: var(--shadow-default);
    border: none;
}

.catalog-btn:hover {
    color: var(--accent-color);
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
}

.hero_slider {
    position: relative;
    width: 100%;
    height: 60rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero_slider-items {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.hero_slider-item {
    flex: 0 0 100%;
    height: 100%;
}

.hero_slider-item img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    display: block;
}

.hero_slider-btns {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
}

.hero_slider-btn {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--primary-light);
    cursor: pointer;
    transition: 0.3s ease;
}

.hero_slider-btn:hover,
.hero_slider-btn.active {
    background-color: var(--primary-color);
}

/* ----------------------------
    Brand Slider
------------------------------- */
.brand_bar {
    width: 100%;
    height: 5rem;
    background-color: var(--light-text);
    margin-top: 3.5rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.brand_slider {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: scrollBrands 20s linear infinite;
}

.brand_slider-item img {
    height: 3.1rem;
    width: auto;
    filter: brightness(0) saturate(100%) invert(19%) sepia(58%) saturate(2415%) hue-rotate(210deg) brightness(95%) contrast(91%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.brand_slider-item img:hover {
    opacity: 1;
}

/* Animation */
@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-10%);
    }
}

/* ----------------------------
    Services Section
------------------------------- */
.services {
    background-color: var(--section-bg);
}

.services-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    gap: 6rem;
    flex-wrap: wrap;
}

/* Services Boxes */
.services-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 50rem;
    flex-direction: row-reverse;
}

.service-box {
    width: 20rem;
    height: 20rem;
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-default);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-box.bold {
    background-color: var(--primary-color);
    transform: rotate(-6deg);
    transition: transform 0.3s ease;
}

.service-box.bold:hover {
    transform: rotate(0) scale(1.1);
}

.service-box:hover {
    transform: scale(1.08);
}

.service_box-img {
    width: 6.5rem;
    height: 6rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service_box-img img {
    width: 6.5rem;
    height: 6rem;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(19%) sepia(58%) saturate(2415%) hue-rotate(210deg) brightness(95%) contrast(91%);
}

.service_box-title {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.5rem;
    color: var(--primary-color);
    font-family: var(--font-primary);
}

.service-box.bold .service_box-title {
    color: var(--bg-color);
}

.service-box.bold .service_box-img img {
    filter: brightness(0) invert(1);
}

/* Services Text */
.services-text {
    flex: 1 1 45%;
    text-align: right;
}

.services-text h2 {
    font-size: var(--font-size-title);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.services-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.services-text p {
    font-size: 1.5rem;
    font-weight: 300;
    direction: rtl;
    color: var(--text-color);
    line-height: 1.8;
}

/* ----------------------------
    Products Section
------------------------------- */
.products {
    text-align: center;
    direction: rtl;
}

.products h2 {
    font-size: var(--font-size-title);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.product_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4.5rem;
}

.product_card {
    width: 39.3rem;
    height: 40rem;
    background-color: var(--secondary-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-default);
    transition: 0.3s ease-in-out;
}

.product_card:hover {
    background-color: var(--primary-color);
    box-shadow: var(--shadow-default);
    transform: scale(1.08);
}

.product_card img {
    width: 35rem;
    height: 32.5rem;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-top: 2rem;
    cursor: pointer;
}

.product_card-title {
    background-color: #fff;
    width: 70%;
    text-align: center;
    padding: 0.75rem 0;
    position: absolute;
    bottom: 0;
    left: 15%;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.product_card-title h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
}

.view_products-btn {
    margin-top: 2.5rem;
    font-family: var(--font-primary);
    font-weight: 700;
    background-color: var(--bg-color);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.7rem 1.3rem;
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.3s ease;
    border: 2.5px solid var(--accent-color);
}

.view_products-btn a {
    text-decoration: none;
    color: var(--accent-color);
}

.view_products-btn:hover {
    transform: translateX(-5px);
    background-color: var(--accent-color);
}

.view_products-btn:hover a {
    color: var(--bg-color);
}

/* Popup Image */
.image_popup {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
}

.image_popup.show {
    display: flex;
    animation-name: fadeIn;
    animation-duration: 0.35s;
    animation-fill-mode: forwards;
}

.image_popup.hide {
    display: flex;
    animation-name: fadeOut;
    animation-duration: 0.28s;
    animation-fill-mode: forwards;
}

.image_popup img {
    max-width: 80%;
    max-height: 80%;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.35s ease forwards;
}

.image_popup .close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
}

/*Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ----------------------------
    About us Section
------------------------------- */
.about_content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 10rem;
}

/* About Text */
.about-text {
    flex: 1 1 50%;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 10rem 5rem 4rem 5rem;
    border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
    z-index: 2;
}

.about-text h3 {
    font-size: var(--font-size-title);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.about-text p {
    font-size: var(--font-size-base);
    font-weight: 500;
    line-height: 2.4;
}

/* About Image */
.about-image {
    flex: 1 1 50%;
    position: relative;
    display: flex;
    align-items: center;
    left: 1px;
}

.about-img {
    width: 55rem;
    height: 50rem;
    margin-top: 6rem;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    margin-left: 3rem;
}

.about-img-radius {
    max-width: 9rem;
}

.about-image::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 43.7%;
    background-color: var(--secondary-color);
    z-index: 1;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

/* ----------------------------
    Map Section
------------------------------- */
.map-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0rem;
    background-color: var(--light-text);
    border-radius: var(--radius-lg);
    max-height: 24rem;
}

.map-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.circle {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: #f0f0f0;
    border-radius: 50%;
}

.circle-left {
    bottom: -155px;
    left: 390px;
}

.circle-right {
    bottom: 200px;
    left: -35px;
}

.map-image,
.map-text {
    position: relative;
    z-index: 1;
}

.circle_bg {
    border: 1px solid #adb5ce;
    border-radius: 50%;
    width: 200px;
    height: 200px;
}

.circle_bg-left {
    margin-right: 20px;
    margin-top: -2px;
}

.circle_bg-right {
    margin-right: -41px;
    margin-top: -12px;
}

.map-text {
    flex: 1;
    text-align: center;
}

.map-text h2 {
    font-size: var(--font-size-title);
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 1rem;
}

.map-text p {
    font-size: var(--font-size-base);
    color: var(--primary-color);
    font-weight: 400;
    line-height: 1.8;
}

.map-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.map-image img {
    max-width: 100%;
    height: auto;
}

/* ----------------------------
    FAQ Section
------------------------------- */
.faq-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 10rem;
}

.faq-intro {
    flex: 1;
    text-align: center;
}

.faq-intro h2 {
    font-size: var(--font-size-title);
    color: var(--text-color);
    font-weight: 800;
    margin-bottom: 1rem;
}

.faq-intro p {
    font-size: var(--font-size-base);
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.8;
}

.faq-accordion {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--light-text);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: right;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--text-color);
    padding: 1.5rem 1.5rem 0rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-primary);
}

.faq-question i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.8rem;
    color: var(--light-text);
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-item.active .faq-question i {
    background-color: var(--bg-color);
    color: var(--primary-color);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
    margin: 0.8rem 1rem;
    border-radius: var(--radius-sm);
}

.faq-item.active .faq-answer {
    max-height: auto;
    padding: 1rem 1.5rem;
}

.faq-answer p {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* ----------------------------
   Contact Section
------------------------------- */
.contact {
    width: 60%;
    margin: 0 auto;
    background-color: var(--accent-color);
    padding: 2rem 2rem;
    text-align: center;
    border-radius: 20px;
    position: relative;
    bottom: -7rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 15px 50px rgba(0, 0, 0, 0.1);
}

.contact h2 {
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--bg-color);
    word-spacing: 0.25rem;
}

.contact-form {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.form-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.form-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem 22.4px;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
}

label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #feffff;
    word-spacing: 1.5px;
    text-align: right;
    width: 100%;
}

input,
textarea {
    width: 100%;
    padding: 0.6rem;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: 1.7rem;
    outline: none;
    background-color: #feffff;
    font-weight: 500;
}

input:focus,
textarea:focus {
    box-shadow: 0 0 0 1.5px #5c5c5c;
}

textarea {
    max-height: 14rem;
    min-height: 15rem;
}

.submit-btn {
    padding: 0.8rem 2rem;
    font-family: var(--font-primary);
    border: none;
    border-radius: var(--radius-lg);
    background-color: #fff;
    color: #2f499f;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #23387a;
    color: var(--bg-color);
}

/* ----------------------------
   Footer Section
------------------------------- */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12rem 10rem 4rem 10rem;
    font-family: var(--font-primary);
    background-image: url("../../image/footer-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer_container {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 2fr;
    gap: 2rem;
    align-items: flex-start;
}

.footer_about img.footer_logo {
    width: 10rem;
    margin-bottom: 1rem;
}

.footer_about p {
    line-height: 1.9;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--bg-color);
}

.footer_menu h4,
.footer_contact h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--bg-color);
}

.footer_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-right: 1rem;
}

.footer_menu ul li {
    margin-bottom: 0.5rem;
}

.footer_menu ul li a {
    text-decoration: none;
    color: var(--bg-color);
    font-weight: 500;
    transition: 0.3s ease;
    font-size: 1.1rem;
}

.footer_menu ul li:hover {
    transform: translateX(-5px);
}

.footer_contact ul {
    list-style: none;
    padding: 01rem 2rem;
    margin: 0;
    background-color: var(--bg-color);
    border-radius: 20px;
}

.socail-media {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.socail-media i {
    font-size: 1.5rem;
    background-color: var(--primary-color);
    color: var(--bg-color);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.socail-media h6 {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ----------------------------
   Back to up button
------------------------------- */
.back_to_up {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 998;
}

.back_to_up.btn {
    width: 4.2rem;
    height: 4.2rem;
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back_to_up.btn:hover {
    background-color: var(--accent-dark, #2b7b5a);
    transform: translateY(-4px);
}

/* ----------------------------
   Download catalog pop up
------------------------------- */
.phoneModal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.phoneModal-box {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    width: 30rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.phoneModal-box h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.phoneModal-box input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    direction: ltr;
}

.phoneModal-box button {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 1rem;
}

/* ----------------------------
    Product page
------------------------------- */
.product {
    padding: 5rem 8%;
    text-align: center;
}

.product_title {
    font-size: 2.4rem;
    color: var(--bg-color);
    background-color: var(--primary-color);
    margin-top: 6rem;
    padding: 2.5rem 0rem 15rem 0rem;
    border-radius: var(--radius-lg);
}

.product_container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.product_cards {
    background: var(--bg-color);
    border-radius: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
    max-width: 35rem;
}

.product_cards:hover {
    transform: translateY(-5px);
}

.product_cards.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.product_image {
    width: 30rem;
    height: 30rem;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s;
}

.product_thumbnails {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.product_thumbnails img {
    width: 60px;
    height: 60px;
    border-radius: 0.5rem;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.product_thumbnails img.active {
    border-color: var(--primary-color);
}

.product_name {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 1rem 0 0.5rem;
}

.product_desc {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 30rem;
}

.product_info {
    font-size: 0.95rem;
    text-align: right;
    color: #444;
}

.product_colors {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.color_circle {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    border: 1px solid #ccc;
    display: inline-block;
}

.product_cm {
    background-color: #fdfdfd;
    margin: 0rem 5rem;
    padding: 3rem 1.2rem;
    border-radius: var(--radius-lg);
    margin-top: -10rem;
    box-shadow: 3px 2px 10px rgba(0, 0, 0, 0.1);
}

.product_tabs {
    position: relative;
    border-bottom: 2px solid #b3b3b3;
    display: flex;
    gap: 1rem;
    margin: 2rem 6rem;
    justify-content: center;
}

.tab_btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
    font-family: var(--font-primary);
}

.tab_btn:hover {
    color: #333;
}

.tab_btn.active {
    color: #000;
    font-weight: bold;
    border-bottom: 2px solid #000;
    margin-bottom: -2px;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2.5rem;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0.5rem;
  z-index: 999;
}

#prevBtn { left: 2rem; }
#nextBtn { right: 2rem; }

.nav-btn:hover {
  background: rgba(0,0,0,0.7);
}

/* ----------------------------
    Responsive
------------------------------- */
@media only screen and (max-width: 1400px) {
    .about-img-radius {
        margin-top: 6px;
    }

    .circle-left {
        bottom: -165px;
        left: 390px;
    }

    .circle-right {
        bottom: 155px;
        left: -45px;
    }

    .map-image img {
        max-width: 85%;
    }
}

@media only screen and (max-width: 1200px) {
    .about-img {
        width: 45rem;
        height: 40rem;
    }

    .about-image::before {
        height: 43%;
    }
}

@media only screen and (max-width: 1015px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 2rem 4rem;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        height: 100vh;
        background-color: var(--bg-color);
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        transition: right 0.4s ease;
        z-index: 99;
    }

    .menu ul {
        display: flex;
        flex-direction: column;
        margin-top: 6rem;
        width: 100%;
    }

    .menu li {
        background-color: var(--bg-color);
        border-bottom: 0.5px solid #eaeaea;
        color: var(--text-color);
    }

    .menu-item a {
        display: block;
        font-size: 1.5rem;
        font-weight: 600;
        text-decoration: none;
        padding: 1rem;
        transition: none;
    }

    .menu-item a:hover {
        color: var(--primary-color);
        background: none;
    }

    .menu.active {
        right: 0;
    }

    .navbar .social_icons {
        display: none;
    }

    .social_icons.responsive {
        position: fixed;
        bottom: 1.53rem;
        left: 3rem;
        display: flex !important;
        flex-direction: row;
        gap: 1.2rem;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(10px);
        padding: 0.8rem;
        border-radius: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        z-index: 300;
    }

    .social_icons.responsive .social_icons-item {
        width: 5.5rem;
        height: 5.5rem;
        font-size: 3rem;
        background-color: var(--primary-color);
    }

    /* .navbar .social_icons {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
      padding: 0.8rem 0;
      z-index: 120;
      justify-content: center;
    }

    .navbar .social_icons-item {
      width: 4rem;
      height: 4rem;
      background-color: var(--primary-color);
      color: #fff;
    }

    .navbar .social_icons-item a {
      color: inherit;
      text-decoration: none;
    } */
    .services-boxes {
        max-width: 49rem;
    }

    .about-img-radius {
        display: none;
    }

    .about_content {
        flex-direction: column;
        align-items: center;
        margin-bottom: 0rem;
    }

    .about-image::before {
        height: 0%;
    }

    .about-img {
        width: 55rem;
        height: 50rem;
        margin-top: -7.5rem;
        margin-left: 0rem;
    }

    .about-text {
        border-radius: var(--radius-lg);
        padding: 4rem;
    }

    .services-text p {
        font-size: 1.5rem;
    }

    .services-text h3 {
        font-size: 1.7rem;
    }

    .about-text p {
        margin-bottom: 6rem;
        font-size: 1.5rem;
    }

    .map-content {
        gap: 5rem;
        flex-direction: column-reverse;
        max-height: unset;
        padding: 2rem;
    }

    .circle-right {
        bottom: 155px;
        left: -150px;
    }

    .circle_bg-right {
        margin-right: 9px;
        margin-top: -30px;
    }

    .contact {
        width: 70%;
    }

    .map-text {
        margin: 1rem;
    }

    .faq-content {
        margin-top: 0rem;
    }
}

@media only screen and (max-width: 960px) {
    .services-content {
        display: flex;
        justify-content: center;
    }

    .services-boxes {
        max-width: 42rem;
    }
}

@media only screen and (max-width: 768px) {
    :root {
        --section-padding: 4rem;
        --radius-sm: 5px;
    }

    .catalog-btn {
        font-size: 1.5rem;
        padding: 0.5rem 2rem;
        border: 1.5px solid var(--accent-color);
    }

    .services-content {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .product_grid {
        gap: 3rem;
    }

    .view_products-btn {
        padding: 1rem 1.3rem;
        font-size: 1.3rem;
    }

    .phoneModal-box button {
        font-weight: 500;
        font-size: 1.6rem;
    }

    .phoneModal-box h3 {
        font-size: 1.9rem;
    }
}

@media only screen and (max-width: 600px) {
  .footer_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "menu1 menu2"
      "about about"
      "contact contact";
    gap: 4rem;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .contact-form {
    flex-direction: column;
   }
}

@media only screen and (max-width: 530px) {
    .about-img {
        width: 40rem;
        height: 35rem;
    }

    .faq-content {
        flex-direction: column;
    }

    .footer_container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
      "menu1 menu2"
      "about about"
      "contact contact";
        gap: 4rem;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .footer_container h4,
    .footer_container p,
    .footer_container li,
    .footer_container h6 {
        text-align: right;
    }

    .footer_menu:nth-of-type(1) {
        grid-area: menu1;
    }

    .footer_menu:nth-of-type(2) {
        grid-area: menu2;
    }

    .footer_about {
        grid-area: about;
        text-align: justify;
    }

    .footer_contact {
        grid-area: contact;
    }

    .footer {
        padding: 12rem 15rem 4rem 15rem;
    }

    .product_tabs {
        flex-direction: column;
    }

    .product_tabs {
        border-bottom: 0px solid #ccc;
    }

    .tab_btn {
        border: none;
        border-bottom: 2px solid #ccc;
    }
}

@media only screen and (max-width: 397px) {
    .section {
        padding: var(--section-padding) 4rem;
    }

    :root {
        --font-size-base: 1.7rem;
    }

    .menu {
        width: 57%;
    }

    .menu-item a {
        font-size: 1.8rem;
    }

    .services-text p {
        font-size: 1.8rem;
    }

    .product_card-title h3 {
        font-size: 1.7rem;
    }

    .product_card {
        height: 42rem;
    }

    .back_to_up.btn {
        width: 5rem;
        height: 5rem;
        font-size: 2rem;
    }

    .about-text p {
        line-height: 2.1;
    }

    .map-image img {
        max-width: 110%;
        height: auto;
    }

    .map-background {
        display: none;
    }

    .faq-answer p {
        font-size: 1.6rem;
        line-height: 1.7;
    }

    .contact {
        width: 80%;
    }

    .contact h2 {
        font-size: 2rem;
    }

    label {
        font-size: 1.6rem;
    }

    input,
    textarea {
        padding: 1.5rem;
    }

    .submit-btn {
        font-size: 1.5rem;
    }

    .footer {
        padding: 12rem 11rem 4rem 11rem;
    }

    .footer_about img.footer_logo {
        width: 10rem;
        margin-bottom: 1rem;
    }

    .footer_about p {
        font-size: 1.5rem;
    }

    .footer_menu h4,
    .footer_contact h4 {
        font-size: 1.5rem;
    }

    .footer_menu ul li a {
        font-size: 1.3rem;
    }

    .socail-media i {
        font-size: 1.8rem;
        width: 4rem;
        height: 4rem;
    }

    .socail-media h6 {
        font-size: 1.5rem;
    }

    .product {
        padding: 5rem 6%;
    }

    .product_cm {
        margin: 0rem 3rem;
        margin-top: -12rem;
    }

    .tab_btn {
        font-size: 1.5rem;
    }

    .product_cards {
        padding: 2rem 3.5rem;
        max-width: 37rem;
    }

    .product_name {
        font-size: 1.8rem;
        margin: 1rem 0 1rem;
    }

    .product_desc {
        font-size: 1.5rem;
    }

    .product_info {
        font-size: 1.4rem;
    }

    .color_circle {
        width: 3.5rem;
        height: 3.5rem;
    }

    .circle {
        display: none;
    }
}

@media only screen and (min-width: 1800px) {
  .about-image::before {
    height: 44.7%;
  }

  .hero_shape > .header_buttons img {
    height: 5.5rem;
    width: auto;
  }
}

@media only screen and (max-width: 600px) {
  .footer_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "menu1 menu2"
      "about about"
      "contact contact";
    gap: 4rem;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .contact-form {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .form-right,
  .form-left {
      width: 100%;
  }
}
