/* Google Font */

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

:root {

    --bg: #0f172a;
    --card: #1e293b;
    --primary: #38bdf8;
    --text: #f8fafc;
    --text-light: #94a3b8;

}

body{
    font-family: 'Poppins', sans-serif;
    
    background:
        radial-gradient(450px circle at 10% 20%, rgba(30,64,175,.45), transparent 70%),
        radial-gradient(450px circle at 85% 85%, rgba(30,64,175,.45), transparent 70%),
        #0f172a;

    background-attachment: fixed;

    color: white;

    padding-top:100px;
}



/* Navigation */

.navbar{
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    max-width: 1200px;

    padding: 18px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(15,23,42,.65);
    backdrop-filter: blur(14px);

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

    z-index: 1000;
}

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

.logo{

    font-size:2rem;

    color:#38bdf8;

    font-weight:700;

    letter-spacing:2px;

}

.nav-links a{

    color:white;
    text-decoration:none;

    font-weight:500;

    position:relative;

    transition:.3s;

}



.nav-links a:hover{

    color:var(--primary);

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-6px;

    width:0%;
    height:2px;

    background:#38bdf8;

    transition:.3s;

}

.nav-links a:hover::after{

    width:100%;

}

/* Hero Section */

.hero{

    width:min(90%,1200px);

    margin:auto;

    min-height:100vh;

    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:120px;

}

.hero-text{
    flex:1;
    max-width:650px;
}

.hero-image{

    flex:1;

    display:flex;
    justify-content:center;

}

.hero-image img{

    width:380px;
aspect-ratio:4/5;
height:auto;
    object-fit:cover;

    border-radius:30px;

    border:3px solid #38bdf8;

    box-shadow:
    0 0 20px rgba(56,189,248,.35),
    0 20px 40px rgba(0,0,0,.45);

}

.intro{

    color:#38bdf8;
    font-size:1.3rem;

    margin-bottom:15px;

}

.hero-text h1{

    font-size:5rem;
    font-weight:700;
    line-height:1;
    margin-bottom:25px;

    opacity:0;
    transform:translateY(40px);

    animation:fadeUp 1.4s ease forwards;

}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.hero-text h3{
    font-size:1.35rem;
    color:#cbd5e1;
    font-weight:400;
    margin-bottom:12px;
}

.description{
    margin-top:25px;
    max-width:560px;

    color:#94a3b8;

    font-size:1.05rem;
    line-height:1.9;
}

.buttons{

    margin-top:40px;

    display:flex;

    gap:20px;

}

.primary-btn{

    background:#38bdf8;

    color:white;

    text-decoration:none;

    padding:15px 35px;

    border-radius:12px;

    font-weight:600;

    transition:.3s;

}

.primary-btn:hover{

    transform:translateY(-5px);
    box-shadow:0 10px 30px rgba(56,189,248,.4);

}

.secondary-btn{

    color:white;

    text-decoration:none;

    border:2px solid #38bdf8;

    padding:15px 35px;

    border-radius:12px;

    transition:.3s;

}

.secondary-btn:hover{

    background:#38bdf8;
    color:#0f172a;

}

/* ===========================
   Tablet
=========================== */

@media (max-width: 992px){

    .hero{
        flex-direction: column-reverse;
        text-align: center;
        gap: 60px;
        padding: 40px 0;
    }

    .hero-text{
        max-width:100%;
    }

    .buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    .hero-image img{
        width:300px;
    }

    .hero-text h1{
        font-size:3.5rem;
    }

}

/* ===========================
   Mobile
=========================== */

@media (max-width: 768px){

    .navbar{
        width:95%;
        padding:15px 20px;
    }

    .nav-links{
        gap:18px;
    }

    .nav-links a{
        font-size:.9rem;
    }

    .hero{

        padding-top:40px;

    }

    .hero-text h1{

        font-size:2.8rem;

    }

    .hero-text h3{

        font-size:1.1rem;

    }

    .description{

        font-size:1rem;

    }

    .hero-image img{

        width:240px;

    }

}

@media (max-width:576px){

    .navbar{

        flex-direction:column;
        gap:15px;

    }

    .nav-links{

        flex-wrap:wrap;
        justify-content:center;
        gap:15px;

    }

    .hero-text h1{

        font-size:2.2rem;

    }

    .buttons{

        flex-direction:column;
        align-items:center;

    }

    .primary-btn,
    .secondary-btn{

        width:220px;
        text-align:center;

    }

}

/* About Section */

.about {
    padding: 80px 10%;
    background: transparent;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary);
}

.about-content {
    max-width: 650px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: var(--primary);
    color: var(--bg);
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

.btn:hover {
    opacity: 0.8;
}


/* Mobile Responsive */

@media(max-width: 768px) {

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        width: 200px;
        height: 200px;
    }

}

html {
    scroll-behavior: smooth;
}

/* Skills Section */

.skills{

    padding: 80px 10%;
    background: transparent;

}

.section-title{

    text-align:center;

    font-size:2.8rem;

    color:var(--primary);

    margin-bottom:60px;

}

.skills-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.skill-card{

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

    backdrop-filter:blur(12px);

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

    border-radius:20px;

    padding:30px;

    transition:.35s;

}

.skill-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:0 0 25px rgba(56,189,248,.2);

}

.skill-card h3{

    color:var(--primary);

    margin-bottom:20px;

}

.skill-card ul{

    list-style:none;

}

.skill-card li{

    color:var(--text-light);

    padding:10px 0;

    border-bottom:1px solid rgba(255,255,255,.05);

}

.skill-card li:last-child{

    border-bottom:none;

}

/* ===========================
   Education
=========================== */

.education{

    padding:100px 10%;

}

.education-container{

    max-width:900px;

    margin:auto;

}

.education-heading{

    color:var(--primary);

    font-size:1.6rem;

    margin:50px 0 25px;

}

.education-heading:first-of-type{

    margin-top:0;

}

.education-card{

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

    backdrop-filter:blur(12px);

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

    border-radius:20px;

    padding:35px;

    margin-bottom:35px;

    transition:.35s;

}

.education-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:0 15px 35px rgba(56,189,248,.18);

}

.education-card h3{

    color:var(--primary);

    margin-bottom:8px;

    font-size:1.5rem;

}

.education-card h4{

    color:white;

    font-weight:500;

    margin-bottom:10px;

}

.education-card span{

    display:inline-block;

    color:var(--text-light);

    margin-bottom:20px;

    font-size:.95rem;

}

.education-card p{

    color:var(--text-light);

    line-height:1.8;

}

.education-heading{

    color:var(--primary);

    font-size:1.6rem;

    margin:50px 0 25px;

    position:relative;

    display:inline-block;

}

.education-heading::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:60px;
    height:3px;

    background:var(--primary);

    border-radius:10px;

}

/* ===========================
   Projects Section
=========================== */

.projects {

    padding: 100px 10%;

    background: transparent;

}


/* Project Grid */

.projects-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

    gap: 40px;

    row-gap: 70px;

}


/* Project Card */

.project-card {

    background: rgba(255,255,255,0.05);

    backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 22px;

    overflow: hidden;

    transition: .35s;

}


.project-card:hover {

    transform: translateY(-10px);

    border-color: var(--primary);

    box-shadow:
    0 20px 40px rgba(56,189,248,.18);

}


/* Single Project Image */

.project-card > img {

    width:100%;

    height:230px;

    object-fit:cover;

}


/* Multiple Project Images */

.project-images {

    display:flex;

    gap:12px;

    padding:20px 20px 0;

}


.project-images img {

    width:50%;

    height:200px;

    object-fit:cover;

    border-radius:14px;

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

    transition:.3s;

}


.project-images img:hover {

    transform:scale(1.03);

}


/* Project Content */

.project-content {

    padding:30px;

}


.project-content h3 {

    color:var(--primary);

    font-size:1.6rem;

    margin-bottom:5px;

}


.project-content p {

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:25px;

}


/* Technology Tags */

.project-tech {

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:25px;

}


.project-tech span {

    background:rgba(56,189,248,.15);

    color:var(--primary);

    padding:8px 15px;

    border-radius:30px;

    font-size:.85rem;

    font-weight:500;

}


/* Project Role Badge */

.project-status {

    display:inline-block;

    padding:8px 16px;

    background:rgba(56,189,248,.15);

    color:var(--primary);

    border-radius:30px;

    font-size:.9rem;

    font-weight:600;

    margin-bottom:20px;

}


/* Buttons */

.project-buttons {

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}


.project-btn {

    background:var(--primary);

    color:#0f172a;

    text-decoration:none;

    padding:12px 25px;

    border-radius:12px;

    font-weight:600;

    transition:.3s;

}


.project-btn:hover {

    transform:translateY(-4px);

    box-shadow:
    0 10px 25px rgba(56,189,248,.3);

}


/* Secondary Button */

.project-btn.secondary {

    background:transparent;

    color:white;

    border:2px solid var(--primary);

}


.project-btn.secondary:hover {

    background:var(--primary);

    color:#0f172a;

}


/* Mobile Responsive */

@media(max-width:768px) {


    .projects {

        padding:80px 5%;

    }


    .projects-grid {

        grid-template-columns:1fr;

    }


    .project-images {

        flex-direction:column;

    }


    .project-images img {

        width:100%;

        height:220px;

    }


    .project-content {

        padding:25px;

    }


}

/* ===========================
   Certifications
=========================== */

.certifications {

    padding:100px 10%;

}


.certifications-grid {

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

}


.certification-card {

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

    backdrop-filter:blur(12px);

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

    border-radius:20px;

    overflow:hidden;

    transition:.35s;

}


.certification-card:hover {

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:
    0 15px 35px rgba(56,189,248,.15);

}


.certification-card img {

    width:100%;

    height:220px;

    object-fit:contain;

    background:white;

    padding:15px;

}


.certification-content {

    padding:25px;

}


.certification-content h3 {

    color:var(--primary);

    font-size:1.2rem;

    margin-bottom:8px;

}


.certification-content h4 {

    color:white;

    font-weight:500;

    margin-bottom:15px;

}


.certification-content p {

    color:var(--text-light);

    line-height:1.7;

}

/* Certificate Button */

.certificate-btn {

    display:inline-block;

    margin-top:20px;

    padding:10px 22px;

    background:var(--primary);

    color:#0f172a;

    text-decoration:none;

    border-radius:12px;

    font-weight:600;

    font-size:.9rem;

    transition:.3s;

}


.certificate-btn:hover {

    transform:translateY(-4px);

    box-shadow:
    0 10px 25px rgba(56,189,248,.3);

}

/* ===========================
   Achievements Section
=========================== */

.achievements {

    padding:100px 10%;

}


.achievements-grid {

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

}


.achievement-card {

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

    backdrop-filter:blur(12px);

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

    border-radius:20px;

    overflow:hidden;

    transition:.35s;

}


.achievement-card:hover {

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:
    0 15px 35px rgba(56,189,248,.15);

}


.achievement-card img {

    width:100%;

    height:250px;

    object-fit:cover;

    object-position:center 35%;

    background:white;

    padding:0;

}

.achievement-card img {

    transition:.4s;

}


.achievement-card:hover img {

    transform:scale(1.05);

}


.achievement-content {

    padding:25px;

}


.achievement-content h3 {

    color:var(--primary);

    margin-bottom:10px;

}


.achievement-content h4 {

    color:white;

    font-weight:500;

    margin-bottom:15px;

}


.achievement-content p {

    color:var(--text-light);

    line-height:1.8;

}

/* ===========================
   Contact Section
=========================== */

.contact {

    padding:100px 10%;

}


.contact-container {

    max-width:800px;

    margin:auto;

}


.contact-card {

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

    backdrop-filter:blur(12px);

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

    border-radius:22px;

    padding:40px;

}


.contact-item {

    display:flex;

    align-items:center;

    gap:25px;

    padding:10px 0;

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

}


.contact-item:last-child {

    border-bottom:none;

}


.contact-item span {

    font-size:2rem;

}


.contact-item h3 {

    color:var(--primary);

    margin-bottom:5px;

}


.contact-item a,
.contact-item p {

    color:var(--text-light);

    text-decoration:none;

}


.contact-item a:hover {

    color:var(--primary);

}

.contact-item a {
    position: relative;
    z-index: 10;
}

/* Contact Section */

.contact{

    width:min(90%,900px);
    margin:120px auto;
    text-align:center;

}

.contact h2{

    font-size:2.8rem;
    margin-bottom:20px;

}

.contact p{

    color:var(--text-light);
    margin-bottom:40px;

}

.contact form{

    display:flex;
    flex-direction:column;
    gap:20px;

}

.contact input,
.contact textarea{

    background:var(--card);
    color:var(--text);

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

    padding:18px;

    border-radius:12px;

    font-family:'Poppins',sans-serif;
    font-size:1rem;

    resize:none;

}

.contact input:focus,
.contact textarea:focus{

    outline:none;

    border-color:var(--primary);

}

.contact button{

    width:220px;
    margin:auto;

    padding:16px;

    background:var(--primary);

    color:white;

    border:none;

    border-radius:12px;

    cursor:pointer;

    font-size:1rem;
    font-weight:600;

    transition:.3s;

}

.contact button:hover{

    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(56,189,248,.35);

}



