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

html {
    scroll-behavior: smooth;
}

:root {
    --bg: #faf9f7;
    --text: #263648;
    --border: #dedede;
    --primary:#1F2038;
    --gold:#B78B2C;
    --text:#23243A;
    --muted:#8E8E95;
    --border:#E8DED1;
    --bg:#F9F5EF;

    --green:#25D366;
    --green-light:#EAF8EF;

    --beige:#F9F1E6;
}

body {
    margin: 0;
    font-family:"Alexandria",sans-serif;
    background: var(--bg) ;
}


li {
    list-style: none;
}




h1 {
    word-spacing: -5px;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    word-spacing: -5px;


}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 140%;

}

a {
    text-decoration: none;
    font-weight: 900;

}


/*------------------------------------Header-section-----------------------------------------------------*/
main {
    background-repeat: no-repeat;
    background-size: 100%; 
    position: relative; 
    width: 100%;
    background-position: center top; 
    background-image: url("../images/projects/website-background2.png");
    margin-bottom: 3rem;
}

.container {
    width: min(1300px, 90%);
    margin: auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 18px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}



.logo {
    display: flex;
    gap: 1.5rem;
}


.nav-links {
    display: flex;
    align-items: center;

}

.btn-primary-navbar {
    display: flex;
    gap: 1rem;
    align-items: center;

    background:#c58a3a;

    color: white;

    padding:12px 28px;
    margin-left: 1rem;

    border-radius:12px;

    text-decoration:none;
    font-weight: bold;

    transition:.3s;
}

.btn-primary-navbar:hover{
    color: white;
    transform:translateY(-3px);

}

.links {
    font-weight: bold;
    transition: transform 0.2s ease, background 0.2s ease;
    

}

.logo-navbar{
    margin-top: 10px;
    width: 14rem;
    height: 8rem;
}




.links a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    color: var(--text);
}

.active-link a {
    color: #b88b4a ;
    border-bottom: 1px solid #b88b4a ;
    font-weight: 900;


}




.links a:hover {
    color: #b88b4a;
}

.toggler {
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    background-color: transparent;
    border: none;
    transition: color 0.2s ease;
    position: sticky;
    margin-right: 1rem;
}

.toggler:hover {
    color: #b88b4a;
}

.nav-overlay {
    
    width: min(1200px, 95%);
    position: fixed;
    left: 50%;
    width: min(800px, 85%);
    border-radius: 10px;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-radius: 0 0 14px 14px ;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);

    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
    z-index: 1000;


}
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}





.nav-overlay-items .links a {
    font-size: 1.1rem;
}



/*hero-start */

#hero {
    display: flex;
    flex-direction: column;

    padding: 20px;
}

.hero{
    
    display:flex;
    flex-direction:row-reverse;
    gap: 1rem;
    align-items:center;



}

.hero-text{
    flex:1;
}

.hero-tag{

    display:inline-block;

    padding:8px 18px;

    border: 2px solid #5c4c36;
    color:#fff;

    border-radius:50px;





}

.hero h1{

    font-size:4rem;
    color: #ffffff;
    line-height:1.15;

    margin-bottom:25px;

    font-weight:700;
}

.hero span {
    color:#b88b4a;
}

.hero p{

    font-size:1.25rem;

    line-height:1.9;

    color:#d4d3d2;

    max-width:550px;

    margin-bottom:45px;

}

.hero-buttons{

    display:flex;

    gap:18px;

}

.btn-primary{
    display: flex;
    gap: 1rem;
    align-items: center;

    background:#a47834;

    color: white;

    padding:18px 28px;

    border-radius:12px;

    text-decoration:none;
    font-weight: bold;

    transition:.3s;

}

.btn-primary:hover{
    color: white;
    transform:translateY(-3px);

}

.btn-secondary{
    display: flex;
    gap: 1rem;
    align-items: center;

    border:1px solid #ffffff;
    font-weight: bold;
    color:#bebdbb;

    padding:18px 28px;

    border-radius:12px;

    text-decoration:none;

    transition:.3s;

}

.btn-secondary:hover{

    background:#a47834;
    color:white;

}





.features {
    padding: 70px 0;
    position: relative;
    z-index: 2;
}

.features-container {
    max-width: 1300px;
    margin: auto;
    padding: 0 25px;

    display: grid;
    grid-template-columns: repeat(4,1fr);

    background: rgba(20,20,20,.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(0,0,0,.35),
        inset 0 1px rgba(255,255,255,.05);
}

.feature-item{
    display:flex;
    flex-direction:row-reverse;
    align-items:center;
    justify-content:center;

    gap:18px;

    padding:30px 35px;
    position:relative;
    transition:.35s;
}

.feature-item:not(:last-child)::after{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:1px;
    height:55%;

    background:rgba(255,255,255,.08);
}

.feature-item:hover{
    background:rgba(255,255,255,.03);
}

.feature-icon{
    width:56px;
    height:56px;

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

    font-size:26px;

    color:#b7864d;

    flex-shrink:0;
}

.feature-text{
    text-align:right;
}

.feature-text h3{
    color:#fff;
    font-size:18px;
    margin-bottom:6px;
    font-weight:700;
}

.feature-text p{
    color:#b8b8b8;
    font-size:14px;
    line-height:1.7;
}

/* Hover Animation */

.feature-item:hover .feature-icon{
    transform:translateY(-3px) scale(1.08);
    transition:.35s;
    color:#d8a15f;
}


/* about-us-start */

#about-us {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative; /* Gives context to the section */
}

/* Updated Navbar Styles */
.navbar-about-us {
    position: fixed; /* Takes it out of the flex flow so it can float */
    top: 20px;
    right: 5%;      /* Aligns it toward the right side */
    z-index: 1000;
    
    /* Styling to match your mockup */
    background-color: #ffffff;
    border-radius: 50px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    padding: 10px 25px;
    display: flex;
    align-items: center;
    gap: 30px; /* Adjusts spacing between logo, links, and button */

    /* Hidden state by default */
    opacity: 0;
    transform: translateY(-20px); /* Starts slightly higher up for a smooth entry */
    pointer-events: none; /* Stops clicks when hidden */
    
    /* Smooth transition for entry animation */
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* This class will be added via JS on scroll */
.navbar-about-us.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto; /* Reactivates buttons and links */
}

.about-us-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-us-heading {
    border-bottom: 1px solid var(--text);
}

.about-us-text{
    color: var(--text);
    display: flex;
    flex-direction: column;
    margin: 2rem;
    gap: 1rem;
}

.about{

    display: flex;
    width: min(1400px, 95%);
    margin: auto;


}

.about-image img{
    max-width: 100%; 
    height: auto;
    border-radius:28px;
    display:block;
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

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

.subtitle{
    color:#b88b4a;
    font-size:18px;
}

.about h2{
    font-size:62px;
    line-height:1.3;
    margin:10px 0 20px;
    color:#263648;
}

.about h2 span{
    color:#b88b4a;
}

.line{
    width:120px;
    height:3px;
    background:#b88b4a;
    margin:20px 0 30px auto;
}

.about p{
    color:#555;
    font-size:18px;
    line-height:2;
    margin-bottom:40px;
}

.btn{
    display:inline-flex;
    align-items:center;
    gap:15px;
    background:#b88b4a;
    color:#fff;
    padding:18px 38px;
    border-radius:14px;
    text-decoration:none;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 30px rgba(184,139,74,.3);
}

.features-about{
    background:#fff;
    border-radius:24px;
    padding:4rem;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    box-shadow:0 20px 45px rgba(0,0,0,.08);
    margin-bottom: 1rem;

}

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

.feature-about i{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#fff;
    color:#b88b4a;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    margin:auto auto 18px;
}

.feature-about h3{
    margin-bottom:10px;
    color:#263648;
}

.feature-about p{
    font-size:15px;
    line-height:1.8;
    color:#666;

}

.slider {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    direction: ltr;
}

.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease;
}

.slide {
    flex: 0 0 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.slider-counter {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
}

.dot.active {
    background: #b88b4a;
    width: 22px;
    border-radius: 4px;
    transition: width 0.3s;
}

/*products*/

/* Base Layout Setup */
.projects-section {
    width: 100%;
    padding: 40px 20px;
    font-family: 'Cairo', sans-serif; /* Recommended font for this style */
    direction: rtl; /* Ensures Right-to-Left alignment for Arabic */
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #1a2530; /* Dark navy background */
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: stretch;
    }

/* Base style for all items to share equal width sizing */
.project-info-card, 
.counter-card, 
.image-card {
  flex: 1 1 calc(20% - 16px); /* Perfect for a 5-column look */
    min-width: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

/* 1. Main Info Block */
.project-info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 10px;
    color: #ffffff;
}

.project-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.project-description {
    font-size: 0.9rem;
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #c59b68; /* Light brown button tint */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #b08554;
}

    /* 2. Clickable +25 Counter Card */
.counter-card {
    border: 1px solid #2d3748;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background-color: transparent;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.counter-card:hover {
    background-color: #243242;
    transform: translateY(-4px);
}

.counter-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #c58a3a; /* Golden/brown matching accent */
    margin-bottom: 4px;
}

.counter-label {
    font-size: 0.85rem;
    color: #a0aec0;
}

/* 3. Visual Portfolio Cards */
.image-card {
  height: 220px; /* Forces uniform height */
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps aspect ratios pristine */
    display: block;
}

.card-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); /* Smooth shadow readability gradient */
padding: 15px;
text-align: center;
color: #ffffff;
}

.card-overlay h3 {
    font-size: 0.95rem;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.card-overlay p {
    font-size: 0.75rem;
    color: #cbd5e0;
    margin: 0;
}





/*our-clients*/

#our-clients {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    gap: 1rem;
}

.clients{
    width:50%;
    margin:auto;
    overflow:hidden;
}

.track{
    display:flex;
    width:max-content;
    gap:1rem;
    animation: scroll 15s linear infinite;
}

.track:hover {
    animation-play-state: paused;
}

.group{
    display:flex;
    gap:1rem;
    
}

.card{
    width:200px;
    height:90px;
    background:#ffffff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:2rem;
    border-radius:10px;
    flex-shrink:0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.card img {
    width: 90%;
}

.notfittinglogo {
    height: 90%;
    width: 60%;
}

@keyframes scroll{
    from{ transform: translateX(0); }
    to{ transform: translateX(47%); }
}


/*footer-start*/

.footer{
    background:#fff;
    color:#263340;
    padding:25px 0 0;
    position:relative;
    overflow:hidden;
    border-top: 1px solid #1a2530;
    
}

.footer::before{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:radial-gradient(#c89b5210,transparent 70%);
    top:-180px;
    right:-120px;
}

.footer::after{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    background:radial-gradient(#ffffff08,transparent 70%);
    bottom:-150px;
    left:-100px;
}

.footer-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr 1.3fr;
    gap:40px;
    position:relative;
    z-index:2;
}

.footer-logo{
    width:15rem;

}

.footer p{
    color:#263340;
    line-height:1.7;
    font-size:15px;
}

.footer h3{
    color:#263340;
    margin-bottom:18px;
    font-size:20px;
    position:relative;

}

.footer h3::after{
    content:"";
    width:55px;
    height:3px;
    background:#C89B52;
    position:absolute;
    bottom:-12px;
    right:0;
    border-radius:20px;
}

.footer ul{
    list-style:none;
}

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

.footer ul li a{
    color:#263340;
    text-decoration:none;
    transition:.3s;
}

.footer ul li a:hover{
    color:#C89B52;
    padding-right:8px;
}

.contact-item{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:12px;
    color:#263340;
}

.contact-item i{
    width:38px;
    height:38px;
    border-radius:10px;
    background:#263342;
    font-size:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#C89B52;
}

.footer-btn{
    display:inline-block;
    background:#C89B52;
    color:#fff;
    padding:14px 30px;
    border-radius:14px;
    text-decoration:none;
    transition:.3s;
    font-weight:600;
}

.footer-btn:hover{
    background:#d6a862;
    transform:translateY(-3px);
}

.socials{
    display:flex;
    gap:12px;
    margin-top:30px;
}

.socials a{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#263342;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#C89B52;
    text-decoration:none;
    transition:.3s;
}

.socials a:hover{
    background:#C89B52;
    color:#fff;
    transform:translateY(-4px);
}

.footer-bottom p{
    background-color: #263340;
    border-top:1px solid rgba(255,255,255,.08);
    padding:25px 0;
    text-align:center;
    color:#9ca7b2;
    width: 100%;
}

@media(max-width:991px){





.one {
    order: 1;
}

.four {
    order: 2;
}

.footer-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
    
}

.footer{
    text-align:center;
}

.footer h3::after{
    right:50%;
    transform:translateX(50%);
}

.contact-item{
    justify-content:center;
}

.socials{
    justify-content:center;
}


}








/*/////////////////////////////////////////////////////////// about //////////////////////////////////////////////////////////////////*/
.about-hero {
    padding: 2rem 0 4rem;
    background-color: var(--bg);
    direction: rtl; /* Maintains correct Arabic text flow */
    font-family: 'Alexandria', sans-serif;
}

/*--- Top Banner Image ---*/
.about-banner {
    width: 100%;
    margin-bottom: 3.5rem;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.about-banner img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

/*--- Two-Column Content Grid ---*/
.about-main-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

/*--- Right Content Panel ---*/
.about-story-text {
    text-align: right;
}

.about-story-text .subtitle {
    color: #b88b4a;
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
}

.about-story-text h2 {
    color: #263648;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    word-spacing: normal;
}

.about-story-text p {
    color: #556370;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* Call to Action Button */
.btn-about-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #b88b4a;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-about-cta:hover {
    background-color: #a47834;
    transform: translateY(-3px);
}

/*--- Left 2x2 Grid Cards ---*/
.about-features-quad {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.quad-card {
    background-color: #fff; /* Light tinted block background */
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.quad-card:hover {
    transform: translateY(-4px);
}

.quad-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: #b88b4a;
}

.quad-card h3 {
    font-size: 1.15rem;
    color: #263648;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quad-card p {
    font-size: 0.9rem;
    color: #6b7785;
    line-height: 1.5;
}



/*/////////////////////////////////////////////////////////// products //////////////////////////////////////////////////////////////////*/

.background-color-fix {
    background-color: var(--bg);

}

.products-section{
    padding:120px 0;
    background: var(--bg);
}

.section-heading{
    text-align:center;
    margin-bottom:70px;
}

.section-heading h2{
    font-size:3rem;
    color:#1b2a39;
    margin-bottom:15px;
    font-weight:700;
}

.section-heading p{
    color:#666;
    max-width:620px;
    margin:auto;
    line-height:1.9;
}

.line{
    display:block;
    width:70px;
    height:3px;
    background:#c58a3a;
    margin:25px auto 0;
    border-radius:20px;
}

.products-grid{

    display:grid;
    grid-template-columns:repeat(3,0.5fr);
    gap:28px;

}

.product-card{

    background:white;
    border-radius:24px;
    padding:35px;

    text-decoration:none;

    transition:.35s;

    box-shadow:
    0 8px 25px rgba(0,0,0,.05);

}

.product-card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 18px 45px rgba(0,0,0,.10);

}

.product-image{

    height:270px;

    display:flex;

    align-items:center;

    justify-content:center;

}

.product-image img{

    width:100%;

    height:100%;

    object-fit:contain;

    transition:.4s;

}

.product-card:hover img{

    transform:scale(1.05);

}

.product-info{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:30px;

}

.product-info h3{

    color:#1b2a39;

    font-size:1.45rem;

    font-weight:600;

}

.product-info span{

    width:42px;

    height:42px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#f4f4f4;

    color:#c58a3a;

    transition:.3s;

}

.product-card:hover span{

    background:#c58a3a;

    color:white;

}

.products-btn{

    margin-top:60px;

    text-align:center;

}

.btn{

    display:inline-flex;

    align-items:center;

    gap:12px;

    background:#c58a3a;

    color:white;

    text-decoration:none;

    padding:15px 35px;

    border-radius:50px;

    transition:.3s;

}

.btn:hover{

    background:#1b2a39;

}


/* //////////////////////////////////////////////////////////projects/////////////////////////////////////////////////////////////////////////////////////// */

/*=============================
        Projects Hero
==============================*/

.featured-project{

    padding:2rem 0;
}

.section-title{

    text-align:center;
    margin-bottom:60px;
}

.section-title span{

    color:#b8793d;
    font-weight:700;
    display:block;
    margin-bottom:12px;
}

.section-title h2{

    font-size:44px;
    color:#222;
    margin-bottom:18px;
}

.section-title p{

    color:#777;
    max-width:700px;
    margin:auto;
    line-height:1.8;
}

.featured-card{

    display:grid;
    grid-template-columns:58% 42%;

    background:#fff;

    border-radius:28px;

    overflow:hidden;

    box-shadow:0 25px 70px rgba(0,0,0,.08);

    transition:.4s;
}

.featured-card:hover{

    transform:translateY(-8px);
    box-shadow:0 35px 80px rgba(0,0,0,.12);
}

/* Image */

.featured-image{

    overflow:hidden;
}

.featured-image img{

    width:100%;
    height:100%;
    object-fit:cover;
    display:block;

    transition:.7s;
}

.featured-card:hover img{

    transform:scale(1.05);
}

/* Content */

.featured-content{

    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.project-category{

    display:inline-block;

    width:fit-content;

    padding:8px 18px;

    background:#f7e9da;

    color:#b8793d;

    border-radius:50px;

    font-weight:700;

    margin-bottom:22px;
}

.featured-content h3{

    font-size:42px;

    color:#222;

    margin-bottom:22px;
}

.featured-content p{

    color:#666;

    line-height:1.9;

    margin-bottom:35px;
}

/* Features */

.project-features{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:18px;

    margin-bottom:40px;
}

.feature{

    display:flex;

    align-items:center;

    gap:10px;

    color:#555;

    font-weight:500;
}

.feature i{

    color:#c58a3a;

    font-size:18px;
}

/* Button */

.project-btn{

    width:fit-content;

    padding:15px 34px;

    background:#c58a3a;

    color:#fff;

    text-decoration:none;

    border-radius:50px;

    display:flex;

    align-items:center;

    gap:12px;

    transition:.35s;
}

.project-btn:hover{

    background:#9d6734;

    transform:translateX(-6px);
}

/*=====================================================================
  RESPONSIVE — MOBILE FIXES
=====================================================================*/
.projects-grid{

    padding:90px 0;
}

.section-heading{

    text-align:center;
    margin-bottom:55px;
}

.section-heading span{

    color:#b8793d;
    font-weight:700;
    display:block;
    margin-bottom:12px;
}

.section-heading h2{

    font-size:42px;
    color:#222;
}

/* Grid */

.projects-wrapper{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
}

/* Card */

.project-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.07);

    transition:.35s;
}

.project-card:hover{

    transform:translateY(-10px);

    box-shadow:0 22px 45px rgba(0,0,0,.13);
}

/* Image */

.project-image{

    overflow:hidden;

}

.project-image img{

    width:100%;

    height:240px;

    object-fit:cover;

    display:block;

    transition:.6s;
}



/* Content */

.project-content{

    padding:24px;
}

.project-content h3{

    font-size:23px;

    color:#222;

    margin-bottom:14px;
}

/* Location */

.project-location{

    display:flex;

    align-items:center;

    gap:8px;

    color:#b8793d;

    margin-bottom:20px;

    font-size:15px;
}

/* Tags */

.project-tags{

    display:flex;

    gap:10px;

    flex-wrap:wrap;

    margin-bottom:25px;
}

.project-tags span{

    background:#f7f2eb;

    color:#b8793d;

    padding:8px 16px;

    border-radius:40px;

    font-size:13px;

    font-weight:600;
}

/* Link */

.project-link{

    display:flex;

    justify-content:space-between;

    align-items:center;

    text-decoration:none;

    color:#b8793d;

    font-weight:700;

    transition:.3s;
}

.project-link i{

    transition:.3s;
}

.project-link:hover{

    color:#9a6635;
}

.project-link:hover i{

    transform:translateX(-6px);
}






/* ---------- Tablet / small laptop ---------- */

@media (min-width: 1024px) {
        .toggler {
        display: none;
    }
    

    main {
        padding-top: 1rem; 
    }
    .nav-overlay {
        display: none;
    }

}


@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .navbar {
        height: 60px;
        padding: 0 0.5rem;
        margin-bottom: 0;
        border-radius: 12px 12px 0 0;
        background-color: #ffffff;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1000;
        transition: top 0.3s ease-in-out; 
    }

    .navbar.nav-hidden {
        top: -65px;

    }

    /* Target the overlay when scrolling down */
    .nav-overlay.scrolled-hide {
        display: none !important; 
        /* Note: If your overlay uses CSS transitions, you can alternatively use:
           opacity: 0; 
           visibility: hidden; 
        */
    }

    .logo-navbar {
        width: 8rem;
        height: auto;
        margin-top: 10px;
        margin-right: 10rem;
    }

    .btn-primary-navbar {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    /* keep the toggler visible + working — this is the mobile menu trigger */
    .toggler {
        display: block;
        position: static;
    }

    #hero {
        padding: 16px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-text {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.4rem;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 1rem;
        max-width: 30rem;
        margin: 0 auto 30px;
    }

    .hero-tag {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    main {
        height: auto;
        padding-bottom: 2rem;
        background-size: cover;
    }

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

    .feature-item:nth-child(2n)::after {
        display: none;
    }

    #about-us {
        height: auto;
        padding: 3rem 1rem;
    }

    .about-us-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about {
        flex-direction: column;
    }

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

    .about h2 {
        font-size: 2.5rem;
    }

    .line {
        margin: 20px auto 30px;
    }

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

    .project-info-card,
    .counter-card,
    .image-card {
        flex: 1 1 calc(50% - 16px);
        min-width: 160px;
    }

    .clients {
        width: 85%;
    }

    .slide img {
        height: 300px;
    }

    .footer {
        padding: 0;
       
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .footer-links {
        align-items: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .about-banner img {
        height: 350px; /* Adjusts banner size on tablets */
    }
    
    .about-main-grid {
        grid-template-columns: 1fr; /* Stacks text column above cards layout */
        gap: 2.5rem;
        align-items: center;
    }
    
    .about-story-text {
        order: 1; /* Puts text on top when stacked */
    }
    
    .about-features-quad {
        order: 2;
    }
        .about-main-grid {
        display: flex;
        flex-direction: column;
    }

    .products-grid{
        display: grid;
        grid-template-columns:repeat(2,0.5fr);
        gap:28px;
    }

    .featured-content {
        display: flex;
        flex-direction: column;
    }

    .navbar-about-us.show {
        display: none;
    }    

    .featured-card {
        display: flex;
        flex-direction: column;
    }

    .projects-wrapper {
        display: flex;
        flex-direction: column;
    }

    .contact-wrapper{
        flex-direction: column;
        justify-content: center;

    }

    .contact-card{

        width:100%;
    }

    .contact-map{

        min-height:500px;
    }

    .section-title h2{

        font-size:46px;
    }

    .section-title p{

        font-size:22px;
    }

    .contact-text h4{

        font-size:28px;
    }

    .whatsapp-btn{

        font-size:26px;
    }

}



/* ---------- Phones ---------- */
@media (max-width: 844px) {

    /* IMPORTANT: previously .toggler AND .nav-overlay were both hidden here,
       which removed all navigation on phones. The toggler must stay visible
       so people can actually open the menu. */
    .nav-overlay {
        width: 90%;  
    }

    .navbar{
        position: sticky;
        top: 0;
        z-index: 9999;

        background: rgba(255,255,255,.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        box-shadow: 0 8px 20px rgba(0,0,0,.08);
    }
    .products-grid {
        display: flex;
        flex-direction: column;
    }

    .contact-section{

        padding:80px 0;
    }

    .section-title{

        margin-bottom:45px;
    }

    .section-title span{

        font-size:18px;
    }

    .section-title h2{

        font-size:36px;
    }

    .section-title p{

        font-size:18px;
        line-height:1.8;
    }

    .contact-card{

        padding:28px;
        border-radius:22px;
    }

    .contact-map{

        min-height:340px;
        border-radius:22px;
    }

    .contact-item{

        gap:18px;
        margin-bottom:28px;
    }

    .icon{

        width:64px;
        height:64px;
        font-size:24px;
        border-radius:18px;
    }

    .contact-text span{

        font-size:16px;
    }

    .contact-text h4{

        font-size:20px;
    }

    .whatsapp-btn{

        height:68px;
        font-size:20px;
        border-radius:16px;
    }

}

/* ---------- Small phones ---------- */
@media (max-width: 576px) {
    .container {
        width: 92%;
    }

    .navbar {
        height: 56px;
        border-radius: 12px 12px 0 0;
        
    }

    .btn-primary-navbar {
        height: 3rem;
    }

    .logo-navbar {
        width: 6.5rem;
    }

    .btn-primary-navbar span {
        display: none; /* keep icon, drop label text if markup has a span */
    }

    .btn-primary-navbar {
        padding: 10px 14px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 20px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .features {
        padding: 40px 0;
    }

    .features-container {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .feature-item {
        padding: 22px 16px;
    }

    .feature-item::after {
        display: none;
    }

    .about h2 {
        font-size: 2rem;
    }

    .about p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .features-about {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }

    .projects-section {
        padding: 24px 12px;
    }

    .projects-container {
        padding: 16px;
    }

    .project-info-card,
    .counter-card,
    .image-card {
        flex: 1 1 100%;
        min-width: 0;
    }

    .project-title {
        font-size: 1.25rem;
    }

    .clients {
        width: 100%;
    }

    .card {
        width: 140px;
        height: 70px;
        font-size: 1.4rem;
    }

    .slide img {
        height: 220px;
    }

    .footer {
        padding: 32px 6%;
    }

    .footer-brand h2 {
        font-size: 24px;
    }

    .about-banner {
        margin-bottom: 2rem;
        border-radius: 16px;
    }
    
    .about-banner img {
        height: 220px;
    }

    .about-story-text h2 {
        font-size: 1.6rem;
    }

}
















.contact-section{

    background:var(--bg);
    padding:120px 0;
}

.contact-section .container{

    width:min(1200px,90%);
    margin:auto;
}

/* Heading */

.section-title{

    text-align:center;
    margin-bottom:70px;
}

.section-title span{

    color:var(--gold);
    font-size:22px;
    display:block;
    margin-bottom:18px;
}

.section-title h2{

    font-size:64px;
    color:var(--primary);
    margin-bottom:18px;
    font-weight:800;
}

.section-title p{

    color:#6f6f75;
    font-size:30px;
}

/* Layout */

.contact-wrapper{

    display:flex;
    gap:45px;
    align-items:stretch;
}

/* Map */

.contact-map{

    flex:1;
    background:var(--primary);
    border-radius:14px 14px 0 0 ;
    min-height:400px;
    overflow:hidden;
}

.map-placeholder{
    height:100%;
    display: grid;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items:center;
    color:white;
}

.map-placeholder img{
    margin-top: 1rem;
    border-radius: 14px;
    width:30%;
    height: 90px;
    margin-bottom:1rem;
    background-color: var(--bg);
    
}

.map-placeholder p{

    font-size:34px;
    opacity:.8;
}

/* Card */

.contact-card{

    min-width:520px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:28px;
    padding:45px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.contact-item{

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

}

.contact-text{

    text-align:right;
}

.contact-text span{

    color:#999;
    display:block;
    font-size:22px;
    margin-bottom:10px;
}

.contact-text h4{

    font-size:20px;
    color:var(--primary);
    line-height:1.4;
    font-weight:700;
}

.icon{

    width:86px;
    height:86px;
    border-radius:22px;

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

    font-size:34px;
    flex-shrink:0;
}

.phone{

    background:var(--green-light);
    color:var(--green);
}

.location,
.clock{

    background:var(--beige);
    color:var(--gold);
}

/* Button */

.whatsapp-btn{

    margin-top:25px;

    background:var(--green);
    color:#fff;

    height:88px;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;

    border-radius:22px;

    text-decoration:none;

    font-size:20px;
    font-weight:700;

    transition:.3s;
}

.whatsapp-btn:hover{

    background:#1db954;
    transform:translateY(-3px);
}

.whatsapp-btn i{

    font-size:34px;
}
