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

html {
    scroll-padding-top: 80px;
}

body {
    background-color: black;
    color: white;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    width: 100%;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80px;
    background-color: rgb(18, 18, 62);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav ul {
    display: flex;
    justify-content: center;
}

nav ul li {
    list-style: none;
    margin: 0 23px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a:focus {
    color: blueviolet;
    font-size: 1.1rem;
    outline: none;
}

nav ul li a:focus-visible {
    outline: 2px solid blueviolet;
    outline-offset: 4px;
    border-radius: 4px;
}

main hr {
    border: 0;
    background: blueviolet;
    height: 1.2px;
    margin: 60px 84px;

}

.left {
    font-size: 1.5rem;
}

.firstSection {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 130px 0;
}

.firstSection div {
    width: 30%;
}

.leftSection {
    font-size: 2.5rem;
    margin: 30px 0;
}

.rightSection img {
    width: 70%;
}

.text-blueviolet {
    color: blueviolet;
}

.text-gray {
    color: gray;
}

#element {
    color: blueviolet;
}

.secondSection {
    max-width: 82vw;
    margin: auto;
    height: auto;
    padding: 40px 0;
}

.secondSection h1 {
    font-size: 1.9rem;
    margin-bottom: 30px;
}

/* About Me Box */
.about-box {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    border: 2px solid blueviolet;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
}

.about-box h2 {
    color: blueviolet;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.about-box p {
    color: white;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-box strong {
    color: blueviolet;
}

.timeline-heading {
    color: blueviolet;
    font-size: 1.5rem;
    margin: 40px 0 30px 0;
    text-align: center;
}

.secondSection .box {
    background: transparent;
    width: 100%;
    height: auto;
    margin: 40px 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.secondSection .vertical {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    border: 2px solid blueviolet;
    border-radius: 15px;
    padding: 25px;
    margin: 15px;
    width: 280px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.secondSection .vertical:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
}

.secondSection text{
    font-size: 1.4rem;
    color: white;
}

.image-top {
    width: 45px;
    position: static;
    margin-bottom: 15px;
}

.vertical-title {
    position: static;
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: blueviolet;
    margin-bottom: 10px;
}

.vertical-desc {
    position: static;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 14px;
    line-height: 1.6;
}



/* Work Experience Section */
.workSection {
    max-width: 80vw;
    margin: auto;
    height: auto;
    padding: 40px 0;
    font-size: 1.15rem;
}

.workSection h1 {
    font-size: 1.9rem;
    margin-bottom: 20px;
}

.work-container {
    margin-top: 40px;
}

.work-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    border: 2px solid blueviolet;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
}

.work-header h2 {
    color: blueviolet;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.work-header .company {
    display: block;
    font-size: 1.3rem;
    color: white;
    font-weight: 600;
    margin-bottom: 5px;
}

.work-header .location {
    display: block;
    color: gray;
    font-size: 1rem;
    margin-bottom: 5px;
}

.work-header .duration {
    display: block;
    color: blueviolet;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.work-content ul {
    list-style: none;
    padding: 0;
}

.work-content ul li {
    color: white;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.work-content ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: blueviolet;
    font-size: 1.5rem;
    line-height: 1.8;
}

.work-content strong {
    color: blueviolet;
}


/* Contact Section Starts */


.head {
    width: 95%;
    margin: 3vw 0 2vw 0;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.head div {
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}


/* Skills Starts */
#Skills {
    width: 80vw;
    height: auto;
    margin: auto;
    padding: 40px 0;
    background: black;
    font-size: 1.15rem;
}

#Skills h1 {
    font-size: 1.9rem;
    margin-bottom: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-box {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    border: 2px solid blueviolet;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
}

.skill-box-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.skill-box h2 {
    color: blueviolet;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.skill-list {
    list-style: none;
    padding: 0;
    width: 100%;
}

.skill-list li {
    color: white;
    font-size: 1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    text-align: center;
    transition: color 0.3s ease;
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-list li:hover {
    color: blueviolet;
}

/* Remove old skill styles */

#Skills .skill_outer .web_skills {
    width: 100%;
    padding: 30px 40px;
    /* border-radius: 3px;
  box-shadow: 0px 0px 10px white;
  background-color: black; */
    /* border: 2px solid white; */
}

#Skills .skill_outer .web_skills .skill_heading {
    width: 100%;
    /* border: 2px solid white; */
    padding: 5px 5px;
}

#Skills .skill_outer .web_skills .skill_heading h2 {
    width: 100%;
    height: auto;
    padding: 5px 10px;
    font-size: 20px;
}

#Skills .skill_outer .web_skills .skill_dev {
    width: 100%;
    padding: 5px 3px;
}

#Skills .skill_outer .web_skills .skill_dev h2 {
    font-size: 15px;
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg {
    width: 100%;
    height: 10px;
    margin: 5px 0 5px 0;
    border-radius: 5px;
    background-color: white;
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .html {
    width: 90%;
    height: 10px;
    border-radius: 5px;
    background-color: rgb(246, 47, 47);
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .css {
    width: 80%;
    height: 10px;
    border-radius: 5px;
    background-color: rgb(71, 81, 220);
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .javascript {
    width: 40%;
    height: 10px;
    border-radius: 5px;
    background-color: rgb(86, 236, 45);
}

/* Data Analysis & ML Skills */
#Skills .skill_outer .web_skills .skill_dev .progress_prctg .python_data {
    width: 85%;
    height: 10px;
    border-radius: 5px;
    background-color: rgb(68, 144, 236);
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .ml_lib {
    width: 75%;
    height: 10px;
    border-radius: 5px;
    background-color: rgb(147, 51, 234);
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .dataviz {
    width: 80%;
    height: 10px;
    border-radius: 5px;
    background-color: rgb(34, 197, 94);
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .deeplearning {
    width: 65%;
    height: 10px;
    border-radius: 5px;
    background-color: rgb(249, 115, 22);
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .prctg_skill span {
    width: 40px;
    height: 40px;
    position: relative;
    top: -15px;
    left: 20px;
    border-radius: 50%;
    background-color: black;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .html span {
    border: 2px solid rgb(246, 47, 47);
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .css span {
    border: 2px solid rgb(71, 81, 220);
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .javascript span {
    border: 2px solid rgb(86, 236, 45);
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .python_data span {
    border: 2px solid rgb(68, 144, 236);
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .ml_lib span {
    border: 2px solid rgb(147, 51, 234);
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .dataviz span {
    border: 2px solid rgb(34, 197, 94);
}

#Skills .skill_outer .web_skills .skill_dev .progress_prctg .deeplearning span {
    border: 2px solid rgb(249, 115, 22);
}

#Skills:hover .skill_outer .web_skills .progress_prctg .prctg_skill {
    transform-origin: left;
    animation: animate_html 3s ease-out 1;
}

@keyframes animate_html {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

/* #Skills .skill_outer .web_skills:hover{
  transform: scale(1.05);
  background-color: black;
  box-shadow: 0px 0px 10px white;
} */


/* programm skills start */
.Program_skills {
    width: 100%;
    margin: 30px 0 30px 0;
    padding: 30px 40px;
}

/* programm skills ends */
.Program_skills .skill_heading {
    width: 100%;
    /* border: 2px solid white; */
    padding: 5px 5px;
}

.Program_skills .skill_heading h2 {
    width: 100%;
    height: auto;
    padding: 5px 10px;
    font-size: 20px;
}

.Program_skills .prgm_outer {
    width: 100%;
    height: auto;
    padding: 20px 0 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.Program_skills .prgm_outer .outer_cicle {
    width: 150px;
    height: 150px;
    position: relative;
    border-radius: 50%;
}

.Program_skills .prgm_outer .outer_cicle .inner_circle {
    position: absolute;
    inset: 7px;
    background-color: black;
    border-radius: 50%;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.Program_skills .prgm_outer .outer_cicle .inner_circle div {
    position: relative;
}

.Program_skills .prgm_outer .outer_cicle .inner_circle h1 {
    width: 100%;
    height: auto;
    text-align: center;
    color: white;
    font-size: 40px;
    font-weight: 500px;
    /* border: 2px solid white; */
}

.Program_skills .prgm_outer .outer_cicle .inner_circle h1 span {
    font-size: 25px;
}

.Program_skills .prgm_outer .outer_cicle .inner_circle h2 {
    width: 100%;
    text-align: center;
    font-size: 18px;
    position: absolute;
    top: 80%;
}

.Program_skills .prgm_outer .c .inner_circle h2 {
    color: rgb(248, 236, 2);
}

.Program_skills .prgm_outer .cpp .inner_circle h2 {
    color: rgb(235, 34, 34);
}

.Program_skills .prgm_outer .java .inner_circle h2 {
    color: rgb(41, 237, 64);
}

.Program_skills .prgm_outer .python .inner_circle h2 {
    color: rgb(68, 144, 236);
}

.Program_skills .prgm_outer .sql .inner_circle h2 {
    color: rgb(255, 128, 0);
}

.Program_skills .prgm_outer .ml .inner_circle h2 {
    color: rgb(147, 51, 234);
}

.Program_skills .prgm_outer .powerbi .inner_circle h2 {
    color: rgb(242, 192, 39);
}

.Program_skills .prgm_outer .c {
    background: rgb(60, 60, 60) conic-gradient(rgb(248, 236, 2) 270deg, transparent 90deg);
}

.Program_skills .prgm_outer .cpp {
    background: rgb(60, 60, 60) conic-gradient(rgb(235, 34, 34) 80%, transparent 20%);
}

.Program_skills .prgm_outer .java {
    background: rgb(60, 60, 60) conic-gradient(rgb(41, 237, 64) 35%, transparent 35%, transparent 30%);
}

.Program_skills .prgm_outer .python {
    background: rgb(60, 60, 60) conic-gradient(rgb(68, 144, 236) 70%, transparent 30%);
}

.Program_skills .prgm_outer .sql {
    background: rgb(60, 60, 60) conic-gradient(rgb(255, 128, 0) 65%, transparent 35%);
}

.Program_skills .prgm_outer .ml {
    background: rgb(60, 60, 60) conic-gradient(rgb(147, 51, 234) 50%, transparent 50%);
}

.Program_skills .prgm_outer .powerbi {
    background: rgb(60, 60, 60) conic-gradient(rgb(242, 192, 39) 60%, transparent 40%);
}



.Program_skills .prgm_outer .outer_cicle:hover .continuous_color_change {
    background: linear-gradient(90deg, blueviolet, white, green);
    background-size: 200%;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: animate_colors_name 5s linear infinite;
}

@keyframes animate_colors_name {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 100%;
    }
}

/* Skills ends */


/* Certifications Section */
.certificationsSection {
    max-width: 80vw;
    margin: auto;
    height: auto;
    padding: 40px 0;
    font-size: 1.15rem;
}

.certificationsSection h1 {
    font-size: 1.9rem;
    margin-bottom: 40px;
}

.cert-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cert-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    border: 2px solid blueviolet;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 280px;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
}

.cert-icon {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    margin: 0 auto;
}

.cert-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.cert-card h3 {
    color: blueviolet;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cert-card p {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.cert-btn {
    display: inline-block;
    padding: 10px 25px;
    background: blueviolet;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid blueviolet;
}

.cert-btn:hover {
    background: transparent;
    color: blueviolet;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

.cert-btn:focus-visible {
    outline: 3px solid blueviolet;
    outline-offset: 3px;
}


/* Contact Section */
#Contact {
    max-width: 80vw;
    margin: auto;
    height: auto;
    padding: 40px 0;
    font-size: 1.15rem;
}

#Contact h1 {
    font-size: 1.9rem;
    margin-bottom: 40px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    border: 2px solid blueviolet;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
}

.contact-card h2 {
    color: blueviolet;
    font-size: 1.6rem;
    margin-bottom: 15px;
    text-align: center;
}

.contact-description {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(138, 43, 226, 0.1);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: blueviolet;
    transform: scale(1.05);
}

.social-link:focus-visible {
    outline: 3px solid blueviolet;
    outline-offset: 3px;
    transform: scale(1.05);
}

.social-link img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.social-link span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: blueviolet;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-submit {
    padding: 15px 30px;
    background: blueviolet;
    color: white;
    border: 2px solid blueviolet;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-submit:hover {
    background: transparent;
    color: blueviolet;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

.contact-submit:focus-visible {
    outline: 3px solid blueviolet;
    outline-offset: 3px;
}

/* Old Contact Styles - Remove these */


#Contact .contact_content .contact_box {
    width: 100%;
    height: auto;
    margin: 60px 0 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#Contact .contact_content .contact_box #formbox {
    width: 80%;
    height: auto;
}

#Contact .contact_content .contact_box #formbox .box_info {
    width: 100%;
    padding: 20px 30px 20px 30px;
    border: 2px solid white;
    border-radius: 10px;
    background: black;
    box-shadow: 0 0 20px rgb(168, 158, 158);
}

#Contact .contact_content .contact_box #formbox .box_info #p {
    width: 100%;
    padding: 30px 20px 20px 20px;
    text-align: center;
    font-size: 25px;
    font-weight: 500;
}

/* Social Media Icons */
#Contact .contact_content .contact_box #formbox .box_info .media {
    width: 100%;
    height: 100%;
    margin: 1vw auto 0vw;
    padding: 1vw 0 0vw 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* border: 2px solid white; */
}

#Contact .contact_content .contact_box #formbox .box_info.media ul {
    width: 350px;
    height: 100px;
}

#Contact .contact_content .contact_box #formbox .box_info .media ul li {
    width: 80px;
    height: 80px;
    list-style: none;
    display: inline-block;
    /* border: 3px solid red; */
}

#Contact .contact_content .contact_box #formbox .box_info .media ul li span {
    width: 50px;
    height: 50px;
    background: #212021;
    padding-top: 4px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
}

#Contact .contact_content .contact_box #formbox .box_info .media ul li span:hover {
    background: black;
    border: 2px solid blueviolet;
    box-shadow: 0px 0px 20px blueviolet;
}

#Contact .contact_content .contact_box #formbox .box_info .media ul li span img {
    width: 20px;
    height: auto;
}

/* Social media icons ends */


#Contact .contact_content .contact_box #formbox .form_outer {
    margin: 50px 0 30px 0;

}

#Contact .contact_content .contact_box #formbox .form_outer .form_head_div {
    width: 100%;
    padding: 30px 20px 20px 20px;

}

#Contact .contact_content .contact_box #formbox .form_outer .form_head_div p {
    width: 100%;
    text-align: center;

}

#Contact .contact_content .contact_box #formbox .form_outer .form_head_div .form_heading {
    font-size: 25px;
    font-weight: 600;
    word-spacing: 3px;
    color: rgb(119, 0, 255);
}

#Contact .contact_content .contact_box #formbox .form_outer .form_head_div .form_about {
    font-size: 18px;
    padding: 10px 0 10px 0;
    color: white;
}

#Contact .contact_content .contact_box #formbox .form_ct {
    width: 100%;
    padding: 20px 10px 20px 10px;
}

#Contact .contact_content .contact_box #formbox .form_ct h2 {
    padding: 0 0 0px 10px;
    font-size: 20px;
    font-family: 500;
    word-spacing: 4px;
}

#Contact .contact_content .contact_box #formbox .form_ct form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6%;

}

#Contact .contact_content .contact_box #formbox .form_ct .outer_input {
    width: 47%;
    /* border: 2px solid white; */
    margin: 20px 0 10px;
}

#Contact .contact_content .contact_box #formbox .form_ct .outer_input .form_input {
    width: 100%;
    padding: 7px 20px 7px 20px;
    border: 2px solid white;
    border-radius: 5px;
    background-color: rgb(22, 22, 22);
}

#Contact .contact_content .contact_box #formbox .form_ct .outer_input_full {
    width: 100%;
    margin: 20px 0 10px;
}

#Contact .contact_content .contact_box #formbox .form_ct .outer_input_full .form_india_email {
    width: 100%;
    padding: 7px 20px 7px 20px;
    border: 2px solid white;
    border-radius: 5px;
    background-color: rgb(22, 22, 22);
}

#Contact .contact_content .contact_box #formbox .form_ct .outer_input_full .textarea_form {
    width: 100%;
    padding: 7px 20px 7px 20px;
    border: 2px solid white;
    border-radius: 5px;
    background-color: rgb(22, 22, 22);
}

#Contact .contact_content .contact_box #formbox .form_ct .button:onclick {
    border: 2px solid yellowgreen;
    transform: scale(1.03);
}

#Contact .contact_content .contact_box #formbox .form_ct .submit {
    width: 100%;
    padding: 7px 20px 7px 20px;
    border: 2px solid white;
    border-radius: 5px;
    background-color: rgb(104, 61, 197);
}

#Contact .contact_content .contact_box #formbox .form_ct .submit:hover {
    transform: scale(1.03);
    background-color: #4c74ab;
    box-shadow: 0 0 10px white;
    color: black;
    transition-duration: 1s;
}

/* Contact Section ends */
footer {
    background-color: #0e0e1a;
}

.footer {
    display: flex;
    padding: 23px 122px;
    justify-content: space-evenly;
}

footer .footer-rights {
    text-align: center;
    color: gray;
    padding: 12px 0;
}

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

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablets and smaller desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    .firstSection {
        margin: 80px 0;
    }

    .leftSection {
        font-size: 2rem;
    }

    .secondSection {
        max-width: 90vw;
        height: auto;
    }

    .about-box {
        padding: 25px;
    }

    .secondSection .box {
        justify-content: center;
        gap: 15px;
    }

    .secondSection .vertical {
        margin: 10px;
        width: 240px;
    }

    #Skills {
        width: 90vw;
    }

    #Skills .skill_outer {
        width: 90%;
    }

    #Contact {
        max-width: 90vw;
        height: auto;
    }

    .footer {
        padding: 23px 60px;
    }
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    nav {
        padding: 0 20px;
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .right {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgb(18, 18, 62);
        transition: 0.3s;
        z-index: 999;
    }

    .right.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 40px 0;
        height: 100%;
    }

    nav ul li {
        margin: 20px 0;
        text-align: center;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    .left {
        font-size: 1.2rem;
    }

    .firstSection {
        flex-direction: column;
        margin: 60px 20px;
        text-align: center;
    }

    .firstSection div {
        width: 90%;
    }

    .leftSection {
        font-size: 1.8rem;
        margin: 20px 0;
    }

    .rightSection img {
        width: 80%;
        margin-top: 30px;
    }

    main hr {
        margin: 40px 20px;
    }

    .secondSection {
        max-width: 95vw;
        padding: 20px;
    }

    .secondSection h1 {
        font-size: 1.5rem;
    }

    .about-box {
        padding: 20px;
        margin: 20px 0;
    }

    .about-box h2 {
        font-size: 1.4rem;
    }

    .about-box p {
        font-size: 0.95rem;
    }

    .timeline-heading {
        font-size: 1.3rem;
        margin: 30px 0 20px 0;
    }

    .secondSection .box {
        flex-direction: column;
        width: 100%;
        margin: 30px 0;
        align-items: center;
    }

    .secondSection .vertical {
        width: 85%;
        max-width: 400px;
        margin: 15px auto;
        padding: 20px;
        border: 2px solid blueviolet;
    }

    .secondSection .vertical:hover {
        transform: none;
    }

    .image-top {
        top: 0;
        left: 0;
        position: static;
        margin-bottom: 20px;
    }

    .vertical-title {
        position: static;
        width: 100%;
        text-align: center;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .vertical-desc {
        position: static;
        width: 100%;
        text-align: center;
        color: gray;
        font-size: 14px;
    }

    .workSection {
        max-width: 95vw;
        padding: 20px 10px;
    }

    .work-card {
        padding: 20px;
    }

    .work-header h2 {
        font-size: 1.4rem;
    }

    .work-header .company {
        font-size: 1.2rem;
    }

    .work-content ul li {
        font-size: 0.95rem;
        padding-left: 20px;
    }

    #Skills {
        width: 95vw;
        padding: 20px 10px;
    }

    #Skills h1 {
        font-size: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-box {
        padding: 25px;
    }

    .skill-box-icon {
        font-size: 3rem;
    }

    .skill-box h2 {
        font-size: 1.3rem;
    }

    .skill-list li {
        font-size: 0.95rem;
        padding: 8px 0;
    }

    .certificationsSection {
        max-width: 95vw;
        padding: 20px 10px;
    }

    .certificationsSection h1 {
        font-size: 1.5rem;
    }

    .cert-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .cert-card {
        padding: 25px;
    }

    .cert-icon {
        font-size: 2.5rem;
    }

    .cert-card h3 {
        font-size: 1.2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-card h2 {
        font-size: 1.5rem;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .social-link {
        font-size: 0.95rem;
        padding: 12px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
    }

    .contact-form button {
        font-size: 1rem;
        padding: 12px;
    }

    #Contact {
        max-width: 95vw;
        height: auto;
        padding: 20px 10px;
    }

    #Contact .contact_content .contact_box #formbox {
        width: 100%;
    }

    #Contact .contact_content .contact_box #formbox .box_info {
        padding: 15px;
    }

    #Contact .contact_content .contact_box #formbox .box_info #p {
        font-size: 20px;
        padding: 20px 10px;
    }

    #Contact .contact_content .contact_box #formbox .form_ct .outer_input {
        width: 100%;
    }

    .footer {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
}

/* Mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    nav {
        height: 70px;
        padding: 0 15px;
    }

    .left {
        font-size: 1rem;
    }

    .right {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .hamburger span {
        width: 22px;
    }

    .firstSection {
        margin: 40px 10px;
    }

    .firstSection div {
        width: 95%;
    }

    .leftSection {
        font-size: 1.4rem;
    }

    .rightSection img {
        width: 90%;
    }

    main hr {
        margin: 30px 10px;
    }

    .secondSection {
        max-width: 98vw;
        padding: 10px;
    }

    .secondSection h1 {
        font-size: 1.3rem;
    }

    .about-box {
        padding: 15px;
        margin: 15px 0;
    }

    .about-box h2 {
        font-size: 1.2rem;
    }

    .about-box p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .timeline-heading {
        font-size: 1.2rem;
        margin: 25px 0 15px 0;
    }

    .secondSection .box {
        margin: 20px 0;
        align-items: center;
    }

    .secondSection .vertical {
        width: 90%;
        max-width: 280px;
        margin: 12px auto;
        padding: 18px;
    }

    .image-top {
        position: static;
        left: 0;
        top: 0;
        margin-bottom: 15px;
    }

    .vertical-title {
        position: static;
        width: 100%;
        text-align: center;
        font-size: 18px;
    }

    .vertical-desc {
        position: static;
        width: 100%;
        text-align: center;
        font-size: 13px;
    }

    .workSection {
        max-width: 98vw;
        padding: 10px 5px;
    }

    .workSection h1 {
        font-size: 1.3rem;
    }

    .work-card {
        padding: 15px;
    }

    .work-header h2 {
        font-size: 1.2rem;
    }

    .work-header .company {
        font-size: 1.1rem;
    }

    .work-header .location,
    .work-header .duration {
        font-size: 0.9rem;
    }

    .work-content ul li {
        font-size: 0.9rem;
        padding-left: 18px;
        line-height: 1.6;
    }

    #Skills {
        width: 98vw;
        padding: 10px 5px;
    }

    #Skills h1 {
        font-size: 1.3rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .skill-box {
        padding: 20px;
    }

    .skill-box-icon {
        font-size: 2.5rem;
    }

    .skill-box h2 {
        font-size: 1.2rem;
    }

    .skill-list li {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .certificationsSection {
        max-width: 98vw;
        padding: 10px 5px;
    }

    .certificationsSection h1 {
        font-size: 1.3rem;
    }

    .cert-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cert-card {
        padding: 20px;
    }

    .cert-icon {
        font-size: 2rem;
    }

    .cert-card h3 {
        font-size: 1.1rem;
    }

    .cert-card p {
        font-size: 0.9rem;
    }

    .contact-container {
        max-width: 98vw;
        gap: 20px;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-card h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .social-link {
        font-size: 0.9rem;
        padding: 10px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem;
        padding: 10px;
    }

    .contact-form button {
        font-size: 0.95rem;
        padding: 10px;
    }


    .cert-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    #Contact {
        max-width: 98vw;
        padding: 10px 5px;
    }

    #Contact h1 {
        font-size: 1.3rem;
    }

    #Contact .contact_content .contact_box {
        margin: 40px 0 20px 0;
    }

    #Contact .contact_content .contact_box #formbox {
        width: 100%;
    }

    #Contact .contact_content .contact_box #formbox .box_info {
        padding: 15px;
    }

    #Contact .contact_content .contact_box #formbox .box_info #p {
        font-size: 18px;
        padding: 15px 5px;
    }

    #Contact .contact_content .contact_box #formbox .box_info .media ul {
        width: 100%;
        height: auto;
    }

    #Contact .contact_content .contact_box #formbox .box_info .media ul li {
        width: 60px;
        height: 60px;
    }

    #Contact .contact_content .contact_box #formbox .box_info .media ul li span {
        width: 45px;
        height: 45px;
    }

    #Contact .contact_content .contact_box #formbox .form_outer .form_head_div .form_about {
        font-size: 16px;
    }

    #Contact .contact_content .contact_box #formbox .form_ct {
        padding: 15px 5px;
    }

    #Contact .contact_content .contact_box #formbox .form_ct .outer_input {
        margin: 15px 0 5px;
    }

    #Contact .contact_content .contact_box #formbox .form_ct .outer_input_full {
        margin: 15px 0 5px;
    }

    .footer {
        padding: 15px 10px;
    }
}

/* Extra small devices (max-width: 360px) */
@media (max-width: 360px) {
    .left {
        font-size: 0.9rem;
    }

    .leftSection {
        font-size: 1.2rem;
    }

    .secondSection h1,
    #Skills h1,
    #Contact h1 {
        font-size: 1.1rem;
    }

    .secondSection .vertical {
        width: 95%;
        padding: 15px;
    }

    .vertical-title {
        font-size: 16px !important;
    }

    .vertical-desc {
        font-size: 12px !important;
    }

    .work-card {
        padding: 15px;
    }

    .work-header h2 {
        font-size: 1.2rem;
    }

    .skill-box {
        padding: 20px;
    }

    .skill-box h3 {
        font-size: 1.1rem;
    }

    .cert-card {
        padding: 15px;
    }

    .contact-card {
        padding: 15px;
    }

    .contact-card h2 {
        font-size: 1.1rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        padding: 8px;
        font-size: 0.8rem;
    }

    .social-link img {
        width: 28px;
        height: 28px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.85rem;
        padding: 8px;
    }

    .contact-form button {
        font-size: 0.9rem;
        padding: 8px;
    }

    .Program_skills .prgm_outer .outer_cicle {
        width: 120px;
        height: 120px;
    }

    .Program_skills .prgm_outer .outer_cicle .inner_circle h1 {
        font-size: 30px;
    }

    #Contact .contact_content .contact_box #formbox .box_info #p {
        font-size: 16px;
    }
}