* {
    margin: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;  
}
body {
    background: #121212;
    color: white;
    text-align: center;
    scroll-behavior: smooth;
    position: relative;  
}
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
   
}
.logo .folio {
    text-transform: lowercase;
    color: #ff416c;
}
.nav-link {
    list-style: none;
    display: flex;
    gap: 20px;
    flex: 1;
}
.nav-link a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}
.nav-link a.active {
    color: #ffcc00;
}
.nav-link a.active::after {
    transform: scaleX(1);
}
.nav-link a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    width: 100%;
    left: 0;
    height: 2px;
    background-color: #ffcc00;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease-in-out 0.1s;
}
.nav-link li {
    display: inline-block;
}
.nav-link a:hover {
    color: #ffcc00;
}
.nav-toggle {
    display: none;
    font-size: 1.5em;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
  }
.follow-me {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    color: white;
    padding:  10px 20px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}
.follow-me:hover {
    background: linear-gradient(45deg, #ff6a4d, #ffae75);
    transform: scale(1.05);
    
}

.hero {
    max-height: 450px;
    width: 100%;
    position: relative;
    background: url(2WhatsApp\ Image\ 2025-02-14\ at\ 20.10.51_43e1b116.jpg) no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: background-position 0.3s ease-in-out;
    background-attachment: fixed;
    z-index: 1;
}
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transition: background 0.3s ease-in-out;
}


.hero:hover::after {
    background: rgba(0, 0, 0, 0.7)
}
.hero-contact {
    z-index: 1;
    position: relative;
}
.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
}
.hero p {
   
    font-size: 1.2rem;
    font-weight: normal;
    line-height: 1.6;
    min-width: 700px;
    margin-left: 0;
    color: #ddd;
}
.projects {
    padding: 60px 20px;
   background: #27354b;
   text-align: center;
   height: 100vh;
   width: 100%;
}
.projects h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.projects p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #ddd;
}
.project-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.project-gallery img {
    width: 30%;
   max-width: 400px;
   height: auto;
   border-radius: 8;
   transition: transform 0.3s ease-in-out;
}
.project-gallery img:hover {
    transform: scale(1.05);
}
.skills-section { 
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 80px 0;
    padding-left: 30px;
    background-color: #0a192f;
    color: white;
    width: 100%;
}

.skills-content {
    flex: 1;
    max-width: 40%;
    text-align: left;

}

.skills-content h2 {
    font-size: 2.5rem;
    margin: 0 50px 10px 20px;
    font-weight: 600;
    width: 100%;
}

.skills-content h3 {
    font-size: 2rem;
    color: #ffffff;
    margin: 0 76px 20px 20px;
    font-weight: 500;
    width: 100%;     
}

.skills-content > p {
    width: 120%;
    font-size: 1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #a8b2d1;
    text-align: left;
    padding-left: 25px}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.skill-item img {
    width: 40px;
    height: 40px;
    margin:0 145px 2px 20px;
}

.skill-item h4 {
    font-size: 1.2rem;
    margin: 0 0 10px 28px;
    color: #ffffff;
    text-align: left;
}

.skill-item p {
    font-size: 0.9rem;
    margin: 0 0 0 30px;
    line-height: 1.5;
    color: #a8b2d1;
    text-align: left;
}

.skills-image {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 40px;
}

.skills-image img {
    width: 100%;
    height: 550px;
}
.see-more {
    display: inline-block;
    padding: 10px 2px ; 
    background-color: #ff416c; 
    color: white; 
    text-decoration: none; 
    border-radius: 9px; 
    font-weight: bold; 
    transition: background-color 0.3s ease, transform 0.2s ease; 
    text-align: center;
    font-style: italic;
    margin-left: 4px;
}

.see-more:hover {
    background-color: #ff2047; 
    transform: scale(1.05); 
}

.see-more:active {
    background-color: #e61e43; 
}

.about-me-area {
    padding: 60px 20px;
    background: #2C3E50;
    color: #fff;
    position: relative;
    z-index: 100; /* Above blurred content */
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.about-left {
    width: 50%;
    padding-right: 15px;
}

.about-left .img-about {
    position: relative;
    height: 100%;
}

.about-left .img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.about-left .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.3;
}

.about-right {
    width: 50%;
    padding-left: 15%;
}

.about-right h6 {
    font-size: 1rem;
    color: #ff416c;
    text-transform: uppercase;
}

.about-right h1 {
    font-size: 2.5rem;
    margin: 10px 0;
}

.about-content {
    overflow: hidden;
}

.about-right p {
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.5;
    text-align: justify;
}

.summary {
    margin-bottom: 15px;
}

.show-more {
    color: #ff6a4d;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.3s ease;
}

.show-more:hover {
    color: #ff416c;
    text-decoration: underline;
}

.about-info {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    text-align: right;
}

.about-info li {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.about-info span:first-child {
    color: #ff416c;
    font-weight: bold;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 2001;
}

.popup-content .full-text {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    text-align: justify;
}

.cursor {
    display: inline-block;
    font-size: 1.2rem;
    color: #ff416c;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.close-popup {
    position: relative;
    top: 10px;
    right: 10px;
    background: #ff416c;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.close-popup:hover {
    background: #ff2047;
}


.blur-background {
    filter: blur(5px);
    transition: filter 0.3s ease;
}
.qualifications {
    padding: 60px 20px;
    background: #405a74;
    color: #fff;
    text-align: center;
}

.qualifications h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.qualifications > p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #ddd;
}


.timeline {
    position: relative;
    padding: 20px 0;
    max-width: 800px;
    margin: 0 auto;
}


.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #ff416c;
    transform: translateX(-50%);
}


.timeline-item {
    position: relative;
    margin: 20px 0; 
    height: 120px; 
}


.timeline-item::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ff416c;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translateX(-50%);
    z-index: 1;
}


.content {
    width: 45%;
    background: #333;
    padding: 15px; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: absolute;
    top: 0;
}

.timeline-item.left .content {
    right: 55%;
    text-align: right;
}

.timeline-item.right .content {
    left: 55%;
    text-align: left;
}

.content h3 {
    font-size: 1.3rem;
    margin: 0 0 5px; 
    color: #fff;
}

.content p {
    font-size: 1rem;
    color: #ddd;
    margin: 3px 0; 
}

.content .date {
    font-size: 0.9rem;
    color: #ff416c;
    margin-top: 5px; 
}

.content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}



#contact {
    background: #27354b;
    color: white;
    text-align: left;
    padding: 60px 20px;
    width: 100%;
    margin: auto;
    background: linear-gradient(45deg, #27354b, #0f2a38);
            transition: transform 0.3s ease;
            animation: gradientflow 15s ease-in-out infinite;
}
@keyframes gradientflow {
    0% {
        background: linear-gradient(45deg, #27354b, #0f2a38);
    }
    25% {
        background: linear-gradient(45deg, #20546e, #27354b);
    }
    50% {
        background: linear-gradient(45deg, #0f2a38, #20546e);
    }
    75% {
        background: linear-gradient(45deg, #27354b, #20546e);
    }
    100% {
        background: linear-gradient(45deg, #27354b, #0f2a38);
    }
}
.action {
    width: 80vw;
}
#contact h2 {
    width: 100%;
    font-size: 2rem;
    margin-bottom: 10px;
    margin-left: 49px;
}
#contact .highlight {
    color: #ffffff;
}
#contact p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    margin-left: 49px;
    color: rgba(255, 255, 255, 0.8);
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    width: 40px;
    gap: 30px;
    max-width: 280px;
    margin: auto;
    margin-right: 270px;
}
.contact-box {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px ;
    border-radius: 8px;
    text-align: left;
    width: 350px;
    transition: transform 0.3s ease-in-out;
}
.contact-box h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.contact-box a {
    color: #48cae4;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
}
.contact-box:hover {
    transform: translate(-5px);
}
#contact .action {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 80vw;
    margin: 0 auto;
}
#contact .contact-form-wrapper {
    width: 50%;
    padding-right: 25px;
    margin-left: 50px;
}
#contact .contact-form {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 9px;
    text-align: left;
}
#contact .form-group {
    margin-bottom: 15px;
    position: relative;
}
#contact .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}
#contact .form-control:focus {
    border-color: #48cae4;
    outline: none;
}
#contact .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
#contact .form-control[type="text"],
#contact .form-control[type="email"] {
    height: 40px;
}
#contact .form-control textarea {
    height: 120px;
    resize: vertical;
}
#contact .btn-primary {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
}
#contact .btn-primary:hover {
    background: linear-gradient(45deg, #ff6a4d, #ffae75);
    transform: scale(1.03);
}
.thank-you {
    display: none;
    margin-top: 20px;
    text-align: center;
}

.thank-you p {
    font-size: 1.2rem;
    color: #fff; /* Matches your section’s text color */
    margin-bottom: 15px;
}

.close-thank-you {
    background: #ff416c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.close-thank-you:hover {
    background: #ff2047;
}

.scroll-anim {
    opacity: 0; 
    transform: translatex(-70px); 
    transition: opacity 0.3s ease, transform 0.3s ease; 
}
.scroll-anim.visible {
    opacity: 1; 
    transform: translateX(0);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #ff416c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}
.footer {
    background: linear-gradient(to bottom, #2C3E50, #121212);
    color: #fff;
    padding: 40px 0;
    border-top: 1px solid #333;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-left, .footer-middle, .footer-right {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-brand {
    margin-bottom: 25px;
    margin-left: -150px;
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-left: -50px; 
}

.footer-brand .folio {
    color: #ff416c;
    text-transform: lowercase;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer p, .footer a {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #fff;
    text-decoration: none;
}

.footer p i {
    margin-right: 8px;
    color: #ff416c;
}

.footer a:hover {
    color: #ff416c;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    flex: 1;
}

.newsletter-form .subscribe-btn {
    background: #ff416c;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form .subscribe-btn:hover {
    background: #ff2047;
}

.thank-you {
    display: none;
    margin-top: 10px;
}

.thank-you p {
    font-size: 1rem;
    color: #333;
}

.footer-right ul {
   
    padding-left: 10px; 
}

.footer-right ul li {
    margin-bottom: 5px;
    list-style: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
}

.social-media-bottom ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.social-media-bottom li {
    margin: 0 10px;
}

.social-media-bottom a {
    font-size: 1.5rem;
    color: #fff;
    transition: color 0.3s ease;
}

.social-media-bottom a.fa-facebook { color: #3b5998; }
.social-media-bottom a.fa-github { color: #333; }
.social-media-bottom a.fa-twitter { color: #1DA1F2; }
.social-media-bottom a.fa-instagram { color: #e4405f; }
.social-media-bottom a.fa-linkedin { color: #0077b5; }
.social-media-bottom a.fa-whatsapp { color: #25D366; }

.social-media-bottom a:hover {
    color: #ff416c;
}
.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    background: #ff2047; 
}
@media (max-width: 793px) {
    body {
        width: 100%;
        box-sizing: border-box;
    }
    .navbar {
        padding: 10px;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .logo {
        font-size: 1.2rem;
        margin-bottom: 10px;
        transform: translateX(-50px);
    }
    .nav-link {
        flex-direction: column;
        gap: 1px;
        text-align: left;
        align-items: flex-start;
        display: none;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .nav-link.active {
        display: flex;
    }
    .nav-link a {
        font-size: 0.8rem;
        text-align: left;
        margin-left: 0px;
        padding: 5px 10px;
        width: 100%;
        transform: translateX(50px);
    }
    .nav-link .active::after {
        display: none;
    }
    .nav-toggle {
        display: block;
        margin-top: -12px;
        padding-left: 0px;
        font-size: 20px;
        transform: translateY(30px);
    }
    .hero {
        height: 60vh;
        padding: 15px;
        width: 100%;
    }
    .hero h1 {
        font-size: 1.8rem;
        transform: translateX(-50px);
    }
    .hero p {
        font-size: 1rem;
        min-width: unset;
        min-width: 100%;
        color: #ddd;
        transform: translateY(30px);
    }
    .projects {
        height: auto;
        padding: 40px 15px;
        width: 100%;
    }
    .projects h2 {
        font-size: 2rem;
        transform: translateY(-30px);
    }
    .projects p {
        font-size: 1rem;
        transform: translateY(30px);
    }
    .project-gallery {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .project-gallery img {
        width: 80%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
        border-radius: 8px;
        transform: translateX(50px);
    }
    .skills-section {
        flex-direction: column;
        padding: 40px 15px;
        width: 100%;
    }
    .skills-content {
        max-width: 100%;
    }
    .skills-content > h2 {
        width: 89%;
        transform: translateX(-50px);
    }
    .skills-content > h3 {
        width: 89%;
        transform: translateX(50px);
    }
    .skills-content > p {
        width: 100%;
        transform: translateY(30px);
    }
    .skills-image {
        max-width: 100%;
        padding-left: 0;
        margin-top: 30px;
    }
    .skill-item img {
        margin: 0 5px 13px 5px;
        transform: translateX(-50px);
    }
    .skill-item h4 {
        margin: 0 0 10px 5px;
        transform: translateX(50px);
    }
    .skill-item p {
        margin: 0 0 0 5px;
        transform: translateY(30px);
    }
    .see-more {
        width: 150%;
        padding: 15px;
        font-size: 1.1rem;
        margin: 30px 0;
        transform: translateY(30px);
    }
    .about-me-area {
        padding: 40px 15px;
    }
    .about-row {
        flex-direction: column;
    }
    .about-left,
    .about-right {
        width: 100%;
        padding: 0;
    }
    .about-right {
        margin-top: 20px;
        padding-left: 0;
    }
    .about-left .img {
        width: 100%;
        height: 300px;
        transform: translateX(-50px);
    }
    .about-info {
        text-align: left;
        margin-top: 20px;
        transform: none; 
    }
    .about-info li {
        display: flex;
        justify-content: flex-start;
        gap: 15px; 
    }
    .about-info span:first-child {
        min-width: 80px; 
    }
    .about-info span:nth-child(2) {
        flex: 1; 
        
    }
    .about-me-area h6 {
        transform: translateX(-50px);
    }
    .about-me-area h1 {
        transform: translateX(50px);
    }
    .about-me-area p {
        transform: translateY(30px);
    }
    .about-right .about-info {
        transform: translateY(30px);
    }
    .timeline::before {
        left: 10px;
    }
    .timeline-item {
        margin: 15px 0;
        height: auto;
    }
    .timeline-item.left .content,
    .timeline-item.right .content {
        width: 80%;
        position: static;
        margin: 5px 0 0 30px;
        text-align: left;
        transform: translateX(50px); /* All content slides from right on mobile */
    }
    .timeline-item::before {
        left: 5px;
    }
    #contact h2 {
        margin-left: 0;
        text-align: center;
        transform: translateY(-30px);
    }
    #contact p {
        margin-left: 0;
        text-align: center;
        transform: translateY(30px);
    }
    .action {
        width: 100%;
    }
    .contact-box {
        width: 100%;
        transform: translateX(-50px);
    }
    #contact .action {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }
    #contact .contact-form-wrapper {
        width: 100%;
        padding-right: 0;
        margin-left: 0;
        margin-bottom: 30px;
    }
    #contact .contact-form {
        width: 100%;
    }
    #contact .contact-container {
        width: 100%;
        max-width: 350px;
        margin-right: 0;
        margin-left: 0;
        gap: 20px;
    }
    #contact .contact-box {
        width: 100%;
        background-color: rgba(255, 255, 255, 0.2);
        transition: background-color 0.3s ease-in-out;
    }
    #contact .contact-box:active {
        background-color: rgba(255, 255, 255, 0.3);
    }

    /* Animation Classes for Mobile */
    .scroll-arrange {
        opacity: 0;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .scroll-arrange.visible {
        opacity: 1;
        transform: translate(0, 0);
    }
    .footer-brand .logo {
        margin-left: 0; 
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form input[type="email"] {
        width: 100%;
    }
    .newsletter-form .subscribe-btn {
        width: 100%;
    }
    .social-media-bottom ul {
        flex-wrap: wrap;
    }
    .social-media-bottom li {
        margin: 5px;
    }
}