/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#020617;
    color:#e2e8f0;
    overflow-x:hidden;
    line-height:1.7;
}

/* BACKGROUND EFFECT */
body::before{
    content:"";
    position:fixed;
    inset:0;
    background:
    radial-gradient(circle at top left, rgba(56,189,248,0.15), transparent 30%),
    radial-gradient(circle at bottom right, rgba(99,102,241,0.12), transparent 30%);
    z-index:-1;
}

/* HEADER */
header{
    position:sticky;
    top:0;
    background:rgba(2,6,23,0.75);
    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,0.05);
    z-index:1000;
}

.nav-container{
    max-width:1200px;
    margin:auto;
    padding:18px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    color:#38bdf8;
    font-size:26px;
    font-weight:bold;
    flex-grow:1;
    text-align:center;
}

.spacer{
    width:40px;
}

/* MENU */
.menu-btn{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    width:30px;
    height:21px;
    background:none;
    border:none;
    cursor:pointer;
}

.menu-btn span{
    height:3px;
    border-radius:10px;
    background:#38bdf8;
}

/* SIDEBAR */
.sidebar{
    position:fixed;
    top:0;
    left:-320px;
    width:320px;
    height:100vh;
    background:#0b1120;
    padding:30px 20px;
    transition:0.4s;
    z-index:2000;
    overflow-y:auto;
}

.sidebar.open{
    left:0;
}

.close-btn{
    position:absolute;
    top:20px;
    right:20px;
    background:none;
    border:none;
    color:#94a3b8;
    font-size:32px;
    cursor:pointer;
}

.sidebar-content h3{
    color:#38bdf8;
    margin-bottom:30px;
}

/* SIDEBAR LINKS */
.sidebar-links{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:30px;
}

.sidebar-links a{
    text-decoration:none;
    color:#cbd5e1;
    padding:12px;
    border-radius:10px;
    background:rgba(255,255,255,0.03);
    transition:0.3s;
}

.sidebar-links a:hover{
    background:rgba(56,189,248,0.12);
    color:#38bdf8;
}

/* DROPDOWNS */
.dropdown-container{
    margin-bottom:15px;
}

.dropdown-trigger{
    width:100%;
    padding:14px;
    border:none;
    border-radius:10px;
    background:rgba(255,255,255,0.03);
    color:white;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.dropdown-menu{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.4s ease;
    background:#020617;
    border-radius:0 0 10px 10px;
}

.dropdown-menu.open{
    max-height:500px;
    padding:10px;
}

.dropdown-menu a{
    display:block;
    padding:10px;
    text-decoration:none;
    color:#cbd5e1;
    border-radius:8px;
}

.dropdown-menu a:hover{
    background:rgba(255,255,255,0.05);
    color:#38bdf8;
}

.empty-msg{
    color:#64748b;
    text-align:center;
}

/* OVERLAY */
.sidebar-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    -webkit-backdrop-filter:blur(4px);
    backdrop-filter:blur(4px);
    opacity:0;
    pointer-events:none;
    transition:0.3s;
    z-index:1999;
}

.sidebar-overlay.active{
    opacity:1;
    pointer-events:auto;
}

/* GENERAL SECTION */
.section{
    max-width:1200px;
    margin:auto;
    padding:120px 20px;
}

/* HERO */
.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.hero-content{
    max-width:850px;
}

.hero-badge{
    display:inline-block;
    padding:8px 18px;
    border-radius:999px;
    background:rgba(56,189,248,0.1);
    color:#38bdf8;
    margin-bottom:25px;
    border:1px solid rgba(56,189,248,0.2);
}

.hero h1{
    font-size:4rem;
    line-height:1.1;
    margin-bottom:20px;
    background:linear-gradient(to right,#fff,#94a3b8);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    color:#94a3b8;
    max-width:650px;
    margin:auto;
}

/* BUTTONS */
.button-grid{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin-top:40px;
}

.btn{
    padding:14px 28px;
    border-radius:999px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
    background:linear-gradient(135deg,#38bdf8,#6366f1);
    color:white;
}

.btn:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(56,189,248,0.25);
}

.about-btn{
    background:linear-gradient(135deg,#f59e0b,#f97316);
}

.contact-btn{
    background:linear-gradient(135deg,#22c55e,#16a34a);
}

/* TITLES */
.section-title{
    text-align:center;
    max-width:700px;
    margin:0 auto 60px;
}

.section-title span,
.about-text span{
    color:#38bdf8;
    letter-spacing:2px;
    font-size:14px;
    font-weight:bold;
}

.section-title h2,
.about-text h2{
    font-size:3rem;
    margin:15px 0;
}

.section-title p{
    color:#94a3b8;
}

/* SERVICES */
.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.service-item{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:24px;
    padding:30px;
    transition:0.4s;
}

.service-item:hover{
    transform:translateY(-8px);
    border-color:rgba(56,189,248,0.25);
}

.service-item h3{
    color:#38bdf8;
    margin-bottom:15px;
}

.service-item ul{
    margin-top:15px;
    padding-left:20px;
}

.service-item li{
    margin-bottom:8px;
}

.price{
    display:inline-block;
    margin-top:20px;
    color:#38bdf8;
    font-weight:bold;
}

/* PROJECTS */
.project-card{
    max-width:700px;
    margin:auto;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    padding:40px;
    border-radius:24px;
    text-align:center;
}

/* TEMPLATE CARDS */
.template-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.template-card{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    padding:30px;
    border-radius:24px;
    text-decoration:none;
    color:white;
    transition:0.4s;
}

.template-card:hover{
    transform:translateY(-8px);
    border-color:rgba(56,189,248,0.25);
}

.template-card h3{
    color:#38bdf8;
    margin-bottom:12px;
}

.template-card p{
    color:#cbd5e1;
}

/* ABOUT */
.about-grid{
    display:grid;
    grid-template-columns:1.2fr 0.8fr;
    gap:40px;
    align-items:center;
}

.about-text{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    padding:35px;
    border-radius:24px;
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    transition:0.3s;
}

.about-text:hover{
    transform:translateY(-6px);
    border-color:rgba(56,189,248,0.25);
    box-shadow:0 12px 30px rgba(0,0,0,0.25);
}

.about-text p{
    color:#cbd5e1;
    margin-bottom:18px;
}

/* ABOUT HIGHLIGHT BOXES */
.about-highlights{
    display:grid;
    gap:20px;
    margin-top:35px;
}

.about-box{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    padding:24px;
    border-radius:20px;
    transition:0.3s;
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
}

.about-box:hover{
    transform:translateY(-6px);
    border-color:rgba(56,189,248,0.25);
    box-shadow:0 12px 30px rgba(0,0,0,0.25);
}

.about-box h3{
    color:#38bdf8;
    margin-bottom:10px;
    font-size:1.1rem;
}

.about-box p{
    color:#cbd5e1;
    margin:0;
    line-height:1.7;
}

.skills-card{
    display:grid;
    gap:20px;
}

.skill-box{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    padding:25px;
    border-radius:20px;
}

.skill-box h3{
    color:#38bdf8;
    margin-bottom:10px;
}

/* CONTACT */
.contact-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    max-width:700px;
    margin:auto;
}

.contact-card{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:24px;
    padding:35px;
    text-align:center;
    text-decoration:none;
    color:white;
    transition:0.4s;
}

.contact-card:hover{
    transform:translateY(-8px);
    border-color:rgba(56,189,248,0.25);
}

.contact-icon{
    font-size:2rem;
    margin-bottom:15px;
}

.contact-card h3{
    color:#38bdf8;
    margin-bottom:10px;
}

/* FOOTER */
footer{
    text-align:center;
    padding:40px 20px;
    color:#64748b;
    border-top:1px solid rgba(255,255,255,0.05);
}

/* MOBILE */
@media(max-width:900px){

    .hero h1{
        font-size:3rem;
    }

.about-grid{
    display:grid;
    grid-template-columns:1.2fr 0.8fr;
    gap:30px;
    align-items:start;
}

}

@media(max-width:600px){

    .hero h1{
        font-size:2.3rem;
    }

    .section-title h2,
    .about-text h2{
        font-size:2.2rem;
    }

}