:root{
    --primary:#0b5f5a;
    --secondary:#1f2937;
    --light:#6b7280;
    --bg:#f8fafc;
    --white:#ffffff;
    --border:#e5e7eb;
    --font:'Outfit',sans-serif;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    height:100%;
}

body{
    font-family:var(--font);
    background:var(--bg);
    color:var(--secondary);
    display:flex;
    flex-direction:column;
}

.wrapper{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

/* =========================
   Layout
========================= */

.container{
    max-width:1200px;
}

.portfolio-section{
    flex:1;
    padding:5px 0;
}
.portfolio-slider-section{
    position:relative;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f8f9fa;
    overflow:hidden;
}

.portfolioSwiper{
    width:85%;
    height:90vh;
}

.portfolio-slide-content{
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.portfolio-image{
    width:100%;
    max-width:1100px;
    height:70vh;
    object-fit:contain;
    border-radius:15px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.portfolio-info{
    margin-top:25px;
}

.portfolio-info h2{
    font-size:32px;
    margin-bottom:10px;
    font-weight:700;
}

.portfolio-info p{
    color:#666;
    font-size:16px;
}

.portfolio-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:60px;
    height:60px;
    background:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
    z-index:20;
    transition:.3s;
}

.portfolio-nav:hover{
    transform:translateY(-50%) scale(1.1);
}

.portfolio-prev{
    left:30px;
}

.portfolio-next{
    right:30px;
}

.portfolio-nav i{
    font-size:22px;
    color:#444;
}

@media(max-width:768px){

    .portfolio-slider-section{
        height:100vh;
    }

    .portfolioSwiper{
        width:95%;
    }

    .portfolio-image{
        height:55vh;
    }

    .portfolio-info h2{
        font-size:24px;
    }

    .portfolio-nav{
        width:45px;
        height:45px;
    }
}

/* =========================
   Header
========================= */

.navbar{
    padding:4px 0;
    background:#fff;
}

.navbar-brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.site-logo{
    width:82px;
    height:82px;
    object-fit:contain;
}

.brand-text{
    position:relative;
    display:flex;
    flex-direction:column;
}

.brand-name{
    position:relative;
    font-size:36px;
    font-weight:800;
    line-height:1;
    color:#111827;
    letter-spacing:-1px;
    z-index:2;
}

.brand-name::before{
    content:'';
    position:absolute;
    width:120px;
    height:120px;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    background:
        radial-gradient(circle,
        rgba(26,163,176,.15) 0%,
        rgba(26,163,176,.08) 40%,
        transparent 70%);
    border-radius:50%;
    z-index:-1;
}

.brand-name::after{
    content:'</>';
    position:absolute;
    top:-12px;
    right:-35px;
    font-size:14px;
    color:#1aa3b0;
    font-weight:700;
    opacity:.7;
}

.brand-role{
    font-size:12px;
    color:#6b7280;
    margin-top:4px;
    letter-spacing:.5px;
}

.nav-link{
    font-size:14px;
    font-weight:500;
    color:var(--secondary);
}

.nav-link:hover{
    background:linear-gradient(
        135deg,
        rgba(11,95,90,.08),
        rgba(20,184,166,.12)
    );
    color:#0b5f5a;
    box-shadow:0 6px 18px rgba(11,95,90,.12);
}

/* =========================
   Hero
========================= */

.hero-banner{
    max-width:850px;
    margin:auto;
    padding:9px 15px;
    background:rgba(11,95,90,.08);
    border:1px solid rgba(11,95,90,.12);
    border-radius:24px;
    text-align:center;
    box-shadow:0 15px 40px rgba(11,95,90,.08);
}

.hero-banner h1{
    margin:0 0 8px;
    font-size:26px;
    font-weight:700;
    color:#0b5f5a;
}

.hero-banner p{
    margin:0;
    font-size:16px;
    color:#5f6b76;
    font-weight:500;
}

@media (max-width:768px){

.hero-banner{
    padding:22px 18px;
}

.hero-banner h2{
    font-size:24px;
}

.hero-banner p{
    font-size:15px;
    line-height:1.6;
}

}


/* =========================
   Portfolio Grid
========================= */

.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

/* =========================
   Project Card
========================= */

.project-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:14px;
    padding:14px;
    min-height:150px;
    transition:.3s;
}

.project-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.project-category{
    display:inline-block;
    background:var(--primary);
    color:#fff;
    font-size:11px;
    padding:4px 12px;
    border-radius:30px;
    margin-bottom:10px;
}

.project-card h4{
    font-size:18px;
    font-weight:700;
    margin-bottom:4px;
}

.project-card p{
    font-size:13px;
    color:var(--light);
    line-height:1.4;
    margin-bottom:5px;
}

.project-card span{
    display:block;
    color:var(--primary);
    font-size:12px;
    font-weight:600;
    margin-bottom:8px;
}

.project-link{
    display:inline-block;
    text-decoration:none;
    background:rgba(11,95,90,.08);
    color:var(--primary);
    padding:7px 15px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
    transition:.3s;
}

.project-link:hover{
    background:var(--primary);
    color:#fff;
}

/* =========================
   Premium Compact Footer
========================= */

.footer{
    background:linear-gradient(135deg,#0f172a,#111827);
    color:#fff;
    margin-top:12px;
    border-top:1px solid rgba(255,255,255,.08);
}

.footer-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:12px 0;
}

.footer-about{
    flex:1;
    min-width:0;
}

.footer-about h5{
    margin:0 0 5px;
    font-size:18px;
    font-weight:700;
    color:#fff;
}

.footer-about p{
    margin:0;
    font-size:12px;
    line-height:1.5;
    color:#94a3b8;
    max-width:600px;
}

.footer-pricing{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.footer-pricing span{
    padding:6px 12px;
    border-radius:50px;
    font-size:11px;
    font-weight:500;
    color:#fff;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.1);
    backdrop-filter:blur(10px);
    transition:.3s ease;
}

.footer-pricing span:hover{
    transform:translateY(-2px);
    background:#14b8a6;
    border-color:#14b8a6;
}

.footer-bottom{
    text-align:center;
    padding:12px 0;
    font-size:12px;
    color:#64748b;
    border-top:1px solid rgba(255,255,255,.08);
}

@media(max-width:768px){

    .footer-content{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
        padding:15px 0;
    }

    .footer-pricing{
        justify-content:flex-start;
    }

    .footer-about p{
        max-width:100%;
    }

}

.footer-contact{
    margin-left:20px;
}

.contact-btn{
    background:linear-gradient(135deg,#0b5f5a,#14b8a6);
    color:#fff;
    border:none;
    padding:10px 20px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.contact-btn:hover{
    transform:translateY(-2px);
}

.contact-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    display:none;
    align-items:center;
    justify-content:center;

    background:rgba(0,0,0,.65);
    backdrop-filter:blur(6px);

    z-index:9999;
}

.contact-modal{
    width:90%;
    max-width:420px;
    background:#fff;
    border-radius:18px;
    padding:25px;
    position:relative;
    box-shadow:0 20px 50px rgba(0,0,0,.25);
    animation:popup .25s ease;
}

.contact-modal h4{
    font-size:24px;
    margin-bottom:5px;
}

.contact-modal p{
    color:#6b7280;
    font-size:14px;
    margin-bottom:20px;
}

.contact-modal input,
.contact-modal textarea{
    width:100%;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:12px 15px;
    margin-bottom:12px;
    outline:none;
}

.contact-modal input:focus,
.contact-modal textarea:focus{
    border-color:#14b8a6;
}

.contact-modal button[type="submit"]{
    width:100%;
    border:none;
    background:#0b5f5a;
    color:#fff;
    padding:12px;
    border-radius:12px;
    font-weight:600;
}

.close-modal{
    position:absolute;
    top:12px;
    right:15px;
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
}

@keyframes popup{
    from{
        opacity:0;
        transform:translateY(20px) scale(.95);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

.success-box{
    text-align:center;
    padding:25px 10px;
}

.success-icon{
    width:70px;
    height:70px;
    margin:0 auto 15px;
    border-radius:50%;
    background:#10b981;
    color:#fff;
    font-size:32px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.success-box h4{
    margin-bottom:8px;
    color:#111827;
}

.success-box p{
    color:#6b7280;
    margin:0;
}
/* =========================
   Responsive
========================= */

@media(max-width:992px){

    .portfolio-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .ribbon{
        min-width:auto;
        width:100%;
    }
}

@media(max-width:768px){

    .portfolio-grid{
        grid-template-columns:1fr;
    }

    .brand-name{
        font-size:22px;
    }

    .ribbon{
        font-size:14px;
        padding:12px 20px;
    }
}

@media(max-width:991px){

    .navbar-collapse{
        margin-top:15px;
        padding:15px;
        background:#fff;
        border-radius:12px;
        box-shadow:0 10px 30px rgba(0,0,0,.08);
    }

    .navbar-nav{
        gap:8px;
    }

    .nav-link{
        padding:10px 15px;
        border-radius:8px;
    }

    .nav-link:hover{
        background:#f3f4f6;
    }

}

.slide-backdrop{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9998;
}

.slide-backdrop.show{
    opacity:1;
    visibility:visible;
}

.slide-panel{
    position:fixed;
    top:0;
    right:-100%;
    width:100%;
    max-width:850px;
    height:100vh;
    background:#fff;
    z-index:9999;
    transition:.4s ease;
    overflow-y:auto;
    box-shadow:-10px 0 40px rgba(0,0,0,.15);
}

.slide-panel.show{
    right:0;
}

.slide-header{
    position:sticky;
    top:0;
    background:#fff;
    padding:25px;
    border-bottom:1px solid #eee;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.slide-header h3{
    margin:0;
    font-weight:700;
}

.slide-header button{
    border:none;
    background:none;
    font-size:32px;
}

.slide-content{
    padding:25px;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:18px;
}

.service-card{
    background:#fff;
    border:1px solid #e8ecef;
    border-radius:16px;
    padding:18px;
    transition:.3s ease;
    box-shadow:0 3px 12px rgba(0,0,0,.03);
}

.service-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(11,95,90,.08);
    border-color:#0b5f5a20;
}

.service-header{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}

.service-icon{
    width:48px;
    height:48px;
    min-width:48px;
    border-radius:12px;
    background:rgba(11,95,90,.08);
    display:flex;
    align-items:center;
    justify-content:center;
}

.service-icon i{
    font-size:20px;
    color:#0b5f5a;
}

.service-card h4{
    margin:0;
    font-size:17px;
    font-weight:700;
    color:#111827;
    line-height:1.3;
}

.service-card p{
    margin:0;
    color:#6b7280;
    font-size:14px;
    line-height:1.6;
}

.portfolio-item img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:15px;
}

@media(max-width:768px){

    .services-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .service-card{
        padding:14px;
        border-radius:12px;
    }

    .service-header{
        gap:10px;
        margin-bottom:8px;
    }

    .service-icon{
        width:40px;
        height:40px;
        min-width:40px;
        border-radius:10px;
    }

    .service-icon i{
        font-size:16px;
    }

    .service-card h4{
        font-size:15px;
        line-height:1.3;
    }

    .service-card p{
        font-size:13px;
        line-height:1.5;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .slide-header{
        padding:15px;
    }
}

.visually-hidden{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

.tech-stack{
    visibility:hidden;
    height:0;
    overflow:hidden;
}