
html {
    scroll-behavior: smooth; /* حركة نزول ناعمة */
    scroll-padding-top: 80px; /* المسافة دي عشان لو عندك الهيدر ثابت فوق ميعملش غطاء على عنوان السكشن */
    overflow-x: hidden;
    max-width: 100%;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Global brand font — consistent, clear look in both Arabic and English */
body {
    font-family: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* Thin (300) headings read weak in Cairo — bump display headings to a
   sturdier weight for a cleaner, more premium look */
.display-1, .display-2, .display-3, .display-4,
h1.fw-light, h2.fw-light, h3.fw-light {
    font-weight: 600 !important;
}


:root{
    --main:#CDA164; 
    --text:#A97E54;
    --light-text:#E4C18E;
        --gold:#D4A76A;
    --gold-light:#e4c08c;
    --dark:#1A120D;

}

/* Navbar Styles */

.navbar{
    background: transparent !important;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled{
    background: rgba(26, 18, 13, 0.97) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.navbar-nav .nav-link{
    color: #fff !important;
}

.navbar-nav .nav-link:hover{
    color: #D4A76A !important;
}
.nv-btn{
    background-color: var(--main);
}

.navbar .nav-item:hover .nav-link{
    color: var(--light-text);
}

.navbar .nav-link{
    position: relative;
}

.navbar .nav-link::after{
    content: "  ";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--light-text);
    transition: width 0.3s ease;
}

.navbar .nav-link:hover::after{
    width: 100%;
}

/* End Navbar Styles */
/* Hero Section Styles */
.hero-section{
    min-height:100vh;
    position:relative;
    overflow:hidden;

    background:
    repeating-linear-gradient(
        90deg,
        rgba(212,167,106,.03) 0px,
        rgba(212,167,106,.03) 2px,
        transparent 2px,
        transparent 60px
    ),
    radial-gradient(
        circle at center,
        rgba(212,167,106,.08),
        transparent 60%
    ),
    #1a120d;
}

.hero-section::before{
    content:"";
    position:absolute;
    inset:0;

    background-image:
    linear-gradient(rgba(197, 185, 168, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 107, 47, 0.05) 1px, transparent 1px);

    background-size:60px 60px;

    opacity:.4;
}

.text-gold{
    color:var(--gold);
}

.text-gold-light{
    color:var(--gold-light);
}
.hero-section::before{
    pointer-events: none;
}

.hero-section::after{
    pointer-events: none;
}
.btn-gold{

    background:var(--gold);
    color:#fff;
    border:none;
    cursor: pointer !important;
}

.btn-gold:hover{
    background:#c99755;
    color:#fff;
}

.btn-outline-gold{
    
    border:2px solid var(--gold);
    color:var(--gold);
}

.btn-outline-gold:hover{
    background:var(--gold);
    color:#fff;
}

.diamond{
    position:absolute;
    border:3px solid var(--gold);
    border-radius:16px;
    transform:rotate(45deg);
    opacity:.5;
}

.diamond-center{
    width:90px;
    height:90px;
    top:22%;
    left:50%;
    transform:translateX(-50%) rotate(45deg);
    opacity:1;
}

.diamond-left{
    width:50px;
    height:50px;
    top:10%;
    left:22%;
}

.diamond-right{
    width:50px;
    height:50px;
    top:9%;
    right:22%;
}

.diamond-top-right{
    width:60px;
    height:60px;
    top:3%;
    right:3%;
}


@media (max-width: 768px) {

.nv-btn{
    display: none;
}
}
/* EndHero Section Styles */

.stats-section{
    background:#f7f5f3;
    padding:100px 0;
}

.text-main{
    color:var(--main);
}

.stats-desc{
    max-width:700px;
    color:var(--text);
    font-size:1.2rem;
    line-height:1.8;
}

.stat-card{
    background:#fff;
    border-radius:20px;
    padding:35px 25px;
    height:100%;
    transition:.4s;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.stat-card:hover{
    transform:translateY(-10px);
}

.icon-box{
    width:70px;
    height:70px;
    margin:auto;
    margin-bottom:20px;
    border-radius:50%;
    background:rgba(205,161,100,.12);

    display:flex;
    align-items:center;
    justify-content:center;
}

.icon-box i{
    font-size:28px;
    color:var(--main);
}

.stat-number{
    font-size:4rem;
    font-weight:300;
    color:var(--dark);
    margin-bottom:10px;
}

.stat-number span{
    color:var(--main);
}

.stat-card p{
    color:var(--text);
    font-size:1.2rem;
    margin:0;
}

@media(max-width:768px){

    .display-3{
        font-size:2.4rem;
    }

    .stat-number{
        font-size:3rem;
    }

    .stats-desc{
        font-size:1rem;
    }
.stat-card{
    opacity:0;
    transform:translateY(60px);
    transition:all .8s ease;
}

.stat-card.show{
    opacity:1;
    transform:translateY(0);
}

.stat-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.stat-number{
    transition:all .3s ease;
}
}
.icon-box svg{
    color:var(--main);
}
.Tradition-section svg{
    color:var(--main);
}

.text-main{
    color: var(--main);
}

.timeline::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:4px;
    background:#eadfce;
}

.timeline-dot{
    width:48px;
    height:48px;
    border-radius:50%;
    background:var(--main);
    border:10px solid #fff;
    box-shadow:0 0 10px rgba(0,0,0,.1);
    z-index:2;
}

.industries{
    background: var(--dark);
}

.text-gold{
    color: var(--gold);
}

.text-gold-light{
    color: var(--gold-light);
}

.industry-card{
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(212,167,106,.2);
    border-radius: 20px;
    transition: .3s;
}

.industry-card:hover{
    transform: translateY(-6px);
    border-color: var(--gold);
}

.icon{
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background: rgba(212,167,106,.1);
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.industry-card h4{
    color:#fff;
    margin-bottom:15px;
}

.industry-card p{
    color: var(--gold-light);
    margin:0;
    line-height:1.8;
}

:root{
    --main:#CDA164;
    --text:#A97E54;
    --light-text:#E4C18E;
    --gold:#D4A76A;
    --gold-light:#e4c08c;
    --dark:#1A120D;
}

.products{
    background:#f8f8f8;
}

.text-gold{
    color:var(--gold);
}

.card{
    border-radius:20px;
    overflow:hidden;
}

.card-img-top{
    height:260px;
    object-fit:cover;
}
.card{
    border-radius:20px;
    transition:all .3s ease;
    overflow:visible; 
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:
        0 15px 35px rgba(0,0,0,.15),
        0 5px 15px rgba(0,0,0,.1);
}
.card{
    transition: transform .4s ease, box-shadow .4s ease;
}

.text-gold{
    color: var(--gold);
}

.process-line{
    position:absolute;
    top:60px;
    left:0;
    width:100%;
    height:3px;
    background:var(--gold);
    z-index:0;
}

.process-step{
    position:relative;
    z-index:2;
}

.step-icon{
    width:120px;
    height:120px;
    border-radius:50%;
    background:var(--main);

    display:flex;
    align-items:center;
    justify-content:center;

    color:white;
    font-size:2.5rem;

    transition:.3s;
}

.process-step:hover .step-icon{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(205,161,100,.35);
}
.industries {
    padding: 50px;

}

.dashboard-section{
    background:#241913;
    position:relative;
}

.dashboard-box{
    padding:70px 50px;

    border:1px solid rgba(212,167,106,.25);
    border-radius:24px;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.15),
        rgba(212,167,106,.05),
        rgba(0,0,0,.15)
    );
}

.text-main{
    color:var(--gold);
}

.text-gold{
    color:var(--gold-light);
}

.metric-card{
    background:rgba(255,255,255,.03);

    border:1px solid rgba(212,167,106,.18);
    border-radius:18px;

    padding:25px;

    transition:.4s;
}

.metric-card:hover{
    transform:translateY(-8px);

    border-color:var(--gold);

    box-shadow:
    0 15px 35px rgba(0,0,0,.25),
    0 0 25px rgba(212,167,106,.15);
}

.metric-card h6{
    color:var(--gold-light);
    font-size:1.1rem;
    margin-bottom:15px;
}

.metric-card h3{
    color:var(--gold);
    font-size:3rem;
    font-weight:300;
    margin-bottom:10px;
}

.metric-card h3 small{
    font-size:1.7rem;
}

.growth{
    color:#00ff7b;
    font-size:1.2rem;
    font-weight:600;
}

.gallery-section{
    background:#f7f7f7;
}

.text-main{
    color:var(--main);
}

.text-gold{
    color:var(--text);
}

.gallery-grid{
    display:grid;

    grid-template-columns:
        1fr
        1fr
        1fr;

    gap:15px;

    grid-auto-flow:dense;
}

.gallery-item{
    overflow:hidden;
    border-radius:18px;
    cursor:pointer;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition: .5s;
    display: block;

}

.gallery-item:hover img{
    transform:scale(1.08);
}

.tall{
    grid-row:span 2;
}

/* Heights */

.gallery-item:not(.tall){
    height:260px;
}

.tall{
    height:580px;
}

@media(max-width:992px){

    .gallery-grid{
        grid-template-columns:1fr 1fr;
    }

    .tall{
        height:450px;
    }
}

@media(max-width:768px){

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .gallery-item,
    .tall{
        height:300px;
    }
}

.certifications-partners{
    background:#f8f8f8;
}

.text-main{
    color:var(--main);
}

/* Certifications */

.cert-circle{
    width:110px;
    height:110px;

    border-radius:50%;

    background:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:.9rem;
    text-align:center;

    border:1px solid rgba(205,161,100,.15);

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.cert-circle:hover{
    transform:translateY(-6px);
}

.partners-slider{
    overflow: hidden;
    width: 100%;
    position: relative;
    direction: ltr !important;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.partners-track{
    display: flex;
    gap: 20px;
    width: max-content;
    direction: ltr !important;
    will-change: transform;

    animation: scrollPartners 28s linear infinite;
}

.partners-slider:hover .partners-track{
    animation-play-state: paused;
}

.partner-box{
 min-width: 100px;
height: 100px;

 border-radius: 35px;
 background: #ffffff;

display: flex;
 align-items: center;
 justify-content: center;
font-weight: 600;
 color: var(--main);

 border: 1px solid rgba(205,161,100,.15);
 box-shadow: 0 3px 12px rgba(0,0,0,.05);

flex-shrink: 0;
}
.partner-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; 
}

@keyframes scrollPartners{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-50%);
    }
}

.stats-box{
    background: linear-gradient(
        90deg,
        #34261d 0%,
        #1a120d 50%,
        #0f0905 100%
    );

    border-radius: 22px;
    padding: 40px 20px;
}

.stat-item h2{
    color: var(--gold);
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 5px;
}

.stat-item p{
    color: var(--gold-light);
    font-size: 1rem;
    margin: 0;
}

@media (max-width:768px){

    .stat-item{
        margin-bottom: 25px;
    }

    .stat-item h2{
        font-size: 2.5rem;
    }
}
.blog-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.4s;
}

.blog-card:hover{
    transform:translateY(-10px);
}

.blog-img{
    position:relative;
    overflow:hidden;
}

.blog-img img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.5s;
}

.blog-card:hover img{
    transform:scale(1.08);
}

.blog-tag{
    position:absolute;
    top:15px;
    left:15px;
    background:var(--gold);
    color:#000;
    padding:6px 14px;
    border-radius:30px;
    font-size:.8rem;
}

.blog-content{
    padding:25px;
}

.blog-content small{
    color:var(--text);
}

.blog-content h3{
    margin:15px 0;
    color:var(--dark);
    font-size:1.8rem;
}

.blog-content p{
    color:#777;
    line-height:1.8;
}

.blog-content a{
    color:var(--main);
    text-decoration:none;
    font-weight:600;
}

.btn-gold{
    background:var(--gold);
    color:#000;
    border-radius:10px;
}

.btn-gold:hover{
    background:var(--main);
    color:#fff;
}

.text-main{
    color:var(--main);
}

.text-gold{
    color:var(--text);
}

.smart-factory{
    background:
        radial-gradient(circle at center,
            rgba(205,161,100,.06) 0%,
            transparent 70%),
        #241913;
    position: relative;
    overflow: hidden;
}

/* Grid Pattern */
.smart-factory::before{
    content:"";
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(
            rgba(212,167,106,.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(212,167,106,.05) 1px,
            transparent 1px
        );
    background-size:60px 60px;
    pointer-events:none;
}

.icon-circle{
    width:80px;
    height:80px;
    border-radius:50%;
    background:rgba(212,167,106,.15);
    color:var(--gold);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2rem;
}

.text-main{
    color:var(--gold);
}

.text-gold{
    color:var(--gold-light);
}

.smart-card{
    position:relative;
    z-index:2;

    background:rgba(20,13,8,.75);
    border:1px solid rgba(212,167,106,.15);

    border-radius:22px;
    padding:32px;

    backdrop-filter:blur(10px);

    transition:.4s ease;
}

.smart-card:hover{
    transform:translateY(-10px);
    border-color:var(--gold);
    box-shadow:
        0 15px 35px rgba(0,0,0,.3),
        0 0 25px rgba(212,167,106,.15);
}

.card-icon{
    width:64px;
    height:64px;
    border-radius:16px;
    background:rgba(212,167,106,.12);

    color:var(--gold);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:1.8rem;
    margin-bottom:35px;
}

.smart-card h3{
    color:#fff;
    font-size:2rem;
    margin-bottom:30px;
}

.smart-card p{
    color:var(--gold-light);
    font-size:1.1rem;
    line-height:1.8;
    min-height:100px;
}

.smart-card hr{
    border-color:rgba(212,167,106,.15);
    margin:30px 0;
}

.stat{
    display:flex;
    align-items:baseline;
    gap:10px;
}

.stat span{
    color:var(--gold);
    font-size:3rem;
    font-weight:300;
}

.stat small{
    color:var(--gold-light);
    font-size:1.3rem;
}

.career-form-section{
    background:#f8f8f8;
}

.form-wrapper{
    max-width:900px;

    background:#fff;

    border-radius:18px;

    padding:40px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

.form-wrapper h2{
    font-size:3rem;
    font-weight:300;
}

.text-main{
    color:var(--main);
}

.form-label{
    color:var(--dark);
    font-weight:500;
    margin-bottom:10px;
}

.form-control{
    height:55px;

    border:1px solid rgba(205,161,100,.35);

    border-radius:10px;

    padding:0 15px;
}

.form-control:focus{
    border-color:var(--main);
    box-shadow:none;
}

.upload-box{
    width:100%;
    min-height:180px;

    border:2px dashed rgba(205,161,100,.3);
    border-radius:12px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    cursor:pointer;

    transition:.3s;
}

.upload-box:hover{
    border-color:var(--main);
    background:rgba(205,161,100,.03);
}

.upload-box i{
    font-size:3rem;
    color:var(--main);
    margin-bottom:15px;
}

.upload-box h6{
    color:var(--text);
}

.upload-box p{
    color:#999;
    margin:0;
}

.btn-submit{
    background:var(--main);
    color:#000;

    height:58px;

    border:none;
    border-radius:10px;

    font-size:1.1rem;
    font-weight:500;

    transition:.3s;
}

.btn-submit:hover{
    background:var(--text);
    color:#fff;
}

@media(max-width:768px){

    .form-wrapper{
        padding:25px;
    }

    .form-wrapper h2{
        font-size:2rem;
    }
}

.contact-card,
.info-card{
    background:#fff;
    border-radius:18px;
    padding:25px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.contact-card h3{
    color:var(--dark);
}

.form-control{
    border:1px solid rgba(205,161,100,.3);
    border-radius:8px;
}

.form-control:focus{
    border-color:var(--main);
    box-shadow:none;
}

.btn-contact{
    background:var(--main);
    color:#000;
    height:55px;
    border:none;
    border-radius:10px;
    font-weight:600;
}

.btn-contact:hover{
    background:var(--text);
    color:#fff;
}

.info-card{
    min-height:180px;
}

.icon-box{
    width:50px;
    height:50px;
    border-radius:50%;
    background:rgba(205,161,100,.12);

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:20px;
}

.icon-box i{
    color:var(--main);
    font-size:1.2rem;
}

.info-card h5{
    margin-bottom:15px;
    color:var(--dark);
}

.info-card p{
    color:#8d8d8d;
    margin:0;
    line-height:1.8;
}

.map-card{
    background:linear-gradient(
        135deg,
        #2b1f18,
        #8d6944
    );

    color:#fff;

    text-align:center;

    border-radius:18px;

    padding:70px 30px;
}

.map-card i{
    font-size:4rem;
    color:var(--gold);
    margin-bottom:20px;
}

.map-card h4{
    margin-bottom:15px;
}

.text-main{
    color:var(--main);
}

.text-gold{
    color:var(--text);
}

.whatsapp-card{
    background:linear-gradient(
        135deg,
        #2b1f18,
        #120c08
    );

    border-radius:18px;

    padding:50px 30px;

    text-align:center;

    color:#fff;
}

.whatsapp-card i.bi-chat-dots{
    font-size:3.5rem;
    color:var(--gold);

    display:block;
    margin-bottom:20px;
}

.whatsapp-card h4{
    font-size:2rem;
    margin-bottom:15px;
}

.whatsapp-card p{
    color:var(--gold-light);
    margin-bottom:25px;
}

.whatsapp-btn{
    background:#25D366;
    color:#fff;

    border:none;

    padding:12px 28px;

    border-radius:10px;

    font-weight:600;
}

.whatsapp-btn:hover{
    background:#1ebe5d;
    color:#fff;
}


.footer-section{
    background:linear-gradient(
        90deg,
        #34261d,
        #1a120d,
        #0f0905
    );

    color:#fff;
}

.footer-logo{
    max-width:180px;
}

.footer-text{
    color:var(--gold-light);
    line-height:1.8;
}

.social-links{
    display:flex;
    gap:15px;
}

.social-links a{
    color:#fff;
    font-size:1.1rem;
    transition:.3s;
}

.social-links a:hover{
    color:var(--gold);
}

.footer-section h5{
    color:var(--gold);
    margin-bottom:20px;
}

.footer-links{
    list-style:none;
    padding:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:var(--gold-light);
    text-decoration:none;
}

.footer-links a:hover{
    color:var(--gold);
}

.contact-list{
    list-style:none;
    padding:0;
}

.contact-list li{
    margin-bottom:15px;
    color:var(--gold-light);
}

.contact-list i{
    color:var(--gold);
    margin-right:8px;
}

.newsletter-form{
    display:flex;
}

.newsletter-form input{
    flex:1;
    border:1px solid rgba(212,167,106,.3);
    background:transparent;
    color:#fff;
    padding:10px;
    border-radius:8px 0 0 8px;
}

.newsletter-form button{
    background:var(--gold);
    border:none;
    padding:10px 15px;
    border-radius:0 8px 8px 0;
}

.certifications{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
    text-align:center;
    padding:15px 0;
}

.certifications div{
    display:flex;
    flex-direction:column;
}

.certifications strong{
    color:var(--gold);
}

.certifications span{
    color:var(--gold-light);
    font-size:.9rem;
}

.footer-section hr{
    border-color:rgba(212,167,106,.15);
}

.copyright{
    text-align:center;
    color:var(--gold-light);
    padding-bottom:25px;
}

/* Transitions */
.stat-card{
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.stat-card.show{
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover{
    transform: translateY(-10px);
}
.col-lg-3:nth-child(1) .stat-card{
    transition-delay: .1s;
}

.col-lg-3:nth-child(2) .stat-card{
    transition-delay: .2s;
}

.col-lg-3:nth-child(3) .stat-card{
    transition-delay: .3s;
}

.col-lg-3:nth-child(4) .stat-card{
    transition-delay: .4s;
}

.Tradition-section .col-lg-6{
    opacity: 0;
    transition: all .8s ease;
}

.Tradition-section .col-lg-6:first-child{
    transform: translateX(-80px);
}

.Tradition-section .col-lg-6:last-child{
    transform: translateX(80px);
}

.Tradition-section .col-lg-6.show{
    opacity: 1;
    transform: translateX(0);
}
.left-animate,
.right-animate{
    opacity: 0;
    transition: all .8s ease;
}

.left-animate{
    transform: translateX(-80px);
}

.right-animate{
    transform: translateX(80px);
}

.left-animate.show,
.right-animate.show{
    opacity: 1;
    transform: translateX(0);
}

.products .row > div{
    opacity: 0;
    transform: translateY(80px);
    transition: all .8s ease;
}

.products .row > div.show{
    opacity: 1;
    transform: translateY(0);
}

.industries .col-lg-3{
    opacity: 0;
    transform: scale(0.3);
    transition: all .7s ease;
}

.industries .col-lg-3.show{
    opacity: 1;
    transform: scale(1);
}

.smart-card,
.metric-card,
.gallery-item,
.cert-circle,
.stat-item,
.blog-card,
.form-wrapper,
.contact-card,
.info-card,
.whatsapp-card{
    opacity: 0;
    transform: translateY(80px);
    transition: all .8s ease;
}

.smart-card.show,
.metric-card.show,
.gallery-item.show,
.cert-circle.show,
.stat-item.show,
.blog-card.show,
.form-wrapper.show,
.contact-card.show,
.info-card.show,
.whatsapp-card.show{
    opacity: 1;
    transform: translateY(0);
}