@import url("variables.css");
@import url("navbar.css");
@import url("hero.css");
@import url("footer.css");
@import url("responsive.css");
@import url("divisions.css");
@import url("about.css");
@import url("projects.css");
@import url("contact.css");



:root{

    --primary:#0F4C81;
    --secondary:#F4A300;

    --dark:#1B1B1B;
    --light:#F8F9FA;

    --white:#FFFFFF;

    --radius:12px;

    --transition:.3s ease;

}


html[dir="rtl"] {
    direction: rtl;
}

html[dir="ltr"] {
    direction: ltr;
}


body{
    direction: inherit;
}




.partners{
    padding:100px 0;
    background:#fafafa;
}

.partners-slider{
    width:100%;
    position:relative;
    direction:ltr;
}

.partners-track{
    display:flex;
    gap:40px;
    width:max-content;
    direction:ltr;

    animation: marquee 40s linear infinite;
}

@keyframes marquee{
    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-25%);
    }
}

.partner-card{
    flex-shrink:0;

    min-width:190px;
    height:130px;

    background:#fff;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.partner-card img{
    max-width:150px;
    max-height:90px;
    object-fit:contain;
}

@keyframes marquee{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(calc(-50% - 20px));
    }

}


.partner-card{

    width:180px;
    height:110px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.6);

    border-radius:20px;

    transition:.4s;

    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.partner-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}











.partners{

    padding:80px 0;

}

.partners .container{

    width:92%;
    max-width:1400px;

    margin:auto;

    background:#d8d8d8;

    border-radius:30px;

    padding:50px 40px;

    position:relative;

    overflow:hidden;

}

.partners-track{

    padding:15px 0;

}

.section-title{
    margin-bottom:40px;
}

.partner-card{

    transition:.35s ease;

    position:relative;
    z-index:10;

}

.partner-card:hover{

    transform:translateY(-12px);

}

@media (max-width:768px){

    .partners .container{

        width:92%;

        padding:30px 20px;

        border-radius:25px;

    }

}

/* افکت شیشه ای دو طرف */

.partners .container::before,
.partners .container::after{

    content:"";

    position:absolute;

    top:0;

    width:120px;
    height:100%;

    pointer-events:none;

    z-index:5;

}

/* گرد شدن سمت چپ */

.partners .container::before{

    left:0;

    border-top-left-radius:30px;
    border-bottom-left-radius:30px;

    background:linear-gradient(
        to right,
        rgba(216,216,216,1),
        rgba(216,216,216,.65),
        rgba(216,216,216,0)
    );

}

/* گرد شدن سمت راست */

.partners .container::after{

    right:0;

    border-top-right-radius:30px;
    border-bottom-right-radius:30px;

    background:linear-gradient(
        to left,
        rgba(216,216,216,1),
        rgba(216,216,216,.65),
        rgba(216,216,216,0)
    );

}



.partners{
    background:transparent !important;
}




/* =========================
   MOBILE MENU
========================= */

@media (max-width:768px){

    .navbar-custom{
        padding:15px 0;
    }

    .logo img{
        height:50px;
    }

    .nav-wrapper{
        display:flex;
        align-items:center;
        justify-content:space-between;
    }

    .nav-side{
        display:flex;
        align-items:center;
        gap:10px;
    }

    .consult-btn{
        padding:10px 18px;
        font-size:13px;
        white-space:nowrap;
    }

    .menu-toggle{
        display:flex;
        align-items:center;
        justify-content:center;

        width:48px;
        height:48px;

        background:#d4af37;
        color:#fff;

        border:none;
        border-radius:12px;

        font-size:28px;
        cursor:pointer;

        position:relative;
        z-index:10003;
    }

    .nav-menu{

        position:fixed;

        top:0;
        right:-280px;

        width:260px;
        height:100vh;

        display:flex;
        flex-direction:column;

        gap:25px;

        padding:100px 30px 30px;

        background:#fff;

        border-left:1px solid #e5e5e5;

        transition:right .35s ease;

        list-style:none;
        margin:0;

        overflow-y:auto;

        z-index:10002;
    }

    .nav-menu.active{
        right:0;
    }

    .nav-menu li{
        width:100%;
    }

    .nav-menu a{
        display:block;
        color:#111;
        font-size:18px;
        font-weight:500;
        text-decoration:none;
        padding:12px 0;
        border-bottom:1px solid rgba(0,0,0,.08);
    }

    .mobile-consult{
        display:block;
        margin-top:auto;
        padding-top:20px;
    }

}


/* =========================
   DESKTOP
========================= */

@media (min-width:769px){

    .menu-toggle{
        display:none !important;
    }

    .nav-menu{
        position:static !important;
        width:auto !important;
        height:auto !important;

        display:flex !important;
        flex-direction:row !important;

        gap:60px !important;

        padding:0 !important;

        background:transparent !important;

        right:auto !important;

        overflow:visible !important;
    }

}


/* =========================
   BACKDROP
========================= */

.menu-backdrop{

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:10001;

}

.menu-backdrop.active{

    opacity:1;
    visibility:visible;

}

















.particles-test {
    position: absolute;

    opacity: 0.82;

    filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.15));

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    z-index: 0;

    background-image:
        radial-gradient(circle, #d4af37 1px, transparent 1px),
        radial-gradient(circle, #e6c25a 0.8px, transparent 0.8px),
        radial-gradient(circle, #c89b2a 0.7px, transparent 0.7px);

    background-size:
        55px 55px,
        95px 95px,
        145px 145px;

    background-position:
        0 0,
        25px 40px,
        70px 15px;

    opacity: 0.7;

    animation: particlesFloat 12s ease-in-out infinite;
}


@keyframes particlesFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0);
    }

}


.site-main{
    position:relative;
}



.hero,
.about-home,
.partners,
.projects-home{
    position:relative;
    z-index:1;
}


body:not(.home-page) .particles-test{
    display:none;
}
























/* ===========================
BLOG DETAIL
=========================== */

.blog-hero{

    position:relative;

    height:520px;

    overflow:hidden;

}

.blog-hero img{

    width:100%;
    height:100%;

    object-fit:cover;

}

.blog-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.35)
    );

}

.blog-hero-content{

    position:absolute;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%);

    text-align:center;

    color:#fff;

    width:90%;

    max-width:900px;

}

.blog-hero-content span{

    display:inline-block;

    margin-bottom:20px;

    color:#f0d17c;

    font-size:16px;

}

.blog-hero-content h1{

    font-size:58px;

    line-height:1.4;

    font-weight:700;

}



.blog-detail{

    padding:90px 0;

}

.blog-detail .container{

    max-width:950px;

}



.blog-summary-box{

    background:rgba(255,255,255,.6);

    backdrop-filter:blur(15px);

    border-radius:24px;

    padding:35px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    margin-bottom:60px;

    font-size:22px;

    line-height:2;

    color:#555;

}



.blog-content{

    font-size:18px;

    line-height:2.5;

    color:#444;

}



.blog-content h2{

    margin-top:55px;

    margin-bottom:25px;

    color:#c9981a;

}



.blog-content h3{

    margin-top:40px;

    color:#0f4c81;

}



.blog-content img{

    width:100%;

    border-radius:24px;

    margin:50px 0;

}



.blog-content p{

    margin-bottom:25px;

}



@media(max-width:768px){

.blog-hero{

    height:340px;

}

.blog-hero-content h1{

    font-size:34px;

}

.blog-summary-box{

    padding:25px;

    font-size:18px;

}

.blog-content{

    font-size:17px;

}

}














/* CKEditor Mobile Fix */

.ck-editor{

    max-width:100% !important;

}

.ck-editor__main{

    overflow-x:auto;

}

.ck-content{

    min-width:700px;

}

/* جلوگیری از بیرون زدن فرم */

.form-row,
.fieldBox{

    overflow-x:auto;

}

.change-form .main{

    overflow-x:auto;

}





.blog-home .project-card{

    background:#d6d6d6;

    border-radius:24px;

    padding:18px;

    overflow:hidden;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.35s;

}

.blog-home .project-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.12);

}

.blog-home .project-card img{

    width:100%;

    height:240px;

    object-fit:cover;

    border-radius:18px;

    display:block;

}

.blog-home .project-content{

    padding:20px 5px 5px;

}

.blog-home .project-content h3{

    color:#0f4c81;

    margin-bottom:15px;

}

.blog-home .project-content p{

    color:#555;

    line-height:1.9;

}








/*==========================
        TEAM SECTION
==========================*/

.team-section{

    position:relative;

    padding:110px 0;

}

.team-section .section-title{

    text-align:center;

    margin-bottom:60px;

}

.team-section .section-title h2{

    font-size:42px;

    font-weight:800;

    color:#000000;

    margin-bottom:15px;

}

.team-section .section-title p{

    color:#777;

    font-size:18px;

}

/*==========================
        CARD
==========================*/

.team-card{

    max-width:760px;

    margin:auto;

    background:#ececec;

    border-radius:35px;

    padding:55px 45px;

    text-align:center;

    box-shadow:
        0 18px 45px rgba(0,0,0,.08);

    transition:.35s;

}

.team-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 25px 55px rgba(0,0,0,.12);

}

/*==========================
        IMAGE
==========================*/

.team-image{

    width:170px;
    height:170px;

    margin:auto;

    border-radius:50%;

    overflow:hidden;

    border:7px solid #d4af37;

    box-shadow:
        0 12px 35px rgba(212,175,55,.35);

}

.team-image img{

    width:100%;
    height:100%;

    object-fit:cover;

    display:block;

}

/*==========================
        CONTENT
==========================*/

.team-content{

    margin-top:35px;

}

.team-content h3{

    font-size:32px;

    font-weight:800;

    color:#000000;

    margin-bottom:10px;

}

.team-position{

    display:inline-block;

    color:#c9981a;

    font-size:18px;

    font-weight:700;

    margin-bottom:25px;

}

.team-content p{

    color:#555;

    line-height:2;

    font-size:17px;

    max-width:620px;

    margin:auto;

}

/*==========================
      SWIPER BUTTONS
==========================*/

.team-prev,
.team-next{

    width:55px !important;
    height:55px !important;

    border-radius:50%;

    background:#fff;

    box-shadow:
        0 8px 25px rgba(0,0,0,.12);

    color:#c9981a !important;

}

.team-prev::after,
.team-next::after{

    font-size:22px !important;

    font-weight:bold;

}

.team-prev:hover,
.team-next:hover{

    background:#c9981a;

    color:#fff !important;

}

/*==========================
        PAGINATION
==========================*/

.team-pagination{

    margin-top:35px;

    position:relative !important;

}

.team-pagination .swiper-pagination-bullet{

    width:12px;

    height:12px;

    background:#d4af37;

    opacity:.35;

}

.team-pagination .swiper-pagination-bullet-active{

    opacity:1;

    width:30px;

    border-radius:20px;

}

/*==========================
        MOBILE
==========================*/

@media(max-width:768px){

.team-section{

    padding:70px 0;

}

.team-card{

    padding:35px 25px;

    border-radius:25px;

}

.team-image{

    width:130px;
    height:130px;

}

.team-content h3{

    font-size:24px;

}

.team-position{

    font-size:16px;

}

.team-content p{

    font-size:15px;

}

.team-prev,
.team-next{

    display:none !important;

}

}









.team-section .section-title h2{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;

}

.team-section .section-title h2::before,
.team-section .section-title h2::after{

    content:"";

    width:70px;
    height:2px;

    background:#d4af37;

    border-radius:5px;

}












/*==========================
        FEATURES
==========================*/

.features-section{

    padding:90px 0;

}

.features-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

.feature-card{

    background:#f7f7f7;

    border-radius:28px;

    padding:35px 28px;

    text-align:center;

    box-shadow:0 12px 35px rgba(0,0,0,.06);

    transition:.35s;

    border:1px solid rgba(0,0,0,.05);

}

.feature-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

    border-color:#d4af37;

}

.feature-icon{

    width:78px;
    height:78px;

    margin:auto;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:22px;

    font-size:34px;

    margin-bottom:25px;

    transition:.35s;

}

.feature-card:hover .feature-icon{

    transform:scale(1.12);

}

.orange{

    background:#fff3df;
    color:#d59a1d;

}

.green{

    background:#eafaf0;
    color:#18a957;

}

.red{

    background:#fff0f0;
    color:#ea4335;

}

.blue{

    background:#edf6ff;
    color:#2b7fff;

}

.feature-card h3{

    font-size:22px;

    font-weight:800;

    color:#222;

    margin-bottom:18px;

}

.feature-card p{

    font-size:15px;

    line-height:1.9;

    color:#777;

}

/*==========================
        TABLET
==========================*/

@media(max-width:992px){

.features-grid{

    grid-template-columns:repeat(2,1fr);

}

}

/*==========================
        MOBILE
==========================*/

@media(max-width:576px){

.features-section{

    padding:60px 0;

}

.features-grid{

    gap:18px;

}

.feature-card{

    padding:28px 18px;

    border-radius:22px;

}

.feature-icon{

    width:62px;
    height:62px;

    font-size:28px;

}

.feature-card h3{

    font-size:18px;

}

.feature-card p{

    font-size:13px;

    line-height:1.8;

}

}







.consult-modal{


    background:#1b1b1b;

    color:#f1f1f1;

    border-radius:22px;

    border:1px solid rgba(212,175,55,.35);

    backdrop-filter:blur(20px);

}


.consult-icon{

    font-size:55px;

    color:#d4af37;

    margin-bottom:20px;

}

.consult-modal h3{

    font-weight:800;

    margin-bottom:15px;

    letter-spacing:1px;

}

.consult-modal p{

    color:#f0f0f0;

}


.consult-modal{

    max-width:420px;
    margin:auto;

    border:none;
    border-radius:20px;

    overflow:hidden;

}

.consult-modal .modal-header{

    padding:18px 22px;

}

.consult-modal .modal-body{

    padding:20px;

}

.consult-modal .modal-footer{

    padding:18px;

}

.consult-icon{

    font-size:42px;
    margin-bottom:12px;

}

#consultNumber{

    font-size:24px;
    font-weight:700;

    margin:10px 0;

}

.consult-modal p{

    font-size:14px;
    color:#eeeeee;

    margin-bottom:0;

}

.consult-modal .btn{

    padding:10px 22px;
    border-radius:12px;

}


.consult-modal .btn-close {
    position: absolute;

    top: 20px;
    right: 18px;

    transform: scale(1.15);

    z-index: 10;
}

html[lang="fa"] .consult-modal .btn-close {
    right: auto;
    left: 18px;
}

html[lang="en"] .consult-modal .btn-close {
    left: auto;
    right: 18px;
}



/*==========================
        404 PAGE
==========================*/

.error404{

    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:120px 0 80px;

    background:#f7f8fa;

}

.error-box{

    max-width:700px;

    margin:auto;

    text-align:center;

    background:#fff;

    padding:60px 40px;

    border-radius:35px;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

}

.error-code{

    font-size:120px;

    font-weight:900;

    color:#d4af37;

    line-height:1;

    margin-bottom:20px;

}

.error-box h1{

    font-size:34px;

    font-weight:800;

    color:#222;

    margin-bottom:20px;

}

.error-box p{

    color:#666;

    line-height:2;

    font-size:16px;

    margin-bottom:40px;

}

.error-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.home-btn,
.back-btn{

    padding:14px 28px;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

    cursor:pointer;

    min-width:190px;

}

.home-btn{

    background:#d4af37;

    color:#fff;

}

.home-btn:hover{

    transform:translateY(-3px);

    color:#fff;

}

.back-btn{

    background:#fff;

    border:2px solid #d4af37;

    color:#d4af37;

}

.back-btn:hover{

    background:#d4af37;

    color:#fff;

}

@media(max-width:768px){

.error-box{

    padding:45px 25px;

}

.error-code{

    font-size:90px;

}

.error-box h1{

    font-size:26px;

}

.error-buttons{

    flex-direction:column;

    align-items:center;

}

.home-btn,
.back-btn{

    width:100%;

}

}



/* =========================================
   BLOG CONTENT
========================================= */

.blog-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    line-height: 2;
}


/* Images uploaded through CKEditor */

.blog-content figure.image {
    width: 100%;
    margin: 30px auto;
    text-align: center;
}


.blog-content figure.image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
}


/* Wide images */

.blog-content figure.image.image-style-align-center {
    text-align: center;
}


/* Prevent CKEditor inline dimensions
   from breaking responsive layout */

.blog-content img {
    max-width: 100% !important;
    height: auto !important;
}


/* Mobile */

@media (max-width: 768px) {

    .blog-content {
        width: 100%;
        font-size: 15px;
    }

    .blog-content figure.image {
        margin: 20px auto;
    }

    .blog-content figure.image img {
        max-width: 100%;
        border-radius: 12px;
    }

}


.blog-home {
    margin-bottom: 35px;
}







.footer-admin-text {
    margin: 0 0 8px;
    opacity: .9;
    line-height: 1.8;
}

.footer-designed-by {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
}

.footer-designed-by a {
    display: inline;
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    font-size: inherit;
    margin: 0;
    padding: 0;
    transition: color .3s ease;
}

.footer-designed-by a:hover {
    color: #fff;
}



/* =========================================
   HERO VIDEO - GLASS / FROSTED EFFECT
========================================= */

.hero video {
    filter: blur(9px);
    transform: scale(1.04);
}







/* =========================================
   HERO EXPORT STATS - FROSTED GLASS
========================================= */

.hero-export-stats {
    display: flex;
    align-items: stretch;
    justify-content: center;

    width: fit-content;
    max-width: 100%;

    margin: 35px auto 0;
    padding: 18px;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    direction: ltr;
}

.hero-export-stat {
    min-width: 150px;
    padding: 8px 30px;

    text-align: center;

    border-left: 1px solid rgba(255, 255, 255, 0.18);

    direction: rtl;
}

.hero-export-stat:first-child {
    border-left: none;
}

.hero-export-stat strong {
    display: block;
    margin-bottom: 5px;

    color: #ffd700;

    font-size: 28px;
    font-weight: 800;
}

.hero-export-stat span {
    display: block;

    color: rgba(255, 255, 255, 0.92);

    font-size: 14px;
    font-weight: 500;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .hero-export-stats {
        width: calc(100% - 30px);
        padding: 12px;
        border-radius: 18px;
    }

    .hero-export-stat {
        min-width: 0;
        padding: 8px 10px;
    }

    .hero-export-stat strong {
        font-size: 21px;
    }

    .hero-export-stat span {
        font-size: 11px;
    }

}










/* =========================================================
   UNIVERSAL FLUID RESPONSIVE SYSTEM
   Works across arbitrary viewport widths
========================================================= */

/* ---------- Global ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow-x: hidden;
}

main,
section,
header,
footer,
nav,
div {
    min-width: 0;
}

img,
video,
iframe,
svg {
    max-width: 100%;
}

img,
video {
    height: auto;
}


/* =========================================================
   FLUID CONTAINER
========================================================= */

.container {
    width: min(
        calc(100% - clamp(24px, 5vw, 100px)),
        1320px
    );

    max-width: 1320px;

    margin-inline: auto;
}


/* =========================================================
   FLUID TYPOGRAPHY
========================================================= */

h1 {
    font-size: clamp(2rem, 3.8vw, 4rem);
    line-height: 1.25;
}

h2 {
    font-size: clamp(1.6rem, 2.7vw, 3rem);
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.15rem, 1.7vw, 1.6rem);
}

p {
    font-size: clamp(.9rem, 1vw, 1.05rem);
}


/* =========================================================
   FLUID SECTIONS
========================================================= */

section {
    width: 100%;
    max-width: 100%;

    padding-block: clamp(55px, 7vw, 110px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;
    min-height: max(620px, 100svh);

    height: auto;

    overflow: hidden;
}

.hero-content {
    position: relative;

    width: min(92%, 1000px);

    margin-inline: auto;

    padding-block:
        clamp(100px, 15vh, 190px)
        clamp(60px, 9vh, 120px);

    padding-inline:
        clamp(12px, 3vw, 40px);

    text-align: center;

    z-index: 2;
}

.hero h1 {
    max-width: 100%;

    margin-inline: auto;

    font-size: clamp(
        2rem,
        5vw,
        5rem
    );

    overflow-wrap: anywhere;
}

.hero p {
    width: min(100%, 760px);

    margin-inline: auto;

    font-size: clamp(
        .9rem,
        1.5vw,
        1.2rem
    );

    line-height: 1.9;
}


/* =========================================================
   FLUID GRIDS
========================================================= */

.about-grid,
.export-grid,
.footer-grid {
    width: 100%;
    max-width: 100%;
}

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: clamp(25px, 5vw, 80px);

    align-items: center;
}

.export-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: clamp(25px, 5vw, 80px);

    align-items: center;
}


/* Features automatically adapt */

.features-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                min(100%, 240px),
                1fr
            )
        );

    gap: clamp(16px, 2vw, 30px);
}


/* Divisions / products */

.division-grid,
.products-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                min(100%, 280px),
                1fr
            )
        );

    gap: clamp(18px, 2.5vw, 35px);
}


/* =========================================================
   CARDS
========================================================= */

.division-card,
.product-card,
.project-card,
.feature-card {
    width: 100%;
    max-width: 100%;

    min-width: 0;
}

.division-card img,
.product-card img,
.project-card img {
    display: block;

    width: 100%;
    max-width: 100%;

    object-fit: cover;
}


/* =========================================================
   PROJECT SWIPER
========================================================= */

.projects-wrapper,
.projectsSwiper {
    width: 100%;
    max-width: 100%;

    min-width: 0;

    overflow: hidden;
}

.projectsSwiper .swiper-wrapper {
    align-items: stretch;
}

.projectsSwiper .swiper-slide {
    width: 100%;
    max-width: 100%;

    min-width: 0;
}

.project-card {
    height: 100%;
}


/* =========================================================
   EXPORT STATS
========================================================= */

.export-stats {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    width: min(100%, 850px);

    margin-inline: auto;

    gap: clamp(8px, 2vw, 25px);
}

.export-stat {
    min-width: 0;

    text-align: center;

    padding:
        clamp(10px, 2vw, 25px)
        clamp(6px, 1.5vw, 20px);
}

.export-stat strong {
    display: block;

    font-size: clamp(
        1.1rem,
        2.5vw,
        2rem
    );

    overflow-wrap: anywhere;
}

.export-stat span {
    display: block;

    font-size: clamp(
        .65rem,
        1vw,
        .95rem
    );

    line-height: 1.5;

    overflow-wrap: anywhere;
}


/* =========================================================
   BLOG
========================================================= */

.blog-hero {
    width: 100%;

    min-height: clamp(
        420px,
        65vh,
        760px
    );

    position: relative;

    overflow: hidden;
}

.blog-hero-content {
    width: min(92%, 1000px);

    margin-inline: auto;

    padding-inline:
        clamp(12px, 3vw, 40px);
}

.blog-content {
    width: min(100%, 900px);

    margin-inline: auto;

    line-height: 2;

    overflow-wrap: anywhere;
}

.blog-content figure.image {
    width: 100%;
    max-width: 100%;

    margin-block:
        clamp(18px, 3vw, 35px);

    margin-inline: auto;

    text-align: center;
}

.blog-content figure.image img {
    display: block;

    width: auto !important;

    max-width: 100% !important;

    height: auto !important;

    margin-inline: auto;

    border-radius: clamp(
        10px,
        1.5vw,
        18px
    );
}


/* =========================================================
   FOOTER
========================================================= */

.main-footer {
    width: 100%;

    padding-block:
        clamp(55px, 7vw, 90px)
        clamp(22px, 3vw, 35px);

    overflow: hidden;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: clamp(25px, 5vw, 65px);
}

.footer-col {
    min-width: 0;
}

.footer-col p,
.footer-col a,
.footer-col li {
    overflow-wrap: anywhere;
}

.footer-logo {
    max-width: 100%;
    height: auto;
    max-height: 80px;
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.footer-social {
    display: flex;

    flex-wrap: wrap;

    align-items: center;
    justify-content: center;

    gap: clamp(8px, 1.5vw, 16px);
}

.footer-social a {
    flex: 0 0 clamp(
        44px,
        4vw,
        56px
    );

    width: clamp(
        44px,
        4vw,
        56px
    );

    height: clamp(
        44px,
        4vw,
        56px
    );
}


/* =========================================================
   MODAL
========================================================= */

.consult-modal {
    width: min(
        calc(100% - 24px),
        420px
    );

    max-width: 420px;

    margin-inline: auto;
}

.consult-modal .modal-body {
    padding:
        clamp(16px, 4vw, 30px);
}

.consult-modal h3,
#consultNumber {
    max-width: 100%;

    overflow-wrap: anywhere;
}


/* =========================================================
   BUTTONS
========================================================= */

button,
.btn,
a {
    max-width: 100%;
}

.hero-btn,
.project-btn,
.about-more-btn,
.projects-more {
    max-width: 100%;

    overflow-wrap: anywhere;
}


/* =========================================================
   TABLET / NARROW WIDTH
========================================================= */

@media (max-width: 850px) {

    .about-grid,
    .export-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 24px);
    }


    .division-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .footer-grid > :first-child {
        grid-column: auto;
    }

    .export-stats {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

    .about-grid,
    .export-grid {
        gap: 25px;
    }

}




@media (max-width: 768px) {

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .feature-card {
        padding: 22px 12px;
        min-height: 220px;
    }

    .feature-card h3 {
        font-size: 17px;
        line-height: 1.5;
    }

    .feature-card p {
        font-size: 13px;
        line-height: 1.8;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 15px;
    }

}
/* =========================================================
   VERY NARROW PHONES
========================================================= */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 16px);
    }

    .export-stats {
        gap: 3px;
    }

    .export-stat {
        padding-inline: 3px;
    }

    .export-stat strong {
        font-size: 1rem;
    }

    .export-stat span {
        font-size: .58rem;
    }

}


/* =========================================================
   ULTRA WIDE SCREENS
========================================================= */

@media (min-width: 1800px) {

    .container {
        width: min(
            calc(100% - 120px),
            1400px
        );
    }

}