@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&family=Ubuntu:wght@300;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&family=Roboto:wght@500&family=Ubuntu:wght@300;500;700&display=swap');

body {
    background-color: #1f1f38;
}

section {
    scroll-margin-top: 200px; 
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
    scroll-behavior: smooth;
}

#navbar {
    line-height: 4rem;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    border-bottom: .5px solid #ffffff52;
    border-width: 80%;
    margin-bottom: 1rem;
}

#navbar ul {
    list-style: none;
}

#navbar ul li {
    margin: 0px 1rem;
}

#navbar ul li a {
    text-decoration: none;
    padding: 0.5rem 0.9rem;

}

.right {
    display: none;
}

.checkBtn {
    display: none;
}

#check {
    display: none;
}

.nav-col a:hover {
    border-radius: .4rem;
    color: #1f1f38;
    background-color: #fff;
}


/* Home Section */
/* ICON BOX */
.home-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.home-social a {
    width: 50px;
    height: 50px;
    background: #1f1f38;
    border: 2px solid #df77ad;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: 0.3s ease;
    box-sizing: border-box;
}

/* ICON SIZE */
.home-social i {
    font-size: 20px;
    color: white;
}

/* HOVER */
.home-social a:hover {
    background: #df77ad;
    transform: translateY(-4px);
}

.home-social a:hover i {
    color: #1f1f38;
}
.home-left,
.home-right {
    width: 30%;
    padding: 7rem;
}

.home-right {
    padding: 0;
}

.home-left h6,
h4 {
    color: rgb(216, 117, 173);
    margin: 1rem 0;
    margin-left: 3px;
    font-size: 5rem;
}

.home-left h1 {
    font-size: 4rem;
}

.home-right {
    position: relative;
}

.home-right img {
    position: absolute;
    width:250%;
    left: -300px;
    top: -1x0px;
    background-size: cover;
    border-radius: 100%;
    height: 250%;
}
    


.circle {
    width: 17rem;
    height: 17rem;
    border-radius: 50%;
    padding: .5rem;
    position: relative;
}

/* About Section */
/* HIRE ME + SOCIAL ICONS SAME LINE */

.about-social {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: 15px;
    vertical-align: middle;
}

.about-social a {
    width: 45px;
    height: 45px;
    background: #1f1f38;
    border: 2px solid #df77ad;
    border-radius: 50%;

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

    text-decoration: none;
    box-sizing: border-box;
    transition: 0.3s ease;
}

.about-social i {
    font-size: 18px;
    color: white;
}

.about-social a:hover {
    background: #df77ad;
    transform: translateY(-4px);
}

.about-social a:hover i {
    color: #1f1f38;
}
.about-left,
.about-right {
    width: 60%;
}

.about-right {
    padding-right: 4rem;
}

.aboout-left {
    position: relative;
}

.about-left img {
    width: 100%;
    height: 400px;;
    border-radius: 1rem;
}

.about-content p {
    margin-bottom: 2rem;
}

/* skills/*
/* layout */
.skills-right {
    width: 50%;
    display: flex;
    gap: 2rem;
}

.skill-box {
    width: 50%;
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

/* title */
.skill-title {
    margin-bottom: 1rem;
}

/* line */
.tech-line {
    width: 60%;
    height: 3px;
    background: #df77ad;
    margin-bottom: 1rem;
}

/* skill block */
.skill {
    margin-bottom: 1.2rem;
}

/* text */
.skill-info {
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* progress bg */
.progress {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* animation base */
.progress-bar {
    height: 100%;
    border-radius: 10px;
    width: 0;
    animation: fill 2s ease forwards;
}

/* ===== YOUR REAL % ===== */
.wd { width: 45%; background: #ff6b6b; }
.uiux { width: 40%; background: #00aaff; }
.canva { width: 50%; background: #f7df1e; }
.de { width: 60%; background: #ff3c3c; }
.pyd { width: 65%; background: #8a5cf6; }
.hc { width: 70%; background: #00ffd5; }

/* soft */
.soft1 { width: 85%; background: #00ffd5; }
.soft2 { width: 80%; background: #00aaff; }
.soft3 { width: 75%; background: #ff6b6b; }
.soft4 { width: 70%; background: #8a5cf6; }

/* animation */
@keyframes fill {
    from {
        width: 0;
    }
}

/* ===== EXPERIENCE ===== */
#experience {
    margin-top: 3rem;
}

.main-exp-card {
    width: 80%;
    margin: auto;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-left: 5px solid #df77ad;
    border-radius: 1rem;
    color: white;
}

.sub-exp-container {
    width: 80%;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
}

.sub-exp-card {
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    color: white;
}

.cert-btn {
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    background: #df77ad;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

/* BUTTON */
.cert-btn {
    margin-top: 0.5rem;
    padding: 6px 12px;
    border: 1px solid #df77ad;
    background: transparent;
    color: #df77ad;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.cert-btn:hover {
    background: #df77ad;
    color: #1f1f38;
}

/* ===== POPUP ===== */

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
}

.modal img {
    display: block;
    margin: 80px auto;
    max-width: 80%;
    border-radius: 10px;
    animation: zoom 0.3s ease;
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

@keyframes zoom {
    from {transform: scale(0.7);}
    to {transform: scale(1);}
}

.cert-btn {
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    background: #df77ad;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}


/* BUTTON */
.cert-btn {
    margin-top: 0.7rem;
    padding: 0.5rem 1rem;
    border: 1px solid #df77ad;
    background: transparent;
    color: #df77ad;
    border-radius: 5px;
    cursor: pointer;
}

.cert-btn:hover {
    background: #df77ad;
    color: #1f1f38;
}

/* MODAL */
.cert-modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    text-align: center;
    padding-top: 70px;
}

.cert-img {
    max-width: 80%;
    max-height: 80vh;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .sub-exp-container {
        grid-template-columns: 1fr;
    }
}

/* ===== CERTIFICATES ===== */
/* ===== CERTIFICATES GRID ===== */
/* =========================================
   CERTIFICATES
========================================= */

.cert-grid {
    width: 70%;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}


/* =========================================
   CERTIFICATE CARD
========================================= */

.cert-card {
    background: #2c2c6c;

    border-radius: 10px;

    padding: 10px;

    text-align: center;

    color: white;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    height: 270px;

    transition: 0.3s;
}


/* NORMAL CERTIFICATE IMAGE*/

.cert-card img {
    width: 100%;

    height: 200px;

    object-fit: cover;

    border-radius: 8px;
}


/* PDF CERTIFICATE */

.cert-card iframe {
    width: 100%;

    height: 200px;

    border: none;

    border-radius: 8px;

    background: white;
}


/* =========================================
   CERTIFICATE NAME
========================================= */

.cert-card p {
    font-size: 0.8rem;

    margin: 5px 0;

    line-height: 1.2;
}


/* =========================================
   VIEW BUTTON
========================================= */

.cert-card .btn {
    font-size: 0.75rem;

    padding: 5px 8px;

    text-decoration: none;
}


/* HOVER*/

.cert-card:hover {
    transform: translateY(-5px);
}

/* Projects Section */

/* ===== PROJECT GRID ===== */
.project-grid {
    width: 75%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 in one row */
    gap: 20px;
}

/* ===== CARD ===== */
.project-card {
    background: #2c2c6c;
    padding: 1.2rem;
    border-radius: 12px;
    color: white;
    transition: 0.3s;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* HOVER */
.project-card:hover {
    transform: translateY(-6px);
}

/* TITLE */
.project-card h3 {
    margin-bottom: 0.5rem;
    color: #df77ad;
}

/* TEXT */
.project-card p {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* TECH */
.tech {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

/* BUTTON AREA */
.btns {
    margin-top: 1rem;
    display: flex;
    gap: 10px;
}


/* ===== DESIGN SECTION ===== */
/*ui ux */
/* GRID */
.ui-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 70%;
    margin: auto;
}

/* CARD */
.ui-card {
    background: #2c2c6c;
    border-radius: 14px;
    padding: 1rem;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: 0.3s;
}

/* HOVER EFFECT */
.ui-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* IMAGE */
.ui-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
}

/* SLIDER FIX */
.slider {
    position: relative;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

/* TITLE */
.ui-card h3 {
    color: white;
    font-size: 1rem;
    margin: 10px 0;
}

/* BUTTON */
.ui-card .btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    margin-top: 5px;
}

/* ARROWS */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 5px;
}

.prev { left: 5px; }
.next { right: 5px; }

.slide {
    display: none;
}

.slide.active {
    display: block;
}

/* buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
}

.prev { left: 5px; }
.next { right: 5px; }

/* IMPORTANT */
.slider {
    position: relative;
}


/* arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.prev { left: 5px; }
.next { right: 5px; }

/*canva*/
.canva-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: flex-start; /* important */
}

/* common */
.canva-card {
    background: #2c2c6c;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    color: white;
}

/* C1 → RECTANGLE */
.canva-card.rect img {
    width: 420px;
    height: 330px;
    object-fit: cover;
    border-radius: 10px;
}

/* C2 → SQUARE */
.canva-card.square img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

/* C3 → VERTICAL VIDEO */
.canva-card.vertical video {
    width: 320px;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

/* new designs */

.extra-design-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 70%;
    margin: 30px auto;
}

.extra-design-card {
    background: #2c2c6c;
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    color: white;
}

.extra-design-slider {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 10px;
}

.extra-design-slide {
    display: none;
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
}

.extra-design-slide.active {
    display: block;
}

.extra-design-card h3 {
    color: white;
    font-size: 1rem;
    margin: 10px 0;
}

.extra-design-prev,
.extra-design-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 2;
}

.extra-design-prev {
    left: 5px;
}

.extra-design-next {
    right: 5px;
}

.extra-design-card .btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    margin-top: 5px;
} 

/* Contact me Section */
/* ===== CONTACT SECTION ===== */

.contact-section {
    text-align: center;
    margin-top: 4rem;
}

/* title */
.contact-title {
    color: white;
    font-size: 2rem;
}

/* subtitle */
.contact-subtitle {
    color: #aaa;
    margin-bottom: 2rem;
}

/* box */
.contact-box {
    width: 35%;
    margin: auto;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    backdrop-filter: blur(12px);
}

/* input group */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* inputs */
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 8px;
    background: transparent;
    color: white;
    outline: none;
}

/* labels */
.input-group label {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #888;
    font-size: 0.9rem;
    transition: 0.3s;
    pointer-events: none;
}

/* floating effect */
.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:valid + label,
.input-group textarea:valid + label {
    top: -8px;
    left: 8px;
    font-size: 0.75rem;
    background: #1f1f38;
    padding: 0 5px;
    color: #df77ad;
}

/* button */
.contact-btn {
    width: 100%;
    padding: 12px;
    border: none;
    background: #df77ad;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

/* hover */
.contact-btn:hover {
    background: white;
    color: #1f1f38;
}


/* Footer Section  */
/* ===== FOOTER ===== */

#footer {
    background: #0f0f1a;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* container */
.footer-container {
    width: 80%;
    margin: auto;
    text-align: center;
}

/* name */
.footer-logo {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links li {
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: #aaa;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #df77ad;
}

/* ===== SOCIAL ICON FIX ===== */

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

/* ICON BOX */
.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;

    background: #1f1f38;
    border-radius: 10px;

    text-decoration: none;
    transition: 0.3s;
}

/* ICON SIZE */
.footer-social i {
    font-size: 18px;
    color: white;
}

/* HOVER EFFECT */
.footer-social a:hover {
    background: #df77ad;
    transform: translateY(-5px);
}

.footer-social a:hover i {
    color: #1f1f38;
}

/* copyright */
.footer-copy {
    color: #777;
    font-size: 0.8rem;
}


/* Utility Classes */
.poppins {
    font-family: 'Poppins', sans-serif;
}

.roboto {
    font-family: 'Roboto', sans-serif;
}

.flex {
    display: flex;
}

.s-between {
    justify-content: space-between;
}

.s-around {
    justify-content: space-around;
}

.s-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.f-col {
    flex-direction: column;
}


.p-relative {
    position: relative;
}

.t-white {
    color: #fff;
}

.bg-color {
    background-color: #1f1f38;
}

.t-center {
    text-align: center;
}

.my-2 {
    margin: 2rem 0;
}

.f-2 {
    font-size: 2rem;
}

.m-b-1 {
    margin-bottom: 1rem;
}

.w-50 {
    width: 50%;
}

.w-80 {
    width: 80%;
}

.h-50 {
    height: 50vh;
}

.mx-1 {
    margin: 0 1rem;
}

.m-top {
    margin-top: 1rem;
}

.m-auto {
    margin: auto;
}

.btn {
    margin-left: 0 .5rem;
    font-size: 1rem;
    color: #df77ad;
    cursor: pointer;
    padding: 0.75rem 1.2rem;
    border: 1px solid #dc85a7;
    border-radius: 0.4rem;
    background: transparent;
    font-family: 'Poppins', sans-serif;
}

.buttons a,
#hireme {
    text-decoration: none;
}

.btn:hover {
    color: #1f1f38;
    border-color: #fff;
    background-color: #fff;
}

.live {
    color: #1f1f38;
    background-color: #da7fa8;
}