* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav {
    width: 100%;
    height: auto;
    background-color: #0b112b;
}

.cont1 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li {
    list-style: none;
    color: aliceblue;
    cursor: pointer;
}

.nav-links a {
    text-decoration: none;
    cursor: pointer;
}

.nav-links a.active,
.nav-links a:hover {
    color: #ff7b00;
    border-bottom: 0.2rem solid #ff7b00;
    padding: 0.5rem 0
}

.menu-bar {
    font-size: 35px;
    display: none;
    color: aliceblue;
    cursor: pointer;
}


@media(max-width:768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #0b112b;
        opacity: 1;
        z-index: 1000;
        position: absolute;
        top: 74px;
        width: 200px;
        padding: 20px;
        gap: 20px;
        height: 100vh;
        right: 0px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-bar {
        display: block;
        color: white;
        cursor: pointer;
    }
}

/* Nav End here */


/* ================= MAIN ================= */
main {
    background-color: #040018;
    height: 100vh;
    padding-bottom: 50px;
}

/* ================= BANNER ================= */
main .banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    position: relative;
    /* padding: 0px 20px; */
}


/* ================= DOT CANVAS ================= */
.banner #dotsCanvas {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    pointer-events: none;
}

/* ================= NAV LINKS ================= */
.social-icons a {
    text-decoration: none;
    color: #eee;
    border: 1px solid #fff;
    transition: 0.3s ease;
}

.social-icons ul li a:hover {
    color: #ffae00;
}


/* hero section starts*/
/* ================= HOME SECTION ================= */
.home {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    min-height: 100vh;
    padding: 80px 10%;
    flex-wrap: wrap;
}

/* Particles Background */
.home #particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home .content,
.home .image {
    position: relative;
    z-index: 1;
}

/* ================= CONTENT ================= */
.home .content {
    flex: 1 1 500px;
}

.home .content h2 {
    font-size: clamp(2.5rem, 6vw, 60px);
    font-weight: 700;
    background-image: linear-gradient(to left, #89a5df, #e46e7f, #e8e191);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home .content h2 span {
    color: #ff7b00;
}

.home .content p {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: white;
    font-weight: 500;
    margin: 1.5rem 0;
}

.home .content p span {
    color: #ff7b00;
    font-weight: 600;
}


/* ================= BUTTON ================= */
.home .btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    background: #2506ad;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(48, 68, 247, 0.4);
}

.home .btn:hover {
    background: #1a047e;
    transform: translateY(-3px);
}

/* ================= IMAGE ================= */
.home .image {
    flex: 1 1 400px;
    text-align: center;
}

.home .image img {
    width: min(350px, 80%);
    border-radius: 50%;
    box-shadow: 0 0 15px 10px rgba(107, 107, 107, 0.542);
    transition: 0.4s ease;
}

.home .image img:hover {
    transform: scale(1.05);
}

/* ================= SOCIAL ICONS ================= */
.socials {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #09011b;
    /* color: #00d9ff; */
    font-size: 1.4rem;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
    background: #0685da;
}




/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .home {
        flex-direction: row;
        text-align: center;
        padding: 10px 5%;
    }

    .home .image {
        display: none;
    }

    .home .content {
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* About section start here */
.about {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px 0;
    width: 100%;
}

.me {
    margin: 20px 0px;
    font-size: 30px;
}

.profile2 {
    width: 300px;
}

.profile2 img {
    border-radius: 40px;
}

.myinfo {
    width: 700px;
}

.myinfo h3 {
    font-size: 25px;
    margin: 10px 0;
}

.myinfo p {
    margin: 10px 0;
}

.resume {
    width: 100px;
    height: 70px;
    background-color: #0135df;
    padding: 10px;
    color: #eee;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 5px 15px rgba(48, 68, 247, 0.4);

}


.resume:hover {
    background: #1a047e;
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .about {
        flex-direction: column;
        gap: 40px;
    }

    .myinfo {
        width: 90%;
        padding: 20px;
    }


}

/* About section end here */


/* skills section starts */
.skills {
  min-height: 90vh;
  background: linear-gradient(to bottom, #57059e, #4a00e0);
}
.skills h2 {
    padding-top: 20px;
  color: #fff;
}
.skills .heading span {
  color: rgb(255, 230, 0);
}
.skills .container {
  background: rgba(0, 0, 22, 0.4);
  color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  width: 90%;
  margin: auto;
  margin-top: 2rem ;
}
.skills img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}
.skills .container .row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  flex-wrap: wrap;
  /* gap: 1.8rem; */
}
.skills .container .bar {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 22, 0.9);
  transition: 0.2s;
  transform: translateY(-2px);
}
.skills .container .bar:hover {
  box-shadow: 0 8px 10px rgba(0, 2, 68, 0.8) !important;
  background-color: rgba(0, 0, 0, 0.9) !important;
}
.skills .container .bar .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 1rem;
}
.skills .container .bar .info i {
  font-size: 15px;
}
.skills .container .bar .info span {
  font-size: 15px;
  font-weight: 500;
  font-family: "Poppins";
  margin-left: 0.5rem;
}



/* Tablet */
@media (max-width: 768px) {
    #skillsContainer {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    #skillsContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* skills media queries ends*/
/* skills section ends */

.education {
    background: #e5ecfb;
    min-height: 80vh;
    padding: 30px;
}

.education .qoute {
    font-size: 1.5rem;
    text-align: center;
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    margin-top: 0.5rem;
}

.education .box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.education .box-container .box {
    display: flex;
    flex-direction: row;
    width: 80%;
    border-radius: 0.5rem;
    box-shadow: 0.2rem 0.5rem 1rem rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    margin-top: 2rem;
    overflow: hidden;
    transition: 0.3s;
    background: rgb(252, 252, 252);
}

.education .box-container .box:hover {
    transform: scale(1.03);
    box-shadow: 1rem 0.5rem 1.2rem rgba(0, 0, 0, 0.3);
}

.education .box-container .box .image {
    flex: 1 1 20rem;
    width: 100%;
}

.education .box-container .box img {
    object-fit: cover;
    position: relative;
    width: 100%;
    height: 100%;
}

.education .box-container .box .content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex-wrap: wrap;
    flex: 1 1 70rem;
}

.education .box-container .box .content h3 {
    font-size: 1.5rem;
    color: #012970;
    padding: 0.5rem 0;
    font-weight: 600;
    text-align: left;
    margin-left: 1rem;
}

.education .box-container .box .content p {
    font-size: 1rem;
    margin-left: 1rem;
    text-align: left;
}

.education h4 {
    font-size: 1rem;
    color: rgb(34, 109, 0);
    text-align: left;
    margin: 1rem;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
}

/* education media queries starts*/
@media screen and (max-width: 600px) {
    .education .box-container .box {
        flex-direction: column;
        width: 100%;
    }

    .education .box-container .box .image {
        width: 100%;
        height: 25rem;
    }

    .education .box-container .box img {
        width: 100%;
    }

    .education .box-container .box .content {
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 1rem;
        flex-wrap: wrap;
        flex: 0;
    }

    .education .btns {
        margin-top: 2rem;
        margin-left: 1rem;
        margin-right: 1rem;
        flex-wrap: wrap;
    }
}

/* education media queries ends*/

/* --------------Certification & Achivements----------- */
.results {
    background: #020b1c;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.results h2 {
    font-size: 40px;
    margin-bottom: 40px;
}

.results span {
    color: #ff5ca8;
}

.swiper {
    width: 85%;
    padding-bottom: 50px;
}

.card {
    background: #071a35;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid rgba(0, 255, 200, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: #ccc;
}

.swiper-slide {
    opacity: 0.6;
    transform: scale(0.9);
    transition: 0.4s;
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1.05);
}

/* ------------- experience section starts ----------- */
.experience {
    background: #f5f5f5;
    padding: 50px 10px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    color: #222;
}

/* TIMELINE */
.timeline {
    position: relative;
    max-width: 1100px;
    margin: auto;
}

/* Center line */
.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background: #0d1b2a;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ITEMS */
.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

/* LEFT */
.timeline-item.left {
    left: 0;
}

/* RIGHT */
.timeline-item.right {
    left: 50%;
}

/* CONTENT CARD */
.timeline-item .content {
    background: #ff8c00;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* TEXT */
.timeline-item h3 {
    margin: 0;
    font-size: 20px;
}

.timeline-item .role {
    font-weight: bold;
    margin: 3px 0;
}

.timeline-item span {
    font-size: 14px;
}

/* DOT ICON */
.timeline-item::before {
    content: "\f0b1";
    font-family: "Font Awesome\ 5 Free";
    font-weight: 900;
    position: absolute;
    top: 25px;
    right: -17px;
    background: #fff;
    color: #0d1b2a;
    border-radius: 50%;
    border: 3px solid #ff8c00;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;

}

/* RIGHT SIDE DOT FIX */
.timeline-item.right::before {
    left: -12px;
}

/* RESPONSIVE */
@media screen and (max-width: 600px) {
    .timeline::after {
        left: 10px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 20px;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item::before {
        left: 0;
    }
}

/* experience section ends */


/* -----------------projects------------------ */
.projects {
    background: #0d1b2a;
    padding: 80px 20px;
}

.projects .section-title {
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}

/* GRID */
.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

/* CARD */
.project-card {
    background: #112240;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
    transform: translateY(-10px);
}

/* IMAGE */
.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* CONTENT */
.project-content {
    padding: 20px;
}

.project-content h3 {
    color: #fff;
    margin-bottom: 10px;
}

.project-content p {
    color: #ccc;
    font-size: 14px;
}

/* TECH TAGS */
.tech {
    margin: 10px 0;
}

.tech span {
    display: inline-block;
    background: #ff8c00;
    color: #000;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 3px;
    font-size: 12px;
}

/* BUTTONS */
.buttons {
    margin-top: 15px;
}

.buttons a {
    text-decoration: none;
    color: #fff;
    background: #ff8c00;
    padding: 8px 15px;
    border-radius: 5px;
    margin-right: 10px;
    transition: 0.3s;
}

.buttons a:hover {
    background: #ffa733;
}


/* ------------------Contact------------------- */
.contact2 {
    background: linear-gradient(to bottom, #717a8b 50%, #f5f5f5 50%);
    padding: 80px 20px;
}
.contact2 h2{
    font-size: 35px;
    color: #0d1b2a;
}
.contact2 p{
    font-size: 16px;
    color: #f5f5f5;
    margin: 30px 0px;
}

/* WRAPPER */
.contact-wrapper {
    max-width: 1100px;
    margin: auto;
    display: flex;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* LEFT PANEL */
.contact-left {
    background: linear-gradient(135deg, #020b1c, #021841);
    color: #fff;
    padding: 40px;
    width: 35%;
    position: relative;
}

.contact-left h3 {
    margin-bottom: 10px;
    color: #ff7b00;
    font-size: 24px;
}

.contact-left p {
    font-size: 14px;
    opacity: 0.9;
}

.info-box {
    margin-top: 30px;
}

.info-box p {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.info-box i {
    margin-right: 10px;
}

/* RIGHT FORM */
.contact-right {
    background: #fff;
    padding: 40px;
    width: 65%;
}

/* ROW */
.row {
    display: flex;
    gap: 20px;
}

/* INPUT GROUP */
.input-group {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 5px;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    background: transparent;
}

/* LABEL */
.input-group label {
    position: absolute;
    left: 5px;
    top: 10px;
    color: #777;
    transition: 0.3s;
    font-size: 14px;
}

/* FLOAT EFFECT */
.input-group input:focus+label,
.input-group input:valid+label,
.input-group textarea:focus+label,
.input-group textarea:valid+label {
    top: -12px;
    font-size: 12px;
    color: #020b1c;
}

/* BUTTON */
.contact-right button {
    background: #020b1c;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-right button:hover {
    background: #021841;
    transform: translateX(3px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }

    .row {
        flex-direction: column;
    }
}

/* --------------------FOOTER---------------- */
.footer {
    background: #020c1b;
    color: #fff;
    padding-top: 50px;
}

/* CONTAINER */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* LEFT */
.footer-left h2 {
    color: #ff8c00;
}

.footer-left p {
    color: #ccc;
    margin-top: 10px;
}

/* LINKS */
.footer-links h3,
.footer-social h3 {
    margin-bottom: 15px;
}

.footer-links a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin: 5px 0;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ff8c00;
}

/* SOCIAL */
.icons a {
    color: #fff;
    font-size: 18px;
    margin-right: 15px;
    transition: 0.3s;
}

.icons a:hover {
    color: #ff8c00;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #112240;
    margin-top: 30px;
    font-size: 14px;
    color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}