* {
    user-select: none;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100% !important;
}

/* Preloader */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    clip-path: inset(-45px);
    box-shadow: -60px 15px,-60px 15px,-60px 15px;
    transform: translateY(-15px);
    animation: l19 1s infinite linear;
  }
  @keyframes l19{ 
    16.67% {box-shadow:-60px 15px,-60px 15px,19px 15px #FA5B0F}
    33.33% {box-shadow:-60px 15px,  0px 15px,19px 15px #FA5B0F}
    40%,60%{box-shadow:-19px 15px,  0px 15px #FA5B0F,19px 15px }
    66.67% {box-shadow:-19px 15px,  0px 15px #FA5B0F,60px 15px }
    83.33% {box-shadow:-19px 15px #FA5B0F, 60px 15px,60px 15px }
    100%   {box-shadow: 60px 15px #FA5B0F, 60px 15px,60px 15px}
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    z-index: 1000;
    transition: right 0.3s ease-in-out;
}

.sidebar-toggle{
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background: #FA5B0F;
    color: #000;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1100;
}

.sidebar-toggle:hover{
    background: #000;
    color: #FA5B0F;
}

@media (max-width: 768px){
    .sidebar{
        right: -80px;
        transition: right 0.3s ease-in-out;
    }

    .sidebar.active{
        right: 20px;
    }

    .sidebar-toggle{
        display: block;
    }
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.sidebar ul li {
    margin: 15px 0;
    text-align: center;
    position: relative;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #222;
    border-radius: 50%;
    text-align: center;
    font-size: 16px;
    color: #FA5B0F;
    transition: background 0.3s, color 0.3s;
    position: relative;
}

.nav-icon:hover {
    background: #FA5B0F;
    color: white;
}

.nav-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 1%;
    background: #FA5B0F;
    color: white;
    padding: 8px 50px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease-out;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    z-index: -2;
}

.nav-icon:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-1%);
}


/* Home Section */
.home-section {
    min-height: 100vh;
    text-align: left;
    padding: 50px;
    background: #000;
}

.home-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    min-height: 90vh;
    background-image: url('Assets/Image.jpg');
    background-size: cover;
    background-position: left;
    background-attachment: fixed;
    box-shadow: 0px 0px 10px #fff;
}

.home-right {
    flex: 1;
    max-width: 50%;
    padding: 20px;
}

.home-right h1 {
    font-size: 46px;
    font-weight: bold;
    color: #fff;
}

.highlight {
    color: #FA5B0F;
    font-weight: bold;

}

.animate::after {
    content: "";
    overflow: hidden;
    white-space: nowrap;
    color: #fff;
    position: relative;
    animation: changeText 9s infinite;
}


@keyframes changeText {
    0%, 33% { content: "UI/UX Developer"; }
    34%, 66% { content: "Creative Web Designer"; }
    67%, 100% { content: "Front-End Developer"; }
}

.home-right p {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.5;
}

.account a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #ff8800;
    border-radius: 50%;
    font-size: 25px;
    color: #ff8800;
    text-decoration: none;
    margin: 30px 20px 30px 0;
}

.account a:hover {
    background: #ff8800;
    color: #f5f7fa;
    box-shadow: 0 0 20px #ff8800;
}

.home-right .btn {
    margin-top: 20px;
    padding: 10px 25px;
    border: 2px solid #FA5B0F;
    color: #FA5B0F;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
    border-radius: 10px;
}

.home-right .btn:hover {
    background: #FA5B0F;
    color: black;
}


@media (max-width: 768px) {
    .home-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 30px;
    }

    .home-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-position: center; 
    }

    .home-right {
        max-width: 100%; 
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .home-right h1 {
        font-size: 24px;
    }

    .home-right p {
        font-size: 14px;
        margin-top: 15px;
    }

    .home-right .btn {
        padding: 8px 18px;
        font-size: 12px;    
    }
}


/* About Section */
.about-personal h2, 
.about-education h2,
.experience-section h2 {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(45deg, #FA5B0F, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.experience-section h2 {
    margin-bottom: 40px;
}

#about{
    min-height: 100vh;
    background-color: #000;
    padding: 50px 0;
}


.about-heading{
    position: relative;
    text-align: center;
    padding: 60px 0;
}

.heading-bg{
    font-size: 8vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    white-space: nowrap;
    z-index: 1;
    line-height: 1;
}

.gradient{
    background: linear-gradient(45deg, #ffffff, #ffd2bd, #FA5B0F);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 60px;
    font-weight: bold;
    display: inline-block; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: 2;
    letter-spacing: 2px;
}

.about-section{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 5%;
    gap: 30px;
}

.certificate{
    flex: 1;
    max-width: 50%;
    text-align: center;
}

.certificate img{
    width: 90%;
    object-fit: fill;
    border: 2px solid #FA5B0F;
    border-radius: 10px;
    height: auto;
}

.text{
    flex: 1;
    max-width: 50%;
    color: rgb(173, 173, 173);
    font-size: 18px;
    line-height: 1.5;
}

.text1{
    flex: 1;
    max-width: 80%;
    color: rgb(173, 173, 173);
    font-size: 18px;
    line-height: 1.5;
}

.text1 h2 {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(45deg, #FA5B0F, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline;
}

.text1 h2::after {
    content: "";
    width: 60%;
    height: 3px;
    background: #FA5B0F;
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

.text1 h2:hover::after {
    width: 100%;
}

hr{
    border: none; 
    height: 2px; 
    background: linear-gradient(to right, #ff914d, #ffffff30); 
    margin: 30px 0; 
    width: 70%;
}

.about-info{
    display: flex;
    justify-content: space-evenly;
    gap: 50px;
    flex-wrap: wrap;
    padding: 30px 0;
}

.about-personal p{
    color: rgb(173, 173, 173);
    line-height: 30px;
    font-weight: 500;
}

.about-personal p:hover{
    color: rgb(211, 211, 211);
}

.about-personal h2::after, 
.about-education h2::after,
.experience-section h2::after {
    content: "";
    width: 60%;
    height: 3px;
    background: #FA5B0F;
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

.overlay h4 a::after,
.overlay span a::after{
    content: "";
    width: 60%;
    height: 3px;
    background: #FA5B0F;
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}


.about-personal h2:hover::after, 
.about-education h2:hover::after,
.experience-section h2:hover::after {
    width: 100%;
}

.edu-details{
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.edu-details .fa-solid{
    background-color: #FA5B0F;
    border-radius: 50%;
    padding: 12px;
    width: 30px;
    height: 30px;
    text-align: center;
    color: #000;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 20px rgb(255, 91, 15);
    transition: transform 0.3s ease-in-out;
}

.edu-details:hover p{
    text-shadow: 2px 2px 5px #FA5B0F;
}


@media (max-width: 768px) {

    .about-heading{
        padding: 20px;
    }

    .gradient{
        font-size: 24px;
        font-weight: 500;
    }

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

    .certificate {
        max-width: 100%;
    }

    .text {
        max-width: 90%;
        text-align: left;
        font-size: 16px; 
    }

    .text1 p{
    max-width: 90%;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}


    .about-personal h2, 
    .about-education h2,
    .experience-section h2 {
        font-size: 26px;
        text-align: center;
        margin-bottom: 40px;
    }


    .about-personal h2::after, 
    .about-education h2::after,
    .experience-section h2::after {
        width: 70%;
    }

    
    .about-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        margin: 5%;
    }

    
    .edu-details {
        flex-direction: column;
        text-align: left;
        gap: 10px;
    }

    
    .edu-details .fa-solid {
        width: 25px;
        height: 25px;
        font-size: 12px;
        padding: 8px;
    }
}

/* ================= PROFESSIONAL EXPERIENCE ================= */

.experience-section {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

.exp-title {
    font-size: 32px;
    font-weight: bold;
    color: #FA5B0F;
    margin-bottom: 40px;
}

/* Timeline container */
.timeline {
    position: relative;
    padding-left: 140px;
    --line-x: 50px;
}

/* Vertical line */
.timeline::before {
    content: "";
    position: absolute;
    left: var(--line-x);
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #FA5B0F, rgba(31,30,28,.2) 90.59%);
}

/* Timeline item */
.timeline-item {
    position: relative;
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

/* Date */
.timeline-date {
    position: relative;
    width: 150px;
    text-align: left;
    color: rgb(173, 173, 173);
    font-size: 14px;
    line-height: 1.4;
}

.timeline-dot {
    position: absolute;
    left: -96px; /* Distance from timeline-item to the line center */
    top: 0;
    width: 14px;
    height: 14px;
    background: #FA5B0F;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(250, 91, 15, 0.9);
}

/* Content */
.timeline-content h3 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 6px;
}

.timeline-content h4 {
    color: #FA5B0F;
    font-size: 16px;
    margin-bottom: 12px;
}

.timeline-content p {
    color: rgb(173, 173, 173);
    font-size: 16px;
    line-height: 1.6;
    max-width: 700px;
}

/* Button */
.timeline-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 18px;
    border: 1px solid #FA5B0F;
    border-radius: 20px;
    color: #FA5B0F;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.timeline-btn:hover {
    background: #FA5B0F;
    color: #000;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .timeline {
        padding-left: 80px;
        --line-x: 30px;
    }

    .timeline::before {
        left: var(--line-x);
    }

    .timeline-dot {
        left: -56px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 8px;
    }

    .timeline-date {
        width: auto;
        text-align: left;
        margin-left: 0px;
        font-size: 13px;
    }

    .timeline-content p {
        font-size: 15px;
    }
}




/* Skills section */

.skills-heading{
    position: relative;
    text-align: center;
    padding: 40px 0;
}

.skill-text p{
    font-size: 20px;
}

.skillset{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 50px; 
}

.skillset .grid{
    background: linear-gradient(180deg, rgba(227, 76, 38, .6), rgba(31,30,28,.6) 67.59%);
    flex-basis: 20%;
    border-radius: 12px;
    margin: 10px 15px 30px 10px;

    animation: fadeIn 0.3s ease-out forwards;
    animation-timeline: view();
}


@keyframes fadeIn{
    0%{
        opacity: 0.5;
    }
    50%{
        opacity: 1;
    }
}

.skillset .grid .grid-inner{
    padding: 20px;
    background: #1f1e1d;
    margin: 3px 3px;
    text-align: center;
    border-radius: 12px;
    opacity: 1;
}

.skillset .grid .grid-inner:hover{
    opacity: 0.5;
}

.grid-inner img{
    margin: 20px;
}

.skillset .grid .grid-inner h3{
    font-weight: 700;
    font-size: 35px;
    line-height: 42px;
    color: #fff
}

.skillset .grid .grid-inner p{
    margin-bottom: 0;
    color: #e34c26; 
}



.skillset .grid:nth-child(2) { 
    background: linear-gradient(180deg, rgba(0,119,181,.6), rgba(31,30,28,.6) 67.59%); 
    
}

.skillset .grid:nth-child(2) .grid-inner p {
    color: #0077b5;
}

.skillset .grid:nth-child(3) { 
    background: linear-gradient(180deg, rgba(240,219,79,.6), rgba(31,30,28,.6) 67.59%); 

}

.skillset .grid:nth-child(3) .grid-inner p {
    color: #f0db4f;
}

.skillset .grid:nth-child(4) { 
    background: linear-gradient(180deg, rgba(97,218,251,.6), rgba(31,30,28,.6) 67.59%);
}

.skillset .grid:nth-child(4) .grid-inner p {
    color: #61dafb; 
}

.skillset .grid:nth-child(5) { 
    background: linear-gradient(180deg, rgba(33,117,155,.6), rgba(31,30,28,.6) 67.59%);
}

.skillset .grid:nth-child(5) .grid-inner p {
    color: #21759b;
}

.skillset .grid:nth-child(6) { 
    background: linear-gradient(180deg, rgba(27, 115, 232, .6), rgba(31,30,28,.6) 67.59%);
}

.skillset .grid:nth-child(6) .grid-inner p {
    color: #1b73e8; 
}

.skillset .grid:nth-child(7) { 
    background: linear-gradient(180deg, rgba(255, 69, 0, .6), rgba(31,30,28,.6) 67.59%);
}

.skillset .grid:nth-child(7) .grid-inner p {
    color: #ff4500;
}

.skillset .grid:nth-child(8) { 
    background: linear-gradient(180deg, rgba(255, 0, 102, .6), rgba(31,30,28,.6) 67.59%);
}

.skillset .grid:nth-child(8) .grid-inner p {
    color: #ff0066;
}

@media (max-width: 768px) {
    .skillset {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
        justify-content: center;
        margin: 30px auto;
        max-width: 90%;
    }

    .skillset .grid {
        flex-basis: 45%;
        margin: 0;
    }

    .skills-heading h1 {
        font-size: 28px;
    }

    .skills-heading h2 {
        font-size: 24px;
    }

    .skillset .grid .grid-inner h3 {
        font-size: 28px;
    }

    .skillset .grid .grid-inner p {
        font-size: 16px;
    }

    .skill-text p{
        font-size: 12px;
    }
}




/* Work Section */

.work-heading{
    position: relative;
    text-align: center;
    padding: 40px 0;
    margin-bottom: 50px;
}

.frame p{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.05vw;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.5;
}

.frame:hover p{
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.7);
}

.frame {
    position: relative;
    width: 100%;
    padding: 10px;
    background: #222;
    border-radius: 15px;
    box-shadow: 0px 00px 20px rgba(255, 140, 0, 0.4);
    transition: box-shadow 0.3s ease-in-out;
    margin: 10px;
}

.frame:hover {
    box-shadow: 0px 0px 60px rgba(255, 140, 0, 0.7);
}


.portfolio__thumb {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.portfolio__thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}


/* .portfolio__thumb::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 140, 0); 
    filter: blur(20px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}  */


.frame:hover .portfolio__thumb img {
    transform: scale(1.05);
}

.frame:hover .portfolio__thumb::before {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}

.frame:hover .overlay {
    opacity: 1;
}

.overlay h4, .overlay span {
    font-size: 22px;
    color: white;
    font-weight: bold;
    margin: 5px 0;
    text-align: center;
}

.overlay a {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    position: relative;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    overflow: visible;
}

.overlay a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: #ff4500;
    transition: width 0.3s ease-in-out;
    display: block;
    z-index: 1;
}

.overlay a:hover::after {
    width: 100%;
}


.portfolio__menu button {
    border: 0;
    padding: 10px 20px;
    background-color: transparent;
    font-weight: 600;
    font-size: 16px;
    line-height: 27px;
    color: var(--black-2);
    margin: 10px; 
    transition: 0.3s;
    min-width: 120px;
    cursor: pointer;
    text-transform: capitalize;
}

.portfolio__menu button:hover {
    color: var(--primary);
}


.filter-btn {
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: #d44907;
}


@media (max-width: 768px) {
    .portfolio__area-1 .container {
        padding: 0 20px;
    }

    .portfolio__menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .portfolio__menu button {
        font-size: 14px;
        padding: 8px 15px;
        min-width: auto;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .col-sm-4 {
        width: 100%;
    }

    .frame {
        display: flex;
        flex-direction: column;
        justify-content: space-around; 
        align-items: center;
        padding: 10px;
        margin: 10px 0;
        min-height: 400px;
    }

    .portfolio__thumb img {
        height: 250px; 
        object-fit: cover;
    }

    .overlay h4, .overlay span {
        font-size: 12px;
    }

    .frame p {
        font-size: 12px; 
        line-height: 1.6;
        text-align: center;
        margin-top: auto;
    }
}





/* Contact Section */

#contact{
    background-color: #000;
}

.contact-heading{
    position: relative;
    text-align: center;
    padding: 40px 0;
}

.heading{
    font-size: 4vw;
    font-weight: 700;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    gap: 5px;
    white-space: nowrap;
    line-height: 1;
}


.contact-text h6{
    color: #FA5B0F;
    font-weight: bolder;
    font-size: 4vw;
}

.contact-details{
    display: flex;
    justify-content: flex-start;
    text-decoration: none;
    color: #fff;
}

.contact-details:hover{
    color: #5e5e5e;
}

.contact-icon{
    height: 40px;
    width: 40px;
    border: 1px solid #FA5B0F;
    border-radius: 50%;
    color: #FA5B0F;
    position: relative;
    margin-right: 2%;
}

.contact-icon i{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 1.5vw;
}

input {
    background: transparent;
    border: 1px solid #FA5B0F;
    border-radius: 20px;
    height: 50px;
    width: 250px; 
    margin: 10px; 
    padding: 10px;
    color: white;
    font-size: 16px;
}

textarea {
    background: transparent;
    border: 1px solid #FA5B0F;
    border-radius: 20px;
    height: 150px; 
    width: 80%; 
    margin: 10px;
    padding: 10px;
    color: white;
    resize: none; 
}

.form-section button {
    background: transparent;
    color: white;
    border: 1px solid #FA5B0F;
    border-radius: 50px;
    height: 50px;
    width: 160px;
    font-size: 16px;
    margin: 10px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.form-section button:hover {
    background: #FA5B0F;
    color: black;
}

@media (max-width: 768px) {
    .contact-row {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .contact-text, .contact-form {
        width: 100%;
        text-align: center;
    }

    .contact-details {
        flex-direction: column;
        align-items: center;
    }

    .contact-icon {
        margin: 1px;
    }

    .contact-icon i{
        font-size: 4vw;
    }

    .contact-text h6 {
        font-size: 6vw;
    }

    input {
        width: 100%;
    }

    textarea {
        width: 100%;
    }

    .form-section button {
        width: 100%;
    }
}




/* Sections */
.section {
    padding: 60px 0;
}

/* Footer */
footer {
    background: #000;
    padding: 20px;
    text-align: center;
}

.flyer-heading{
    position: relative;
    text-align: center;
    padding: 40px 0;
}




