/*=========================================================
AUJ INTERIOR — SINGLE STYLESHEET
One file for every page. Replaces the old
style.css + about.css + contact.css + services.css + portfolio.css
=========================================================*/

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

:root{
    --primary:#C8A45D;
    --dark:#111111;
    --dark2:#222222;
    --text:#666666;
    --light:#f8f8f8;
    --white:#ffffff;
    --shadow:0 10px 30px rgba(0,0,0,.08);
    --shadow-lg:0 20px 45px rgba(0,0,0,.18);
    --fast:.3s ease;
    --med:.4s ease;
}

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

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    line-height:1.7;
    color:var(--text);
    overflow-x:hidden;
    background:var(--white);
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

section{
    overflow:hidden;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

h1,h2,h3,h4{
    line-height:1.3;
    font-weight:700;
    color:var(--dark);
}

::selection{
    background:var(--primary);
    color:#fff;
}

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#eee;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:var(--dark);
}


/*==============================
HEADER / NAV
==============================*/

header{
    background:var(--dark);
    height:80px;
    display:flex;
    align-items:center;
    position:sticky;
    top:0;
    z-index:9999;
    box-shadow:0 4px 15px rgba(0,0,0,.2);
    transition:height var(--fast), box-shadow var(--fast);
}

header.scrolled{
    height:68px;
    box-shadow:0 8px 25px rgba(0,0,0,.3);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo img{
    height:55px;
    width:auto;
    display:block;
    transition:transform var(--fast);
}

.logo img:hover{
    transform:scale(1.06);
}

.logo a{
    text-decoration:none;
}

nav ul{
    display:flex;
    gap:35px;
    align-items:center;
}

nav ul li a{
    position:relative;
    color:#fff;
    font-size:16px;
    font-weight:600;
    transition:color var(--fast);
}

nav ul li a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:var(--primary);
    transition:width var(--fast);
}

nav ul li a:hover,
nav ul li a.active{
    color:var(--primary);
}

nav ul li a:hover::after,
nav ul li a.active::after{
    width:100%;
}


/*==============================
HAMBURGER
==============================*/

.menu-toggle{
    display:none;
    flex-direction:column;
    justify-content:space-between;
    width:30px;
    height:21px;
    cursor:pointer;
    z-index:10000;
}

.menu-toggle span{
    display:block;
    width:100%;
    height:3px;
    border-radius:3px;
    background:#fff;
    transition:transform var(--fast), opacity var(--fast), background var(--fast);
}

.menu-toggle.active span:nth-child(1){
    transform:translateY(9px) rotate(45deg);
    background:var(--primary);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:translateY(-9px) rotate(-45deg);
    background:var(--primary);
}


/*==============================
BUTTONS (with light-sweep hover)
==============================*/

.btn{
    position:relative;
    overflow:hidden;
    display:inline-block;
    padding:15px 38px;
    background:var(--primary);
    color:#fff;
    border:2px solid var(--primary);
    border-radius:50px;
    font-weight:600;
    letter-spacing:.5px;
    cursor:pointer;
    transition:background var(--fast), border-color var(--fast), transform var(--fast), box-shadow var(--fast);
}

.btn::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:100%;
    height:100%;
    background:rgba(255,255,255,.35);
    transform:skewX(-25deg);
    transition:left .6s ease;
}

.btn:hover::before{
    left:120%;
}

.btn:hover{
    background:var(--dark);
    border-color:var(--dark);
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}


/*==============================
HOME HERO
==============================*/

.hero{
    position:relative;
    overflow:hidden;
    height:100vh;
    background:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)), url("hero.jpg");
    background-size:100%;
    background-position:center;
    background-repeat:no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
    padding:0 20px;
    animation:heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom{
    from{ background-size:100%; }
    to{ background-size:112%; }
}

.hero .hero-content{
    max-width:850px;
    background:rgba(0,0,0,.35);
    padding:35px 45px;
    border-radius:12px;
    animation:heroContent 1.2s ease forwards;
}

@keyframes heroContent{
    0%{ opacity:0; transform:translateY(60px); }
    100%{ opacity:1; transform:translateY(0); }
}

.hero h1{
    font-size:55px;
    color:#fff;
    opacity:0;
    line-height:1.2;
    margin-bottom:20px;
    transform:translateY(40px);
    animation:titleUp 1s ease forwards;
    animation-delay:.2s;
}

@keyframes titleUp{
    to{ opacity:1; transform:translateY(0); }
}

.hero p{
    font-size:21px;
    color:#eee;
    max-width:700px;
    margin:0 auto 30px;
    opacity:0;
    transform:translateY(30px);
    animation:titleUp 1s ease forwards;
    animation-delay:.6s;
}

.hero .btn{
    opacity:0;
    animation:titleUp 1s ease forwards;
    animation-delay:1s;
}

.typing,
.typing-long{
    display:inline-block;
    opacity:0;
    animation:titleUp 1s ease forwards;
    animation-delay:.15s;
}


/*==============================
STATS
==============================*/

.stats,
.about-stats{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px 70px;
    padding:80px 20px;
    background:var(--dark);
    text-align:center;
}

.stat,
.stat-box{
    padding:20px;
    min-width:140px;
    transition:transform var(--fast);
}

.stat:hover,
.stat-box:hover{
    transform:translateY(-8px);
}

.stat h2,
.stat-box h2{
    color:var(--primary);
    font-size:46px;
    margin-bottom:8px;
}

.stat p,
.stat-box p{
    color:#ddd;
    font-size:16px;
}


/*==============================
SECTION TITLES
==============================*/

.section-title{
    width:90%;
    max-width:800px;
    margin:0 auto 60px;
    text-align:center;
}

.section-title h2{
    font-size:40px;
    margin-bottom:15px;
}

.section-title p{
    font-size:17px;
    line-height:1.8;
}

.small-title{
    display:inline-block;
    color:var(--primary);
    font-size:14px;
    font-weight:600;
    letter-spacing:2px;
    margin-bottom:12px;
}


/*==============================
HOME — ABOUT PREVIEW / SERVICES / PORTFOLIO / TESTIMONIALS / CTA
==============================*/

.about-preview,
.services,
.portfolio,
.testimonials,
.cta{
    padding:90px 0;
    text-align:center;
}

.services{
    background:var(--light);
}

.about-preview h2,
.services h2,
.portfolio h2,
.testimonials h2,
.cta h2{
    font-size:38px;
    margin-bottom:20px;
}

.about-preview p,
.testimonials p,
.cta p{
    max-width:750px;
    margin:0 auto;
    line-height:1.8;
}

.service-boxes{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:40px;
}

.box{
    position:relative;
    overflow:hidden;
    background:#fffdf8;
    border:2px solid #E7D3A4;
    border-radius:18px;
    padding:35px 25px;
    cursor:pointer;
    box-shadow:var(--shadow);
    transition:background var(--med), transform var(--med), box-shadow var(--med);
}

.box::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:var(--primary);
    transition:background var(--med);
}

.box:hover{
    background:var(--primary);
    transform:translateY(-10px);
    box-shadow:var(--shadow-lg);
}

.box:hover::before{
    background:var(--dark);
}

.service-icon{
    font-size:50px;
    margin-bottom:18px;
    color:var(--primary);
    transition:transform var(--fast), color var(--fast);
}

.box h3{
    margin-bottom:12px;
    font-size:22px;
    transition:color var(--fast);
}

.box p{
    transition:color var(--fast);
}

.box:hover h3,
.box:hover p{
    color:#fff;
}

.box:hover .service-icon{
    color:#fff;
    transform:scale(1.1);
}

.gallery{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:40px;
}

.gallery img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:18px;
    cursor:pointer;
    box-shadow:var(--shadow);
    transition:transform .5s, filter .5s, box-shadow .5s;
}

.gallery img:hover{
    transform:scale(1.06) rotate(.5deg);
    filter:brightness(.92);
    box-shadow:var(--shadow-lg);
}

.portfolio-btn{
    margin-top:40px;
    text-align:center;
}

.testimonials{
    background:var(--light);
}

.testimonial-box{
    max-width:850px;
    margin:auto;
    background:#fff;
    padding:45px;
    border-radius:18px;
    box-shadow:var(--shadow);
}

.testimonial-box p{
    font-size:18px;
    line-height:1.9;
    font-style:italic;
    margin-bottom:20px;
}

.testimonial-box h4{
    color:var(--primary);
}


/*==============================
REVEAL SCROLL ANIMATION
==============================*/

.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:opacity .8s ease, transform .8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}


/*==============================
INNER PAGE HERO BANNERS
==============================*/

.about-hero,
.service-hero,
.portfolio-hero,
.contact-hero{
    height:70vh;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
}

.about-hero{
    background-image:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)), url("about.jpg");
}

.service-hero{
    background-image:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)), url("services.jpeg");
}

.portfolio-hero{
    background-image:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)), url("portfolio-hero.jpg");
}

.contact-hero{
    background-image:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)), url("contact_us.jpg");
}

.about-hero .hero-content,
.service-hero .hero-content,
.portfolio-hero .hero-content,
.contact-hero .hero-content{
    max-width:750px;
    padding:20px;
}

.about-hero h1,
.service-hero h1,
.portfolio-hero h1,
.contact-hero h1{
    font-size:58px;
    margin-bottom:18px;
    color:#fff;
}

.about-hero p,
.service-hero p,
.portfolio-hero p,
.contact-hero p{
    font-size:21px;
    line-height:1.8;
    color:#eee;
}


/*==============================
ABOUT PAGE
==============================*/

.about-section{
    padding:100px 20px;
    background:var(--light);
}

.about-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-image{
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.about-image img{
    width:100%;
    height:600px;
    object-fit:cover;
    transition:transform .5s;
}

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

.about-text{
    background:#fff;
    padding:45px;
    border-radius:15px;
    box-shadow:var(--shadow);
}

.about-text h2{
    font-size:40px;
    margin-bottom:22px;
}

.about-text p{
    font-size:17px;
    margin-bottom:16px;
}

.about-text .btn{
    margin-top:12px;
}

.about-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin:30px 0;
}

.about-list .item{
    background:#faf7f1;
    padding:15px 18px;
    border-left:4px solid var(--primary);
    border-radius:8px;
    color:#444;
    font-weight:500;
    transition:background var(--fast), color var(--fast), transform var(--fast);
}

.about-list .item:hover{
    background:var(--primary);
    color:#fff;
    transform:translateX(6px);
}

.company-story{
    padding:100px 20px;
    background:#fff;
    text-align:center;
}

.story-container{
    max-width:900px;
    margin:auto;
}

.story-container h2{
    font-size:40px;
    margin-bottom:22px;
}

.story-container p{
    font-size:18px;
    line-height:1.9;
}

.mission-vision{
    padding:100px 20px;
    background:var(--light);
}

.why-us{
    padding:100px 20px;
    background:#fff;
}


/*==============================
CARDS (Mission/Vision, Why Choose Us, Why Services)
==============================*/

.cards{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.card{
    position:relative;
    overflow:hidden;
    background:#fff;
    padding:40px;
    border-radius:18px;
    border:2px solid #E7D3A4;
    box-shadow:var(--shadow);
    transition:background var(--med), transform var(--med), box-shadow var(--med);
}

.card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:var(--primary);
}

.card:hover{
    background:var(--primary);
    transform:translateY(-10px);
    box-shadow:var(--shadow-lg);
}

.card h3{
    margin-bottom:16px;
    font-size:23px;
    transition:color var(--fast);
}

.card p{
    line-height:1.8;
    transition:color var(--fast);
}

.card:hover h3,
.card:hover p{
    color:#fff;
}


/*==============================
PROCESS (About + Services)
==============================*/

.design-process{
    padding:100px 20px;
    background:var(--light);
}

.process-container{
    max-width:1200px;
    margin:50px auto 0;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:25px;
}

.process-box{
    background:#fff;
    text-align:center;
    padding:35px 25px;
    border:2px solid #E7D3A4;
    border-top:5px solid var(--primary);
    border-radius:16px;
    box-shadow:var(--shadow);
    transition:background var(--med), transform var(--med), box-shadow var(--med);
}

.process-box:hover{
    background:var(--primary);
    transform:translateY(-10px);
    box-shadow:var(--shadow-lg);
}

.process-box h3{
    font-size:40px;
    color:var(--primary);
    margin-bottom:8px;
    transition:color var(--fast);
}

.process-box h4{
    margin-bottom:12px;
    transition:color var(--fast);
}

.process-box p{
    line-height:1.8;
    transition:color var(--fast);
}

.process-box:hover h3,
.process-box:hover h4,
.process-box:hover p{
    color:#fff;
}


/*==============================
SERVICES PAGE
==============================*/

.services-page,
.why-services{
    padding:100px 0;
}

.why-services{
    background:var(--light);
}

.service-grid{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    position:relative;
    background:#fffdf8;
    border:2px solid var(--primary);
    border-radius:15px;
    padding:40px 30px;
    text-align:center;
    cursor:pointer;
    box-shadow:var(--shadow);
    transition:background var(--med), transform var(--med), box-shadow var(--med);
}

.service-card h3{
    font-size:23px;
    margin-bottom:16px;
    transition:color var(--fast);
}

.service-card p{
    line-height:1.8;
    transition:color var(--fast);
}

.service-card:hover{
    background:var(--primary);
    transform:translateY(-12px);
    box-shadow:var(--shadow-lg);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-icon{
    color:#fff;
}

.service-card:hover .service-icon{
    transform:scale(1.15) rotate(8deg);
}


/*==============================
FAQ
==============================*/

.faq{
    padding:100px 0;
    background:#fff;
}

.faq-box{
    width:90%;
    max-width:900px;
    margin:22px auto;
    background:#fff;
    padding:30px;
    border-left:5px solid var(--primary);
    border-radius:12px;
    box-shadow:var(--shadow);
    transition:transform var(--med), box-shadow var(--med);
}

.faq-box:hover{
    transform:translateX(10px);
    box-shadow:var(--shadow-lg);
}

.faq-box h3{
    margin-bottom:12px;
}

.faq-box p{
    line-height:1.8;
}


/*==============================
PORTFOLIO PAGE
==============================*/

.portfolio-intro{
    padding:100px 20px;
}

.intro-container{
    max-width:850px;
    margin:auto;
    text-align:center;
}

.intro-container h2{
    font-size:40px;
    margin-bottom:18px;
}

.intro-container p{
    font-size:18px;
    line-height:1.8;
}

.portfolio-grid{
    max-width:1200px;
    margin:80px auto;
    padding:0 20px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.project-card{
    position:relative;
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:transform var(--med), box-shadow var(--med);
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:var(--shadow-lg);
}

.project-card img{
    width:100%;
    height:250px;
    object-fit:cover;
    cursor:pointer;
    transition:transform .5s;
}

.project-card:hover img{
    transform:scale(1.1);
}

.project-info{
    padding:22px;
}

.project-info h3{
    font-size:22px;
    margin-bottom:8px;
}

.project-info span{
    display:block;
    color:var(--primary);
    font-weight:600;
    margin-bottom:10px;
}

.project-info p{
    line-height:1.7;
}

.overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:25px;
    background:linear-gradient(transparent,rgba(0,0,0,.9));
    color:#fff;
    transform:translateY(100%);
    transition:transform var(--med);
    pointer-events:none;
}

.project-card:hover .overlay{
    transform:translateY(0);
}

.overlay span{
    display:inline-block;
    background:var(--primary);
    padding:7px 16px;
    border-radius:30px;
    font-size:12px;
    margin-bottom:12px;
}

.overlay h3{
    font-size:22px;
    color:#fff;
    margin-bottom:10px;
}

.portfolio-features{
    background:#f7f7f7;
    padding:100px 20px;
}

.feature-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.feature-box{
    position:relative;
    overflow:hidden;
    background:#fffdf8;
    border:2px solid var(--primary);
    border-radius:15px;
    padding:35px 25px;
    cursor:pointer;
    box-shadow:var(--shadow);
    transition:background var(--med), transform var(--med), box-shadow var(--med);
}

.feature-box::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:var(--primary);
    transition:background var(--med);
}

.feature-box:hover{
    background:var(--primary);
    transform:translateY(-12px) scale(1.02);
    box-shadow:var(--shadow-lg);
}

.feature-box:hover::before{
    background:var(--dark);
}

.feature-box h3{
    margin-bottom:14px;
    transition:color var(--fast);
}

.feature-box p{
    line-height:1.8;
    transition:color var(--fast);
}

.feature-box:hover h3,
.feature-box:hover p{
    color:#fff;
}


/*==============================
LIGHTBOX
==============================*/

#lightbox{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.95);
    z-index:99999;
}

#lightbox img{
    max-width:90%;
    max-height:85%;
    border-radius:12px;
    animation:zoomImage .35s ease;
}

#close-lightbox{
    position:absolute;
    top:30px;
    right:40px;
    font-size:42px;
    color:#fff;
    cursor:pointer;
    transition:color var(--fast), transform var(--fast);
}

#close-lightbox:hover{
    color:var(--primary);
    transform:rotate(90deg);
}

@keyframes zoomImage{
    from{ transform:scale(.85); opacity:0; }
    to{ transform:scale(1); opacity:1; }
}


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

.contact-section{
    padding:100px 0;
    background:var(--light);
}

.contact-container{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:start;
}

.contact-info h2{
    font-size:38px;
    margin-bottom:18px;
}

.contact-info p{
    line-height:1.8;
    margin-bottom:22px;
}

.info-box{
    background:#fff;
    border-left:5px solid var(--primary);
    border-radius:12px;
    padding:24px;
    margin-bottom:18px;
    box-shadow:var(--shadow);
    transition:background var(--med), transform var(--med);
}

.info-box h3{
    margin-bottom:8px;
    transition:color var(--fast);
}

.info-box p{
    margin:0;
    transition:color var(--fast);
}

.info-box:hover{
    background:var(--primary);
    transform:translateX(10px);
}

.info-box:hover h3,
.info-box:hover p{
    color:#fff;
}

.contact-form{
    background:#fff;
    padding:40px;
    border-radius:15px;
    box-shadow:var(--shadow);
    transition:box-shadow var(--med);
}

.contact-form:hover{
    box-shadow:var(--shadow-lg);
}

.contact-form form{
    display:flex;
    flex-direction:column;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    margin-bottom:18px;
    border:2px solid #ddd;
    border-radius:8px;
    font-size:15px;
    font-family:'Poppins',sans-serif;
    transition:border-color var(--fast), box-shadow var(--fast);
}

.contact-form textarea{
    resize:vertical;
    min-height:150px;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 12px rgba(200,164,93,.4);
}

.contact-form .btn{
    border:none;
    cursor:pointer;
}

.map{
    width:100%;
    height:450px;
}

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


/*==============================
CTA (shared)
==============================*/

.cta{
    position:relative;
    background:var(--primary);
    color:var(--dark);
    padding:80px 0 75px;
}

.cta::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:70px;
    height:4px;
    background:var(--dark);
    border-radius:4px;
}

.cta h2{
    color:var(--dark);
}

.cta p{
    color:#4a3c22;
}

.cta .btn{
    margin-top:30px;
    background:var(--dark);
    border-color:var(--dark);
    color:#fff;
}

.cta .btn:hover{
    background:#fff;
    border-color:#fff;
    color:var(--dark);
}

.cta .btn{
    margin-top:30px;
}


/*==============================
404 PAGE
==============================*/

.error-page{
    background:var(--dark);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    text-align:center;
}

.error-box{
    max-width:650px;
    padding:30px;
}

.error-box h1{
    font-size:130px;
    color:var(--primary);
    line-height:1;
    margin-bottom:10px;
}

.error-box h2{
    font-size:34px;
    margin-bottom:20px;
    color:#fff;
}

.error-box p{
    font-size:18px;
    color:#ddd;
    line-height:1.8;
    margin-bottom:30px;
}


/*==============================
PRELOADER / PROGRESS BAR
==============================*/

#preloader{
    position:fixed;
    inset:0;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:999999;
    transition:opacity .5s ease;
}

.loader{
    width:50px;
    height:50px;
    border:5px solid #eee;
    border-top:5px solid var(--primary);
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    100%{ transform:rotate(360deg); }
}

#progress-bar{
    position:fixed;
    top:0;
    left:0;
    height:3px;
    width:0;
    background:var(--primary);
    z-index:999999;
}


/*==============================
WHATSAPP / BACK TO TOP
==============================*/

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#25D366;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    z-index:9998;
    transition:transform var(--fast), box-shadow var(--fast);
    animation:whatsappFloat 2.2s ease-in-out infinite;
}

.whatsapp img{
    width:34px;
    height:34px;
}

.whatsapp:hover{
    transform:scale(1.12);
    box-shadow:0 18px 40px rgba(0,0,0,.35);
}

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

#topBtn{
    position:fixed;
    right:25px;
    bottom:98px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:var(--dark);
    color:#fff;
    font-size:20px;
    cursor:pointer;
    display:none;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    transition:background var(--fast), transform var(--fast);
    z-index:9997;
}

#topBtn:hover{
    background:var(--primary);
    transform:translateY(-4px);
}


/*==============================
FOOTER
==============================*/

footer{
    background:var(--dark);
    color:#bbb;
    text-align:center;
    padding:22px 20px;
    border-top:1px solid rgba(255,255,255,.1);
}

footer p{
    margin:0;
    font-size:15px;
}


/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:992px){

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

    nav ul{ gap:20px; }

    .about-container{ grid-template-columns:1fr; gap:45px; }

    .about-image img{ height:420px; }

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

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

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

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

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

@media(max-width:768px){

    header .container{ position:relative; }

    .menu-toggle{ display:flex; }

    nav{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:var(--dark);
        max-height:0;
        overflow:hidden;
        box-shadow:0 15px 30px rgba(0,0,0,.25);
        transition:max-height .4s ease;
    }

    nav.active{
        max-height:400px;
    }

    nav ul{
        flex-direction:column;
        padding:20px;
        gap:18px;
    }

    .hero{ height:90vh; }

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

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

    .hero .hero-content{ padding:25px; }

    .about-preview h2,
    .services h2,
    .portfolio h2,
    .testimonials h2,
    .cta h2{ font-size:30px; }

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

    .service-boxes{ grid-template-columns:1fr; }

    .about-hero,
    .service-hero,
    .portfolio-hero,
    .contact-hero{ height:55vh; }

    .about-hero h1,
    .service-hero h1,
    .portfolio-hero h1,
    .contact-hero h1{ font-size:38px; }

    .about-hero p,
    .service-hero p,
    .portfolio-hero p,
    .contact-hero p{ font-size:17px; }

    .about-text{ padding:30px; }

    .about-text h2,
    .story-container h2,
    .section-title h2,
    .cta h2,
    .contact-info h2{ font-size:30px; }

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

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

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

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

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

    .overlay{ transform:translateY(0); }

    .contact-form{ padding:30px 20px; }

    .map iframe{ height:320px; }

    #topBtn{ right:20px; bottom:88px; }

    .whatsapp{ right:20px; bottom:20px; width:55px; height:55px; }
}

@media(max-width:576px){

    .container{ width:92%; }

    .btn{ padding:13px 30px; width:100%; text-align:center; }

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

    .error-box h1{ font-size:90px; }

    .error-box h2{ font-size:26px; }

    .about-section,
    .company-story,
    .mission-vision,
    .why-us,
    .design-process,
    .services-page,
    .why-services,
    .faq,
    .portfolio-intro,
    .portfolio-features,
    .cta{ padding:70px 15px; }

    .about-text{ padding:24px; }

    .about-image img{ height:300px; }

    .stat-box h2,
    .stat h2{ font-size:36px; }

    .process-box,
    .service-card,
    .card,
    .faq-box{ padding:28px 20px; }

    .contact-form input,
    .contact-form textarea{ padding:12px; }

    .map{ height:300px; }
}
