
/* ===========================
   GOOGLE FONT
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
background:linear-gradient(
180deg,
#ffffff 0%,
#f5f8fc 100%
);
}

/* ===========================
   NAVBAR
=========================== */

.navbar{
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    width:92%;
    height:85px;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(15px);
    border-radius:18px;
    display:flex;
    align-items:center;
    padding:0 40px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    z-index:999;
}
.logo{
    flex:0 0 auto;
}

.navbar ul{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:35px;
    list-style:none;
    margin:0;
    padding:0;
}

.navbar ul li{
    list-style:none;
}

.navbar ul li a{
    text-decoration:none;
    color:#002B5B;
    font-weight:600;
    font-size:18px;
    transition:.3s;
}

.navbar ul li a:hover{
    color:#E31E24;
}
.logo img{
    height:75px;
}
/* ===========================
   HERO
=========================== */

.hero{
    min-height:78vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:130px 8% 35px;
    gap:55px;
    position:relative;
    overflow:hidden;
}

.hero::before{
    content:"";
    position:absolute;
    width:650px;
    height:650px;
    background:#E31E24;
    opacity:.05;
    border-radius:50%;
    right:-220px;
    top:-220px;
}

.hero-left{
    flex:1;
    position:relative;
    z-index:2;
}

.hero-tag{
    display:inline-block;
    padding: 8px 18px;
    background:#E31E24;
    color:white;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
    margin-bottom:25px;
}

.hero h1{
    font-size:50px;
    line-height:1.08;
    color:#002B5B;
    margin-bottom:25px;
}

.hero h1 span{
    display:block;
    color:#E31E24;
}

.hero p{
    max-width:500px;
    font-size:17px;
    line-height:1.75;
    color:#555;
    margin-bottom:30px;
}

.buttons{
    display:flex;
    gap:25px;
    margin-top:10px;
}

.red-btn{
    background:#E31E24;
    color:white;
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.red-btn:hover{
    transform:translateY(-4px);
    background:#002B5B;
}

.white-btn{
    border:2px solid #002B5B;
    color:#002B5B;
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.white-btn:hover{
    background:#002B5B;
    color:white;
}

.hero-right{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
}

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

.hero-right > img{
    width:100%;
    max-width:620px;
    height:480px;
    object-fit:cover;
    border-radius:25px;
    box-shadow:0 25px 60px rgba(0,0,0,.18);
    transition:0.4s;
    animation:float 6s ease-in-out infinite;
}

.slider{
    position:relative;
    width:100%;
    max-width:580px;
    height:400px;
    overflow:hidden;
    border-radius:25px;
    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.slider img{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transition:opacity 1s ease;
}

.slider img.active{
    opacity:1;
}


/* ===========================
   MOBILE
=========================== */

@media(max-width:992px){

.hero{
flex-direction:column;
text-align:center;
padding-top:180px;
}

.hero p{
margin:auto;
margin-bottom:35px;
}

.buttons{
justify-content:center;
}

.hero h1{
font-size:48px;
}

.navbar{
flex-direction:column;
height:auto;
padding:20px;
gap:15px;
}

.navbar ul{
flex-wrap:wrap;
justify-content:center;
gap:18px;
}

.logo img{
height:65px;
}
}
/*==========================
ABOUT
===========================*/

.about{
    padding:60px 8% 100px;
    background:#ffffff;
}

.about-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
    margin-bottom:80px;
}

.about-image{
    flex:1;
}

.about-image img{
    width:100%;
    border-radius:25px;
    box-shadow:0 25px 60px rgba(0,0,0,.12);
    transition:.4s;
}

.about-image img:hover{
    transform:scale(1.03);
}

.about-content{
    flex:1;
}

.section-tag{
    display:inline-block;
    background:#E31E24;
    color:#fff;
    padding:8px 20px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    margin-bottom:20px;
}

.about-content h2{
    font-size:46px;
    color:#002B5B;
    margin-bottom:25px;
    line-height:1.2;
}

.about-content h2 span{
    color:#E31E24;
}

.about-content p{
    color:#666;
    line-height:1.9;
    margin-bottom:35px;
    font-size:17px;
}

.about-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.feature-card{
    background:#F8F9FC;
    padding:18px;
    border-radius:12px;
    font-weight:600;
    color:#002B5B;
    transition:.3s;
}

.feature-card:hover{
    background:#002B5B;
    color:white;
    transform:translateY(-6px);
}

/*==========================
VISION & MISSION
===========================*/

.vision-mission{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
}

.vm-card{
    background:white;
    padding:45px;
    border-radius:20px;
    box-shadow:0 15px 45px rgba(0,0,0,.08);
    transition:.35s;
    border-top:5px solid #E31E24;
}

.vm-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.vm-icon{
    width:75px;
    height:75px;
    border-radius:50%;
    background:#E31E24;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    color:white;
    margin-bottom:20px;
}

.vm-card h3{
    font-size:30px;
    color:#002B5B;
    margin-bottom:18px;
}

.vm-card p{
    color:#666;
    line-height:1.9;
}

/*==========================
PRESIDENT'S MESSAGE
===========================*/

.president-message{
    display:flex;
    align-items:center;
    gap:55px;
    background:linear-gradient(135deg,#002B5B 0%,#013a75 100%);
    border-radius:24px;
    padding:55px;
    margin-top:35px;
    box-shadow:0 25px 60px rgba(0,43,91,.25);
    position:relative;
    overflow:hidden;
}

.president-message::before{
    content:"";
    position:absolute;
    top:-60px;
    right:-60px;
    width:220px;
    height:220px;
    background:rgba(227,30,36,.12);
    border-radius:50%;
}

.president-photo{
    flex:0 0 320px;
    width:320px;
    height:320px;
    border-radius:20px;
    overflow:hidden;
    border:5px solid rgba(255,255,255,.15);
    box-shadow:0 20px 40px rgba(0,0,0,.25);
    position:relative;
    z-index:1;
}

.president-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.president-photo.no-photo{
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#E31E24,#a8161a);
    font-size:110px;
}

.president-photo.no-photo::after{
    content:"👤";
}

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

.president-content h3{
    font-size:32px;
    color:#fff;
    margin:16px 0 10px;
    line-height:1.2;
}

.quote-icon{
    font-family:Georgia,serif;
    font-size:70px;
    color:#E31E24;
    line-height:.6;
    margin-bottom:10px;
}

.president-content p{
    color:#d9e2ef;
    line-height:1.9;
    font-size:16.5px;
    max-width:700px;
}

.president-signature{
    margin-top:25px;
    padding-top:20px;
    border-top:2px solid rgba(255,255,255,.15);
}

.president-signature h4{
    color:#fff;
    font-size:25px;
    margin-bottom:6px;
    text-align:left;
}

.president-signature span{
    display:block;
    color:#E31E24;
    font-weight:600;
    font-size:22px;
    margin-left:84px;   /* Adjust this value until it's centered under the name */
}

/*==========================
MOBILE
===========================*/

@media(max-width:992px){

.about-container{
flex-direction:column;
gap:40px;
margin-bottom:50px;
}

.vision-mission{
grid-template-columns:1fr;
}

.president-message{
flex-direction:column;
text-align:center;
padding:40px 30px;
}

.president-photo{
flex:0 0 auto;
width:240px;
height:240px;
}

.president-content p{
max-width:100%;
}

.president-signature h4,
.president-signature span{
margin-left:0;
text-align:center;
}

.about-features{
grid-template-columns:1fr;
}

.about-content{
text-align:center;
}

.about-content h2{
font-size:36px;
}

}
/*=================================
WHY CHOOSE US
=================================*/

.stats{
    padding:50px 8%;
    background:#002B5B;
    color:white;
    text-align:center;
}

.stats-heading{
    max-width:600px;
    margin:auto auto 70px;
}

.stats-heading h2{
    font-size:40px;
    margin:20px 0;
}

.stats-heading p{
    color:#d9e2ef;
    line-height:1.8;
    font-size:17px;
}

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

.stat-card{
    background:white;
    color:#002B5B;
    padding:25px 15px;
    border-radius:22px;
    transition:.35s;
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.stat-card:hover{
    transform:translateY(-12px);
}

.stat-icon{
    width:50px;
    height:50px;
    background:#E31E24;
    color:white;
    margin:auto;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    margin-bottom:20px;
}

.stat-card h3{
    font-size:52px;
    color:#E31E24;
    margin-bottom:10px;
}

.stat-card span{
    font-size:18px;
    font-weight:500;
}
@media(max-width:992px){

.stats-container{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:650px){

.stats-container{
grid-template-columns:1fr;
}

.stats-heading h2{
font-size:34px;
}

}
/*==========================
PRODUCTS
==========================*/

.products{
    padding:100px 8%;
    background:#f8fafc;
}

.section-header{
    text-align:center;
    max-width:760px;
    margin:0 auto 70px;
}

.section-header h2{
    font-size:42px;
    color:#002B5B;
    margin:18px 0;
}

.section-header h2 span{
    color:#E31E24;
}

.section-header p{
    color:#666;
    line-height:1.8;
    font-size:17px;
}
.product-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}
.product-card{
    position:relative;
    height:500px;
    border-radius:22px;
    overflow:hidden;
    cursor:pointer;
    box-shadow:0 18px 45px rgba(0,0,0,.15);
}

.product-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.product-overlay{
    position:absolute;
    inset:0;
    padding:35px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    color:white;
    background:linear-gradient(
        to top,
        rgba(15,15,15,.90) 0%,
        rgba(30,30,30,.65) 40%,
        rgba(50,50,50,.25) 70%,
        rgba(255,255,255,0) 100%
    );
}

.product-icon{
    position:absolute;
    top:35px;
    left:35px;

    width:70px;
    height:70px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#E31E24;
    border-radius:50%;
}

.product-icon i{
    font-size:32px;
    color:#fff;
    line-height:1;
}

.product-overlay h3{
    font-size:30px;
    margin-bottom:18px;
}

.product-overlay ul{
    list-style:none;
    margin:0;
    padding:0;
}

.product-overlay li{
    margin-bottom:10px;
    font-size:17px;
}

.more-products{
    color:#FFD54F;
    font-weight:600;
}

.product-overlay a{
    margin-top:30px;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.3);
    display:flex;
    justify-content:space-between;
    color:white;
    text-decoration:none;
    font-weight:600;
}
@media(max-width:992px){

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

}

@media(max-width:768px){

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

.product-card{
height:380px;
}

}

/*================ INDUSTRY GRID ================*/

.industry-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
    margin-top:70px;
}
.industry-card{
    background:#fff;
    border-radius:18px;
    padding:35px 28px;
    text-align:center;
    border:1px solid #edf1f5;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
}

.industry-card p{
    max-width:280px;
    margin:0 auto 30px;
    color:#666;
    line-height:1.8;
    font-size:16px;
}
.industry-card a{
    margin-top:auto;
    text-decoration:none;
    color:#E31E24;
    font-weight:600;
}
.industry-icon{
    width:75px;
    height:75px;
    font-size:30px;
    margin:0 auto 22px;
}
.industry-card h3{
    font-size:24px;
    margin-bottom:15px;
}
@media(max-width:992px){

.industry-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

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

}
/*================ BRANDS ================*/

.brands{
    padding:110px 8%;
    background:#f7f9fc;
}

.brands-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
    margin-top:60px;
}

.brand-card{
    background:white;
    border-radius:22px;
    padding:40px 35px;
    text-align:center;
    border:1px solid #e8edf3;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    transition:.35s;
}

.brand-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,43,91,.15);
}

.brand-card img{
    width:180px;
    height:70px;
    object-fit:contain;
    margin-bottom:30px;
    filter:grayscale(100%);
    transition:.35s;
}

.brand-card:hover img{
    filter:grayscale(0);
    transform:scale(1.05);
}

.brand-card h3{
    color:#002B5B;
    font-size:24px;
    margin-bottom:18px;
}

.brand-card p{
    color:#666;
    line-height:1.8;
    margin-bottom:28px;
}

.brand-card a{
    color:#E31E24;
    text-decoration:none;
    font-weight:600;
}

.brand-card a:hover{
    letter-spacing:1px;
}

/*================ Responsive ================*/

@media(max-width:992px){

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

}
/*================ BRANDS WE SUPPLY (LOGO WALL) ================*/

.brand-wall{
    padding:100px 8%;
    background:#fff;
}

.brand-wall-header{
    text-align:center;
    max-width:680px;
    margin:0 auto 55px;
}

.brand-wall-header h2{
    color:#002B5B;
    font-size:38px;
    font-weight:800;
    line-height:1.2;
    margin:14px 0 16px;
}

.brand-wall-header p{
    color:#666;
    font-size:16px;
    line-height:1.8;
}

.brand-wall-image{
    max-width:1000px;
    margin:0 auto;
    text-align:center;
}

.brand-wall-image img{
    width:100%;
    height:auto;
    display:block;
    border-radius:16px;
}

@media(max-width:992px){

    .brand-wall{
        padding:70px 6%;
    }

    .brand-wall-header h2{
        font-size:30px;
    }

}

/*================ CLIENTS ================*/

.clients{
    position:relative;
    padding:120px 8%;
    background:#fff;
    overflow:hidden;
}

/* ---------- Background ---------- */

.clients::before{
    content:"";
    position:absolute;
    inset:0;
    background:url("background.png") center top no-repeat;
    background-size:90%;
    opacity:.35;
    pointer-events:none;
}

/* ---------- Heading ---------- */

.clients-header{
    position:relative;
    z-index:5;
    text-align:center;
}

.clients-tag{
    color:#E31E24;
    font-size:18px;
    font-weight:800;
    letter-spacing:3px;
    position:relative;
    display:inline-block;
    margin-bottom:15px;
}

.clients-tag::before,
.clients-tag::after{
    content:"";
    width:45px;
    height:1px;
    background:#E31E24;
    position:absolute;
    top:50%;
}

.clients-tag::before{
    right:110%;
}

.clients-tag::after{
    left:110%;
}

.clients-header h2{
    color:#002B5B;
    font-size:60px;
    font-weight:800;
    line-height:1.1;
}

.clients-header h2 span{
    font-size:72px;
}

.heading-line{
    width:60px;
    height:4px;
    background:#E31E24;
    margin:28px auto;
    border-radius:20px;
}

.clients-header p{
    color:#666;
    font-size:17px;
    line-height:1.8;
    max-width:620px;
    margin:auto;
}

/* ---------- Logo Grid ---------- */

.clients-grid{
    width:760px;
    max-width:100%;
    margin:55px auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:0;
    position:relative;
    z-index:5;
}

.logo-box{
    height:180px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-right:1px solid rgba(0,0,0,.08);
    border-bottom:1px solid rgba(0,0,0,.08);
}

.logo-box img{
    width:95%;
    max-width:220px;
    max-height:90px;
    object-fit:contain;
    transition:.35s;
}

.logo-box:nth-child(3),
.logo-box:nth-child(6){
    border-right:none;
}

.logo-box:nth-child(4),
.logo-box:nth-child(5),
.logo-box:nth-child(6){
    border-bottom:none;
}

.logo-box:hover img{
    transform:scale(1.12);
}

/* JIGPC's source file has more internal padding than the other
   logos, so it renders smaller at the same box size — sized up
   here to visually match. */
.clients-grid .logo-box:nth-child(4) img{
    max-width:270px;
    max-height:115px;
}

/* Saudi Energy and Saudi Arabia Railways logos, same reason */
.clients-grid-extra .logo-box img{
    max-width:270px;
    max-height:115px;
}


.clients-grid-extra{
    width:760px;
    max-width:100%;
    margin:0 auto 0;
    display:flex;
    justify-content:center;
    position:relative;
    z-index:5;
    border-top:1px solid rgba(0,0,0,.08);
}

.clients-grid-extra .logo-box{
    width:253px;
    border-bottom:none;
}

.clients-grid-extra .logo-box:first-child{
    border-right:1px solid rgba(0,0,0,.08);
}

/* ---------- Bottom ---------- */

.clients-divider{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    position:relative;
    z-index:5;
}

.clients-divider .line{
    width:170px;
    height:1px;
    background:#ddd;
}

.shield{
    width:40px;
    height:40px;
    background:#E31E24;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:16px;
}

.clients-footer{
    text-align:center;
    color:#666;
    margin-top:20px;
    line-height:1.8;
    font-size:16px;
    position:relative;
    z-index:5;
}

/* ---------- Responsive ---------- */

@media(max-width:900px){

.clients-header h2{
font-size:42px;
}

.clients-header h2 span{
font-size:48px;
}

.clients-grid{
grid-template-columns:repeat(2,1fr);
}

.logo-box{
border-right:none;
}

.clients-grid-extra .logo-box{
width:190px;
}

}

@media(max-width:600px){

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

.logo-box{
border:none;
border-bottom:1px solid #eee;
}

.clients-grid-extra{
flex-direction:column;
}

.clients-grid-extra .logo-box{
width:100%;
border:none;
border-bottom:1px solid #eee;
}

.clients-grid-extra .logo-box:first-child{
border-right:none;
}

}
@media(max-width:768px){

.clients-header h2{
font-size:34px;
}

.clients-header h2 span{
font-size:42px;
}

}

/*================ CONTACT =================*/

.contact-section{
    padding:110px 8%;
    background:#f8f9fb;
}

.contact-container{
    display:grid;
    grid-template-columns:1.3fr 1fr;
    gap:60px;
    margin-top:70px;
    align-items:center;
}

.contact-map{
    position:relative;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.contact-map iframe{
    width:100%;
    height:520px;
    border:0;
    pointer-events:none;
}

.contact-map-link{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding-bottom:28px;
    text-decoration:none;
    background:rgba(0,43,91,0);
    transition:background .3s ease;
}

.contact-map-link:hover{
    background:rgba(0,43,91,.15);
}

.contact-map-link span{
    background:#fff;
    color:#002B5B;
    font-weight:700;
    font-size:14.5px;
    padding:12px 24px;
    border-radius:50px;
    box-shadow:0 12px 28px rgba(0,0,0,.18);
    opacity:0;
    transform:translateY(10px);
    transition:.3s ease;
    display:flex;
    align-items:center;
    gap:8px;
}

.contact-map-link span i{
    color:#E31E24;
}

.contact-map-link:hover span{
    opacity:1;
    transform:translateY(0);
}

@media(max-width:768px){

    .contact-map-link span{
        opacity:1;
        transform:none;
    }

}

.contact-details{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.contact-card{
    display:flex;
    align-items:flex-start;
    gap:20px;
    background:#fff;
    padding:25px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.35s;
}

.contact-card:hover{
    transform:translateY(-5px);
}

.contact-card i{
    width:60px;
    height:60px;
    border-radius:50%;
    background:#E31E24;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
    flex-shrink:0;
}

.contact-card h3{
    color:#002B5B;
    margin-bottom:8px;
    font-size:22px;
}

.contact-card p{
    color:#666;
    line-height:1.8;
    font-size:16px;
}

.contact-social{
    display:flex;
    gap:18px;
    margin-top:20px;
}

.contact-social a{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#002B5B;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    transition:.35s;
    font-size:20px;
}

.contact-social a:hover{
    background:#E31E24;
    transform:translateY(-5px);
}

/*========== Responsive ==========*/

@media(max-width:900px){

.contact-container{
grid-template-columns:1fr;
}

.contact-map iframe{
height:400px;
}

}
.contact-card p a{
    color:#666;
    text-decoration:none;
    transition:.3s;
}

.contact-card p a:hover{
    color:#E31E24;
}
/*================ FLOATING BUTTON ================*/

.quote-btn{
    position:fixed;
    bottom:35px;
    right:35px;
    background:#E31E24;
    color:#fff;
    border:none;
    padding:18px 28px;
    border-radius:50px;
    cursor:pointer;
    font-size:16px;
    font-weight:700;
    box-shadow:0 15px 35px rgba(227,30,36,.35);
    z-index:9999;
    transition:.35s;
}

.quote-btn:hover{
    transform:translateY(-5px);
    background:#002B5B;
}

/*================ MODAL ================*/

.quote-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:10000;
    backdrop-filter:blur(8px);
}

.quote-box{
    width:650px;
    max-width:92%;
    background:#fff;
    border-radius:22px;
    padding:40px;
    position:relative;
    animation:popup .35s ease;
}

@keyframes popup{
from{
transform:translateY(40px);
opacity:0;
}
to{
transform:translateY(0);
opacity:1;
}
}

.close-btn{
    position:absolute;
    right:25px;
    top:20px;
    font-size:34px;
    cursor:pointer;
    color:#888;
}

.quote-box h2{
    color:#002B5B;
    margin-bottom:10px;
}

.quote-box p{
    color:#666;
    margin-bottom:30px;
}

.quote-box form{
    display:grid;
    gap:18px;
}

.quote-box input,
.quote-box select,
.quote-box textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
}

.send-btn{
    background:#E31E24;
    color:#fff;
    border:none;
    padding:16px;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
    transition:.3s;
}

.send-btn:hover{
    background:#002B5B;
}
/*================ WHATSAPP FLOATING BUTTON ================*/

.whatsapp-btn{
    position:fixed;
    bottom:120px;
    right:35px;
    width:62px;
    height:62px;
    border-radius:50px;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    overflow:hidden;
    transition:.35s ease;
    box-shadow:0 15px 35px rgba(37,211,102,.35);
    z-index:9999;
}

.whatsapp-btn i{
    font-size:32px;
    flex-shrink:0;
}

.whatsapp-btn span{
    white-space:nowrap;
    max-width:0;
    opacity:0;
    overflow:hidden;
    margin-left:0;
    font-size:16px;
    font-weight:600;
    transition:.35s ease;
}

.whatsapp-btn:hover{
    width:200px;
    justify-content:flex-start;
    padding-left:18px;
}

.whatsapp-btn:hover span{
    max-width:150px;
    opacity:1;
    margin-left:15px;
}
#form-status{
    margin-top:20px;
    text-align:center;
    font-weight:600;
    font-size:16px;
}
.success-message{
    text-align:center;
    background:#ecfdf3;
    border:1px solid #b7ebc6;
    color:#166534;
    padding:20px;
    border-radius:12px;
    margin-top:20px;
    animation:fadeIn .4s ease;
}

.success-message h3{
    margin-bottom:10px;
    font-size:22px;
}

.success-message p{
    margin:6px 0;
    font-size:15px;
    line-height:1.6;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
@media(max-width:768px){

.quote-btn{
right:15px;
bottom:20px;
padding:14px 22px;
font-size:14px;
}

.whatsapp-btn{
right:15px;
bottom:90px;
width:55px;
height:55px;
}

}

/*======================================
        RESPONSIVE - TABLET
======================================*/

@media (max-width:1024px){

.hero{
    padding:180px 40px 80px;
    gap:50px;
}

.hero h1{
    font-size:60px;
}

.hero p{
    font-size:18px;
}

.hero-right{
    max-width:500px;
}

.hero-right > img{
    height:auto;
    aspect-ratio:4/3;
}

.slider{
    max-width:500px;
    height:340px;
}

}

/*======================================
        RESPONSIVE - MOBILE
======================================*/

@media (max-width:768px){

.hero{
    display:flex;
    flex-direction:column-reverse;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:160px 20px 60px;
    gap:40px;
}

.hero-left{
    width:100%;
}

.hero-right{
    width:100%;
    display:flex;
    justify-content:center;
}

.hero-right > img{
    width:100%;
    max-width:380px;
    height:auto;
}

.slider{
    max-width:420px;
    height:300px;
}

.hero-tag{
    margin:auto;
}

.hero h1{
    font-size:46px;
    line-height:1.1;
}

.hero p{
    width:100%;
    font-size:17px;
    line-height:1.8;
}

.buttons{
    display:flex;
    flex-direction:column;
    gap:18px;
    align-items:center;
}

.buttons a{
    width:240px;
}

}
/*==========================
    HAMBURGER MENU
===========================*/

.menu-toggle{
    display:none;
    font-size:34px;
    color:#002B5B;
    cursor:pointer;
    user-select:none;
    transition:.3s;
    min-width:44px;
    min-height:44px;
    align-items:center;
    justify-content:center;
}

.menu-toggle:hover{
    color:#E31E24;
}

/*==========================
    MOBILE NAVBAR
===========================*/

@media (max-width:768px){

    .navbar{
        width:95%;
        height:75px;
        padding:0 20px;
        display:flex;
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
    }

    .logo img{
        height:55px;
    }

    .menu-toggle{
        display:flex;
    }

    .navbar ul{
        position:absolute;
        top:90px;
        left:50%;
        transform:translateX(-50%);
        width:95%;
        display:none;
        flex-direction:column;
        align-items:center;
        gap:20px;
        padding:25px;
        background:#fff;
        border-radius:18px;
        box-shadow:0 15px 40px rgba(0,0,0,.12);
        z-index:999;
    }

    .navbar ul.active{
        display:flex;
    }

    .navbar ul li{
        width:100%;
        text-align:center;
    }

    .navbar ul li a{
        display:block;
        padding:12px;
        font-size:18px;
    }

}


/*======================================
        TOUCH TAP-TARGET SAFETY NET
        (applies whenever the device is
        touch-based, regardless of width)
======================================*/

@media (pointer:coarse){

    .red-btn,
    .white-btn,
    .send-btn,
    .lang-toggle-btn,
    .theme-toggle-btn,
    .navbar ul li a,
    .industry-card a,
    .brand-card a,
    .contact-social a{
        min-height:44px;
        display:inline-flex;
        align-items:center;
        justify-content:center;
    }

    .navbar ul li a{
        justify-content:flex-start;
    }

    .close-btn{
        min-width:44px;
        min-height:44px;
        display:flex;
        align-items:center;
        justify-content:center;
    }
}

/* Prevent any accidental horizontal scroll on small screens */
@media (max-width:768px){
    body{
        overflow-x:hidden;
    }
}

/*======================================
        RESPONSIVE - SMALL PHONES
        (fine-tuning for ~480px and below,
        e.g. iPhone SE/mini and similar)
======================================*/

@media (max-width:480px){

    .hero{
        padding:150px 18px 50px;
        gap:30px;
    }

    .slider{
        height:230px;
    }

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

    .hero p{
        font-size:15.5px;
    }

    .hero-tag{
        font-size:12px;
        padding:7px 14px;
    }

    .buttons a{
        width:100%;
        text-align:center;
    }

    .about-content h2{
        font-size:28px;
    }

    .about-content p{
        font-size:15.5px;
    }

    .feature-card{
        font-size:14px;
        padding:14px;
    }

    .vm-card{
        padding:28px 22px;
    }

    .vm-card h3{
        font-size:24px;
    }

    .stats-heading h2{
        font-size:26px;
    }

    .stat-card h3{
        font-size:38px;
    }

    .stat-card span{
        font-size:15px;
    }

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

    .product-card{
        height:320px;
    }

    .product-overlay{
        padding:22px;
    }

    .product-overlay h3{
        font-size:23px;
    }

    .product-overlay li{
        font-size:15px;
    }

    .industry-card{
        padding:26px 18px;
    }

    .industry-card h3{
        font-size:20px;
    }

    .brand-card{
        padding:28px 20px;
    }

    .clients-header h2{
        font-size:26px;
    }

    .clients-header h2 span{
        font-size:32px;
    }

    .clients-grid{
        margin:35px auto;
    }

    .logo-box{
        height:120px;
    }

    .contact-card{
        padding:18px;
        gap:14px;
    }

    .contact-card i{
        width:48px;
        height:48px;
        font-size:18px;
    }

    .contact-map iframe{
        height:280px;
    }

    .quote-box{
        padding:26px;
    }

    .quote-box h2{
        font-size:22px;
    }

    .quote-btn{
        padding:12px 18px;
        font-size:13px;
    }

    .whatsapp-btn{
        width:50px;
        height:50px;
    }

    .whatsapp-btn i{
        font-size:26px;
    }

}
/*======================================
        ENGLISH / ARABIC LANGUAGE TOGGLE
======================================*/

/* Arabic font */
html.lang-ar body,
html.lang-ar .navbar ul li a,
html.lang-ar .hero-tag,
html.lang-ar h1, html.lang-ar h2, html.lang-ar h3,
html.lang-ar p, html.lang-ar span, html.lang-ar a,
html.lang-ar li, html.lang-ar button, html.lang-ar input,
html.lang-ar select, html.lang-ar textarea, html.lang-ar option{
    font-family:'Tajawal', sans-serif;
}

/* Fixed wrapper, top-right corner of the viewport — holds both toggles */
.utility-toggles{
    position:fixed;
    top:20px;
    right:30px;
    z-index:1001;
    display:flex;
    align-items:center;
    gap:12px;
}

[dir="rtl"] .utility-toggles{
    right:auto;
    left:30px;
}

.lang-toggle-btn{
    display:flex;
    align-items:center;
    gap:8px;
    background:#ffffff;
    color:#002B5B;
    border:1px solid #e1e5ec;
    border-radius:50px;
    padding:10px 18px;
    font-family:'Poppins', sans-serif;
    font-weight:600;
    font-size:13.5px;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
    transition:.3s;
}

.lang-toggle-btn i{
    font-size:14px;
    color:#E31E24;
}

.lang-toggle-btn:hover{
    background:#002B5B;
    color:#fff;
    transform:translateY(-3px);
}

.lang-toggle-btn:hover i{
    color:#FFD54F;
}

/* Dark / Light mode toggle — same shape, icon-only */
.theme-toggle-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    flex-shrink:0;
    background:#ffffff;
    color:#002B5B;
    border:1px solid #e1e5ec;
    border-radius:50%;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
    transition:.3s;
}

.theme-toggle-btn i{
    font-size:16px;
    color:#E31E24;
    transition:.3s;
}

.theme-toggle-btn:hover{
    background:#002B5B;
    transform:translateY(-3px);
}

.theme-toggle-btn:hover i{
    color:#FFD54F;
}

/* Keep the button readable in Arabic (Tajawal) too */
html.lang-ar .lang-toggle-btn{
    font-family:'Tajawal', sans-serif;
}

/* Mirror the directional arrows in buttons/cards when reading right-to-left */
[dir="rtl"] .buttons .arrow{
    display:inline-block;
    transform:scaleX(-1);
}

[dir="rtl"] .product-overlay a span:last-child{
    display:inline-block;
    transform:scaleX(-1);
}

@media(max-width:768px){

    .utility-toggles{
        top:100px;
        right:14px;
        gap:10px;
    }

    [dir="rtl"] .utility-toggles{
        right:auto;
        left:14px;
    }

    .lang-toggle-btn{
        padding:8px 14px;
        font-size:12px;
        box-shadow:0 8px 20px rgba(0,0,0,.12);
    }

    .theme-toggle-btn{
        width:38px;
        height:38px;
        box-shadow:0 8px 20px rgba(0,0,0,.12);
    }

}

@media(max-width:480px){

    .lang-toggle-btn span{
        display:none;
    }

    .lang-toggle-btn{
        padding:9px;
        width:36px;
        height:36px;
        justify-content:center;
    }

    .theme-toggle-btn{
        width:36px;
        height:36px;
    }

}

/* Floating toggle button — sits above the WhatsApp button */
#mgate-chat-toggle{
    position: fixed;
    bottom: 205px;
    right: 35px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #002B5B;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 15px 35px rgba(0,43,91,.35);
    transition: .3s ease;
    z-index: 9999;
}

#mgate-chat-toggle:hover{
    background: #E31E24;
    transform: translateY(-4px);
}

#mgate-chat-toggle.active i:before{
    content: "\f00d"; /* fa-xmark, swap icon to a close X while open */
}

/* Chat panel */
#mgate-chat-panel{
    position: fixed;
    bottom: 280px;
    right: 35px;
    width: 340px;
    max-width: calc(100vw - 40px);
    height: 460px;
    max-height: calc(100vh - 320px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(.97);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 9999;
}

#mgate-chat-panel.open{
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#mgate-chat-header{
    background: linear-gradient(135deg,#002B5B 0%,#013a75 100%);
    color: #fff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

#mgate-chat-header-text{
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#mgate-chat-header-text strong{
    font-size: 15px;
}

#mgate-chat-header-text span{
    font-size: 11.5px;
    color: #b9c8dc;
}

#mgate-chat-close{
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

#mgate-chat-body{
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #F7F8FA;
}

.mgate-msg{
    max-width: 85%;
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.55;
}

.mgate-msg-bot{
    align-self: flex-start;
    background: #fff;
    border: 1px solid #E1E3E0;
    color: #1C2126;
    border-bottom-left-radius: 4px;
}

.mgate-msg-user{
    align-self: flex-end;
    background: #002B5B;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.mgate-options{
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
}

.mgate-option-btn{
    background: #fff;
    border: 1.5px solid #002B5B;
    color: #002B5B;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 20px;
    cursor: pointer;
    text-align: left;
    transition: .2s ease;
}

.mgate-option-btn:hover{
    background: #E31E24;
    border-color: #E31E24;
    color: #fff;
}

#mgate-chat-body::-webkit-scrollbar{ width: 6px; }
#mgate-chat-body::-webkit-scrollbar-thumb{ background: #ccc; border-radius: 4px; }

/*======================================
MOBILE — chatbot widget
========================================*/

@media(max-width:768px){

    #mgate-chat-toggle{
        right: 15px;
        bottom: 160px;
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    #mgate-chat-panel{
        right: 15px;
        left: 15px;
        width: auto;
        bottom: 225px;
        height: 55vh;
        max-height: 55vh;
    }

}

/*======================================
        DARK MODE
        (activated via html.dark-mode,
        toggled by #themeToggle — see
        script.js)
======================================*/

html.dark-mode{
    color-scheme:dark;
}

html.dark-mode body{
    background:linear-gradient(180deg,#0e1318 0%,#141a21 100%);
}

/* ---------- Navbar ---------- */

html.dark-mode .navbar{
    background:rgba(20,26,33,.96);
    box-shadow:0 15px 40px rgba(0,0,0,.4);
}

html.dark-mode .navbar ul li a{
    color:#E9EDF2;
}

html.dark-mode .navbar ul{
    background:#1A2027;
}

/* ---------- Hero ---------- */

html.dark-mode .hero h1{
    color:#F3F5F7;
}

html.dark-mode .hero p{
    color:#AEB8C2;
}

html.dark-mode .white-btn{
    border-color:#4C5A68;
    color:#E9EDF2;
}

html.dark-mode .white-btn:hover{
    background:#E9EDF2;
    color:#0e1318;
}

/* ---------- Section backgrounds ---------- */

html.dark-mode .about,
html.dark-mode .products,
html.dark-mode .brands,
html.dark-mode .brand-wall,
html.dark-mode .clients,
html.dark-mode .contact-section{
    background:#11161C;
}

/* ---------- Headings ---------- */

html.dark-mode .about-content h2,
html.dark-mode .section-header h2,
html.dark-mode .vm-card h3,
html.dark-mode .contact-card h3,
html.dark-mode .brand-card h3,
html.dark-mode .industry-card h3,
html.dark-mode .clients-header h2,
html.dark-mode .brand-wall-header h2,
html.dark-mode .president-content h3{
    color:#F3F5F7;
}

/* ---------- Body copy ---------- */

html.dark-mode .about-content p,
html.dark-mode .section-header p,
html.dark-mode .vm-card p,
html.dark-mode .brand-card p,
html.dark-mode .industry-card p,
html.dark-mode .contact-card p,
html.dark-mode .clients-header p,
html.dark-mode .brand-wall-header p,
html.dark-mode .clients-footer,
html.dark-mode .stats-heading p{
    color:#AEB8C2;
}

/* ---------- Cards ---------- */

html.dark-mode .feature-card,
html.dark-mode .vm-card,
html.dark-mode .industry-card,
html.dark-mode .brand-card,
html.dark-mode .contact-card{
    background:#1A2027;
    border-color:rgba(255,255,255,.08);
    box-shadow:0 15px 40px rgba(0,0,0,.3);
}

html.dark-mode .feature-card{
    color:#E9EDF2;
}

html.dark-mode .feature-card:hover{
    background:#002B5B;
    color:#fff;
}

/* Logos read best on a light backdrop — keep those cards white
   even in dark mode instead of trying to re-theme every logo file */
html.dark-mode .brand-wall-image,
html.dark-mode .clients-grid,
html.dark-mode .clients-grid-extra{
    background:#fff;
    border-radius:16px;
    padding:15px;
    box-shadow:0 15px 40px rgba(0,0,0,.3);
}

html.dark-mode .brand-card img{
    filter:none;
}

/* ---------- Quote modal ---------- */

html.dark-mode .quote-modal{
    background:rgba(0,0,0,.7);
}

html.dark-mode .quote-box{
    background:#1A2027;
}

html.dark-mode .quote-box h2{
    color:#F3F5F7;
}

html.dark-mode .quote-box p{
    color:#AEB8C2;
}

html.dark-mode .quote-box input,
html.dark-mode .quote-box select,
html.dark-mode .quote-box textarea{
    background:#11161C;
    border-color:rgba(255,255,255,.15);
    color:#E9EDF2;
}

html.dark-mode .close-btn{
    color:#AEB8C2;
}

/* ---------- Language toggle ---------- */

html.dark-mode .lang-toggle-btn,
html.dark-mode .theme-toggle-btn{
    background:#1A2027;
    color:#E9EDF2;
    border-color:rgba(255,255,255,.12);
}

html.dark-mode .lang-toggle-btn:hover,
html.dark-mode .theme-toggle-btn:hover{
    background:#002B5B;
}

/* ---------- Chatbot widget ---------- */

html.dark-mode #mgate-chat-panel{
    background:#1A2027;
}

html.dark-mode #mgate-chat-body{
    background:#11161C;
}

html.dark-mode .mgate-msg-bot{
    background:#1A2027;
    border-color:rgba(255,255,255,.1);
    color:#E9EDF2;
}

html.dark-mode .mgate-option-btn{
    background:#1A2027;
    border-color:#3a4756;
    color:#E9EDF2;
}

html.dark-mode .mgate-option-btn:hover{
    background:#E31E24;
    border-color:#E31E24;
    color:#fff;
}

/* ---------- Contact map hover label ---------- */

html.dark-mode .contact-map-link span{
    background:#1A2027;
    color:#E9EDF2;
}