/* ===========================
   GOOGLE FONT
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;900&display=swap');

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

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

html{
    scroll-behavior:smooth;
}

body{
    font-family: "JetBrains Mono", monospace;
    overflow-x:hidden;
    overflow-y:auto;
    transition:.4s ease;
}

/* ===========================
   THEMES
=========================== */

body{
    --bg:#000;
    --text:#fff;
    --line:#ffffff30;
    --hover:#ffffff08;
}


body{
    background:var(--bg);
    color:var(--text);
}

/* ===========================
   THEME BUTTON
=========================== */

#theme-toggle{

    position:fixed;

    top:30px;
    right:35px;

    width:52px;
    height:52px;

    border-radius:50%;
    border:none;

    cursor:pointer;

    font-size:20px;

    background:var(--text);
    color:var(--bg);

    transition:.35s;

    z-index:999;
}

#theme-toggle:hover{

    transform:rotate(180deg) scale(1.08);

}

/* ===========================
   MAIN CONTAINER
=========================== */

.container{

    width:100%;
      min-height:100svh; /* or 100dvh */

    display:flex;

}

/* ===========================
   LEFT & RIGHT
=========================== */

.panel{

    width:100%;
    height:100svh;

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

    text-decoration:none;

    color:var(--text);
    position:relative;

    overflow:hidden;

    transition:.45s;

}

.panel{
    flex:1;
    transition:all .6s ease;
}


.container:hover .panel{
    flex:0.9;
}

.container .panel:hover{
    flex:1.1;
}
.left:hover{
    background:#312e2f;
}

.right:hover{
    background:#312e2f;
}
/* ===========================
   TEXT
=========================== */
.content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:100%;
    height:100%;
    text-align:center;
}
.left:hover h1{

    color:#000000;

    transform:translateY(-8px);

}

.right:hover h1{

    color:#000000;

    transform:translateY(-8px);

}

h1{
    font-family:"JetBrains Mono", monospace;
    font-size:clamp(28px,6vw,50px);
    font-weight:700;
    line-height:0.9;
    letter-spacing:-2px;
    color:#fff;
    text-transform:uppercase;

    width:90%;
    max-width:520px;
    min-height:auto;
    text-align:center;
}


/* ===========================
   PANEL GLOW
=========================== */

.panel::before{

content:"";

position:absolute;

inset:0;

background:radial-gradient(circle at center,
rgba(255,255,255,.05),
transparent 70%);

opacity:0;

transition:.6s;

}

.panel:hover::before{
    opacity:1;
}

/* ===========================
   PANEL GLOW
=========================== */

.panel::before{
    content:"";
    position:absolute;

    width:500px;
    height:500px;

    left:50%;
    top:50%;
    transform:translate(-50%, -50%);

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(255,255,255,.12),
    transparent 70%);

    opacity:0;
    transition:.5s;

    pointer-events:none;
}

body.light .panel::before{

background:radial-gradient(circle,
rgba(0,0,0,.08),
transparent 70%);

}

.panel:hover::before{

opacity:1;

}
/* ===========================
   FADE
=========================== */

.panel{

animation:fadeUp 1.1s ease;

}

@keyframes fadeUp{

from{

opacity:0;
transform:translateY(80px);

}

to{

opacity:1;
transform:translateY(0);

}

}


/* ================================
   BOOK OPEN EFFECT
================================ */
body{
    overflow-x:hidden;
    overflow-y:auto;
    perspective:3000px;
}

.container{
    position:relative;
    width:100%;
    height:100vh;
    display:flex;
    overflow:hidden;
}

.panel{

    position:relative;

    flex:1;

    transform-style:preserve-3d;

    transform-origin:center center;

    transition:0.8s;

}

.page-shadow{

    position:absolute;

    inset:0;

    background:black;

    opacity:0;

    pointer-events:none;

    z-index:50;

}

/* ===========================
   ARROWS
=========================== */

.arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);

    width:70px;
    display:flex;
    align-items:center;
    justify-content:center;

    font-size:clamp(30px,6vw,70px);
    font-weight:700;
    line-height:1;

    color:rgba(246,240,240,.47);
    transition:.4s;
}

.left-arrow{
    left:calc(50% - 320px);
}

.right-arrow{
    right:calc(50% - 320px);
}
/* Hover */
.left:hover .left-arrow{
    color:#000;
    transform:translateY(-50%) translateX(10px);
}

.right:hover .right-arrow{
    color:#000;
    transform:translateY(-50%) translateX(-10px);
}

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

@media (max-width:1024px){

    .left-arrow{
        left:25px;
    }

    .right-arrow{
        right:25px;
    }

    h1{
        font-size:clamp(28px,5vw,42px);
    }
}

@media (max-width:768px){

    .container{
        flex-direction:column;
    }

    .panel{
        height:50vh;
    }

    h1{
        width:90%;
        font-size:30px;
    }

    .arrow{
        font-size:40px;
    }

    .left-arrow{
        left:20px;
    }

    .right-arrow{
        right:20px;
    }
}

@media (max-width:480px){

    h1{
        font-size:22px;
    }

    .arrow{
        font-size:30px;
    }
}

body.page-exit{
    overflow-x:hidden;
}

.container{
    transition:transform .9s cubic-bezier(.77,0,.18,1);
}

.container.slide-right{
    transform:translateX(100%);
}

.container.slide-left{
    transform:translateX(-100%);
}

/* ===========================
   LOGO
=========================== */

.logo{
    position:fixed;
    top:25px;          /* Space from top */
    left:10%;
    transform:translateX(-50%);
    z-index:1000;
}

.logo img{
    width:60px;       /* Change size if needed */
    height:auto;
    display:block;
}

@media(max-width:768px){

    .logo{
    left:50%;
    transform:translateX(-50%);
}

.logo img{
    width:70px;
}

}

/* ===========================
   SCROLL INDICATOR
=========================== */

.scroll-indicator{
    position:absolute;
    left:50%;
    bottom:30px;
    transform:translateX(-50%);
    z-index:1000;
    display:flex;
    flex-direction:column;
    align-items:center;
    color:#fff;
    cursor:pointer;
    animation:float 1.8s infinite;
}

.double-arrow{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.double-arrow span:first-child{
    font-size:18px;
    opacity:.4;
}

.double-arrow span:last-child{
    font-size:28px;
    margin-top:-10px;
}

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

/* ===========================
   ABOUT SECTION
=========================== */

.about-section{
    min-height:100vh;
    background:#000000;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:120px 10%;
}

.about-content{
    max-width:900px;
    text-align:center;
}

.about-content h2{
    font-size:70px;
    margin-bottom:30px;
}
.about-content p{
    font-size:22px;
    line-height:1.8;
    color:#bbb;
    text-align:justify;
    text-justify:inter-word;
}

.about-stats{
    display:flex;
    justify-content:center;
    gap:60px;
    margin-top:60px;
    flex-wrap:wrap;
}

.stat h3{
    font-size:48px;
}

.stat p{
    color:#888;
}

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

.contact-section{
    min-height:100vh;
    background:#000000;
    color:#fff;

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

    padding:120px 10%;
}

.contact-content{
    max-width:900px;
    text-align:center;
}

.contact-content h2{
    font-size:70px;
    margin-bottom:30px;
    letter-spacing:5px;
}

.contact-content p{
    font-size:20px;
    line-height:1.8;
    color:#bdbdbd;
    text-align:justify;
    text-justify:inter-word;
}

.contact-info{
    margin-top:70px;

    display:flex;
    justify-content:center;
    gap:60px;
    flex-wrap:wrap;
}

.contact-item{
    min-width:220px;
    padding:30px;

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

    background:rgba(26, 18, 18, 0.03);

    transition:.4s;
}

.contact-item:hover{
    transform:translateY(-10px);
    border-color:#fff;
}

.contact-item h3{
    margin-bottom:15px;
    font-size:24px;
}

.contact-item p{
    font-size:18px;
    color:#bdbdbd;
}

footer{
padding:60px;
text-align:center;
opacity:.6;
}
/* ======================================
   MOBILE RESPONSIVE
====================================== */

@media (max-width:768px){

    /* Hero */

    .container{
        flex-direction:column;
         min-height:100svh; /* or 100dvh */
         height:auto;
    }

    .panel{
        height:50vh;
    }

   h1{

font-size:24px;
padding:0 20px;

}
    .logo img{
        width:90px;
    }

    .scroll-indicator{
        bottom:20px;
    }

    /* About */

    .about-section,
    .contact-section{
        min-height:auto;
        padding:70px 25px;
    }

    .about-content,
    .contact-content{
        width:100%;
        max-width:100%;
    }

    .about-content h2,
    .contact-content h2,
    .clients-content h2{
        font-size:32px;
        letter-spacing:2px;
        margin-bottom:20px;
    }

.about-content p,
.contact-content p{
    font-size:16px;
    line-height:1.8;
    text-align:justify;
    text-justify:inter-word;
}

    /* Stats */

    .about-stats{
        flex-direction:column;
        gap:30px;
        margin-top:40px;
    }

    .stat h3{
        font-size:36px;
    }

    .stat p{
        font-size:15px;
    }

    /* Contact */

    .contact-info{
        flex-direction:column;
        gap:20px;
        margin-top:40px;
    }

    .contact-item{
        width:100%;
        min-width:unset;
        padding:25px;
    }

    .contact-item h3{
        font-size:22px;
    }

    .contact-item p{
        font-size:15px;
        word-break:break-word;
    }

    footer{
        padding:35px 20px;
        font-size:14px;
    }

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

.clients-section{
    background:#000;
    color:#fff;
    padding:120px 8%;
}

.clients-content{
    max-width:1200px;
    margin:auto;
    text-align:center;
}

.clients-content h2{
    font-size:4rem;
    margin-bottom:20px;
    letter-spacing:3px;
}

.clients-content p{
    color:#aaa;
    margin-bottom:70px;
}

/* Grid */

.clients-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:60px;
    align-items:center;
    justify-items:center;
}

/* Logo */

.client-logo{
    transition:.4s ease;
}

.client-logo img{
    width:180px;
    max-width:100%;
    height:auto;
    object-fit:contain;
    filter:grayscale(100%) opacity(.8);
    transition:.4s ease;
}

.client-logo:hover{
    transform:translateY(-10px) scale(1.08);
}

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

/* Mobile */

@media(max-width:768px){

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

.client-logo img{
    width:130px;
}

}

@media(max-width:480px){

.clients-grid{

grid-template-columns:1fr;
gap:30px;

}

.client-logo img{

width:120px;

}

}
@media (hover:none){

.panel:hover{
flex:1;
background:inherit;
}

.left:hover h1,
.right:hover h1{
color:#fff;
transform:none;
}

.client-logo:hover,
.contact-item:hover{
transform:none;
}

}
/* ===========================
   MOBILE - THEME BUTTON
=========================== */

@media (max-width:768px){

    #theme-toggle{
        top:15px;
        right:15px;

        width:42px;
        height:42px;

        font-size:16px;
    }

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

    #theme-toggle{
        top:12px;
        right:12px;

        width:38px;
        height:38px;

        font-size:14px;
    }

}

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

.navbar{

    position:sticky;
    top:0;
    left:0;

    width:100%;
    height:80px;

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

    padding:0 60px;

    background:rgba(0,0,0,.55);
    backdrop-filter:blur(15px);

    z-index:9999;
}

.nav-logo img{

    height:55px;

}

/* Desktop */

.nav-links{

    display:flex;
    gap:40px;

    list-style:none;

}

.nav-links a{

    color:#fff;
    text-decoration:none;
    font-size:17px;
    transition:.35s;

}

.nav-links a:hover{

    opacity:.6;

}

/* Hamburger */

.menu-btn{

    width:34px;
    height:26px;

    display:none;

    flex-direction:column;
    justify-content:space-between;

    cursor:pointer;

}

.menu-btn span{

    width:100%;
    height:3px;

    background:white;

    border-radius:10px;

    transition:.35s;

}

/* Animation */

.menu-btn.active span:nth-child(1){

    transform:translateY(11px) rotate(45deg);

}

.menu-btn.active span:nth-child(2){

    opacity:0;

}

.menu-btn.active span:nth-child(3){

    transform:translateY(-11px) rotate(-45deg);

}

/* Mobile */

@media(max-width:768px){

.navbar{

    padding:0 20px;

    height:70px;

}

.nav-logo img{

    height:45px;

}

.menu-btn{

    display:flex;

}

.nav-links{

    position:fixed;

    top:70px;
    right:-100%;

    width:270px;
    height:calc(100vh - 70px);

    background:#050505;

    flex-direction:column;

    justify-content:flex-start;

    align-items:center;

    padding-top:60px;

    gap:35px;

    transition:.4s ease;

}

.nav-links.active{

    right:0;

}

.nav-links a{

    font-size:20px;

}

}