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

html{
    scroll-behavior:smooth;
}

body{
    background:
        linear-gradient(rgba(7,10,18,.85), rgba(7,10,18,.85)),
        url("../assets/images/background.jpg") center center no-repeat;

    background-size:1700px auto;
    background-attachment:fixed;
    background-color:#08111d00;
    font-family:"Manrope",sans-serif;
    font-size:16px;
    font-weight:400;
    line-height:1.8;
    color:#f4f4f4;
}

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

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

section{
    padding:90px 20px;
}

.section-header{
    text-align:center;
    margin-bottom:30px;
}

.section-header h2{
    font-size:2.4rem;
    font-weight:700;
    margin-bottom:6px;
}

.section-header p{
    max-width:700px;
    margin:auto;
    color:#d4d4d4;
    font-size:1rem;
}

header{
    position:sticky;
    top:0;
    z-index:1000;
    backdrop-filter:blur(18px);
    background:rgba(255, 255, 255, 0);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.navbar{
    max-width:1200px;
    margin:auto;
    height:55px;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    padding:0 30px;
}

.nav-links{
    list-style:none;
    display:flex;
    gap:35px;
}

.nav-links a{
    position:relative;
    color:#fff;
    font-size:.95rem;
    transition:.3s;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#00c6ff;
    transition:.3s;
}

.nav-links a:hover{
    color:#00c6ff;
}

.nav-links a:hover::after{
    width:100%;
}

.menu-toggle{
    display:none;
}

.hero{
    min-height:100vh;
    padding:30px 20px 170px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-image{
    width:170px;
    height:170px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid rgba(255,255,255,.15);
    box-shadow:0 20px 60px rgba(0,0,0,.45);
}

.hero h1{
    margin-top:25px;
    font-size:3.5rem;
    font-weight:800;
    letter-spacing:-1.5px;
}

.hero h2{
    margin-top:-10px;
    color:#00c6ff;
    font-size:1.25rem;
    font-weight:600;
}

.hero p{
    margin:25px auto;
    max-width:550px;
    color:#d6d6d6;
}

.hero-btn{
    position:relative;
    display:inline-block;
    padding:8px 32px;
    border-radius:0;
    background:#00c6ff;
    color:#08111d;
    font-weight:600;
}

.hero-btn::before,
.hero-btn::after{
    content:"";
    position:absolute;
    inset:0;
    border:2px solid #00c6ff;
    pointer-events:none;
}

.hero-btn::before{
    animation:wave 2.2s linear infinite;
}

.hero-btn::after{
    animation:wave 2.2s linear infinite 1.1s;
}

@keyframes wave{
    0%{
        transform:scale(1);
        opacity:.8;
    }
    100%{
        transform:scale(1.5);
        opacity:0;
    }
}

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

.about-content p{
    color:#d6d6d6;
    font-size:1.08rem;
    line-height:1.9;
}

.about-buttons{
    margin-top:35px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
    padding:9px 28px;
    border-radius:40px;
    transition:.3s;
    font-weight:600;
}

.primary-btn{
    background:#00c6ff;
    color:#08111d;
}

.primary-btn:hover{
    transform:translateY(-3px);
}

.secondary-btn{
    border:1px solid rgba(255,255,255,.2);
    backdrop-filter:blur(10px);
}

.secondary-btn:hover{
    background:rgba(255,255,255,.1);
}

.projects-grid{
    max-width:700px;
    margin:20px auto;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.project-card{
    width:320px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.08);
    position:relative;
    transition:.35s;
}

.project-card:nth-child(1){
    margin-left:10px;
    transform:rotate(-4deg);
    z-index:1;
}

.project-card:nth-child(2){
    margin-left:240px;
    margin-top:-120px;
    transform:rotate(3deg);
    z-index:2;
}

.project-card:nth-child(3){
    margin-left:530px;
    margin-top:-260px;
    transform:rotate(-2deg);
    z-index:3;
}

.project-card:hover{
    transform:translateY(-10px) scale(1.03) rotate(0deg);
}

.project-icon img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.project-text{
    padding:12px;
    text-align:left;
}

.project-text h3{
    font-size:1.15rem;
    font-weight:700;
}

.contact-container{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:45px;
    flex-wrap:wrap;
    margin-top:10px;
}

.contact-card{
    background:none;
    border:none;
    backdrop-filter:none;
    padding:0;
    text-align:center;
    transition:.3s;
}

.contact-card:hover{
    transform:translateY(-6px);
}

.contact-card img{
    width:52px;
    height:52px;
    object-fit:contain;
    margin:auto;
    margin-bottom:10px;
    filter:drop-shadow(0 8px 18px rgba(0,198,255,.25));
}

.contact-card h3{
    font-size:.95rem;
    font-weight:500;
}

.contact-card span{
    display:none;
}

.contact-location{
    margin-top:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}

.contact-location img{
    width:26px;
    margin:0;
}

.contact-location p{
    margin:0;
    color:#d4d4d4;
}

footer{
    text-align:center;
    padding:5px;
    border-top:1px solid rgba(255,255,255,.08);
}

footer p{
    color:#d5d5d5;
    margin-bottom:5px;
}

.footer-credit{
    color:#00c6ff;
    transition:.3s;
}

.footer-credit:hover{
    opacity:.75;
}

.contact{
    padding-top:20px;
    padding-bottom:190px;
}

.hero h1,
.hero h2,
.hero p,
.section-header h2,
.section-header p,
.about-content p,
.project-text h3,
.contact-location p,
footer p,
.footer-credit{
    text-shadow:
        0 0 6px rgba(8,17,29,.9),
        0 0 12px rgba(8,17,29,.8),
        0 2px 10px rgba(8,17,29,.9);
}


.carousel-dots{
    display:none;
}


.dot{
    width:9px;
    height:9px;
    background:rgba(255,255,255,.35);
    border-radius:50%;
    transition:.3s;
}


.dot.active{
    width:24px;
    border-radius:10px;
    background:#00c6ff;
}


@media (max-width:768px){

header{
    backdrop-filter:blur(15px);
}

body{
    background:#08111d;
}

.hero,
.about,
.projects,
.contact,
footer{
    background:
        linear-gradient(rgba(7,10,18,.85), rgba(7,10,18,.85)),
        url("../assets/images/background.jpg") center top no-repeat;

    background-size:1100px auto;
}

.navbar{
    height:50px;
    justify-content:flex-end;
    position:relative;
}

.menu-toggle{
    display:block;
    background:none;
    border:none;
    color:#fff;
    font-size:1.5rem;
    cursor:pointer;
    z-index:1002;
}

.nav-menu{
    position:absolute;
    top:55px;
    right:20px;
    width:180px;
    height:auto;
    padding:18px;
    background:rgba(12,16,25,.98);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:0;
    box-shadow:0 15px 35px rgba(0,0,0,.35);

    opacity:0;
    visibility:hidden;
    transform:translateY(-12px);
    transition:.25s;
    z-index:1002;
}

.nav-menu.active{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.nav-links{
    display:flex;
    flex-direction:column;
    gap:16px;
    align-items:flex-start;
}

.nav-links li{
    width:100%;
}

.nav-links a{
    display:block;
    width:100%;
    font-size:1.05rem;
}

.hero{
    min-height:100vh;
    padding:40px 20px 170px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-image{
    width:140px;
    height:140px;
}

.hero h1{
    font-size:2.5rem;
}

.hero h2{
    font-size:1.1rem;
}

.hero p{
    font-size:.95rem;
}

.section-header h2{
    font-size:2rem;
}

.about-content p{
    font-size:1rem;
}

.about-buttons{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    gap:12px;
    flex-wrap:nowrap;
}

.primary-btn,
.secondary-btn{
    width:auto;
    min-width:145px;
    padding:8px 18px;
    text-align:center;
    font-size:.9rem;
}

.projects-grid{

    display:flex;
    flex-direction:row;

    overflow-x:auto;
    overflow-y:hidden;

    width:100%;

    gap:40px;

    padding-left:calc((100% - 320px) / 2);
    padding-right:calc((100% - 320px) / 2);

    scroll-snap-type:x mandatory;

    scrollbar-width:none;

    overscroll-behavior-x:none;
    -webkit-overflow-scrolling:touch;

}


.projects-grid::-webkit-scrollbar{
    display:none;
}


.project-card{

    flex:0 0 320px;

    width:320px;

    scroll-snap-align:center;

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

    backdrop-filter:blur(18px);

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

    border-radius:10px;

    overflow:hidden;

    position:relative;

    transition:transform .35s ease;

}

.project-card:hover{
    transform:translateY(-8px) scale(1.03);
}

.projects-grid .project-card:nth-child(1),
.projects-grid .project-card:nth-child(2),
.projects-grid .project-card:nth-child(3){

    margin:0;
    transform:none;

}


.project-icon img{

    width:100%;

    height:190px;

    object-fit:cover;

}


.project-text{

    padding:10px;

    text-align:right;

}


.project-text h3{

    font-size:1.15rem;

}

.project-text p{
    font-size:.85rem;
    line-height:1.5;
}

.contact{
    padding-top:30px;
    padding-bottom:160px;
}

.contact-container{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:nowrap;
    gap:18px;
    margin-top:20px;
}

.contact-card{
    padding:0;
}

.contact-card img{
    width:42px;
    height:42px;
    margin:0;
}

.contact-card h3,
.contact-card span{
    display:none;
}

.contact-location{
    margin-top:28px;
    flex-direction:row;
    justify-content:center;
}

.contact-location img{
    width:22px;
}

.contact-location p{
    font-size:.9rem;
    text-align:center;
}

footer{
    padding:5px;
}

footer p,
.footer-credit{
    font-size: 12px;
}

.carousel-dots{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:25px;
}

}

.clone{
    display:none;
}

@media(max-width:768px){

.clone{
    display:block;
}

}