*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, .logo{
    font-family: 'Poppins', sans-serif;
}

body{
    font-family: 'Inter', sans-serif;

   background:
    linear-gradient(
    135deg,
    #7da15f,
    #8db56d,
    #b2d596
    );

    color: #f8fafc;

    min-height: 100vh;

    overflow-x: hidden;
}
.about-text{
    flex: 1;

    text-align: justify;

    font-family: 'Inter', sans-serif;

    font-size: 18px;

    line-height: 1.9;
}
/* FLOATING BUBBLES */

.bubble{
    position: fixed;
    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    z-index: -1;

    animation: float 6s ease-in-out infinite;
}

.bubble1{
    width: 220px;
    height: 220px;

    top: 10%;
    left: 5%;
}

.bubble2{
    width: 300px;
    height: 300px;

    bottom: 10%;
    right: 5%;
}

.bubble3{
    width: 180px;
    height: 180px;

    top: 55%;
    left: 40%;
}

@keyframes float{
    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-20px);
    }

    100%{
        transform: translateY(0px);
    }
}

/* NAVBAR */

.navbar{
    position: sticky;
    top: 20px;

    width: 90%;
    margin: 20px auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 40px;

    border-radius: 25px;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.15);

    box-shadow:
        0 8px 32px rgba(0,0,0,0.2);
}

.logo{
    color: #f8fafc;
}

.nav-links{
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a{
    text-decoration: none;
    color: #f8fafc;

    transition: 0.3s;
}

.nav-links a:hover{
    color: #d4f0b1;
}

/* HERO SECTION */

.hero{
    min-height: 90vh;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 50px 10%;
}

.hero-text{
    max-width: 550px;
}

.hero-text h1{
    font-size: 60px;
    margin: 15px 0;
}

.hero-text p{
    line-height: 1.8;
    margin-bottom: 25px;
}

/* BUTTON */

.btn{
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    background: rgba(255,255,255,0.12);
    color: #f8fafc;
    text-decoration: none;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}

.btn:hover{
    background: rgba(255,255,255,0.22);

    transform: scale(1.05);
}

/* PROFILE IMAGE */

.hero-image img{
    width: 320px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.2);
    box-shadow:
        0 8px 40px rgba(0,0,0,0.4);
}

/* PAGE SECTION */

.page-section{
    padding: 80px 10%;
}

/* CARD CONTAINER */

.card-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 40px;
}

/* GLASS CARDS */

.card,
.project-card{
    width: 260px;
    padding: 25px;
    background: rgba(255,255,255,0.08);

    border-radius: 30px;

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.15);

    box-shadow:
        0 8px 32px rgba(0,0,0,0.2);

    transition: 0.3s ease;
}

.card:hover,
.project-card:hover{
    transform: translateY(-10px) scale(1.03);

    box-shadow:
        0 15px 40px rgba(56,189,248,0.25);
}

/* CERTIFICATES */

.certificate-grid{
    display: grid;

    grid-template-columns:
    repeat(4, 1fr);

    gap: 25px;

    margin-top: 40px;
}

.cert-img{
    width: 100%;

    border-radius: 20px;

    cursor: pointer;

    transition: 0.3s;
}

.cert-img:hover{
    transform: scale(0.8);
}

/* MODAL */

.modal{
    display: none;

    position: fixed;

    inset: 0;

    background:
    rgba(0,0,0,0.88);

    backdrop-filter: blur(8px);

    z-index: 999;
}

.modal img{
    display: block;

    max-width: 80%;
    max-height: 80vh;

    margin: auto;

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 20px;

    object-fit: contain;

    box-shadow:
    0 10px 40px rgba(0,0,0,0.5);
}

.modal img{
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn{

    from{
        transform:
        translate(-50%, -50%)
        scale(0.7);

        opacity: 0;
    }

    to{
        transform:
        translate(-50%, -50%)
        scale(1);

        opacity: 1;
    }
}

.close{
    position: absolute;

    top: 20px;
    right: 40px;

    font-size: 40px;

    cursor: pointer;
}

/* RESPONSIVE */

@media(max-width: 768px){

    .hero{
        flex-direction: column;
        text-align: center;
    }

    .hero-image img{
        margin-top: 30px;
        width: 230px;
    }

    .navbar{
        flex-direction: column;
        gap: 15px;
    }

    .hero-text h1{
        font-size: 45px;
    }
    .abm{
    flex-direction: column;
    text-align: center;
}
.abm img{
    margin-top: 30px;
    width: 230px;
}
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* FLOATING BUBBLES */

.bubble{
    position: fixed;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    z-index: -1;

    animation: float 6s ease-in-out infinite;
}

.bubble1{
    width: 220px;
    height: 220px;

    top: 10%;
    left: 5%;
}

.bubble2{
    width: 300px;
    height: 300px;

    bottom: 10%;
    right: 5%;
}

.bubble3{
    width: 180px;
    height: 180px;

    top: 55%;
    left: 40%;
}

@keyframes float{

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-20px);
    }

    100%{
        transform: translateY(0px);
    }
}

/* NAVBAR */

.navbar{
    position: sticky;

    top: 20px;

    width: 90%;

    margin: 20px auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 40px;

    border-radius: 25px;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.15);

    box-shadow:
    0 8px 32px rgba(0,0,0,0.2);
}

.logo{
    color: #ffffff;
}

/* NAV LINKS */

.nav-links{
    display: flex;

    gap: 25px;

    list-style: none;
}

.nav-links a{
    text-decoration: none;

    color: #f8fafc;

    transition: 0.3s;
}

.nav-links a:hover{
    color: #d4f0b1;
}

/* PAGE SECTION */

.page-section{
    padding: 80px 10%;
}

/* TITLE */

.page-section h1{
    font-size: 45px;

    margin-bottom: 20px;
}

/* BUTTON */

.btn{
    display: inline-block;

    padding: 12px 24px;

    border-radius: 50px;

    background: rgba(255,255,255,0.12);

    color: #f8fafc;

    text-decoration: none;

    border: 1px solid rgba(255,255,255,0.2);

    backdrop-filter: blur(12px);

    transition: 0.3s ease;
}

.btn:hover{
    background: rgba(255,255,255,0.22);

    transform: scale(1.05);
}

/* ========================= */
/* CLASSWORK CONTAINER */
/* ========================= */

.classwork-container{
    display: flex;

    flex-wrap: wrap;

    gap: 40px;

    margin-top: 50px;
}

/* WORK CARD */

.work-card{
    position: relative;

    width: 330px;

    height: 430px;

    border-radius: 35px;

    overflow: hidden;

    cursor: pointer;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.15);

    box-shadow:
    0 10px 40px rgba(0,0,0,0.35);

    transition: 0.5s ease;
}

/* MAIN IMAGE */

.main-img{
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;
}

/* GLASS OVERLAY */

.glass-overlay{
    position: absolute;

    inset: 0;

    background:
    linear-gradient(
        to top,
        rgba(15,23,42,0.9),
        rgba(255,255,255,0.05)
    );

    backdrop-filter: blur(4px);

    opacity: 0.8;
}

/* HOVER CONTENT */

.hover-content{
    position: absolute;

    bottom: -100%;

    left: 0;

    width: 100%;

    height: 100%;

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    background:
    rgba(15,23,42,0.92);

    backdrop-filter: blur(20px);

    transition: 0.5s ease;
}

/* HOVER IMAGE */

.hover-img{
    width: 90%;

    border-radius: 20px;

    margin-bottom: 20px;

    box-shadow:
    0 8px 25px rgb(36, 182, 0);
}

/* TITLE */

.hover-content h2{
    margin-bottom: 15px;

    font-size: 28px;
}

/* DESCRIPTION */

.hover-content p{
    line-height: 1.7;

    margin-bottom: 20px;
}

/* EXPANDABLE CARD EFFECT */

.work-card:hover{
    transform:
    scale(1.05)
    translateY(-10px);

    box-shadow: 0 20px 50px rgba(178,213,150,0.45);
}

/* SHOW HOVER CONTENT */

.work-card:hover .hover-content{
    bottom: 0;
}

/* IMAGE ZOOM */

.work-card:hover .main-img{
    transform: scale(1.15);
}

/* GLOW BORDER */

.work-card::before{
    content: "";

    position: absolute;

    inset: 0;

    border-radius: 35px;

    padding: 2px;

    background:
    linear-gradient(
        135deg,
        rgba(125,161,95,0.8),
        rgba(178,213,150,0.8)
    );

    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    
    pointer-events: none;

    opacity: 0;

    transition: 0.4s ease;
}

/* SHOW GLOW */

.work-card:hover::before{
    opacity: 1;
}

/* RESPONSIVE */

@media(max-width: 768px){

    .navbar{
        flex-direction: column;

        gap: 15px;
    }

    .page-section h1{
        font-size: 35px;
    }

    .classwork-container{
        justify-content: center;
    }

    .work-card{
        width: 100%;
        max-width: 330px;
    }
}

.s1{
    display: flex;

    justify-content: center;

    align-items: center;
}

.s2{
    display: flex;

    justify-content: center;

    align-items: center;
}

.s3{
    display: flex;

    justify-content: center;

    align-items: center;
}
.s4{
    display: flex;

    justify-content: center;

    align-items: center;
}
.s5{
    display: flex;

    justify-content: center;

    align-items: center;
}
.s6{
    display: flex;

    justify-content: center;

    align-items: center;
}
.s7{
    display: flex;

    justify-content: center;

    align-items: center;
}
.s8{
    display: flex;

    justify-content: center;

    align-items: center;
}
.s9{
    display: flex;

    justify-content: center;

    align-items: center;
}

.s10{
    display: flex;

    justify-content: center;

    align-items: center;
}

.s11{
    display: flex;

    justify-content: center;

    align-items: center;
}
.abm{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

html, body{
    width: 100%;
    overflow-x: hidden;
}

/* HERO SECTION */

.hero{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
}

/* ABOUT SECTION */

.abm{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: nowrap;
}

/* IMAGES */

img{
    max-width: 100%;
    height: auto;
}

/* WORK CARDS */

.work-card{
    width: 100%;
    max-width: 330px;
}

/* CLASSWORK CONTAINER */

.classwork-container{
    display: flex;

    flex-wrap: wrap;

    justify-content: center;
}

/* NAVBAR */

.navbar{
    width: 95%;
}

/* PHONE FIX */
@media(max-width: 700px){
    .hero,
    .abm{
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .hero-text h1{
        font-size: 40px;
    }
    .page-section h1{
        font-size: 32px;
    }
    .navbar{
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    .nav-links{
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero-image img,

    .s1 img{
        width: 90%;
        max-width: 250px;
    }
    .work-card{
        max-width: 100%;
    }
    .modal img{
        width: 95%;
    }
    .about-image{
    justify-content: center;
}

.about-text{
    text-align: center;
    text-align: justify;
}
}

.logo a{
    text-decoration: none;

    color: white;
}
body{
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
.logo,
.nav-links a,
.btn{
    font-family: 'Poppins', sans-serif;
}

.featured-certificates{
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 30px;

    margin-top: 40px;

    margin-bottom: 80px;
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}

/* FEATURED IMAGES */

.featured-cert{
    width: 350px;

    border-radius: 25px;

    cursor: pointer;

    transition: 0.4s ease;

    box-shadow:
    0 10px 35px rgba(0,0,0,0.25);
}

/* HOVER EFFECT */

.featured-cert:hover{
    transform:
    scale(1.03)
    translateY(-8px);

    box-shadow:
    0 18px 40px rgba(178,213,150,0.35);
}

/* SECTION TITLES */

.cert-title{
    text-align: center;

    font-size: 32px;

    margin-top: 30px;

    margin-bottom: 20px;
}