/* style.css */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: white;
    overflow-x: hidden;
}

/* NAVBAR */

header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
}

.navbar{
    width: 90%;
    margin: auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.logo span{
    color: #38bdf8;
}

.nav-links{
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a{
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover{
    color: #38bdf8;
}

.nav-btn{
    text-decoration: none;
    background: #38bdf8;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s ease;
}

.nav-btn:hover{
    background: #0ea5e9;
    transform: translateY(-2px);
}




/* HAMBURGER */

.hamburger{
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;

    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2000;
}

@media(max-width: 768px){

    .nav-links{
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;

        background: #111827;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 30px;

        transition: 0.4s ease;
        z-index: 1500;
    }

    .nav-links.active{
        left: 0;
    }
}




/* SERVICES SLIDER WRAPPER */
.services-slider{
    position: relative;
    display: flex;
    align-items: center;
}

/* DESKTOP GRID */
.services-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* SIDE BUTTONS */
.scroll-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;
    border-radius: 50%;

    border: none;
    background: #38bdf8;
    color: white;
    font-size: 22px;

    cursor: pointer;
    z-index: 10;
    transition: 0.3s ease;
}

.scroll-btn:hover{
    background: #0ea5e9;
}

/* POSITION LEFT */
.left-btn{
    left: -20px;
}

/* POSITION RIGHT */
.right-btn{
    right: -20px;
}

/* SERVICE CARD */
.service-card{
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 35px;
    border-radius: 25px;
    transition: 0.3s ease;
}

.service-card:hover{
    transform: translateY(-10px);
    border-color: rgba(56,189,248,0.4);
}

/* ICON */
.service-icon{
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(56,189,248,0.15);
    border-radius: 18px;
    font-size: 28px;
    margin-bottom: 20px;
}

/* MOBILE */
@media(max-width: 768px){

    .services-container{
        display: flex;
        overflow-x: auto;
        gap: 20px;
        scroll-snap-type: x mandatory;
    }

    .service-card{
        min-width: 85%;
        scroll-snap-align: center;
    }

    .scroll-btn{
        display: none;
    }
}
/* HERO SECTION */

.hero{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Reduced top padding */
    padding: 90px 10% 40px;

    background:
    radial-gradient(circle at top left, rgba(59,130,246,0.25), transparent 30%),
    radial-gradient(circle at bottom right, rgba(168,85,247,0.25), transparent 30%),
    #0f172a;
}

.hero-content{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    min-height: calc(100vh - 100px);
}

/* LEFT */

.text-content{
    flex: 1;
    min-width: 300px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 12px;
}.text-content{
    flex: 1;
    min-width: 300px;

    display: flex;
    flex-direction: column;
    justify-content: center;
/* 
    gap: 12px; */
}

.small-title{
    color: #38bdf8;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
}

.text-content h1{
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.text-content h1 span{
    color: #38bdf8;
}

.description{
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 600px;
}

/* BUTTONS */

.buttons{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn{
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s ease;
}

.primary-btn{
    background: #38bdf8;
    color: white;
}

.primary-btn:hover{
    background: #0ea5e9;
    transform: translateY(-3px);
}

.secondary-btn{
    border: 2px solid #38bdf8;
    color: #38bdf8;
}

.secondary-btn:hover{
    background: #38bdf8;
    color: white;
    transform: translateY(-3px);
}

/* IMAGE */

.image-content{
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 300px;
}

.image-card{
    width: 500px;
    height: 500px;
    position: relative;
    top: -150px;
    right: -100px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.image-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ABOUT */

.about{
    padding: 100px 10%;
    background: #111827;
}

.about-container{
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-image{
    flex: 1;
    min-width: 300px;
}

.about-image img{
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.about-text{
    flex: 1;
    min-width: 300px;
}

.about-text h2{
    font-size: 42px;
    margin-bottom: 20px;
}

.about-text p{
    color: #cbd5e1;
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 17px;
}

/* SKILLS */

.skills{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.skills span{
    background: rgba(56,189,248,0.15);
    border: 1px solid rgba(56,189,248,0.3);
    padding: 10px 18px;
    border-radius: 30px;
    color: #38bdf8;
    font-size: 14px;
    font-weight: 500;
}

/* RESPONSIVE */

@media(max-width: 992px){

    .navbar{
        flex-direction: column;
        gap: 20px;
    }

    .nav-links{
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content{
        flex-direction: column-reverse;
        text-align: center;
    }

    .buttons{
        justify-content: center;
    }

    .about-container{
        flex-direction: column;
    }

    .about-text{
        text-align: center;
    }

    .skills{
        justify-content: center;
    }

    .text-content h1{
        font-size: 45px;
    }
}

@media(max-width: 576px){

    .text-content h1{
        font-size: 36px;
    }

    .description{
        font-size: 16px;
    }

    .nav-links{
        gap: 15px;
    }

    .nav-links a{
        font-size: 14px;
    }

    .image-card{
        width: 100%;
        height: auto;
    }
}





/* CONTACT */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: white;
}

/* NAVBAR */

header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
}

.navbar{
    width: 90%;
    margin: auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    font-size: 28px;
    font-weight: 700;
}

.logo span{
    color: #38bdf8;
}

.nav-links{
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a{
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links .active{
    color: #38bdf8;
}

.nav-btn{
    text-decoration: none;
    background: #38bdf8;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s ease;
}

.nav-btn:hover{
    background: #0ea5e9;

}



/* SERVICES */


/* SERVICES SECTION */

.services{
    padding: 100px 10%;
    background: #0f172a;
}

.section-title{
    text-align: center;
    margin-bottom: 70px;
}

.section-title p{
    color: #38bdf8;
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title h2{
    font-size: 42px;
}

.services-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* MOBILE SLIDER */
@media(max-width: 768px){

    .services-container{
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 10px;
    }

    .services-container::-webkit-scrollbar{
        display: none;
    }

    .service-card{
        min-width: 85%;
        scroll-snap-align: center;
    }
}

.service-card{
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 35px;
    border-radius: 25px;
    transition: 0.4s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover{
    transform: translateY(-10px);
    border-color: rgba(56,189,248,0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.service-icon{
    width: 70px;
    height: 70px;
    background: rgba(56,189,248,0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
}

.service-card h3{
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p{
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 15px;
}

/* RESPONSIVE */

@media(max-width: 576px){

    .section-title h2{
        font-size: 32px;
    }

    .service-card{
        padding: 25px;
    }
}



/* TESTIMONIAL SECTION */

/* TESTIMONIAL SECTION */

.testimonials{
    padding: 100px 10%;
    background: #111827;
}

.testimonial-wrapper{
    overflow: hidden;
    width: 100%;
}

/* TRACK */
.testimonial-track{
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 22s ease-in-out infinite;
}

/* SMALLER CARDS */
.testimonial-card{
    min-width: 320px;
    max-width: 320px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.testimonial-card:hover{
    transform: translateY(-6px);
    border-color: rgba(56,189,248,0.4);
}

/* QUOTE */
.quote{
    font-size: 40px;
    color: #38bdf8;
    margin-bottom: 10px;
}

.testimonial-card p{
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 14px;
}

/* CLIENT */
.client{
    display: flex;
    align-items: center;
    gap: 12px;
}

.client img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #38bdf8;
}

.client h4{
    font-size: 15px;
    margin-bottom: 3px;
}

.client span{
    color: #94a3b8;
    font-size: 12px;
}

/* AUTO SCROLL WITH PAUSE EFFECT */
@keyframes scroll {

    0%{
        transform: translateX(0);
    }

    20%{
        transform: translateX(0); /* pause */
    }

    50%{
        transform: translateX(-30%);
    }

    70%{
        transform: translateX(-30%); /* pause */
    }

    100%{
        transform: translateX(-60%);
    }
}


/* BLOG SECTION */

.blog{
    padding: 100px 10%;
    background: #0f172a;
}

.blog-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media(max-width: 768px){

    .blog-container{
        display: flex;
        overflow-x: auto;
        gap: 20px;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }

    .blog-container::-webkit-scrollbar{
        display: none;
    }

    .blog-card{
        min-width: 85%;
        scroll-snap-align: center;
    }
}


@media(max-width: 768px){

    .testimonial-track{
        gap: 15px;
        animation-duration: 30s;
    }

    .testimonial-card{
        min-width: 85vw;
        max-width: 85vw;
    }
}

/* BLOG CARD */
.blog-card{
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-card:hover{
    transform: translateY(-10px);
    border-color: rgba(56,189,248,0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* IMAGE */
.blog-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTENT */
.blog-content{
    padding: 20px;
}

.tag{
    display: inline-block;
    background: rgba(56,189,248,0.15);
    color: #38bdf8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.blog-content h3{
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content p{
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.blog-content a{
    text-decoration: none;
    color: #38bdf8;
    font-weight: 600;
    transition: 0.3s;
}

.blog-content a:hover{
    color: #0ea5e9;
}

/* RESPONSIVE */
@media(max-width: 992px){
    .testimonial-card{
        min-width: 280px;
        max-width: 280px;
    }
}

@media(max-width: 600px){
    .testimonial-card{
        min-width: 260px;
        max-width: 260px;
    }
}
/* CONTACT PAGE */

.contact-section{
    min-height: 100vh;
    padding: 140px 10% 80px;

    background:
    radial-gradient(circle at top left, rgba(59,130,246,0.2), transparent 30%),
    radial-gradient(circle at bottom right, rgba(168,85,247,0.2), transparent 30%),
    #0f172a;
}

.contact-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

/* LEFT */

.contact-info{
    flex: 1;
    min-width: 300px;
}

.small-title{
    color: #38bdf8;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
}

.contact-info h1{
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.contact-text{
    color: #cbd5e1;
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 550px;
}

.info-box{
    margin-bottom: 25px;
}

.info-box h3{
    color: #38bdf8;
    margin-bottom: 8px;
}

.info-box p{
    color: #e2e8f0;
}

/* FORM */

.contact-form-box{
    flex: 1;
    min-width: 320px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.input-group{
    margin-bottom: 20px;
}

.input-group input,
.input-group textarea{
    width: 100%;
    padding: 16px;
    border: none;
    outline: none;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 15px;
}

.input-group textarea{
    resize: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder{
    color: #cbd5e1;
}

.submit-btn{
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: #38bdf8;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover{
    background: #0ea5e9;
    transform: translateY(-2px);
}




/* FOOTER */

.footer{
    background: #020617;
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container{
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
}

/* FOOTER LOGO */
.footer-logo{
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-logo span{
    color: #38bdf8;
}

.footer-box p{
    color: #94a3b8;
    line-height: 1.8;
    font-size: 15px;
}

/* TITLES */
.footer-box h3{
    margin-bottom: 20px;
    font-size: 20px;
}

/* LINKS */
.footer-box ul{
    list-style: none;
}

.footer-box ul li{
    margin-bottom: 12px;
}

.footer-box ul li a{
    text-decoration: none;
    color: #94a3b8;
    transition: 0.3s ease;
}

.footer-box ul li a:hover{
    color: #38bdf8;
    padding-left: 5px;
}

/* FOOTER BOTTOM */
.footer-bottom{
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 20px 10px;
}

.footer-bottom p{
    color: #94a3b8;
    font-size: 14px;
}

/* RESPONSIVE */
@media(max-width: 768px){

    .footer{
        text-align: center;
    }

    .footer-box ul li a:hover{
        padding-left: 0;
    }
}



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: white;
}

/* NAVBAR */

header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(15,23,42,0.9);
    backdrop-filter: blur(10px);
}

.navbar{
    width: 90%;
    margin: auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    font-size: 28px;
    font-weight: 700;
}

.logo span{
    color: #38bdf8;
}

.nav-links{
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a{
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links .active{
    color: #38bdf8;
}

.nav-btn{
    text-decoration: none;
    background: #38bdf8;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-btn:hover{
    background: #0ea5e9;
}

/* HERO */

.portfolio-hero{
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 10% 80px;

    background:
    radial-gradient(circle at top left, rgba(59,130,246,0.2), transparent 30%),
    radial-gradient(circle at bottom right, rgba(168,85,247,0.2), transparent 30%),
    #0f172a;
}

.hero-content{
    max-width: 800px;
}

.small-title{
    color: #38bdf8;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero-content h1{
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p{
    color: #cbd5e1;
    line-height: 1.8;
}

/* PORTFOLIO */

.portfolio-section{
    padding: 100px 10%;
    background: #111827;
}

.portfolio-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-card{
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
}

.portfolio-card:hover{
    transform: translateY(-10px);
    border-color: rgba(56,189,248,0.4);
}

.portfolio-card img{
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.portfolio-content{
    padding: 25px;
}

.portfolio-content span{
    color: #38bdf8;
    font-size: 13px;
}

.portfolio-content h3{
    font-size: 24px;
    margin: 15px 0;
}

.portfolio-content p{
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 20px;
}

.portfolio-content a{
    text-decoration: none;
    color: #38bdf8;
    font-weight: 600;
}

/* FOOTER */

.footer{
    background: #020617;
    padding-top: 80px;
}

.footer-container{
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo{
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-logo span{
    color: #38bdf8;
}

.footer-box h3{
    margin-bottom: 20px;
}

.footer-box p,
.footer-box ul li a{
    color: #94a3b8;
    text-decoration: none;
    line-height: 1.8;
}

.footer-box ul{
    list-style: none;
}

.footer-box ul li{
    margin-bottom: 10px;
}

.footer-box ul li a:hover{
    color: #38bdf8;
}

.footer-bottom{
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p{
    color: #94a3b8;
}

/* RESPONSIVE */

@media(max-width: 992px){

    .navbar{
        flex-direction: column;
        gap: 20px;
    }

    .hero-content h1{
        font-size: 42px;
    }
}

@media(max-width: 576px){

    .hero-content h1{
        font-size: 34px;
    }

    .nav-links{
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a{
        font-size: 14px;
    }
}




/* RESPONSIVE */

@media(max-width: 992px){

    .navbar{
        flex-direction: column;
        gap: 20px;
    }

    .nav-links{
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-container{
        flex-direction: column;
    }

    .contact-info{
        text-align: center;
    }

    .contact-info h1{
        font-size: 42px;
    }
}

@media(max-width: 576px){

    .contact-info h1{
        font-size: 34px;
    }

    .contact-form-box{
        padding: 25px;
    }

    .nav-links{
        gap: 15px;
    }

    .nav-links a{
        font-size: 14px;
    }
}


@media(max-width: 768px){

    .hero{
        padding: 120px 7% 60px;
        min-height: auto;
    }

    .hero-content{
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .text-content{
        align-items: center;
    }

    .text-content h1{
        font-size: 38px;
    }

    .description{
        font-size: 16px;
        max-width: 100%;
    }

    .buttons{
        justify-content: center;
    }

    .image-card{
        width: 280px;
        height: 330px;

        top: 0;
        right: 0;
    }
}