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

:root{
    --bg:#ffffff;
    --surface:#ffffff;
    --surface-soft:#f7f7f3;
    --text:#111111;
    --muted:#666666;
    --border:#ececec;
    --accent:#d4af37;
    --accent-soft:#fff7d6;
    --nav:#ffffff;
    --shadow:0 18px 45px rgba(0,0,0,.08);
}

body.dark{
    --bg:#101010;
    --surface:#171717;
    --surface-soft:#202020;
    --text:#ffffff;
    --muted:#bdbdbd;
    --border:#2b2b2b;
    --nav:#151515;
    --shadow:0 18px 45px rgba(0,0,0,.35);
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
    transition:background .35s ease,color .35s ease;
}

a{
    text-decoration:none;
}

.container{
    width:min(1400px,92%);
    margin:auto;
}

/* NAVBAR */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:110px;
    background:var(--nav);
    z-index:9999;
    border-bottom:1px solid var(--border);
    transition:.35s ease;
}

.navbar.scrolled{
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(18px);
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

body.dark .navbar.scrolled{
    background:rgba(18,18,18,.92);
}

.navbar .container{
    height:110px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    height:82px;
    width:auto;
    display:block;
}

.navigation{
    display:flex;
    align-items:center;
    gap:58px;
    margin-left:auto;
    margin-right:50px;
}

.navigation a{
    color:var(--text);
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
    position:relative;
    transition:.3s ease;
}

.navigation a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-9px;
    width:0;
    height:2px;
    background:var(--accent);
    transition:.3s ease;
}

.navigation a:hover::after,
.navigation a.active::after{
    width:100%;
}

.nav-right{
    display:flex;
    align-items:center;
    gap:18px;
}

.theme-toggle{
    width:58px;
    height:30px;
    border:none;
    border-radius:999px;
    background:#eeeeee;
    padding:4px;
    cursor:pointer;
    transition:.3s ease;
}

.toggle-circle{
    width:22px;
    height:22px;
    border-radius:50%;
    background:#111;
    display:block;
    transition:.3s ease;
}

body.dark .theme-toggle{
    background:#3a3a3a;
}

body.dark .toggle-circle{
    transform:translateX(28px);
    background:var(--accent);
}

.mobile-menu{
    display:none;
    background:none;
    border:none;
    cursor:pointer;
}

.mobile-menu span{
    display:block;
    width:28px;
    height:2px;
    background:var(--text);
    margin:6px 0;
    transition:.3s ease;
}

/* HERO */

.hero{
    position:relative;
    height:100vh;
    min-height:720px;
    overflow:hidden;
}

.hero-slider,
.slide{
    position:absolute;
    inset:0;
}

.slide{
    background-size:cover;
    background-position:center;
    opacity:0;
    transform:scale(1.04);
    transition:opacity 1.2s ease,transform 6s ease;
}

.slide.active{
    opacity:1;
    transform:scale(1);
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.38),rgba(0,0,0,.18));
    z-index:2;
}

.hero-content{
    position:relative;
    z-index:4;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding-top:90px;
}

.hero-subtitle{
    color:var(--accent);
    font-size:13px;
    font-weight:800;
    letter-spacing:3px;
    margin-bottom:24px;
}

.hero h1{
    color:#ffffff;
    font-size:clamp(44px,6vw,86px);
    line-height:1.02;
    max-width:820px;
    margin-bottom:28px;
}

.hero p{
    color:#f1f1f1;
    max-width:650px;
    font-size:18px;
    line-height:1.9;
    margin-bottom:42px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:180px;
    height:56px;
    padding:0 30px;
    font-size:14px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.5px;
    transition:.3s ease;
}

.btn-primary{
    background:var(--accent);
    color:#111;
}

.btn-primary:hover{
    background:#111;
    color:#fff;
}

.btn-secondary{
    color:#fff;
    border:1px solid rgba(255,255,255,.7);
}

.btn-secondary:hover{
    background:#fff;
    color:#111;
}

.hero-prev,
.hero-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:5;
    width:54px;
    height:54px;
    border:1px solid rgba(255,255,255,.25);
    background:rgba(255,255,255,.12);
    color:#fff;
    border-radius:50%;
    font-size:22px;
    cursor:pointer;
    backdrop-filter:blur(8px);
    transition:.3s ease;
}

.hero-prev:hover,
.hero-next:hover{
    background:var(--accent);
    color:#111;
}

.hero-prev{
    left:30px;
}

.hero-next{
    right:30px;
}

.hero-dots{
    position:absolute;
    z-index:5;
    bottom:38px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:12px;
}

.dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:rgba(255,255,255,.55);
    cursor:pointer;
    transition:.3s ease;
}

.dot.active{
    width:34px;
    border-radius:20px;
    background:var(--accent);
}

/* EXPERIENCE */

.experience{
    padding:95px 0;
    background:var(--bg);
}

.experience-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.experience-card{
    background:var(--surface);
    border:1px solid var(--border);
    padding:42px 30px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.35s ease;
}

.experience-card:hover{
    transform:translateY(-8px);
}

.experience-icon{
    width:64px;
    height:64px;
    border-radius:50%;
    background:var(--accent-soft);
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 22px;
    font-size:30px;
}

body.dark .experience-icon{
    background:#28220d;
    color:var(--accent);
}

.experience-card h2{
    font-size:54px;
    color:var(--accent);
    margin-bottom:10px;
    line-height:1;
}

.experience-card p{
    color:var(--muted);
    font-weight:700;
    line-height:1.5;
}

.slide{
    will-change: opacity, transform;
    backface-visibility: hidden;
}


/* ABOUT SECTION */

.about-section{
    padding:110px 0;
    background:var(--surface-soft);
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-image{
    position:relative;
    min-height:560px;
    overflow:hidden;
}

.about-image::after{
    content:"";
    position:absolute;
    right:28px;
    bottom:28px;
    width:75%;
    height:75%;
    border:3px solid var(--accent);
    z-index:1;
}

.about-image img{
    position:relative;
    z-index:2;
    width:88%;
    height:560px;
    object-fit:cover;
    display:block;
    box-shadow:var(--shadow);
}

.section-label{
    display:inline-block;
    color:var(--accent);
    font-size:13px;
    font-weight:800;
    letter-spacing:2px;
    margin-bottom:18px;
}

.about-content h2{
    font-size:clamp(34px,4vw,58px);
    line-height:1.08;
    color:var(--text);
    margin-bottom:26px;
}

.about-content p{
    color:var(--muted);
    line-height:1.9;
    font-size:16px;
    margin-bottom:18px;
}

.about-points{
    display:grid;
    gap:16px;
    margin:32px 0;
}

.about-points div{
    padding:18px 20px;
    background:var(--surface);
    border-left:4px solid var(--accent);
    box-shadow:0 12px 28px rgba(0,0,0,.04);
}

.about-points strong{
    display:block;
    color:var(--text);
    font-size:17px;
    margin-bottom:6px;
}

.about-points span{
    color:var(--muted);
    font-size:14px;
}

.about-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:54px;
    padding:0 32px;
    background:#111;
    color:#fff;
    font-weight:800;
    text-transform:uppercase;
    font-size:14px;
    letter-spacing:.5px;
    transition:.3s ease;
}

.about-btn:hover{
    background:var(--accent);
    color:#111;
}

body.dark .about-btn{
    background:#fff;
    color:#111;
}

body.dark .about-btn:hover{
    background:var(--accent);
}

/* SERVICES SECTION */

.services-section{
    padding:110px 0;
    background:var(--bg);
}

.section-heading{
    max-width:760px;
    margin-bottom:55px;
}

.section-heading h2{
    font-size:clamp(34px,4vw,58px);
    line-height:1.08;
    color:var(--text);
    margin-bottom:18px;
}

.section-heading p{
    color:var(--muted);
    line-height:1.8;
    font-size:16px;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.service-card{
    background:var(--surface);
    border:1px solid var(--border);
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:.35s ease;
}

.service-card:hover{
    transform:translateY(-8px);
}

.service-card img{
    width:100%;
    height:280px;
    object-fit:cover;
    display:block;
    filter:saturate(.95);
    transition:.5s ease;
}

.service-card:hover img{
    transform:scale(1.05);
}

.service-content{
    padding:26px;
}

.service-content h3{
    color:var(--text);
    font-size:22px;
    margin-bottom:12px;
}

.service-content p{
    color:var(--muted);
    line-height:1.7;
    font-size:14px;
}

/* ===== HERO IMAGE IMPROVEMENT ===== */

.hero-slider{
    position:absolute;
    inset:0;
    overflow:hidden;
}

.slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity 1.2s ease;
}

.slide.active{
    opacity:1;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    display:block;
    user-select:none;
    pointer-events:none;
    transform:scale(1.01);
}

@media(min-width:1700px){

.slide img{

object-position:center 8%;

}

}

@media(max-width:992px){

.slide img{

object-position:center top;

}

}


/* CLEAN DYNAMIC SECTIONS */

.inner-page{
    padding-top:110px;
}

.page-hero{
    padding:120px 0 80px;
    background:var(--surface-soft);
}

.page-hero h1{
    font-size:clamp(42px,6vw,78px);
    line-height:1.02;
    color:var(--text);
    margin:15px 0 20px;
}

.page-hero p{
    max-width:760px;
    color:var(--muted);
    line-height:1.9;
    font-size:17px;
}

.portfolio-section,
.plans-section{
    padding:110px 0;
}

.portfolio-section{
    background:var(--surface-soft);
}

.plans-section{
    background:var(--bg);
}

.portfolio-grid,
.plans-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    margin-top:45px;
}

.portfolio-grid:empty,
.plans-grid:empty{
    display:none;
}

/* PORTFOLIO CLEAN */

.portfolio-section{
    padding:110px 0;
    background:var(--surface-soft);
}

.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    margin-top:45px;
}

.portfolio-grid:empty{
    display:none;
}

.portfolio-card{
    background:var(--surface);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    overflow:hidden;
}

.portfolio-card-image{
    height:390px;
    overflow:hidden;
}

.portfolio-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.6s ease;
}

.portfolio-card:hover img{
    transform:scale(1.06);
}

.portfolio-card-content{
    padding:26px;
}

.portfolio-card-content h3{
    color:var(--text);
    font-size:24px;
    margin-bottom:10px;
}

.portfolio-card-content p{
    color:var(--muted);
    line-height:1.7;
    margin-bottom:22px;
}

.view-project-btn{
    border:0;
    background:#111;
    color:#fff;
    padding:14px 26px;
    font-weight:800;
    cursor:pointer;
    transition:.3s ease;
}

.view-project-btn:hover{
    background:var(--accent);
    color:#111;
}

/* AMAZON STYLE PROJECT PREVIEW */

.project-preview{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.82);
    z-index:20000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:30px;
}

.project-preview.active{
    display:flex;
}

.preview-box{
    width:min(1200px,96%);
    max-height:90vh;
    background:var(--surface);
    display:grid;
    grid-template-columns:1.2fr .8fr;
    overflow:hidden;
    box-shadow:0 30px 90px rgba(0,0,0,.45);
}

.preview-main{
    position:relative;
    background:#f5f5f5;
    min-height:650px;
    display:flex;
    align-items:center;
    justify-content:center;
}

body.dark .preview-main{
    background:#111;
}

.preview-main img{
    width:100%;
    height:100%;
    max-height:650px;
    object-fit:contain;
    display:block;
}

.preview-details{
    padding:34px;
    overflow-y:auto;
}

.preview-details h3{
    color:var(--text);
    font-size:32px;
    margin-bottom:15px;
}

.preview-details p{
    color:var(--muted);
    line-height:1.8;
    margin-bottom:25px;
}

.preview-thumbs{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.preview-thumbs img{
    width:100%;
    height:85px;
    object-fit:cover;
    border:2px solid transparent;
    cursor:pointer;
}

.preview-thumbs img.active{
    border-color:var(--accent);
}

.preview-close{
    position:absolute;
    top:22px;
    right:28px;
    z-index:3;
    width:44px;
    height:44px;
    border:0;
    background:#fff;
    color:#111;
    font-size:28px;
    cursor:pointer;
}

.preview-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    border:0;
    background:rgba(0,0,0,.65);
    color:#fff;
    cursor:pointer;
    font-size:22px;
}

.preview-arrow.left{
    left:18px;
}

.preview-arrow.right{
    right:18px;
}

/* PLANS CLEAN */

.plans-section{
    padding:110px 0;
    background:var(--bg);
}

.plans-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    margin-top:45px;
}

.plans-grid:empty{
    display:none;
}

.plan-card{
    background:var(--surface);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    overflow:hidden;
    transition:.35s ease;
}

.plan-card:hover{
    transform:translateY(-8px);
}

.plan-card-image{
    height:360px;
    overflow:hidden;
}

.plan-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.6s ease;
}

.plan-card:hover img{
    transform:scale(1.06);
}

.plan-card-content{
    padding:26px;
}

.plan-card-content span{
    display:inline-block;
    color:var(--accent);
    font-weight:800;
    font-size:13px;
    margin-bottom:10px;
}

.plan-card-content h3{
    color:var(--text);
    font-size:24px;
    margin-bottom:12px;
}

.plan-card-content p{
    color:var(--muted);
    line-height:1.7;
    margin-bottom:22px;
}

.request-plan-btn{
    border:0;
    background:#111;
    color:#fff;
    padding:14px 26px;
    font-weight:800;
    cursor:pointer;
    transition:.3s ease;
}

.request-plan-btn:hover{
    background:var(--accent);
    color:#111;
}

.plan-request-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.78);
    z-index:20000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.plan-request-modal.active{
    display:flex;
}

.plan-modal-box{
    width:min(520px,96%);
    background:var(--surface);
    padding:36px;
    box-shadow:0 30px 90px rgba(0,0,0,.42);
}

.plan-modal-box h3{
    font-size:32px;
    color:var(--text);
    margin-bottom:10px;
}

.plan-modal-box p{
    color:var(--muted);
    line-height:1.7;
    margin-bottom:24px;
}

.plan-request-form{
    display:grid;
    gap:14px;
}

.plan-request-form input,
.plan-request-form textarea{
    width:100%;
    border:1px solid var(--border);
    background:var(--surface-soft);
    color:var(--text);
    padding:15px;
    font-family:inherit;
    outline:none;
}

.plan-request-form input:focus,
.plan-request-form textarea:focus{
    border-color:var(--accent);
}

.plan-request-form button{
    border:0;
    background:var(--accent);
    color:#111;
    height:52px;
    font-weight:900;
    cursor:pointer;
}

.plan-modal-close{
    position:absolute;
    top:22px;
    right:28px;
    width:44px;
    height:44px;
    border:0;
    background:#fff;
    color:#111;
    font-size:28px;
    cursor:pointer;
}

/* ==========================
GALLERY
========================== */

.gallery-section{

padding:110px 0;

background:var(--surface-soft);

}

.gallery-grid{

display:grid;

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

gap:24px;

margin-top:45px;

}

.gallery-grid:empty{

display:none;

}

.gallery-card{

position:relative;

overflow:hidden;

cursor:pointer;

background:var(--surface);

box-shadow:var(--shadow);

}

.gallery-card img{

width:100%;

height:320px;

object-fit:cover;

display:block;

transition:.5s;

}

.gallery-card:hover img{

transform:scale(1.06);

}

.gallery-button{

margin-top:45px;

text-align:center;

}

/* LIGHTBOX */

.gallery-lightbox{

position:fixed;

inset:0;

background:rgba(0,0,0,.92);

display:none;

align-items:center;

justify-content:center;

z-index:30000;

}

.gallery-lightbox.active{

display:flex;

}

.gallery-lightbox img{

max-width:92%;

max-height:88vh;

object-fit:contain;

}

.gallery-close{

position:absolute;

top:25px;

right:30px;

width:45px;

height:45px;

border:0;

background:#fff;

font-size:28px;

cursor:pointer;

}

.gallery-arrow{

position:absolute;

top:50%;

transform:translateY(-50%);

width:52px;

height:52px;

border:0;

background:rgba(255,255,255,.18);

color:#fff;

font-size:22px;

cursor:pointer;

}

.gallery-arrow.left{

left:25px;

}

.gallery-arrow.right{

right:25px;

}


/* CONTACT */

.contact-section{
    padding:110px 0;
    background:var(--bg);
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:start;
}

.contact-info h2{
    font-size:clamp(34px,4vw,58px);
    line-height:1.08;
    margin-bottom:30px;
    color:var(--text);
}

.contact-list{
    display:grid;
    gap:20px;
}

.contact-list div{
    padding:22px;
    background:var(--surface);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.contact-list strong{
    display:block;
    color:var(--accent);
    margin-bottom:8px;
}

.contact-list a,
.contact-list p{
    color:var(--text);
    line-height:1.7;
}

.contact-form{
    background:var(--surface);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    padding:34px;
    display:grid;
    gap:16px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    border:1px solid var(--border);
    background:var(--surface-soft);
    color:var(--text);
    padding:16px;
    font-family:inherit;
    outline:none;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:var(--accent);
}

.contact-form button{
    height:54px;
    border:0;
    background:#111;
    color:#fff;
    font-weight:900;
    cursor:pointer;
}

.contact-form button:hover{
    background:var(--accent);
    color:#111;
}

.contact-cta{
    padding:90px 0;
    background:var(--bg);
}

.contact-cta-box{
    background:var(--surface);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    padding:48px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.contact-cta h2{
    font-size:clamp(30px,4vw,52px);
    color:var(--text);
    margin:12px 0;
}

.contact-cta p{
    color:var(--muted);
    line-height:1.8;
}

/* CONTACT MAP UPDATE */

.contact-map-side{
    display:grid;
    gap:22px;
}

.map-box{
    width:100%;
    height:430px;
    overflow:hidden;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    background:var(--surface);
}

.map-box iframe{
    width:100%;
    height:100%;
    border:0;
    display:block;
}

.contact-socials{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}

.contact-socials a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:15px 16px;
    background:var(--surface);
    border:1px solid var(--border);
    color:var(--text);
    font-weight:700;
    box-shadow:0 10px 25px rgba(0,0,0,.04);
    transition:.3s ease;
}

.contact-socials a:hover{
    background:var(--accent);
    color:#111;
}

.contact-socials i{
    font-size:20px;
}

/* CONTACT LAYOUT UPDATE */

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:stretch;
}

.contact-map-side,
.contact-form{
    height:100%;
}

.map-box{
    height:500px;
}

.contact-form{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:500px;
}

.contact-socials{
    margin-top:20px;
}

.contact-socials a{
    height:58px;
}


/* CONTACT LAYOUT UPDATE */

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:stretch;
}

.contact-map-side,
.contact-form{
    height:100%;
}

.map-box{
    height:500px;
}

.contact-form{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:500px;
}

.contact-socials{
    margin-top:20px;
}

.contact-socials a{
    height:58px;
}


/* FOOTER */

.footer{

background:#0d0d0d;

color:#dcdcdc;

margin-top:120px;

}

.footer-grid{

display:grid;

grid-template-columns:1.5fr 1fr 1fr 1fr;

gap:50px;

padding:90px 0 60px;

}

.footer-logo{

height:80px;

margin-bottom:20px;

}

.footer-column h4{

color:#fff;

margin-bottom:25px;

font-size:20px;

}

.footer-column p{

line-height:1.9;

color:#bfbfbf;

margin-bottom:14px;

}

.footer-column a{

display:block;

color:#bfbfbf;

margin-bottom:14px;

transition:.3s;

}

.footer-column a:hover{

color:var(--accent);

}

.footer-socials{

display:flex;

gap:14px;

margin-top:28px;

}

.footer-socials a{

width:46px;

height:46px;

display:flex;

align-items:center;

justify-content:center;

border:1px solid rgba(255,255,255,.12);

font-size:18px;

}

.footer-socials a:hover{

background:var(--accent);

color:#111;

}

.footer-bottom{

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

padding:24px 0;

}

.footer-bottom-content{

display:flex;

justify-content:space-between;

align-items:center;

gap:20px;

}

.footer-bottom a{

color:var(--accent);

font-weight:700;

}


.footer-column span{
    display:block;
    color:#bfbfbf;
    margin-bottom:14px;
}

.footer-logo{
    height:86px;
    width:auto;
    object-fit:contain;
    background:#fff;
    padding:8px;
}

.clients-section{
    padding:100px 0;
    background:var(--bg);
    overflow:hidden;
}

.clients-carousel{
    margin-top:45px;
    overflow:hidden;
    width:100%;
}

.clients-track{
    display:flex;
    align-items:center;
    gap:34px;
    width:max-content;
    animation:clientSlide 28s linear infinite;
}

.clients-track:empty{
    display:none;
}

.client-logo-card{
    width:190px;
    height:110px;
    background:var(--surface);
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    flex:0 0 auto;
}

.client-logo-card img{
    max-width:100%;
    max-height:70px;
    object-fit:contain;
    filter:grayscale(100%);
    opacity:.85;
    transition:.3s ease;
}

.client-logo-card:hover img{
    filter:grayscale(0);
    opacity:1;
}

@keyframes clientSlide{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* FRONTEND UPLOAD GRID: 6 PC, 4 TABLET, 2 MOBILE */

.portfolio-grid,
.plans-grid,
.gallery-grid{
    grid-template-columns:repeat(6,1fr) !important;
    gap:18px !important;
}

.portfolio-card-image,
.plan-card-image{
    height:210px !important;
}

.gallery-card img{
    height:210px !important;
}

.portfolio-card-content,
.plan-card-content{
    padding:18px !important;
}

.portfolio-card-content h3,
.plan-card-content h3{
    font-size:17px !important;
}

.portfolio-card-content p,
.plan-card-content p{
    font-size:13px !important;
    line-height:1.6;
}

.view-project-btn,
.request-plan-btn{
    padding:11px 15px !important;
    font-size:12px !important;
}

@media(max-width:1200px){
    .portfolio-grid,
    .plans-grid,
    .gallery-grid{
        grid-template-columns:repeat(4,1fr) !important;
    }
}

@media(max-width:768px){
    .portfolio-grid,
    .plans-grid,
    .gallery-grid{
        grid-template-columns:repeat(2,1fr) !important;
        gap:12px !important;
    }

    .portfolio-card-image,
    .plan-card-image,
    .gallery-card img{
        height:150px !important;
    }

    .portfolio-card-content,
    .plan-card-content{
        padding:13px !important;
    }

    .portfolio-card-content h3,
    .plan-card-content h3{
        font-size:14px !important;
    }

    .portfolio-card-content p,
    .plan-card-content p{
        display:none;
    }
}

.project-preview{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.88);
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.project-preview.active{
    display:flex;
}

.preview-box{
    width:min(1200px,96vw);
    max-height:90vh;
    background:var(--surface);
    display:grid;
    grid-template-columns:1.2fr .8fr;
    overflow:hidden;
}

.preview-main{
    position:relative;
    background:#111;
    min-height:620px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.preview-main img{
    max-width:100%;
    max-height:620px;
    object-fit:contain;
}

.preview-details{
    padding:32px;
    overflow-y:auto;
}

.preview-thumbs{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    margin-top:20px;
}

.preview-thumbs img{
    width:100%;
    height:80px;
    object-fit:cover;
    cursor:pointer;
    border:2px solid transparent;
}

.preview-thumbs img.active{
    border-color:var(--accent);
}

.preview-close,
.preview-arrow{
    position:absolute;
    z-index:2;
    border:0;
    cursor:pointer;
}

.preview-close{
    top:18px;
    right:22px;
    width:44px;
    height:44px;
    background:#fff;
    color:#111;
    font-size:28px;
}

.preview-arrow{
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    background:rgba(255,255,255,.2);
    color:#fff;
    font-size:22px;
}

.preview-arrow.left{left:16px}
.preview-arrow.right{right:16px}

@media(max-width:900px){
    .preview-box{
        grid-template-columns:1fr;
        overflow-y:auto;
    }

    .preview-main{
        min-height:360px;
    }

    .preview-main img{
        max-height:360px;
    }
}

/* FORCE MOBILE DEFAULT LIGHT MODE */
@media(max-width:768px){
    body:not(.dark){
        background:#ffffff !important;
        color:#111111 !important;
    }

    body:not(.dark) .navbar,
    body:not(.dark) .navigation{
        background:#ffffff !important;
    }

    body:not(.dark) .navigation a{
        color:#111111 !important;
    }

    body:not(.dark) .mobile-menu span{
        background:#111111 !important;
    }

    body:not(.dark) .theme-toggle{
        background:#efefef !important;
    }

    body:not(.dark) .toggle-circle{
        background:#111111 !important;
        transform:translateX(0) !important;
    }
}

.clients-track:empty{
    display:none !important;
}

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