/* Canvas Fullscreen Background */
canvas#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}




/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #070726 0%, #1a1a3a 50%, #0f0f2e 100%);
    background-attachment: fixed;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    justify-content: flex-start;
}


/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(230, 126, 34, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(230, 126, 34, 0.3);
}

.logo h1 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #e67e22, #f1c40f, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 100%;
    animation: gradientText 4s infinite;
    text-shadow: 0 0 20px rgba(230, 126, 34, 0.5);
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 8px 15px;
    border-radius: 5px;
}

/* Hover Animation */
.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e67e22, #f1c40f);
    border-radius: 5px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.nav-links a:hover::before,
.nav-links a:focus::before {
    opacity: 0.2;
}

.nav-links a:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(230, 126, 34, 0.4);
}

/* Active Link Style */
.nav-links a.active {
    font-weight: bold;
    color: #e67e22;
}



/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #e67e22, #f1c40f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s infinite;
}

.profile-container {
    position: relative;
    display: inline-block;
}

.profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e67e22;
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.6), inset 0 0 10px rgba(230, 126, 34, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: profileGlow 2s ease-in-out infinite;
}

@keyframes profileGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(230, 126, 34, 0.6), inset 0 0 10px rgba(230, 126, 34, 0.3); }
    50% { box-shadow: 0 0 25px rgba(230, 126, 34, 0.9), inset 0 0 15px rgba(230, 126, 34, 0.5); }
}

.edit-icon {
    position: absolute;
    width: 16px;
    height: 16px;
    bottom: 0;
    right: 0;
    background-color: #fff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    display: none;
    cursor: pointer;
}

.profile-container:hover .edit-icon {
    display: block;
}

.profile-container:hover .profile-picture {
    transform: scale(1.15);
    filter: brightness(1.2);
}
/* Content Container Styling */
.content-containerMain {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
    animation: fadeInUp 0.8s ease-out;
}

/* Left Side (Picture) */
.left-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-pictureMain {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 8px solid;
    border-image: linear-gradient(135deg, #e67e22, #f1c40f, #e67e22) 1;
    object-fit: cover;
    box-shadow: 0 0 40px rgba(230, 126, 34, 0.6),
                0 0 80px rgba(241, 196, 15, 0.3),
                inset 0 0 40px rgba(230, 126, 34, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Right Side (Skills and About) */
.right-side {
    flex: 2;
}

/* Skills Styling */
.skills-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.skills-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f1c40f 0%, #e67e22 100%);
    color: #000000;
    padding: 12px 15px;
    margin-bottom: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    position: relative;
    width: 500px;
    height: 55px;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    overflow: hidden;
}

.skills-list li::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translate(-100%, -100%) rotate(45deg); }
    100% { transform: translate(100%, 100%) rotate(45deg); }
}

.skills-list li:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d66c0c 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.6);
}

/* Skill Logo */
.skill-logo {
    width: 35px;
    height: 35px;
    margin-right: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: rotateSpin 4s linear infinite;
}

.skills-list li:hover .skill-logo {
    transform: scale(1.2) rotate(10deg);
    animation-duration: 1s;
}

@keyframes rotateSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Popup Animation */
.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(-10deg);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(40, 40, 70, 0.95));
    padding: 30px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    box-shadow: 0 0 50px rgba(230, 126, 34, 0.5);
    border: 2px solid rgba(230, 126, 34, 0.6);
    backdrop-filter: blur(10px);
}

.popup-container img {
    max-width: 350px;
    max-height: 350px;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(230, 126, 34, 0.4);
    animation: popupImageGlow 2s ease-in-out infinite;
}

@keyframes popupImageGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(230, 126, 34, 0.4)); }
    50% { filter: drop-shadow(0 0 20px rgba(241, 196, 15, 0.6)); }
}

/* Show Popup */
.popup-container.active {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
}

/* Close button for popup */
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #e67e22;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
    z-index: 10001;
}

.popup-close:hover {
    background: #f1c40f;
    transform: scale(1.2) rotate(90deg);
}
/* Social Media Container */
.social-media {
    position: fixed; /* Keeps the icons fixed on the screen */
    right: 20px; /* Position 20px away from the right edge */
    top: 200px; /* Start 100px from the top */
    display: flex;
    flex-direction: column; /* Arrange icons in a vertical line */
    gap: 15px; /* Space between the icons */
}

/* Social Media Icons */
.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(241, 196, 15, 0.1));
    padding: 5px;
    border: 2px solid rgba(230, 126, 34, 0.3);
}

.social-icon:hover {
    transform: scale(1.3) translateY(-5px) rotate(10deg);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.7);
    border-color: #e67e22;
}
/* About Page Container */
.about-container {
    width: 80%;
    margin: auto;
    padding: 20px;
}

/* Education Section */
.education-section {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border: 2px solid rgba(230, 126, 34, 0.3);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(230, 126, 34, 0.2);
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.05), rgba(241, 196, 15, 0.05));
    transition: all 0.3s ease;
    animation: slideInLeft 0.6s ease-out;
}

.education-section:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 40px rgba(230, 126, 34, 0.4);
    border-color: #e67e22;
}

/* Education Image */
.edu-image {
    width: 450px;
    height: 300px;
    margin-right: 20px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.education-section:hover .edu-image {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Education Details */
.edu-details {
    flex-grow: 1;
}

.edu-details h3 {
    margin: 0;
    font-size: 18px;
}

.edu-details a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
}

.edu-details a:hover {
    color: #ffffff;
}

.edu-details p {
    margin: 10px 0;
}
.profile-section1 {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #e8f1ff, #f0f8ff);
    margin: 40px auto;
    border-radius: 15px;
    animation: slideInUp 0.8s ease-out;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(230, 126, 34, 0.2);
    position: relative;
    overflow: hidden;
}

.profile-section1::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
    animation: orbitalMove 8s linear infinite;
}

@keyframes orbitalMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}
.profile-links {
    margin-top: 15px;
}

.profile-link {
    text-decoration: none;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.profile-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
    z-index: -1;
}

.profile-link:hover::before {
    left: 100%;
}

.fiverr {
    background: #1dbf73;
}

.fiverr:hover {
    background: #17a566;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(29, 191, 115, 0.4);
}

.upwork {
    background: #6fda44;
}

.upwork:hover {
    background: #5fb638;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(111, 218, 68, 0.4);
}

/* Main animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}