#labelforsetting,
#labelforvisualmode,
#switchforvisualmode:checked+#labelforvisualmode {
    background-repeat: no-repeat;
    background-position: center
}

#labelforsetting,
#labelforsound {
    height: 40px;
    background-size: 60%
}

#preloader,
.invertapplied,
.invertsettinglabel {
    filter: invert(1)
}

#preloader,
noscript {
    width: 100%;
    height: 100%
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-oxford-blue-2), var(--bg-oxford-blue));
    transition: opacity 0.5s ease-in-out;
}

.preloader svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: var(--bg-carolina-blue);
    opacity: 0.1;
}

.preloader-heading {
    text-align: center;
    z-index: 10;
}

.load-text {
    font-family: 'Fira Code', monospace;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.5rem;
    color: var(--text-columbia-blue);
}

.load-text span {
    display: inline-block;
    animation: loadAnimation 1.5s infinite ease-in-out;
    text-shadow: 0 0 20px var(--bg-carolina-blue);
}

.load-text span:nth-child(1) { animation-delay: 0.1s; }
.load-text span:nth-child(2) { animation-delay: 0.2s; }
.load-text span:nth-child(3) { animation-delay: 0.3s; }
.load-text span:nth-child(4) { animation-delay: 0.4s; }
.load-text span:nth-child(5) { animation-delay: 0.5s; }
.load-text span:nth-child(6) { animation-delay: 0.6s; }
.load-text span:nth-child(7) { animation-delay: 0.7s; }

@keyframes loadAnimation {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(1) translateY(0);
    }
    40% {
        opacity: 1;
        transform: scale(1.1) translateY(-10px);
        color: var(--bg-carolina-blue);
        text-shadow: 0 0 30px var(--bg-carolina-blue);
    }
}

/* Preloader fade out */
.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Responsive preloader */
@media (max-width: 768px) {
    .load-text {
        font-size: 2.5rem;
        letter-spacing: 0.3rem;
    }
}

@media (max-width: 480px) {
    .load-text {
        font-size: 2rem;
        letter-spacing: 0.2rem;
    }
}

body,
noscript {
    background-color: var(--bg-oxford-blue-2)
}

.main,
body {
    overflow-x: hidden
}

:root {
    font-family: "Poppins Regular", sans-serif;
}

.eye,
.image-div,
.logo,
.navbar,
.project-box,
.resume-btn,
footer {
    overflow: hidden
}

/* Remove text decoration from all links */
a {
    text-decoration: none;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

::selection {
    background-color: transparent
}

::-moz-selection {
    background: 0 0
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased
}

:root {
    cursor: default;
    --color-white: hsla(0, 0%, 100%, 1);
    --color-black: hsla(0, 0%, 0%, 1);
    --color-dark-mode: var(--bg-oxford-blue-2);
    --color-light-mode: var(--text-alice-blue);
    --color-ddd-color: #ddd;
    --color-gray: #c4c4c4;
    --color-purple: var(--bg-carolina-blue);
    --color-light-purple: var(--text-carolina-blue);
    --color-light-blue: var(--bg-carolina-blue);
    --color-navbarBorder-dark: var(--border-prussian-blue);
    --color-shadowDark: rgba(0, 0, 0, 0.137);
    --static-heading-gradient-blue: var(--text-columbia-blue);
    --static-heading-gradient-pink: var(--text-carolina-blue);
    --tech-stack-box-first-color: var(--bg-oxford-blue);
    --tech-stack-box-second-color: rgba(27, 27, 40, 0);
    --tech-stack-box-border-color: var(--border-prussian-blue);
    --bg-wild-blue-yonder: hsla(216, 33%, 68%, 1);
    --bg-carolina-blue: hsla(199, 89%, 49%, 1);
    --bg-prussian-blue: hsla(216, 33%, 20%, 1);
    --bg-oxford-blue: hsla(222, 44%, 13%, 1);
    --bg-oxford-blue-2: hsla(222, 47%, 11%, 1);
    --text-white: hsla(0, 0%, 100%, 1);
    --text-alice-blue: hsla(216, 100%, 95%, 1);
    --text-columbia-blue: hsla(199, 89%, 84%, 1);
    --text-wild-blue-yonder: hsla(216, 33%, 80%, 1);
    --text-carolina-blue: hsla(199, 89%, 60%, 1);
    --text-shadow-blue: hsla(217, 24%, 75%, 1);
    --text-slate-gray: hsla(217, 17%, 75%, 1);
    --gradient-1: linear-gradient(90deg, #0ea5ea, #0bd1d1 51%);
    --gradient-2: linear-gradient(90deg, #0ea5ea, #0bd1d1 51%, #0ea5ea);
    --gradient-3: linear-gradient(0deg, #000d1a, transparent);
    --border-wild-blue-yonder: hsla(216, 33%, 68%, 1);
    --border-prussian-blue: hsla(216, 33%, 20%, 1);
    --border-white: hsl(0, 0%, 100%);
    --border-white-alpha-15: hsla(0, 0%, 100%, 0.15);
    --shadow-1: 0 8px 20px 0 hsla(0, 0%, 0%, 0.05);
    --shadow-2: 0px 3px 20px hsla(180, 90%, 43%, 0.2);

    /* Colors */
    --color-primary: var(--bg-carolina-blue);
    --color-secondary: var(--text-carolina-blue);
    --color-background: var(--bg-oxford-blue-2);
    --color-text: var(--text-alice-blue);

    /* Spacing */
    --space-unit: 0.5rem;
    --space-xs: calc(var(--space-unit) * 1);
    --space-sm: calc(var(--space-unit) * 2);
    --space-md: calc(var(--space-unit) * 4);

    /* Typography */
    --font-scale: 1.25;
    --font-size-base: 1rem;
    --font-size-lg: calc(var(--font-size-base) * var(--font-scale));
}

.navbar-tabs-ul li {
    font-family: "Poppins Medium", sans-serif;
}

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-track {
    background: #0a0a10
}

::-webkit-scrollbar-thumb {
    background-color: var(--bg-carolina-blue)
}

/* Revert cursor styles */
.cursor-inner {
    width: 8px;
    height: 8px;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    background-color: var(--bg-carolina-blue);
    mix-blend-mode: difference;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
}

.cursor-outer {
    width: 35px;
    height: 35px;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border: 2px solid var(--bg-carolina-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
}

.cursor-inner.hover {
    width: 25px;
    height: 25px;
    mix-blend-mode: difference;
}

.cursor-outer.hover {
    width: 50px;
    height: 50px;
}

.setting-container,
.settingactivate {
    transform-origin: left;
    transition-duration: .5s
}

.settingactivate {
    width: 200px
}

.visualmodetogglebuttoncontainer {
    height: fit-content;
    display: flex;
    justify-content: center;
    transform: translate(-50px) scale(0)
}

.visualmodeshow {
    transition-duration: .3s;
    transform: translate(0) scale(1)
}

#switchforsetting,
#switchforsound,
#switchforvisualmode,
#switchforvisualmode-mobile,
.hamburger,
.mobiletogglemenu {
    display: none
}

#switchforsetting:checked+#labelforsetting {
    transform: rotate(180deg);
    transition-duration: .5s
}

#labelforvisualmode {
    position: relative;
    width: 40px;
    height: 40px;
    background-image: url(../assets/png/crescent-moon.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    transition-duration: .5s;
    cursor: pointer
}

#switchforvisualmode:checked+#labelforvisualmode {
    transform: rotate(360deg);
    transition-duration: .5s;
    background-image: url(../assets/png/sun.png);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center
}

.soundtogglebuttoncontainer {
    height: fit-content;
    display: flex;
    justify-content: center;
    transform: translate(-130px) scale(0)
}

#labelforsound,
#preloader {
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center
}

.soundmodeshow {
    transition-delay: .1s;
    transition-duration: .5s;
    display: inline-block;
    transform: translate(0) scale(1)
}

.logo,
.logo:hover {
    transition-duration: 1s
}

#labelforsound {
    position: relative;
    justify-content: center;
    width: 40px;
    background-image: url(../assets/svg/Mute_Icon.svg);
    cursor: pointer;
    transition-duration: .5s
}

#switchforsound:checked+#labelforsound {
    transition-duration: .5s;
    background-image: url(../assets/svg/Speaker_Icon.svg);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center
}

/* Header styles with blob effect */
header {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Blob effect for header */
header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(14, 165, 233, 0.15),
        rgba(14, 165, 233, 0.05),
        rgba(14, 165, 233, 0.1)
    );
    filter: blur(30px);
    animation: blobMove 15s ease-in-out infinite;
    z-index: -1;
}

/* Blob animation */
@keyframes blobMove {
    0% {
        transform: rotate(0deg) scale(1);
    }
    33% {
        transform: rotate(120deg) scale(1.2);
    }
    66% {
        transform: rotate(240deg) scale(0.8);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Add backdrop blur to navbar */
.navbar {
    background: rgba(34, 39, 46, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.1);
    height: 60px;
    width: 85%;
    border-radius: 20px;
    padding: 0 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    position: relative;
    overflow: hidden;
}

/* Add gradient background effect */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(14, 165, 233, 0.15),
        rgba(14, 165, 233, 0.05),
        rgba(11, 209, 209, 0.1)
    );
    z-index: -1;
}

/* Light mode styles */
.light-mode .navbar {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.light-mode .navbar::before {
    background: linear-gradient(
        45deg,
        rgba(14, 165, 233, 0.1),
        rgba(14, 165, 233, 0.05),
        rgba(11, 209, 209, 0.08)
    );
}

/* Hover effect */
.navbar:hover {
    transform: translateY(2px);
    background: rgba(34, 39, 46, 0.9);
}

.light-mode .navbar:hover {
    background: rgba(255, 255, 255, 0.95);
}

#preloader {
    background-color: #fff;
    position: fixed;
    z-index: 99999;
    justify-content: center;
    overflow-y: hidden;
    background-image: url(../assets/svg/Pulse-0.4s-200px.svg);
    background-size: 10%
}

.navbar,
noscript {
    display: flex;
    align-items: center;
    position: fixed
}

#name,
.getintouch-heading article {
    background: -webkit-linear-gradient(135deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    -webkit-text-fill-color: transparent
}

noscript {
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    z-index: 999999
}

.fakenavbar {
    height: 0;
    width: 0%;
    background-color: transparent
}

.navbar {
    background: rgba(34, 39, 46, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 60px;
    width: 85%;
    border-radius: 20px;
    padding: 0 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
}

.navbar:hover {
    background: rgba(34, 39, 46, 0.95);
    transform: translateY(2px);
}

.navbar-tabs,
.navbar-tabs-ul {
    height: 100%;
    align-items: center
}

.logo,
.navbar-tabs-ul li {
    position: relative;
    display: flex
}

.navbar-tabs {
    display: flex;
    width: 80%
}

/* Navbar Text Styles */
.navbar-tabs-ul {
    width: 100%;
    display: flex;
    list-style: none;
    justify-content: flex-end;
    gap: 40px;
    align-items: center;
}

.navbar-tabs-ul li {
    position: relative;
    display: flex;
    align-items: center;
    font-family: "Poppins Medium", sans-serif;
}

.navbar-tabs-ul a {
    color: var(--text-wild-blue-yonder);
    font-size: 1.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

/* Hover Effect */
.navbar-tabs-ul a:hover {
    color: var(--text-carolina-blue);
    background: rgba(14, 165, 233, 0.1);
    border-radius: 8px;
    padding: 8px 15px;
}

/* Active Tab Style */
.activeThistab a {
    color: var(--text-carolina-blue) !important;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 8px;
    padding: 8px 15px;
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
    .navbar-tabs-ul {
        gap: 30px;
    }

    .navbar-tabs-ul a {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar-tabs-ul {
        gap: 20px;
    }

    .navbar-tabs-ul a {
        font-size: 1.5rem;
    }
}

.logo {
    width: 10%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.face,
.logo-top {
    width: 100%;
    align-items: center;
    display: flex
}

.hey {
    color: #fff;
    position: absolute;
    font-size: 2.5rem;
    font-weight: 300;
    background-color: #20222e;
    padding: 5px 10px;
    border-radius: 20px;
    left: 120px;
    bottom: 80px;
    opacity: 0
}

#hello-friend,
#work,
.about-info p,
.activeThistab,
.language-speak article {
    color: var(--color-white)
}

.blob,
.eye,
.pupil {
    border-radius: 50%
}

.popup {
    animation: 3s linear pop-up
}

@keyframes pop-up {
    from {
        bottom: -50px;
        left: 50px;
        opacity: 1
    }

    to {
        opacity: 0
    }
}


.logo-top {
    height: 100%;
    justify-content: center;
    transform-origin: bottom;
    position: relative
}

.activeThistab:before,
.face {
    content: "";
    position: absolute
}

.logo-top img {
    height: 100%;
    z-index: 2
}

.face {
    height: 74%;
    bottom: 0;
    justify-content: center;
    gap: 5px;
    z-index: 1;
    padding-left: 1px
}

.eye {
    width: 8px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff
}

.left-eye {
    box-shadow: -1px -2px 2px rgba(0, 0, 0, .589) inset
}

.right-eye {
    box-shadow: 1px 3px 2px rgba(0, 0, 0, .589) inset
}

.pupil {
    width: 3.5px;
    height: 3.5px;
    background: #241010
}

.logo:hover {
    transform: translateY(200px)
}

.activeThistab:before {
    border-radius: 50%;
    z-index: -1
}

.dp::after,
.dp::before {
    height: 300px;
    z-index: -2;
    content: ""
}

.main {
    width: 100%;
    height: fit-content;
    position: relative
}

.blob {
    position: absolute;
    right: -15%;
    top: 0;
    background-image: var(--gradient-1);
    width: 600px;
    height: 100vh;
    filter: blur(300px);
    opacity: 0.1;
    animation: 1s linear infinite alternate-reverse breath;
    z-index: 0;
}

@keyframes breath {
    from {
        opacity: .3
    }

    to {
        opacity: .5
    }
}

/* Update landing page container styles */
.landing-page-container {
    padding-top: 80px;
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.main-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
    .main-container {
        max-width: 90%;
        gap: 30px;
    }
}

@media screen and (max-width: 998px) {
    .landing-page-container {
        padding: 120px 0 60px;
    }

    .main-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .left-content {
        width: 100%;
        align-items: center;
    }

    .right-content {
        width: 100%;
        max-width: 400px;
    }
}

@media screen and (max-width: 768px) {
    .landing-page-container {
        padding: 100px 0 40px;
    }

    .main-container {
        gap: 30px;
        padding: 0 15px;
    }

    .right-content {
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .landing-page-container {
        padding: 80px 0 30px;
        min-height: auto;
    }

    .main-container {
        gap: 25px;
        padding: 0 10px;
    }

    .right-content {
        max-width: 250px;
    }
}

@media screen and (max-width: 360px) {
    .landing-page-container {
        padding: 70px 0 20px;
    }

    .main-container {
        gap: 20px;
    }

    .right-content {
        max-width: 200px;
    }
}

/* Fix spacing between sections */
section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.about-section-container {
    margin-top: 0;
    padding-top: 100px;
}

@media screen and (max-width: 480px) {
    .landing-page-container {
        padding: 100px 0px 40px;
    }

    .main-container {
        gap: 20px;
    }

    .right-content {
        max-width: 250px;
    }

    .about-section-container {
        padding-top: 40px;
    }
}

/* Update container styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Profile picture styles */
.profile-pic-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 20px !important; /* Force consistent margin */
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--bg-carolina-blue);
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Profile Picture Hover Effects */
.profile-pic-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--bg-carolina-blue), transparent);
    opacity: 0.2;
    z-index: -1;
    transition: all 0.3s ease;
}

.profile-pic-container:hover .profile-pic {
    transform: scale(1.05);
}

.profile-pic-container:hover::before {
    opacity: 0.4;
    transform: scale(1.1);
}

/* Social icons styles */
.social-icons {
    display: flex;
    gap: 25px;
    margin: 30px 0;
    justify-content: center;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.social-icons a i {
    font-size: 20px;
    color: var(--text-carolina-blue);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background: rgba(14, 165, 233, 0.2);
    border-color: var(--bg-carolina-blue);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.2);
}

/* Name and title styles */
#name {
    font-size: 5.6rem;
    font-weight: 700;
    margin: 10px 0;
    background: linear-gradient(135deg,
        var(--text-columbia-blue),
        var(--text-carolina-blue),
        #4facfe,
        #00f2fe
    );
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 5s ease infinite;
    text-align: center;
    line-height: 1.2;
    font-family: "Poppins Bold", sans-serif;
    letter-spacing: -0.5px;
}

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

.title {
    font-size: 2.4rem;
    color: var(--text-wild-blue-yonder);
    margin: 15px 0;
    min-height: 40px;
}

.description {
    font-size: 1.8rem;
    color: var(--text-slate-gray);
    max-width: 600px;
    margin: 20px auto;
    line-height: 1.6;
}

/* Light theme specific styles */
.light-mode .landing-page-container {
    background: var(--bg-oxford-blue-2);
}

.light-mode #name {
    background: linear-gradient(135deg, var(--text-columbia-blue), var(--text-carolina-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.light-mode .title {
    color: var(--text-wild-blue-yonder);
}

.light-mode .description {
    color: var(--text-slate-gray);
}

.light-mode .social-icons a {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.2);
}

.light-mode .social-icons a i {
    color: var(--text-carolina-blue);
}

.light-mode .social-icons a:hover {
    background: rgba(14, 165, 233, 0.2);
    border-color: var(--bg-carolina-blue);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .profile-pic-container {
        width: 180px;
        height: 180px;
    }

    #name {
        font-size: 4.2rem;
        margin: 8px 0;
    }

    .title {
        font-size: 2rem;
    }

    .description {
        font-size: 1.6rem;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
    }

    .social-icons a i {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    #name {
        font-size: 3.6rem;
        margin: 6px 0;
    }

    .title {
        font-size: 1.8rem;
    }

    .description {
        font-size: 1.4rem;
    }

    .social-icons {
        gap: 12px;
        margin: 12px 0;
    }

    .social-icons a {
        width: 28px;
        height: 28px;
    }

    .social-icons a i {
        font-size: 13px;
    }
}

.text-content {
    display: flex;
    flex-direction: column;
    width: 60%;
    height: 100%;
    align-items: flex-start;
    justify-content: center
}

#hello-friend {
    font-size: 3.2rem;
    font-weight: 600;
    width: fit-content;
    display: flex;
    align-items: flex-end
}

#name {
    font-size: 7rem;
    width: fit-content
}

#work {
    font-size: 5.5rem;
    width: fit-content
}

#name,
#work,
.letsTalkBtn-text {
    display: flex;
    font-weight: 700
}

@-webkit-keyframes vibrate-1 {

    0%,
    100% {
        -webkit-transform: translate(0);
        transform: translate(0)
    }

    20% {
        -webkit-transform: translate(-2px, 2px);
        transform: translate(-2px, 2px)
    }

    40% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px)
    }

    60% {
        -webkit-transform: translate(2px, 2px);
        transform: translate(2px, 2px)
    }

    80% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px)
    }
}

@keyframes vibrate-1 {

    0%,
    100% {
        -webkit-transform: translate(0);
        transform: translate(0)
    }

    20% {
        -webkit-transform: translate(-2px, 2px);
        transform: translate(-2px, 2px)
    }

    40% {
        -webkit-transform: translate(-2px, -2px);
        transform: translate(-2px, -2px)
    }

    60% {
        -webkit-transform: translate(2px, 2px);
        transform: translate(2px, 2px)
    }

    80% {
        -webkit-transform: translate(2px, -2px);
        transform: translate(2px, -2px)
    }
}

#name {
    align-items: flex-start;
    background: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 400% 400%;
    -webkit-animation: 3s infinite gradient;
    animation: 3s infinite gradient
}

@keyframes gradient {

    0%,
    100% {
        background-position: 0 50%
    }

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

#work {
    align-items: flex-start;
    flex-wrap: wrap
}

#info-para,
.about-info p {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.6
}

#work div {
    display: flex;
    margin: 0 12px 0 0
}

.jello:hover {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-color: #03e6ff;
    -webkit-animation: .9s both jello-vertical;
    animation: .9s both jello-vertical
}

#backtotopbutton,
.dp::after,
.dp::before,
.letsTalkBtn {
    background-color: transparent
}

@-webkit-keyframes jello-vertical {

    0%,
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1)
    }

    30% {
        -webkit-transform: scale3d(.75, 1.25, 1);
        transform: scale3d(.75, 1.25, 1)
    }

    40% {
        -webkit-transform: scale3d(1.25, .75, 1);
        transform: scale3d(1.25, .75, 1)
    }

    50% {
        -webkit-transform: scale3d(.85, 1.15, 1);
        transform: scale3d(.85, 1.15, 1)
    }

    65% {
        -webkit-transform: scale3d(1.05, .95, 1);
        transform: scale3d(1.05, .95, 1)
    }

    75% {
        -webkit-transform: scale3d(.95, 1.05, 1);
        transform: scale3d(.95, 1.05, 1)
    }
}

@keyframes jello-vertical {

    0%,
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1)
    }

    30% {
        -webkit-transform: scale3d(.75, 1.25, 1);
        transform: scale3d(.75, 1.25, 1)
    }

    40% {
        -webkit-transform: scale3d(1.25, .75, 1);
        transform: scale3d(1.25, .75, 1)
    }

    50% {
        -webkit-transform: scale3d(.85, 1.15, 1);
        transform: scale3d(.85, 1.15, 1)
    }

    65% {
        -webkit-transform: scale3d(1.05, .95, 1);
        transform: scale3d(1.05, .95, 1)
    }

    75% {
        -webkit-transform: scale3d(.95, 1.05, 1);
        transform: scale3d(.95, 1.05, 1)
    }
}

#info-para {
    /* width: 75%; */
    padding-top: 25px;
    color: var(--color-ddd-color);
    font-size: 1.6rem;
    line-height: 1.6
}

.contact-btn-div {
    width: 100%;
    padding-top: 50px;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.letsTalkBtn {
    position: relative;
    padding: 12px 35px;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-white);
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.4);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.letsTalkBtn::before,
.letsTalkBtn::after {
    z-index: 1;
}

.letsTalkBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.letsTalkBtn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.letsTalkBtn-text {
    position: relative;
    z-index: 4;
    font-family: "Poppins Medium", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(
        to right,
        var(--text-columbia-blue),
        var(--text-carolina-blue)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.letsTalkBtn-text::after {
    content: '→';
    position: relative;
    top: -1px;
    margin-left: 8px;
    font-size: 1.6rem;
    font-weight: 400;
    background: var(--text-white);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.letsTalkBtn:hover {
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow:
        0 7px 20px -6px rgba(14, 165, 233, 0.4),
        0 0 15px rgba(14, 165, 233, 0.15) inset;
}

.letsTalkBtn:hover::before {
    left: 100%;
}

.letsTalkBtn:hover::after {
    opacity: 1;
}

.letsTalkBtn:hover .letsTalkBtn-text {
    background: var(--text-white);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.letsTalkBtn:hover .letsTalkBtn-text::after {
    opacity: 1;
    transform: translateX(0);
}

.letsTalkBtn:active {
    transform: scale(0.98);
}

.letsTalkBtn:focus {
    outline: none;
    box-shadow:
        0 0 0 2px var(--bg-oxford-blue-2),
        0 0 0 4px rgba(14, 165, 233, 0.3);
}

@media screen and (max-width: 768px) {
    .letsTalkBtn {
        padding: 10px 30px;
        font-size: 1.4rem;
    }

    .letsTalkBtn-text {
        font-size: 1.2rem;
    }

    .letsTalkBtn-text::after {
        font-size: 1.4rem;
    }
}

.cta:hover span,
.text,
.tooltip {
    color: #fff
}

.resume-btn,
.sign {
    align-items: center;
    transition-duration: .3s;
    display: flex
}

.letsTalkBtn-BG {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(150deg, #71cbff, #8000ff);
    z-index: -1;
    left: 6px;
    top: 6px;
    border-radius: 7px;
    pointer-events: none;
    transition: .3s
}

.letsTalkBtn:hover {
    transform: translateY(-2px) translateX(-2px)
}

.letsTalkBtn:hover .letsTalkBtn-BG {
    transform: translateY(2px) translateX(2px)
}

.letsTalkBtn:active {
    transform: translateY(7px) translateX(7px)
}

.letsTalkBtn:active .letsTalkBtn-BG {
    transform: translateY(-7px) translateX(-7px)
}

/* Modern Resume Button Styles - Updated */
.resume-btn {
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer;
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: rgba(14, 165, 233, 0.1) !important;

    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.3),
        0 0 15px rgba(14, 165, 233, 0.15);
}

.resume-btn .sign {
    position: absolute;
    left: 0;
    width: 45px;
    min-width: 45px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sign svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-carolina-blue);
    stroke-width: 2.5;
    fill: none;
    transition: all 0.3s ease;
}

.text {
    position: absolute;
    width: 0;
    opacity: 0;
    color: var(--text-carolina-blue);
    font-size: 1.4rem;
    font-weight: 500;
    font-family: "Poppins Medium", sans-serif;
    transition: all 0.3s ease;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
}

/* Hover Effects */
.resume-btn:hover {
    width: 140px;
    border-radius: 30px !important;
    background: rgba(14, 165, 233, 0.15) !important;
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.5),
        0 0 20px rgba(14, 165, 233, 0.25);
    transform: translateY(-5px);
}

.resume-btn:hover .text {
    opacity: 1;
    width: auto;
    left: 55px; /* Position text after icon */
    transform: translateX(0);
}

/* Remove animation */
.resume-btn {
    animation: none !important;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .resume-btn {
        width: 40px;
        height: 40px;
    }

    .resume-btn .sign {
        width: 40px;
        min-width: 40px;
    }

    .sign svg {
        width: 18px;
        height: 18px;
    }

    .text {
        font-size: 1.3rem;
    }

    .resume-btn:hover {
        width: 130px;
    }

    .resume-btn:hover .text {
        left: 50px;
    }
}

@media screen and (max-width: 480px) {
    .resume-btn {
        width: 35px;
        height: 35px;
        bottom: 20px;
        left: 20px;
    }

    .resume-btn .sign {
        width: 35px;
        min-width: 35px;
    }

    .sign svg {
        width: 16px;
        height: 16px;
    }

    .text {
        font-size: 1.2rem;
    }

    .resume-btn:hover {
        width: 120px;
    }

    .resume-btn:hover .text {
        left: 45px;
    }
}

.dp,
.dp::after,
.dp::before,
.dp:hover::after,
.dp:hover::before {
    transition-duration: .5s
}

.resume-btn:active {
    transform: translate(2px, 2px);
}

.about-section-container {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

/* New About Section Card Design */
.about-section {
    width: 80%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-dp-section {
    width: 100%;
    background: var(--bg-oxford-blue);
    border-radius: 6px;
    padding: 40px;
    margin-top: 30px;
    border: 1px solid var(--border-prussian-blue);
    display: flex;
    gap: 50px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-1);
}

.info-dp-section:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow:
        0 10px 30px -10px rgba(14, 165, 233, 0.2),
        0 0 20px rgba(14, 165, 233, 0.1) inset;
}

.about-info {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-info p {
    color: var(--text-wild-blue-yonder);
    font-size: 1.6rem;
    line-height: 1.8;
    opacity: 0.9;
}

.dp {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.dp img {
    width: 300px;
    height: auto;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.dp::before,
.dp::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.dp::before {
    background: var(--gradient-1);
    top: 0;
    left: 0;
    opacity: 0.1;
    filter: blur(10px);
    transform: translateY(20px);
}

.dp::after {
    border: 2px solid rgba(14, 165, 233, 0.3);
    top: 20px;
    left: 20px;
    z-index: 1;
}

.info-dp-section:hover .dp img {
    transform: scale(1.02);
}

.info-dp-section:hover .dp::before {
    opacity: 0.2;
    transform: translateY(0);
}

.info-dp-section:hover .dp::after {
    border-color: rgba(14, 165, 233, 0.6);
    transform: translate(15px, 15px);
}

/* About Section Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(14, 165, 233, 0.15);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-carolina-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.4rem;
    color: var(--text-wild-blue-yonder);
    font-family: "Poppins Regular", sans-serif;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .about-section {
        width: 90%;
    }
}

@media screen and (max-width: 998px) {
    .info-dp-section {
        flex-direction: column-reverse;
        padding: 30px;
        gap: 40px;
    }

    .about-info,
    .dp {
        width: 100%;
    }

    .dp {
        justify-content: center;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .info-dp-section {
        padding: 20px;
    }

    .dp img {
        width: 100%;
        max-width: 250px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .stat-label {
        font-size: 1.2rem;
    }
}

.projects-section-container {

    width: 100%;
    background: var(--bg-oxford-blue-2);
    position: relative;
    overflow: hidden;
}

.projects-section-div {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Section Heading */
.section-heading {
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
}

.section-heading-article {
    font-size: 4rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--text-columbia-blue), var(--text-carolina-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

/* Project Grid Layout */
.project-boxes-div {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    padding: 20px;
}

/* Project Box Styles */
.project-box {
    background: rgba(34, 39, 46, 0.7);
    backdrop-filter: blur(18px);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    border: 1.5px solid rgba(14, 165, 233, 0.15);
    padding: 48px 40px;
    display: flex;
    flex-direction: row;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: visible;
    min-height: 340px;
}

.project-box:hover {
    background: rgba(34, 39, 46, 0.85);
    box-shadow: 0 12px 40px 0 rgba(14, 165, 233, 0.18);
    border-color: rgba(14, 165, 233, 0.25);
}

/* Project Info Styles - Left Side */
.info-div {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: center;
}

/* Project Image - Right Side */
.image-div {
    width: 55%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    perspective: 1000px;
}

.image-div img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 6px;
    /* transform: perspective(1000px) rotateY(-20deg) rotateX(5deg) translateZ(0); */
    transition: all 0.5s ease;
    box-shadow:
        25px 25px 50px rgba(0, 0, 0, 0.25),
        -10px -10px 30px rgba(14, 165, 233, 0.05);
    filter: brightness(1.05);
}

.project-box:hover .image-div img {
    /* transform: perspective(1000px) rotateY(-15deg) rotateX(3deg) translateZ(20px); */
    box-shadow:
        30px 30px 60px rgba(0, 0, 0, 0.3),
        -15px -15px 35px rgba(14, 165, 233, 0.1);
}

/* Responsive Adjustments */
@media screen and (max-width: 1200px) {
    .project-box {
        padding: 30px;
        gap: 40px;
    }

    .image-div img {
        max-width: 450px;
    }
}

@media screen and (max-width: 998px) {
    .project-box {
        flex-direction: column;
        padding: 25px;
        gap: 30px;
        min-height: auto;
    }

    .info-div,
    .image-div {
        width: 100%;
    }

    .image-div {
        justify-content: center;
    }

    .image-div img {
        transform: perspective(1000px) rotateY(0) rotateX(0) translateZ(0);
        max-width: 400px;
    }

    .project-box:hover .image-div img {
        transform: perspective(1000px) rotateY(0) rotateX(0) translateZ(10px);
    }
}

@media screen and (max-width: 480px) {
    .project-box {
        padding: 25px;
    }

    .image-div img {
        max-width: 100%;
    }
}

/* Project Links */
.project-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
}

/* GitHub Link */
.github-redirect {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.github-redirect img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.github-redirect:hover {
    transform: translateY(-3px);
    background: rgba(14, 165, 233, 0.2);
    border-color: var(--bg-carolina-blue);
}

.github-redirect:hover img {
    opacity: 1;
}

/* Show More Button */
.letsTalkBtn {
    margin-top: 60px;
    padding: 15px 40px;
    font-size: 1.6rem;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--text-white);
    transition: all 0.3s ease;
}

.letsTalkBtn:hover {
    transform: translateY(-3px);
    background: rgba(14, 165, 233, 0.25);
    box-shadow: 0 8px 25px -8px rgba(14, 165, 233, 0.4);
}

/* Responsive Adjustments */
@media screen and (max-width: 1200px) {
    .projects-section-div {
        width: 95%;
    }
}

@media screen and (max-width: 768px) {
    .project-boxes-div {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ProjectHeading {
        font-size: 2.4rem;
    }

    .ProjectDescription {
        font-size: 1.5rem;
    }

    .image-div {
        height: 200px;
    }
}

    .section-heading-article {
        font-size: 3.2rem;
    }

    .project-box {
        padding: 25px;
    }

    .ProjectHeading {
        font-size: 2.4rem;
    }

    .ProjectDescription {
        font-size: 1.5rem;
    }

    .faviconforProject {
        width: 35px;
        height: 35px;
    }

    .image-div {
        height: 180px;
    }

    .project-buttons {
        gap: 15px;
    }

    .github-redirect {
        width: 40px;
        height: 40px;
    }

    .github-redirect img {
        width: 20px;
        height: 20px;
    }


footer {
    width: 100%;
    height: fit-content;
    border-top: 1px solid var(--border-prussian-blue)
}

.footer-background {
    width: 100%;
    height: 100vh;
    background-color: #0b0b0b;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1
}

.footer-blob {
    width: 100%;
    height: 200px;
    background-color: var(--color-light-purple);
    border-radius: 50%;
    filter: blur(100px);
    opacity: .7
}

.footer-foreground {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 0; /* Changed from 1 to 0 */
}

.footercontainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end
}

.two-words {
    color: #b3b3b3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px
}

.getintouch-heading,
.logos {
    height: 80px;
    width: 100%;
    display: flex
}

.two-words article {
    font-size: 3rem
}

.social-media-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%
}

.social-media-container a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    border: 2px solid #e2dede;
    position: relative;
    box-shadow: 0 0 0 #8000ff inset;
    transition-duration: .3s
}

.getintouch-heading {
    align-items: center;
    justify-content: center
}

.getintouch-heading article {
    font-size: 2rem;
    background: linear-gradient(-45deg, var(--color-light-blue), var(--color-light-purple), var(--color-light-blue), var(--color-light-purple));
    background-clip: text;
    -webkit-background-clip: text;
    font-weight: 700
}

.fa-copyright,
.footer-bottom article {
    font-size: 1.6rem;
    color: #b0b0b0
}

/* Mobile media query for copyright and footer-bottom article */
@media screen and (max-width: 768px) {
    .fa-copyright,
    .footer-bottom article {
        font-size: 1.2rem;
    }
}

.logos {
    gap: 30px;
    justify-content: center;
    align-items: center
}

.SocialHandle {
    fill: white;
    width: 60%
}

#GmailLogo {
    height: 70%
}

.social-media-container a:hover {
    box-shadow: 0 0 50px 100px #8000ff inset;
    transition-duration: 1s;
    border: none
}

.social-media-container a::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    border-radius: 50%;
    transform: scale(0);
    background-color: transparent;
    transition-duration: .3s;
    z-index: -1
}

.social-media-container a:hover::before {
    transform: scale(1);
    transition-duration: .3s
}

.footer-avatar-container {
    width: 220px;
    margin-top: 20px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center
}

.footer-avatar-img {
    width: 100%;
    z-index: 2
}

.footer-avatar-face {
    position: absolute;
    width: 100%;
    height: 97%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-left: 5px
}

.footer-avatar-eye {
    width: 50px;
    height: 50px;
    background-color: #dfd2d2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center
}

.footer-pupil {
    width: 20px;
    height: 20px;
    background-color: #000;
    border-radius: 50%;
    border: 5px solid #413333;
    filter: blur(.6px)
}

.footer-right-eye {
    box-shadow: 15px 15px 5px rgba(0, 0, 0, .233) inset, 10px 10px 5px rgba(41, 33, 33, .644) inset;
    position: relative
}

.footer-left-eye {
    box-shadow: -10px -15px 5px rgba(0, 0, 0, .349) inset;
    position: relative
}

.footer-avatar-eye::before {
    position: absolute;
    content: "";
    width: 2px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(214, 214, 214, .726);
    z-index: 2;
    filter: blur(.2px);
    left: 15px;
    transform: rotate(45deg)
}

.footer-bottom {
    background-color: #0b0b0b;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    z-index: 3
}

.tonechange {
    color: #000
}

@media screen and (max-width:1920px) {
    html {
        font-size: 60%
    }
}

@media screen and (max-width:1400px) {
    html {
        font-size: 60%
    }
}

@media screen and (max-width:1200px) {
    html {
        font-size: 60%
    }

    .projects-section-div,
    .skills-section,
    .text-content {
        width: 80%
    }

    .about-section {
        width: 80%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center
    }

    .logo:hover {
        transform: translateY(200px);
        transition-duration: 1s
    }
}

@media screen and (max-width:1150px) {
    html {
        font-size: 60%
    }
}

@media screen and (max-width:998px) {

    #hamburger-button,
    .hamburger {
        background-color: transparent
    }

    .mobile-navbar-tabs-ul a,
    .mobiletogglemenu {
        text-decoration: none
    }

    .activeThismobiletab,
    .mobile-navbar-tabs-ul a {
        color: var(--color-white)
    }

    html {
        font-size: 55%
    }

    .blob,
    .cursor-inner,
    .cursor-outer,
    .navbar-tabs-ul {
        display: none
    }

    .stopscrolling {
        overflow: hidden
    }

    .hamburger {
        position: fixed;
        top: 0;
        width: 100vw;
        height: 80px;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        z-index: 9998
    }

    .activeThismobiletab:before,
    .burger-bar,
    .hamburger-animation1,
    .hamburger-animation2,
    .hamburger-animation3 {
        background-color: var(--color-white)
    }

    .hamburgerbase {
        width: 80%;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 20px
    }

    #hamburger-button {
        font-size: 3rem;
        font-weight: 800;
        width: 4.5rem;
        height: 3.5rem;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between
    }

    #burger-bar1,
    #burger-bar2,
    #burger-bar3 {
        height: 3px;
        border-radius: 0;
        transition-duration: .3s
    }

    #burger-bar1,
    #burger-bar3 {
        width: 60%
    }

    #burger-bar2 {
        width: 100%
    }

    .hamburger-animation1 {
        transform: rotate(45deg) scaleX(1.7);
        transition-duration: .3s;
        transform-origin: left
    }

    .hamburger-animation2 {
        transform: scaleX(0)
    }

    .hamburger-animation3 {
        transform: rotateZ(-45deg) scaleX(1.7);
        transform-origin: left;
        transition-duration: .3s
    }

    .mobiletogglemenu {
        background-color: var(--bg-oxford-blue-2);
        z-index: 9990;
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        right: 0;
        list-style: none;
        font-size: 2rem;
        cursor: pointer;
        display: flex;
        transform: translate(1000px);
        transition-duration: 1s
    }

    .show-toggle-menu {
        transform: translate(0);
        transition-duration: .6s
    }

    .mobile-navbar-tabs-ul {
        background-color: var(--color-dark-mode);
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .mobile-navbar-tabs-li {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Poppins Medium", sans-serif;
    }

    .mobile-navbar-tabs-li a {
        color: var(--text-wild-blue-yonder);
        font-size: 2rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    /* Active Mobile Tab */
    .activeThismobiletab a {
        color: var(--text-carolina-blue);
        font-weight: 600;
    }

    /* Hover effect */
    .mobile-navbar-tabs-li a:hover {
        color: var(--text-carolina-blue);
    }

    /* Light Mode Styles */
    .light-mode .mobile-navbar-tabs-ul {
        background-color: var(--color-light-mode);
    }

    .light-mode .mobile-navbar-tabs-li a {
        color: #1a1a1a;
    }

    .light-mode .activeThismobiletab a,
    .light-mode .mobile-navbar-tabs-li a:hover {
        color: var(--bg-carolina-blue);
    }

    /* Responsive Styles */
    @media screen and (max-width: 768px) {
        .mobile-navbar-tabs-li a {
            font-size: 1.8rem;
        }
    }

    @media screen and (max-width: 480px) {
        .mobile-navbar-tabs-ul {
            gap: 30px;
        }

        .mobile-navbar-tabs-li a {
            font-size: 1.6rem;
        }
    }

    .about-info,
    .dp,
    .info-dp-section {
        width: 100%;
        display: flex
    }

    .info-dp-section {
        flex-direction: column;
        margin-top: 30px;
        gap: 30px
    }

    .about-info {
        flex-direction: column
    }

    .dp {
        align-items: center;
        justify-content: center
    }

    .activeThismobiletab:before {
        content: "";
        position: absolute;
        height: 10px;
        width: 10px;
        left: -20px;
        border-radius: 50%
    }

    .projects-section-div {
        width: 80%
    }

    .project-box {
        flex-direction: column;
        height: 800px
    }

    .image-div,
    .info-div {
        width: 100%;
        height: 50%
    }

    .image-div {
        padding: 0 0 0 80px
    }
}

@media screen and (max-width:768px) {
    html {
        font-size: 50%
    }

    .text-content {
        padding-left: 0;
        width: 80%
    }

    #hello-friend {
        height: 100px;
        font-size: 2.8rem
    }

    #name,
    #work {
        font-size: 5rem
    }

    #info-para,
    .language-name {
        width: 100%
    }

    .contact-btn-div {
        height: 50px;
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px
    }

    .setting-container {
        margin-left: 0
    }

    .dp::after,
    .dp::before {
        display: none
    }

    .logo {
        width: 18%
    }

    .logo:hover {
        transform: translateY(200px);
        transition-duration: 1s
    }

    .projects-section-div {
        width: 80%
    }

    .project-boxes-div {
        padding: 40px 0
    }
}

@media screen and (max-width:500px) {
    html {
        font-size: 60%
    }

    .hamburgerbase,
    .navbar {
        height: 60px
    }

    #hamburger {
        margin-right: 20px;
        height: 80px;
        align-items: flex-end
    }

    #hello-friend,
    .two-words article {
        font-size: 2.5rem
    }

    .hey {
        left: 70px
    }

    .logo:hover {
        transform: translateY(200px);
        transition-duration: 1s
    }



    .text-content {
        justify-content: flex-start
    }

    .project-box {
        height: 550px
    }

    .info-div {
        height: 60%
    }

    .image-div {
        height: 40%;
        padding-left: 50px
    }

    .image-div img {
        border-top-left-radius: 10px
    }

    .tech-stack-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

    .tech-stack-box {
        width: 100%;
        height: calc(76vw/2)
    }
}

@media screen and (max-width:430px) {
    html {
        font-size: 60%
    }

    .about-section,
    .projects-section-div,
    .skills-section {
        width: 80%
    }

    .info-div {
        padding: 0 30px
    }

    .two-words article {
        font-size: 2.2rem
    }
}

@media screen and (max-width:375px) {
    html {
        font-size: 42%
    }

    .dp img {
        width: 200px
    }

    .two-words {
        height: 50px
    }

    .two-words article {
        font-size: 2rem
    }

    .footer-bottom article {
        font-size: 1.3rem
    }

    .logos {
        gap: 20px
    }
}

@media screen and (max-width:300px) {
    html {
        font-size: 42%
    }

    .language-name article {
        text-align: center
    }

    .two-words {
        align-items: flex-end;
        height: 50px
    }

    .two-words article {
        font-size: 1.5rem
    }

    .footer-bottom article {
        font-size: 1rem
    }

    .social-media-container a {
        width: 50px;
        height: 50px
    }

    .logos {
        gap: 20px
    }
}

.resume-section-container {
    padding-top: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resume-section {
    width: 80%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.resume-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: fit-content;
    margin: 120px 0;
}

.resume-card {
    display: flex;
    height: 360px;
    width: 1000px;
    background: var(--bg-oxford-blue);
    border-radius: 6px;
    padding: 20px;
    box-shadow: var(--shadow-1);
    border: 1px solid var(--border-prussian-blue);
    flex-direction: row;
    transition: all 0.3s ease;
}

@media screen and (max-width: 1024px) {
    .resume-card {
        width: 90%;
        flex-direction: column;
        height: auto;
    }

    .resume-bullets {
        width: 100%;
        margin-bottom: 20px;
    }

    .resume-bullet-details {
        width: 100%;
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .resume-card {
        width: 95%;
        padding: 15px;
    }

    .resume-bullets {
        margin-bottom: 15px;
    }

    .resume-bullet-details {
        padding: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    .resume-card {
        width: 100%;
        padding: 10px;
    }

    .resume-bullets {
        margin-bottom: 10px;
    }

    .resume-bullet-details {
        padding: 0 5px;
    }
}

.resume-bullets {
    box-shadow: 15px 0 9px -15px var(--primary-bg);
    height: 100%;
    width: 320px;
}

.bullet-icons {
    width: 34px;
    height: 260px;
    z-index: auto;
    background-color: #0ea5ea;
    position: absolute;
}

@media screen and (max-width: 1024px) {
    .bullet-icons {
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
    }
}

@media screen and (max-width: 768px) {
    .bullet-icons {
        height: 1px;
    }
}

@media screen and (max-width: 480px) {
    .bullet-icons {
        display: none; /* Hide on very small screens */
    }
}

.bullet {
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #0ea5ea;
    height: 40px;
    margin: 15px 0;
    padding: 0 8px;
    border-radius: 20px;
    width: 43px;
    transition: width 0.6s ease;
}

.bullet:hover {
    background-image: var(--gradient-2);
    color: var(--text-white);
}

.bullet:hover .bullet-label {
    opacity: 1;
}

.bullet-logo {
    height: 16px;
    margin: 0 30px 0 0;
    filter: brightness(0) invert(1);
}

.bullet-label {
    font-size: 1.6rem;
    white-space: nowrap;
    font-family: "Poppins Medium", sans-serif;
    color: var(--text-alice-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.selected-bullet {
    width: 100%;
    background-image: var(--gradient-1);
    color: var(--text-white);
}

.selected-bullet .bullet-label {
    opacity: 1;
}

.resume-bullet-details {
    flex-grow: 1;
    width: 600px;
    overflow: hidden;
    padding: 0 0 0 80px;
}

/* Make resume screen container scrollable */
.resume-screen-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    height: 100%;
    max-height: 320px; /* Set a fixed height */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--bg-carolina-blue) var(--bg-oxford-blue);
}

/* Custom scrollbar styles for webkit browsers */
.resume-screen-container::-webkit-scrollbar {
    width: 6px;
}

.resume-screen-container::-webkit-scrollbar-track {
    background: var(--bg-oxford-blue);
    border-radius: 3px;
}

.resume-screen-container::-webkit-scrollbar-thumb {
    background: var(--bg-carolina-blue);
    border-radius: 3px;
}

/* Light mode scrollbar */
.light-mode .resume-screen-container {
    scrollbar-color: var(--bg-carolina-blue) #f0f0f0;
}

.light-mode .resume-screen-container::-webkit-scrollbar-track {
    background: #f0f0f0;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .resume-screen-container {
        max-height: 280px;
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .resume-screen-container {
        max-height: 250px;
        padding: 10px;
    }
}

.resume-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.resume-main-heading {
    position: relative; /* Ensure the parent is positioned */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px; /* Add some space for the dividing bar */
}

.resume-main-heading span {
    color: var(--text-alice-blue);
    font-size: 1.8rem;
    font-family: "Poppins SemiBold", sans-serif;
}

.heading-bullet {
    position: absolute;
    left: -30px;
    height: 15px;
    width: 15px;
    top: 5px;
    border-radius: 50%;
    background-color: var(--dark-orange);
    box-shadow: 0 0 10px var(--dark-orange); /* Add glow effect */
}

.heading-date {
    background-image: var(--gradient-1);
    color: var(--text-white);
    padding: 4px 12px;
    font-size: 14px;
    border-radius: 14px;
}

.programming-skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.skill-card {
    width: 100%;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-title {
    color: var(--text-alice-blue);
    font-size: 1.6rem;
    font-family: "Poppins Medium", sans-serif;
}

.skill-percentage {
    color: var(--text-wild-blue-yonder);
}

.skill-bar {
    height: 15px;
    background-color: var(--bg-prussian-blue);
    border-radius: 7px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background-image: var(--gradient-1);
    transition: width 0.8s ease-in-out;
}

.resume-screen-container::-webkit-scrollbar {
    width: 5px;
}

.resume-screen-container::-webkit-scrollbar-thumb {
    background-image: var(--gradient-1);
    border-radius: 20px;
}

.resume-screen-container::-webkit-scrollbar-track {
    background-color: var(--bg-prussian-blue);
}

@media screen and (max-width: 1110px) {
    .resume-card {
        width: 880px;
    }

    .resume-bullet-details {
        padding: 0 0 0 70px;
    }
}

@media screen and (max-width: 1023px) {
    .resume-card {
        width: 100%;
        height: auto;
        flex-direction: column;
    }

    .resume-bullets {
        width: 100%;
        margin-bottom: 30px;
    }

    .resume-bullet-details {
        width: 100%;
        padding: 0;
    }

    .programming-skills-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .resume-section {
        width: 90%;
    }

    .bullet {
        width: 100%;
    }

    .bullet-label {
        opacity: 1;
    }
}

@media screen and (max-width: 480px) {
    .resume-card {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .resume-bullets {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .resume-bullet-details {
        height: auto;
        padding: 15px;
        width: 100%;
    }

    .bullet {
        width: 100%;
        margin: 10px 0;
    }

    .bullet-label {
        opacity: 1;
    }

    .resume-screen-container {
        padding: 20px;
    }
}


.resume-card {
    transition: transform 0.3s ease;
}

.resume-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2);
}

/* Modern Live Preview Button */
.cta {
    position: relative;
    padding: 10px 24px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cta span {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: "Poppins Medium", sans-serif;
    color: var(--text-alice-blue);
    z-index: 1;
    transition: all 0.3s ease;
}

.cta svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-alice-blue);
    stroke-width: 2;
    transition: all 0.3s ease;
    z-index: 1;
}

/* Gradient background */
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Shine effect */
.cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
}

/* Hover effects */
.cta:hover {
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow:
        0 7px 20px -6px rgba(14, 165, 233, 0.3),
        0 0 15px rgba(14, 165, 233, 0.1) inset;
}

.cta:hover::before {
    opacity: 1;
}

.cta:hover::after {
    left: 100%;
}

.cta:hover span {
    color: var(--text-white);
}

.cta:hover svg {
    stroke: var(--text-white);
    transform: translateX(3px);
}

/* Active state */
.cta:active {
    transform: scale(0.98);
}

/* Focus state */
.cta:focus {
    outline: none;
    box-shadow:
        0 0 0 2px var(--bg-oxford-blue-2),
        0 0 0 4px rgba(14, 165, 233, 0.3);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .cta {
        padding: 8px 20px;
    }

    .cta span {
        font-size: 1.4rem;
    }

    .cta svg {
        width: 14px;
        height: 14px;
    }
}

/* Update settings container styles */
.setting-container {
    margin-left: 0;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
}

/* Update settings button position and style */
#labelforsetting {
    position: relative;
    width: 40px;
    height: 40px;
    background-image: url(../assets/svg/settings.svg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition-duration: .5s;
}

.setting-container {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.settings-button-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Make sure the checkbox is hidden but functional */
#switchforsetting {
    display: none;
}

#labelforsetting:hover {
    background-color: rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
}

/* Update visual mode button style */
#labelforvisualmode {
    width: 40px;
    height: 40px;
    background-image: url(../assets/png/crescent-moon.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    background-color: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
    display: block;
    cursor: pointer;
}

#labelforvisualmode:hover {
    background-color: rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
}

#switchforvisualmode:checked+#labelforvisualmode {
    transform: rotate(360deg);
    background-image: url(../assets/png/sun.png);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

/* Update settings animation */
.settingactivate {
    width: auto;
    opacity: 1;
}

.visualmodetogglebuttoncontainer {
    transform: translateX(0) scale(1);
    opacity: 1;
    transition: all 0.3s ease;
}

.visualmodeshow {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .navbar-right {
        gap: 15px;
    }

    #labelforsetting,
    #labelforvisualmode {
        width: 32px;
        height: 32px;
    }
}

/* Light Mode Variables */
.light-mode {
    --bg-oxford-blue-2: var(--color-light-mode);
    --bg-oxford-blue: #f5f5f5;
    --bg-prussian-blue: #e0e0e0;
    --text-white: #000000;
    --text-alice-blue: #1a1a1a;
    --text-columbia-blue: #0e4a7a;
    --text-wild-blue-yonder: #374151;
    --text-carolina-blue: #0369a1;
    --text-shadow-blue: #1f2937;
    --text-slate-gray: #4b5563;
    --gradient-1: linear-gradient(90deg, #0ea5ea, #0bd1d1 51%);
    --gradient-2: linear-gradient(90deg, #0ea5ea, #0bd1d1 51%, #0ea5ea);
    --tech-stack-box-first-color: rgba(255, 255, 255, 0.8);
    --tech-stack-box-second-color: rgba(255, 255, 255, 0.5);
    --tech-stack-box-border-color: #e5e7eb;
}

/* Update settings icons for light mode */
.light-mode #labelforsetting {
    background-color: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.light-mode #labelforvisualmode {
    background-color: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

/* Invert icons in light mode */
.light-mode .invertapplied {
    filter: invert(0);
}

.light-mode .needtobeinvert {
    filter: invert(0);
}

/* Update navbar for light mode */
.light-mode .navbar {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

/* Update text colors for light mode */
.light-mode .navbar-tabs-ul a {
    color: var(--text-wild-blue-yonder);
}

.light-mode .ProjectHeading {
    color: var(--text-columbia-blue);
}

.light-mode .ProjectDescription {
    color: var(--text-wild-blue-yonder);
}

/* Update buttons for light mode */
.light-mode .cta {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.light-mode .github-redirect {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
}

/* Update cards for light mode */
.light-mode .tech-stack-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(14, 165, 233, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.light-mode .project-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

/* Update scrollbar for light mode */
.light-mode ::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.light-mode ::-webkit-scrollbar-thumb {
    background-color: var(--text-carolina-blue);
}

/* Update mobile menu for light mode */
.light-mode .mobile-navbar-tabs-ul {
    background-color: rgba(255, 255, 255, 0.95);
}

.light-mode .burger-bar {
    background-color: var(--text-wild-blue-yonder);
}

/* Update footer for light mode */
.light-mode footer {
    border-top: 1px solid rgba(14, 165, 233, 0.1);
}

.light-mode .footer-bottom {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Mobile menu settings styles */
.mobile-settings-container {
    display: none; /* Hidden by default */
    width: 100%;
    padding: 20px 0;
    justify-content: center;
    gap: 20px;
}

/* Media queries for responsive behavior */
@media screen and (max-width: 998px) {
    /* Hide navbar settings */
    .navbar-right {
        display: none;
    }

    /* Show mobile settings */
    .mobile-settings-container {
        display: flex;
    }

    /* Update mobile menu to include settings */
    .mobile-navbar-tabs-ul {
        position: relative;
        padding-bottom: 80px; /* Make room for settings */
    }

    /* Position settings at bottom of mobile menu */
    .mobile-settings-container {
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        border-top: 1px solid var(--border-prussian-blue);
    }

    /* Update settings buttons for mobile */
    #labelforsetting,
    #labelforvisualmode {
        width: 40px;
        height: 40px;
        background-size: 50%;
    }

    .visualmodetogglebuttoncontainer {
        transform: translateX(0) scale(1);
        opacity: 1;
    }

    .visualmodeshow {
        transform: translateX(0) scale(1);
    }
}

    /* Add styles for settings button labels */
    .settings-button-container {
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .settings-label {
        position: absolute;
        top: -25px;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: rgba(14, 165, 233, 0.1);
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 1.2rem;
        color: var(--text-wild-blue-yonder);
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    /* Show label on hover */
    .settings-button-container:hover .settings-label {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    /* Update existing settings container */
    .setting-container {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* Light mode styles for labels */
    .light-mode .settings-label {
        background: rgba(14, 165, 233, 0.1);
        color: var(--text-wild-blue-yonder);
    }

    /* Social Links Section */
    .social-links-section {
        width: 100%;
        padding: 20px 0;
        display: flex;
        justify-content: center;
        background: var(--bg-oxford-blue-2);
    }

    .social-links-container {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .social-link {
        width: 24px;
        height: 24px;
        transition: all 0.3s ease;
    }

    .social-link:hover {
        transform: translateY(-3px);
    }

    .social-link img {
        width: 100%;
        height: 100%;
        filter: brightness(0) invert(1);
    }

    /* Intro Section */
    .intro-section {
        width: 100%;
        min-height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 60px 20px;
        background: var(--bg-oxford-blue-2);
    }

    .intro-container {
        max-width: 1200px;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .intro-heading {
        font-size: 4.8rem;
        color: var(--text-white);
        font-weight: 500;
    }

    .highlight {
        color: #ff5823;
        font-weight: 600;
    }

    .logo-container {
        width: 80px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 20px 0;
    }

    .logo-text {
        font-size: 5rem;
        color: var(--text-white);
        font-weight: 600;
        font-family: "Times New Roman", serif;
    }

    .intro-text {
        font-size: 2.4rem;
        color: var(--text-wild-blue-yonder);
        max-width: 800px;
        line-height: 1.5;
    }

    .intro-buttons {
        display: flex;
        gap: 20px;
        margin-top: 20px;
    }

    .hire-btn, .resume-btn {
        padding: 12px 30px;
        border-radius: 50px;
        font-size: 1.6rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .hire-btn {
        background: transparent;
        border: 2px solid var(--text-white);
        color: var(--text-white);
    }

    .hire-btn:hover {
        background: var(--text-white);
        color: var(--bg-oxford-blue-2);
    }

    .resume-btn {
        background: #ff5823;
        color: var(--text-white);
        border: none;
    }

    .resume-btn:hover {
        background: #ff4500;
        transform: translateY(-2px);
    }

    /* Responsive Styles */
    @media screen and (max-width: 768px) {
        .intro-heading {
            font-size: 3.6rem;
        }

        .intro-text {
            font-size: 2rem;
        }

        .logo-text {
            font-size: 4rem;
        }

        .intro-buttons {
            flex-direction: column;
            gap: 15px;
        }

        .hire-btn, .resume-btn {
            width: 48px;
            height: 48px;
        }
    }

    @media screen and (max-width: 480px) {
        .intro-heading {
            font-size: 3rem;
        }

        .intro-text {
            font-size: 1.8rem;
        }

        .social-links-container {
            gap: 15px;
        }
    }

    /* Settings Button Container Styles */
    .settings-button-container {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    /* Settings Label Styles */
    .settings-label {
        font-size: 1.2rem;
        color: var(--text-wild-blue-yonder);
        text-align: center;
        font-family: "Poppins Medium", sans-serif;
    }

    /* Settings Icons */
    #labelforsetting,
    #labelforvisualmode {
        width: 35px;
        height: 35px;
        background-size: 50%;
        border-radius: 10px;
        background-color: rgba(14, 165, 233, 0.1);
        border: 1px solid rgba(14, 165, 233, 0.3);
        transition: all 0.3s ease;
    }

    /* Mobile Settings Container */
    .mobile-settings-container {
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
        display: none;
        justify-content: center;
        gap: 30px;
        padding: 20px 0;
        border-top: 1px solid var(--border-prussian-blue);
    }

    /* Media Query for Mobile */
    @media screen and (max-width: 998px) {
        .navbar-right {
            display: none;
        }

        .mobile-settings-container {
            display: flex;
        }

        .mobile-navbar-tabs-ul {
            padding-bottom: 100px;
        }

        /* Mobile Settings Styles */
        .mobile-settings-container .settings-button-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .mobile-settings-container .settings-label {
            font-size: 1.1rem;
            opacity: 1;
            visibility: visible;
        }

        #labelforsetting-mobile,
        #labelforvisualmode-mobile {
            width: 40px;
            height: 40px;
            background-image: url(../assets/png/crescent-moon.png);
            background-size: 50%;
            background-repeat: no-repeat;
            background-position: center;
            border-radius: 10px;
            background-color: rgba(14, 165, 233, 0.1);
            border: 1px solid rgba(14, 165, 233, 0.3);
            display: block;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .visualmodetogglebuttoncontainer {
            transform: none;
            opacity: 1;
        }

        .mobile-settings-container .settings-button-container:hover {
            transform: translateY(-2px);
        }

        #switchforvisualmode-mobile:checked+#labelforvisualmode-mobile {
            transform: rotate(360deg);
            background-image: url(../assets/png/sun.png);
            background-size: 60%;
            background-repeat: no-repeat;
            background-position: center;
        }

        #labelforvisualmode-mobile:hover {
            background-color: rgba(14, 165, 233, 0.2);
            transform: translateY(-2px);
        }
    }

    /* Light Mode Styles */
    .light-mode .settings-label {
        color: var(--text-wild-blue-yonder);
    }

    .light-mode #labelforsetting,
    .light-mode #labelforvisualmode {
        background-color: rgba(14, 165, 233, 0.1);
        border-color: rgba(14, 165, 233, 0.3);
    }

    /* Restore the Skills Section */
    .skills-section-container {
        padding-top: 40px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .skills-section {
        width: 60%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .skills-heading {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .skills-heading-article {
        font-size: 3.5rem;
        font-family: "Poppins SemiBold", sans-serif;
        font-weight: 500;
        background-image: linear-gradient(90deg, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .skillsHeadingP {
        width: 300px;
        height: 1px;
        background-image: linear-gradient(90deg, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink));
    }

    .language-speak {
        width: 100%;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .language-speak article {
        font-size: 2rem;
        font-weight: 600;
        color: var(--color-white);
    }

    .tech-stack-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
        padding: 20px;

    }

    .tech-stack-box {
        width: 120px;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
        border: 1px solid var(--border-prussian-blue);
        position: relative;
        transition: all 0.3s ease;
        background: rgba(34, 39, 46, 0.5);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .tech-stack-box:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-2);
        background: rgba(34, 39, 46, 0.9);
    }

    .tech-stack-box img {
        width: 60%;
        transition: all 0.3s ease;
    }

    .tech-stack-box:hover img {
        transform: scale(1.1);
    }

    .tooltip {
        position: absolute;
        top: -20px;
        opacity: 0;
        background: linear-gradient(to bottom right, var(--bg-oxford-blue), var(--bg-oxford-blue-2));
        border: 1px solid var(--border-prussian-blue);
        padding: 8px 15px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition-duration: .2s;
        pointer-events: none;
        letter-spacing: .5px;
        font-size: 1.6rem;
        backdrop-filter: blur(5px);
        font-weight: 500;
        color: #fff;
    }

    .tech-stack-box:hover .tooltip {
        opacity: 1;
        transition-duration: .3s;
    }

    /* Fix Footer Foreground */
    .footer-foreground {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        backdrop-filter: blur(10px);
        z-index: 0; /* Changed from 1 to 0 */
    }

    footer {
        position: relative;
        width: 100%;
        height: fit-content;
        border-top: 1px solid var(--border-prussian-blue);
        margin-top: 100px;
        z-index: 0; /* Changed from 1 to 0 */
    }

    .footer-background {
        width: 100%;
        height: 80vh;
        background-color: #0b0b0b;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        position: relative;
        z-index: -1; /* Changed from 1 to -1 */
    }

    /* Responsive adjustments */
    @media screen and (max-width: 1200px) {
        .skills-section {
            width: 80%;
        }
    }

    @media screen and (max-width: 998px) {
        .tech-stack-wrapper {
            gap: 20px;
        }
    }

    @media screen and (max-width: 500px) {
        .tech-stack-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .tech-stack-box {
            width: 100%;
            height: calc(76vw/2);
        }
    }

    /* Fix for section headings */
    .section-heading,
    .skills-heading,
    .projects-heading {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        /* margin-bottom: 30px; */
    }

    .section-heading-article,
    .skills-heading-article,
    .projects-heading-article {
        font-size: 3.5rem;
        font-family: "Poppins SemiBold", sans-serif;
        font-weight: 500;
        background-image: linear-gradient(90deg, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .sectionHeadingP,
    .skillsHeadingP,
    .projectsHeadingP {
        width: 300px;
        height: 1px;
        background-image: linear-gradient(90deg, var(--static-heading-gradient-blue), var(--static-heading-gradient-pink));
    }

    /* Tech Stack Section Styles */
    .frontend-dev-section {
        width: 100%;
    }

    .frontend-dev-heading {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 3rem;
        font-weight: 900;
        height: 100px;
        letter-spacing: 5px;
        background-image: var(--gradient-1);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .tech-stack-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
        padding: 20px;
        /* margin-top: 50px; */
    }

    .tech-stack-box {
        width: 120px;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
        border: 1px solid var(--border-prussian-blue);
        position: relative;
        transition: all 0.3s ease;
        background: rgba(34, 39, 46, 0.5);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .tech-stack-box:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-2);
        background: rgba(34, 39, 46, 0.9);
    }

    .tech-stack-box img {
        width: 60%;
        transition: all 0.3s ease;
    }

    .tech-stack-box:hover img {
        transform: scale(1.1);
    }

    .tooltip {
        position: absolute;
        top: -20px;
        opacity: 0;
        background: linear-gradient(to bottom right, var(--bg-oxford-blue), var(--bg-oxford-blue-2));
        border: 1px solid var(--border-prussian-blue);
        padding: 8px 15px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition-duration: .2s;
        pointer-events: none;
        letter-spacing: .5px;
        font-size: 1.4rem;
        backdrop-filter: blur(5px);
        font-weight: 500;
        color: var(--text-white);
        z-index: 10;
    }

    .tech-stack-box:hover .tooltip {
        opacity: 1;
        transform: translateY(-5px);
        transition-duration: .3s;
    }

    /* AOS Animation Styles */
    [data-aos] {
        opacity: 0;
        transition-property: all;
    }

    [data-aos].aos-animate {
        opacity: 1;
    }

    /* Responsive adjustments */
    @media screen and (max-width: 1200px) {
        .skills-section,
        .projects-section-div,
        .about-section {
            width: 80%;
        }
    }

    @media screen and (max-width: 998px) {
        .tech-stack-wrapper {
            gap: 20px;
        }

        .section-heading-article,
        .skills-heading-article,
        .projects-heading-article {
            font-size: 3rem;
        }
    }

    @media screen and (max-width: 768px) {
        .skills-section,
        .projects-section-div,
        .about-section {
            width: 90%;
        }

        .section-heading-article,
        .skills-heading-article,
        .projects-heading-article {
            font-size: 2.8rem;
        }

        .sectionHeadingP,
        .skillsHeadingP,
        .projectsHeadingP {
            width: 200px;
        }
    }

    @media screen and (max-width: 500px) {
        .tech-stack-wrapper {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .tech-stack-box {
            width: 100%;
            height: calc(76vw/2);
        }

        .section-heading-article,
        .skills-heading-article,
        .projects-heading-article {
            font-size: 2.5rem;
        }
    }

    /* Update landing page container styles */
    .landing-page-container {
        padding-top: 100px;
        width: 100%;
        min-height: calc(100vh - 115px);
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    /* Update container styles */
    .container {
        width: 100%;
        max-width: 1200px;
        padding: 0 20px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        z-index: 1;
    }

    /* Profile picture styles */
    .profile-pic-container {
        position: relative;
        width: 200px;
        height: 200px;
        margin-bottom: 40px;
    }

    .profile-pic {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 3px solid var(--bg-carolina-blue);
        object-fit: cover;
        transition: all 0.3s ease;
    }

    .profile-pic-container::after {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        border-radius: 50%;
        background: linear-gradient(45deg, var(--bg-carolina-blue), transparent);
        opacity: 0.3;
        z-index: -1;
        transition: all 0.3s ease;
    }

    .profile-pic-container:hover .profile-pic {
        transform: scale(1.05);
        border-color: var(--text-carolina-blue);
    }

    .profile-pic-container:hover::after {
        transform: scale(1.1);
        opacity: 0.5;
    }

    /* Social icons styles */
    .social-icons {
        display: flex;
        gap: 20px;
        margin: 20px 0;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(14, 165, 233, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        border: 1px solid rgba(14, 165, 233, 0.2);
    }

    .social-icons a i {
        font-size: 18px;
        color: var(--text-carolina-blue);
        transition: all 0.3s ease;
    }

    .social-icons a:hover {
        transform: translateY(-3px);
        background: rgba(14, 165, 233, 0.2);
        border-color: var(--bg-carolina-blue);
    }

    /* Name and title styles */
    #name {
        font-size: 4.8rem;
        font-weight: 700;
        /* margin: 20px 0; */
        background: linear-gradient(135deg, var(--text-columbia-blue), var(--text-carolina-blue));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .title {
        font-size: 2.4rem;
        color: var(--text-wild-blue-yonder);
        margin: 15px 0;
        min-height: 40px;
    }

    .description {
        font-size: 1.8rem;
        color: var(--text-slate-gray);
        max-width: 600px;
        margin: 20px auto;
        line-height: 1.6;
    }

    /* Light theme specific styles */
    .light-mode .landing-page-container {
        background: var(--bg-oxford-blue-2);
    }

    .light-mode #name {
        background: linear-gradient(135deg, var(--text-columbia-blue), var(--text-carolina-blue));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .light-mode .title {
        color: var(--text-wild-blue-yonder);
    }

    .light-mode .description {
        color: var(--text-slate-gray);
    }

    .light-mode .social-icons a {
        background: rgba(14, 165, 233, 0.1);
        border-color: rgba(14, 165, 233, 0.2);
    }

    .light-mode .social-icons a i {
        color: var(--text-carolina-blue);
    }

    .light-mode .social-icons a:hover {
        background: rgba(14, 165, 233, 0.2);
        border-color: var(--bg-carolina-blue);
    }

    /* Responsive styles */
    @media screen and (max-width: 768px) {
        .container {
            padding: 0 15px;
        }

        .profile-pic-container {
            width: 150px;
            height: 150px;
        }

        #name {
            font-size: 3.2rem;
        }

        .title {
            font-size: 2rem;
        }

        .description {
            font-size: 1.6rem;
        }

        .social-icons {
            gap: 15px;
            margin: 15px 0;
        }

        .social-icons a {
            width: 32px;
            height: 32px;
        }

        .social-icons i {
            font-size: 14px;
        }
    }

    @media screen and (max-width: 480px) {
        #name {
            font-size: 2.8rem;
        }

        .title {
            font-size: 1.8rem;
        }

        .description {
            font-size: 1.4rem;
        }

        .social-icons {
            gap: 12px;
            margin: 12px 0;
        }

        .social-icons a {
            width: 28px;
            height: 28px;
        }

        .social-icons i {
            font-size: 13px;
        }
    }

    @media screen and (max-width: 360px) {
        #name {
            font-size: 2.4rem;
        }

        .social-icons {
            gap: 10px;
        }

        .social-icons a {
            width: 25px;
            height: 25px;
        }

        .social-icons i {
            font-size: 12px;
        }
    }

    /* Update social icons styles */
    .social-icons {
        display: flex;
        gap: 25px;
        margin: 25px 0;
    }

    .social-icons i {
        font-size: 24px;
        color: var(--text-white);
        transition: all 0.3s ease;
        cursor: pointer;

        display: flex;
        align-items: center;
        justify-content: center;

    }

    .social-icons i:hover {
        transform: translateY(-5px);
        background: var(--bg-carolina-blue);
        color: var(--text-white);
        border-color: transparent;
        box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
    }

    /* Enhanced profile picture animations */
    .profile-pic-container {
        position: relative;
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
        animation: float 6s ease-in-out infinite;
    }


    .profile-pic {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 3px solid var(--bg-carolina-blue);
        object-fit: cover;
        transition: all 0.3s ease;
        animation: borderPulse 4s ease-in-out infinite;
    }

    @keyframes borderPulse {
        0% {
            border-color: var(--bg-carolina-blue);
        }
        50% {
            border-color: var(--text-carolina-blue);
        }
        100% {
            border-color: var(--bg-carolina-blue);
        }
    }

    /* .profile-pic-container::before {
        content: '';
        position: absolute;
        width: calc(100% + 40px);
        height: calc(100% + 40px);
        top: -20px;
        left: -20px;
        background: linear-gradient(45deg,
            var(--bg-carolina-blue) 0%,
            transparent 50%,
            var(--bg-carolina-blue) 100%
        );
        border-radius: 50%;
        animation: rotate 8s linear infinite;
        opacity: 0.2;
        z-index: -1;
    } */

    @keyframes rotate {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }

    /* Enhanced typing animation styles */
    .typing-text {
        font-size: 2.4rem;
        color: var(--text-wild-blue-yonder);
        position: relative;
        display: inline-flex;
        padding-right: 8px;
        min-height: 40px;
        align-items: center;
    }

    .typing-text::after {
        content: '|';
        position: absolute;
        right: 0;
        color: var(--text-carolina-blue);
        animation: blink 1s step-end infinite;
        height: 100%;
        display: flex;
        align-items: center;
    }

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

    /* Light theme adjustments */
    .light-mode .social-icons i {
        color: var(--text-wild-blue-yonder);
        background: rgba(14, 165, 233, 0.1);
        border-color: rgba(14, 165, 233, 0.2);
    }

    .light-mode .social-icons i:hover {
        background: var(--bg-carolina-blue);
        color: var(--text-white);
    }

    /* Responsive adjustments */
    @media screen and (max-width: 768px) {
        .social-icons {
            gap: 20px;
        }

        .social-icons i {
            font-size: 20px;
            width: 42px;
            height: 42px;
            padding: 10px;
        }

        .profile-pic-container {
            width: 180px;
            height: 180px;
        }
    }

    @media screen and (max-width: 480px) {
        .social-icons i {
            font-size: 18px;
            width: 38px;
            height: 38px;
            padding: 8px;
        }

        .profile-pic-container {
            width: 150px;
            height: 150px;
        }
    }

    /* Add styles for the greeting text */
    .greeting-text {
        font-size: 2.4rem;
        margin-bottom: 5px; /* Reduced from 15px */
        color: var(--text-wild-blue-yonder);
    }

    .greeting-text .wave {
        display: inline-block;
        animation: wave 2.5s infinite;
        transform-origin: 70% 70%;
        font-size: 2.8rem;
    }

    @keyframes wave {
        0% { transform: rotate(0deg); }
        10% { transform: rotate(14deg); }
        20% { transform: rotate(-8deg); }
        30% { transform: rotate(14deg); }
        40% { transform: rotate(-4deg); }
        50% { transform: rotate(10deg); }
        60% { transform: rotate(0deg); }
        100% { transform: rotate(0deg); }
    }

    /* Enhanced typing text styles */
    .typing-text {
        font-size: 2.8rem;
        color: var(#f0f8ff);
        position: relative;
        display: inline-flex;
        margin: 15px 0;
        padding-right: 8px;
        font-family: "Times New Roman", serif;
        font-weight: 600;
        text-shadow: 0 0 15px rgba(236, 198, 9, 0.3);
    }

    .typing-text::after {
        content: '|';
        position: fixed;
        right: 0;
        color: var(--text-carolina-blue);
        animation: blink 1s step-end infinite;
        opacity: 0.8;
    }

    /* Light theme adjustments */
    .light-mode .greeting-text {
        color: var(--text-wild-blue-yonder);
    }

    .light-mode .typing-text {
        color: var(--text-carolina-blue);
        text-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
    }

    /* Profile picture styles with pulse effect */
    .profile-pic-container {
        position: relative;
        width: 200px;
        height: 200px;
        margin-bottom: 40px;
    }

    .profile-pic {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 3px solid var(--bg-carolina-blue);
        object-fit: cover;
        position: relative;
        z-index: 2;
    }

    /* Pulse effect */
    .profile-pic-container::before,
    .profile-pic-container::after {
        content: '';
        position: absolute;
        left: -3px;
        top: -3px;
        right: -3px;
        bottom: -3px;
        border-radius: 50%;
        background: var(--bg-carolina-blue);
        animation: pulse 4s linear infinite;
        z-index: 1;
    }

    .profile-pic-container::after {
        animation-delay: 0.5s;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 0.5;
        }
        100% {
            transform: scale(1.3);
            opacity: 0;
        }
    }

    /* Enhanced name text with glow effect */
    #name {
        font-size: 5.5rem;
        font-weight: 700;
        background: linear-gradient(-45deg,
            var(--text-columbia-blue),
            var(--text-carolina-blue),
            #4facfe,
            #00f2fe
        );
        background-size: 300%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: gradient 5s ease infinite;
        filter: drop-shadow(0 0 15px rgba(79, 172, 254, 0.5));
    }

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

    /* Update work text styles with stretch effect */
    #work {
        font-size: 3.6rem;
        color: var(--text-wild-blue-yonder);
        margin: 30px 0;
        line-height: 1.4;
        font-weight: 600;
        text-align: center;
    }

    #work div {
        display: inline;
        margin: 0 8px;
    }

    #work .jello {
        display: inline-block;
        padding: 5px;
        transition: all 0.3s ease;
    }

    #work .jello:hover {
        color: var(--text-carolina-blue);
        transform: translateY(-3px);
    }

    /* Remove any box or background styles */
    .light-mode #work .jello {
        background: transparent;
    }

    .light-mode #work .jello:hover {
        background: transparent;
    }

    /* Add stretch animation on hover */
    #work .jello:hover {
        color: var(--text-carolina-blue);
        transform: translateY(-3px);
    }

    /* Add stretch animation keyframes */
    @keyframes textStretch {
        0% {
            transform: scale(1, 1);
        }
        50% {
            transform: scale(1.1, 0.9);
        }
        100% {
            transform: scale(1.1, 1.2);
        }
    }

    /* Update greeting text */
    .greeting-text {
        font-size: 2.8rem;
        font-weight: 500;
        color: var(--text-wild-blue-yonder);
        margin-bottom: 15px;
        letter-spacing: 0.5px;
    }

    /* Light theme adjustments */
    .light-mode #name {
        filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.3));
    }

    .light-mode .profile-pic-container::before,
    .light-mode .profile-pic-container::after {
        background: var(--text-carolina-blue);
    }

    /* Responsive adjustments */
    @media screen and (max-width: 768px) {
        #name {
            font-size: 4.2rem;
        }

        #work {
            font-size: 2.8rem;
        }

        .greeting-text {
            font-size: 2.4rem;
        }

        .profile-pic-container {
            width: 180px;
            height: 180px;
        }
    }

    @media screen and (max-width: 480px) {
        #name {
            font-size: 2.7rem;
        }

        #work {
            font-size: 2.4rem;
        }

        .greeting-text {
            font-size: 2rem;
        }

        .profile-pic-container {
            width: 150px;
            height: 150px;
        }
    }

    /* Profile picture with single pulse effect */
    .profile-pic-container {
        position: relative;
        width: 200px;
        height: 200px;
        margin-bottom: 40px;
    }

    .profile-pic {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 3px solid var(--bg-carolina-blue);
        object-fit: cover;
        position: relative;
        z-index: 2;
    }

    .profile-pic-container::before {
        content: '';
        position: absolute;
        left: -3px;
        top: -3px;
        right: -3px;
        bottom: -3px;
        border-radius: 50%;
        background: var(--bg-carolina-blue);
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        z-index: 1;
    }

    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
            opacity: 0.5;
        }
        50% {
            transform: scale(1.2);
            opacity: 0;
        }
    }

    /* Modern work text styles */
    #work {
        font-size: 3.6rem;
        color: var(--text-wild-blue-yonder);
        margin: 30px 0;
        line-height: 1.4;
        font-weight: 600;
        text-align: center;
    }

    #work div {
        display: inline;
        margin: 0 8px;
    }

    #work .jello {
        display: inline-block;
        padding: 5px;
        transition: all 0.3s ease;
    }

    #work .jello:hover {
        color: var(--text-carolina-blue);
        transform: translateY(-3px);
    }

    /* Info paragraph styles */
    #info-para {
        /* font-size: 1.8rem; */
        line-height: 1.8;
        color: var(--text-wild-blue-yonder);
        max-width: 800px;
        margin: 30px auto;
        padding: 20px;
        background: rgba(14, 165, 233, 0.05);
        border-radius: 12px;
        border: 1px solid rgba(14, 165, 233, 0.1);
    }

    /* Improved Navbar styles */
    .navbar {
        background: rgba(34, 39, 46, 0.95);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        height: 60px;
        width: 85%;
        border-radius: 20px;
        padding: 0 30px;
        transition: all 0.3s ease;
    }

    .navbar:hover {
        transform: translateY(2px);
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    }

    .navbar-tabs-ul {
        gap: 30px;
    }

    .navbar-tabs-ul a {
        font-size: 1.6rem;
        font-weight: 500;
        color: var(--text-wild-blue-yonder);
        padding: 8px 15px;
        border-radius: 8px;
        transition: all 0.3s ease;
        position: relative;
    }

    .navbar-tabs-ul a:hover {
        color: var(--text-carolina-blue);
        background: rgba(14, 165, 233, 0.1);
    }

    .navbar-tabs-ul a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient-1);
        transition: width 0.3s ease;
    }

    .navbar-tabs-ul a:hover::after {
        width: 100%;
    }

    .activeThistab a {
        color: var(--text-carolina-blue) !important;
        background: rgba(14, 165, 233, 0.1);
    }

    .activeThistab a::after {
        width: 100%;
    }

    /* Light theme adjustments */
    .light-mode .navbar {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(14, 165, 233, 0.1);
    }

    .light-mode #work .jello {
        background: rgba(14, 165, 233, 0.08);
    }

    .light-mode #work .jello:hover {
        background: rgba(14, 165, 233, 0.15);
    }

    .light-mode #info-para {
        background: rgba(14, 165, 233, 0.05);
        border-color: rgba(14, 165, 233, 0.1);
    }

    /* Responsive adjustments */
    @media screen and (max-width: 768px) {
        #work {
            font-size: 3rem;
            gap: 8px;
        }

        #info-para {
            font-size: 1.6rem;
            padding: 15px;
        }

        .navbar {
            width: 95%;
            padding: 0 20px;
        }
    }

    @media screen and (max-width: 480px) {
        #work {
            font-size: 2.4rem;
            gap: 6px;
        }

        /* #info-para {
            font-size: 1.4rem;
            padding: 12px;
        } */
    }

    /* Add print styles */
    @media print {
        .no-print {
            display: none;
        }
    }

    /* Modern Project Box Styles */
    .project-box {
        background: rgba(34, 39, 46, 0.7);
        backdrop-filter: blur(18px);
        border-radius: 24px;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
        border: 1.5px solid rgba(14, 165, 233, 0.15);
        padding: 48px 40px;
        display: flex;
        flex-direction: row;
        gap: 48px;
        align-items: center;
        position: relative;
        overflow: visible;
        min-height: 340px;
    }

    .project-box:hover {
        background: rgba(34, 39, 46, 0.85);
        box-shadow: 0 12px 40px 0 rgba(14, 165, 233, 0.18);
        border-color: rgba(14, 165, 233, 0.25);
    }

    .info-div {
        width: 50%;
        display: flex;
        flex-direction: column;
        gap: 22px;
        justify-content: center;
    }

    .images-container {
        display: flex;
        gap: 12px;
        margin-bottom: 10px;
    }

    .faviconforProject {
        width: 38px;
        height: 38px;
        padding: 7px;
        border-radius: 10px;
        background: rgba(14, 165, 233, 0.13);
        box-shadow: 0 2px 8px rgba(14, 165, 233, 0.07);
    }

    .ProjectHeading {
        font-size: 2.2rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }

    .ProjectDescription {
        font-size: 1.1rem;
        color: #bfc9db;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .project-buttons {
        display: flex;
        gap: 1.2rem;
        align-items: center;
        margin-top: 10px;
    }

    .cta {
        padding: 10px 22px;
        border-radius: 16px;
        background: linear-gradient(90deg, rgba(14,165,233,0.18), rgba(255,88,35,0.13));
        color: #fff;
        font-size: 1.1rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        border: none;
        box-shadow: 0 2px 8px rgba(14, 165, 233, 0.08);
        transition: background 0.3s, transform 0.3s;
    }

    .cta:hover {
        background: linear-gradient(90deg, rgba(14,165,233,0.28), rgba(255,88,35,0.18));
        transform: translateY(-2px) scale(1.04);
    }

    .project-image-overlap {
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
        z-index: 2;
    }

    .project-image-overlap img {
        width: 100%;
        max-width: 420px;
        border-radius: 18px;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
        position: relative;
        right: -32px;
        top: 12px;
        background: #181c24;
    }

    @media (max-width: 998px) {
        .project-box {
            flex-direction: column;
            padding: 32px 18px;
            gap: 24px;
            min-height: unset;
        }
        .info-div, .project-image-overlap {
            width: 100%;
        }
        .project-image-overlap img {
            max-width: 100%;
            right: 0;
            top: 0;
        }
    }

    @media (max-width: 600px) {
        .project-box {
            padding: 18px 6px;
            border-radius: 14px;
        }
        .ProjectHeading {
            font-size: 1.3rem;
        }
        .ProjectDescription {
            font-size: 0.98rem;
        }
        .project-image-overlap img {
            border-radius: 10px;
        }
    }

    /* Glowing dividing bar between sections */
    .section-divider {
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, rgba(14, 165, 233, 0.5), rgba(255, 88, 35, 0.5));
        box-shadow: 0 0 15px rgba(14, 165, 233, 0.5);
        margin: 40px 0; /* Adjust spacing as needed */
        border-radius: 2px;
    }

    /* Resume Section Styles */
    .resume-bullet-details {
        flex-grow: 1;
        width: 600px;
        overflow: hidden;
        padding: 0 0 0 80px;
        position: relative; /* Add this */
    }

    .resume-screen-container {
        display: flex;
        flex-direction: column;
        gap: 30px; /* Increased gap */
        padding: 20px;
        height: 100%;
        overflow-y: auto;
    }

    .resume-heading {
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: relative; /* Add this */
        padding-left: 35px; /* Add space for bullet */
    }

    .resume-main-heading {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .resume-main-heading span {
        color: var(--text-alice-blue);
        font-size: 1.8rem;
        font-family: "Poppins SemiBold", sans-serif;
        font-weight: 600; /* Add this */
    }

    .heading-bullet {
        position: absolute;
        left: -35px;
        height: 15px;
        width: 15px;
        top: 50%;
        transform: translateY(-50%); /* Center vertically */
        border-radius: 50%;
        background-color: var(--bg-carolina-blue);
        box-shadow: 0 0 10px var(--bg-carolina-blue);
    }

    .heading-date {
        background: var(--gradient-1);
        color: var(--text-white);
        padding: 6px 15px;
        font-size: 1.4rem;
        border-radius: 20px;
        font-weight: 500;
        box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
    }

    /* Section Divider */
    .resume-section-divider {
        width: 100%;
        height: 2px;
        background: linear-gradient(
            90deg,
            transparent,
            var(--bg-carolina-blue),
            transparent
        );
        margin: 30px 0;
        position: relative;
    }

    .resume-section-divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 10px;
        height: 10px;
        background: var(--bg-carolina-blue);
        border-radius: 50%;
        box-shadow: 0 0 15px var(--bg-carolina-blue);
    }

    /* Update responsive styles */
    @media screen and (max-width: 1024px) {
        .resume-heading {
            padding-left: 30px;
        }

        .heading-bullet {
            left: -30px;
            width: 12px;
            height: 12px;
        }

        .heading-date {
            padding: 5px 12px;
            font-size: 1.3rem;
        }
    }

    @media screen and (max-width: 768px) {
        .resume-bullet-details {
            padding: 0 15px;
        }

        .resume-heading {
            padding-left: 25px;
        }

        .heading-bullet {
            left: -25px;
            width: 10px;
            height: 10px;
        }
    }

    /* Glowing Divider Line */
    .glowing-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent,
            var(--bg-carolina-blue),
            var(--text-carolina-blue),
            var(--bg-carolina-blue),
            transparent
        );
        position: relative;
        margin: 40px 0;
    }

    /* Add glowing dot in center */
    .glowing-divider::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 6px;
        height: 6px;
        background: var(--bg-carolina-blue);
        border-radius: 50%;
        box-shadow:
            0 0 10px var(--bg-carolina-blue),
            0 0 20px var(--bg-carolina-blue),
            0 0 30px var(--bg-carolina-blue);
        animation: pulse 2s infinite;
    }

    /* Glowing edges */
    .glowing-divider::before {
        content: '';
        position: absolute;
        top: -2px;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(14, 165, 233, 0.3),
            transparent
        );
        filter: blur(4px);
    }

    @keyframes pulse {
        0% {
            box-shadow:
                0 0 10px var(--bg-carolina-blue),
                0 0 20px var(--bg-carolina-blue);
        }
        50% {
            box-shadow:
                0 0 15px var(--bg-carolina-blue),
                0 0 30px var(--bg-carolina-blue),
                0 0 45px var(--bg-carolina-blue);
        }
        100% {
            box-shadow:
                0 0 10px var(--bg-carolina-blue),
                0 0 20px var(--bg-carolina-blue);
        }
    }

    /* Enhanced profile picture effects */
    .profile-pic-container {
        position: relative;
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
    }

    .profile-pic-container::before,
    .profile-pic-container::after {
        content: '';
        position: absolute;
        top: -15px;  /* Increased spread */
        left: -15px;
        right: -15px;
        bottom: -15px;
        border-radius: 50%;
        background: linear-gradient(45deg,
            var(--bg-carolina-blue),
            transparent 70%  /* Increased spread */
        );
        z-index: -1;
        opacity: 0.5;  /* Added opacity for better effect */
    }

    .profile-pic-container::after {
        background: linear-gradient(225deg,
            var(--text-carolina-blue),
            transparent 70%
        );
        opacity: 0.3;
    }

    /* Simple divider line for resume screen container */
    .resume-screen-container {
        position: relative;
        padding-left: 30px;
    }

    .resume-screen-container::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(
            to bottom,
            transparent,
            var(--bg-carolina-blue) 20%,
            var(--bg-carolina-blue) 80%,
            transparent
        );
        box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
    }

    /* Remove the after pseudo-element that had animation */
    .resume-screen-container::after {
        display: none;
    }

    /* Update existing media queries for resume card */
    @media screen and (max-width: 1024px) {
        .resume-card {
            width: 95%;
            flex-direction: column;
            height: auto;
            min-height: 500px;
            padding: 20px;
        }

        .resume-bullets {
            width: 100%;
            height: auto;
            margin-bottom: 30px;
            box-shadow: none;
            border-bottom: 1px solid var(--border-prussian-blue);
            padding-bottom: 20px;
        }

        .bullet {
            width: 100%;
            margin: 10px 0;
        }

        .bullet-label {
            opacity: 1;
        }

        .resume-bullet-details {
            width: 100%;
            padding: 0;
            overflow-y: auto;
        }
    }

    @media screen and (max-width: 768px) {
        .resume-card {
            width: 100%;
            padding: 15px;
            margin: 0 10px;
        }

        .resume-bullets {
            padding-bottom: 15px;
        }

        .bullet {
            height: 35px;
            font-size: 1.4rem;
        }

        .resume-heading {
            padding-left: 20px;
        }

        .resume-main-heading span {
            font-size: 1.6rem;
        }

        .heading-date {
            font-size: 1.2rem;
            padding: 4px 10px;
        }
    }

    @media screen and (max-width: 480px) {
        .resume-section-container {
            padding-top: 80px;
        }

        .resume-card {
            padding: 12px;
            border-radius: 4px;
        }

        .resume-bullets {
            margin-bottom: 20px;
        }

        .bullet {
            height: 32px;
            font-size: 1.3rem;
            padding: 0 12px;
        }

        .bullet-logo {
            height: 14px;
            margin-right: 20px;
        }

        .resume-main-heading {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }

        .heading-date {
            font-size: 1.1rem;
            padding: 3px 8px;
        }

        .resume-bullet-details {
            padding: 0 5px;
        }

        .resume-screen-container {
            padding: 15px 0;
            gap: 15px;
        }
    }

    @media screen and (max-width: 360px) {
        .resume-card {
            padding: 10px;
        }

        .bullet {
            height: 30px;
            font-size: 1.2rem;
        }

        .resume-main-heading span {
            font-size: 1.4rem;
        }
    }

    /* Profile Picture Responsive Styles */
    .profile-pic-container {
        position: relative;
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
    }

    /* Responsive Profile Picture */
    @media screen and (max-width: 1024px) {
        .profile-pic-container {
            width: 180px;
            height: 180px;
            margin-bottom: 15px;
        }
    }

    @media screen and (max-width: 768px) {
        .profile-pic-container {
            width: 150px;
            height: 150px;
            margin-bottom: 12px;
        }
    }

    @media screen and (max-width: 480px) {
        .profile-pic-container {
            width: 120px;
            height: 120px;
            margin-bottom: 10px;
        }
    }

    /* Icons Responsive Styles */
    .social-icons {
        display: flex;
        gap: 15px; /* Reduced from 25px */
        margin: 15px 0; /* Reduced from 25px */
    }

    .social-icons a {
        width: 35px; /* Reduced from 45px */
        height: 35px; /* Reduced from 45px */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-icons i {
        font-size: 16px; /* Reduced from 20px */
    }

    /* Responsive Icons */
    @media screen and (max-width: 768px) {
        .social-icons {
            gap: 20px;
            margin: 20px 0;
        }

        .social-icons a {
            width: 40px;
            height: 40px;
        }

        .social-icons i {
            font-size: 20px;
        }
    }

    @media screen and (max-width: 480px) {
        .social-icons {
            gap: 12px;
            margin: 12px 0;
        }

        .social-icons a {
            width: 28px;
            height: 28px;
        }

        .social-icons i {
            font-size: 14px;
        }
    }

    @media screen and (max-width: 360px) {
        .social-icons {
            gap: 10px;
        }

        .social-icons a {
            width: 25px;
            height: 25px;
        }

        .social-icons i {
            font-size: 13px;
        }
    }

    /* Tech Stack Icons Responsive */
    .tech-stack-box {
                justify-self: center;
        width: 120px;
        height: 120px;
    }

    @media screen and (max-width: 1024px) {
        .tech-stack-box {
                    justify-self: center;
            width: 100px;
            height: 100px;
        }
    }

    @media screen and (max-width: 768px) {
        .tech-stack-box {
                    justify-self: center;
            width: 90px;
            height: 90px;
        }

        .tech-stack-box img {
            width: 50%;
        }
    }

    @media screen and (max-width: 480px) {
        .tech-stack-box {
        justify-self: center;
            width: 95px;
            height: 95px;
        }

        .tech-stack-box img {
            width: 50%;
        }

        .tooltip {
            font-size: 1.2rem;
            padding: 6px 12px;
        }
    }

    /* Center align the work text */
    #work {
        font-size: 3.6rem;
        color: var(--text-wild-blue-yonder);
        margin: 30px auto; /* Added auto for horizontal centering */
        line-height: 1.4;
        font-weight: 600;
        text-align: center;
        width: 100%;
    }

    /* Responsive adjustments */
    @media screen and (max-width: 768px) {
        .social-icons a {
            width: 32px;
            height: 32px;
        }

        .social-icons i {
            font-size: 14px;
        }
    }

    @media screen and (max-width: 480px) {
        .social-icons a {
            width: 28px;
            height: 28px;
        }

        .social-icons i {
            font-size: 13px;
        }
    }

    /* Create a container with fixed height for typing animation */
    .typing-container {
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px 0;
        position: relative;
    }

    /* Update typing text styles */
    .typing-text {
        font-size: 2.4rem;
        color: var(--text-wild-blue-yonder);
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        padding-right: 8px;
        font-family: "Poppins SemiBold", sans-serif;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .typing-text::after {
        content: '|';
        position: absolute;
        right: -8px; /* Adjust cursor position */
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-carolina-blue);
        animation: blink 1s step-end infinite;
    }

    /* Responsive adjustments */
    @media screen and (max-width: 768px) {
        .typing-container {
            height: 35px;
        }

        .typing-text {
            font-size: 2rem;
        }
    }

    @media screen and (max-width: 480px) {
        .typing-container {
            height: 30px;
        }

        .typing-text {
            font-size: 1.8rem;
        }
    }

    /* Work text styles */
    #work {
        font-size: 2.8rem;
        color: var(--text-wild-blue-yonder);
        margin: 15px auto;
        line-height: 1.4;
        font-weight: 500;
        text-align: center;
        width: 100%;
        padding: 0 15px;
        font-family: "Poppins Medium", sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px;
    }

    /* Individual letter styling */
    #work span {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    /* Stretching hover effect */
    #work span:hover {
        transform: scale(1.2, 1.4);
        color: var(--text-carolina-blue);
    }

    /* Remove other hover effects */
    #work .jello:hover {
        -webkit-animation: none;
        animation: none;
        background: none;
        -webkit-text-fill-color: inherit;
        background-clip: initial;
    }

    /* Remove background color change on hover */
    .light-mode #work .jello:hover,
    #work .jello:hover {
        background: transparent;
    }

    /* Responsive adjustments */
    @media screen and (max-width: 768px) {
        #work {
            font-size: 2.4rem;
            gap: 4px;
        }
    }

    @media screen and (max-width: 480px) {
        #work {
            font-size: 2rem;
            gap: 3px;
        }
    }

    /* Comment out old About section heading styles */
    /* .about-section-heading {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
    } */

    /* New About Me Section Heading Styles */
    .about-section-heading {
        text-align: center;
        width: 100%;
        max-width: 600px;
        padding: 20px;
        margin: 0 auto;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.8s ease forwards;
    }

    .about-title {
        font-size: 3.5rem;
        font-weight: 700;
        background: linear-gradient(-45deg,
            var(--text-columbia-blue),
            var(--text-carolina-blue),
            #4facfe,
            #00f2fe
        );
        background-size: 400% 400%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: gradient 3s infinite;
        margin-bottom: 15px;
        font-family: "Poppins Bold", sans-serif;
    }

    .about-subtitle {
        font-size: 1.8rem;
        color: var(--text-wild-blue-yonder);
        margin-bottom: 20px;
        font-family: "Poppins Medium", sans-serif;
    }

    .divider {
        position: relative;
        width: 300px;
        height: 2px;
        background-color: var(--border-prussian-blue);
        margin: 0 auto;
    }

    .divider::after {
        content: '';
        position: absolute;
        width: 50px;
        height: 4px;
        background: linear-gradient(90deg, #0ea5ea, #0bd1d1 51%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 2px;
        box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
    }

    /* Animation Keyframes */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes scaleIn {
        from {
            opacity: 0;
            transform: scaleX(0);
        }
        to {
            opacity: 1;
            transform: scaleX(1);
        }
    }

    @keyframes glowIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

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

    /* Responsive styles */
    @media screen and (max-width: 768px) {
        .about-title {
            font-size: 3rem;
        }

        .about-subtitle {
            font-size: 1.6rem;
        }

        .divider {
            width: 250px;
        }
    }

    @media screen and (max-width: 480px) {
        .about-section-heading {
            padding: 15px;
            margin-bottom:20px;

        }

        .about-title {
            font-size: 2.8rem;
        }

        .about-subtitle {
            font-size: 1.4rem;
        }

        .divider {
            width: 200px;
        }
    }

    /* Mobile Settings Container Styles */
    .mobile-settings-container {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid var(--border-prussian-blue);
    }

    .light-mode .mobile-settings-container {
        border-top-color: rgba(14, 165, 233, 0.2);
    }

    /* Keep existing mobile navbar styles */
    .mobile-navbar-tabs-ul {
        background-color: var(--color-dark-mode);
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .mobile-navbar-tabs-li {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Poppins Medium", sans-serif;
    }

    .mobile-navbar-tabs-li a {
        color: var(--text-wild-blue-yonder);
        font-size: 2rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    /* Active Mobile Tab */
    .activeThismobiletab a {
        color: var(--text-carolina-blue);
        font-weight: 600;
    }

    /* Hover effect */
    .mobile-navbar-tabs-li a:hover {
        color: var(--text-carolina-blue);
    }

    /* Light Mode Styles */
    .light-mode .mobile-navbar-tabs-ul {
        background-color: var(--color-light-mode);
    }

    .light-mode .mobile-navbar-tabs-li a {
        color: #1a1a1a;
    }

    .light-mode .activeThismobiletab a,
    .light-mode .mobile-navbar-tabs-li a:hover {
        color: var(--bg-carolina-blue);
    }

    /* Resume heading text colors */
    .resume-main-heading span {
        color: var(--text-alice-blue);
        font-size: 1.8rem;
        font-family: "Poppins SemiBold", sans-serif;
    }

    .resume-sub-heading {
        font-size: 1.4rem;
        color: var(--text-wild-blue-yonder);
        margin: 10px 0 0 0;
    }

    .resume-heading-description {
        font-size: 1.2rem;
        color: var(--text-wild-blue-yonder);
        text-align: justify;
    }

    /* Light mode text colors */
    .light-mode .resume-main-heading span {
        color: #1a1a1a;  /* Black text in light mode */
    }

    .light-mode .resume-sub-heading {
        color: #333333;  /* Dark gray text in light mode */
    }

    .light-mode .resume-heading-description {
        color: #4a4a4a;  /* Medium gray text in light mode */
    }

    /* Keep existing responsive styles */
    @media screen and (max-width: 768px) {
        .resume-main-heading span {
            font-size: 1.6rem;
        }

        .resume-sub-heading {
            font-size: 1.3rem;
        }

        .resume-heading-description {
            font-size: 1.1rem;
        }
    }

    /* Contact Section Styles */
    .contact-section-container {
        padding: 80px 0;
        background-color: var(--bg-oxford-blue-2);
    }

    .contact-container {
        display: flex;
        gap: 40px;
        max-width: 1000px;
        margin: 40px auto;
        padding: 40px;
        background: rgba(34, 39, 46, 0.4);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(14, 165, 233, 0.1);
        border-radius: 20px;
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    }

    .contact-left {
        flex: 1;
        width: 50%;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .get-in-touch {
        font-size: 2.4rem;
        color: var(--text-alice-blue);
        font-family: "Poppins SemiBold", sans-serif;
        position: relative;
        padding-bottom: 15px;
    }

    .get-in-touch::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--gradient-1);
        border-radius: 2px;
    }

    .social-links {
        display: flex;
        gap: 15px;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(14, 165, 233, 0.1);
        border: 1px solid rgba(14, 165, 233, 0.2);
        transition: all 0.3s ease;
    }

    .social-links a:hover {
        transform: translateY(-3px);
        background: rgba(14, 165, 233, 0.2);
        border-color: var(--bg-carolina-blue);
        box-shadow: 0 8px 20px -6px rgba(14, 165, 233, 0.4);
    }

    .social-links a i {
        font-size: 20px;
        color: var(--text-carolina-blue);
        transition: all 0.3s ease;
    }

    .contact-image {
        max-width: 100%;
        margin: 20px auto;
    }

    .contact-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .contact-right {
        flex: 1.5;
        width: 50%;
        display: flex;
        justify-content: center;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 90%;
        margin: 0 auto;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        font-size: 1.4rem;
        color: var(--text-wild-blue-yonder);
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        height: 45px;
        padding: 12px 16px;
        border-radius: 12px;
        border: 1px solid rgba(14, 165, 233, 0.2);
        background: rgba(14, 165, 233, 0.05);
        color: var(--text-alice-blue);
        font-size: 1.4rem;
        font-family: "Poppins Regular", sans-serif;
        transition: all 0.3s ease;
    }

    .form-group textarea {
        height: 120px;
        resize: none;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--bg-carolina-blue);
        box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    }

    .form-group textarea {
        height: 120px;
        resize: none;
    }

    .send-btn-container {
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }

    .send-btn {
        padding: 12px 28px;
        border-radius: 12px;
        background: rgba(14, 165, 233, 0.1);
        color: var(--text-carolina-blue);
        font-size: 1.4rem;
        font-family: "Poppins Medium", sans-serif;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
        border: 1px solid rgba(14, 165, 233, 0.2);
    }

    .send-btn i {
        font-size: 1.2rem;
        margin-left: 8px;
    }

    .send-btn:hover {
        background: rgba(14, 165, 233, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px -6px rgba(14, 165, 233, 0.4);
    }

    .send-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

    /* Error and Success messages */
    .error-message {
        color: #ff4d4d;
        font-size: 1.2rem;
        margin-top: 4px;
        display: none;
    }

    .form-group.error input,
    .form-group.error textarea {
        border-color: #ff4d4d;
    }

    .form-group.error .error-message {
        display: block;
    }

    .success-message {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 15px 25px;
        background: rgba(0, 204, 102, 0.9);
        color: white;
        border-radius: 12px;
        font-size: 1.4rem;
        font-weight: 500;
        display: none;
        animation: slideIn 0.3s ease forwards;
        z-index: 9999;
        box-shadow: 0 4px 15px rgba(0, 204, 102, 0.3);
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Light mode styles */
    .light-mode .contact-container {
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(14, 165, 233, 0.1);
    }

    .light-mode .form-group input,
    .light-mode .form-group textarea {
        background: white;
        border-color: rgba(14, 165, 233, 0.2);
        color: #333;
    }

    /* Responsive styles */
    @media screen and (max-width: 1024px) {
        .contact-container {
            width: 90%;
            padding: 35px;
        }
    }

    @media screen and (max-width: 768px) {
        .contact-section-container {
            padding: 60px 0;
        }

        .contact-container {
            flex-direction: column;
            padding: 30px;
            margin: 30px auto;
        }

        .contact-left,
        .contact-right {
            width: 100%;
        }

        .contact-image {
            max-width: 250px;
        }

        .contact-form {
            width: 100%;
        }

        .send-btn-container {
            justify-content: center;
        }

        .social-links {
            justify-content: center;
        }

        .get-in-touch {
            text-align: center;
            font-size: 2.2rem;
        }

        .get-in-touch::after {
            left: 50%;
            transform: translateX(-50%);
        }
    }

    @media screen and (max-width: 480px) {
        .contact-section-container {
            padding: 40px 0;
        }

        .contact-container {
            padding: 20px;
            margin: 20px auto;
        }

        .get-in-touch {
            font-size: 2rem;
        }

        .social-links a {
            width: 40px;
            height: 40px;
        }

        .social-links a i {
            font-size: 18px;
        }

        .contact-image {
            max-width: 200px;
        }

        .form-group input,
        .form-group textarea {
            padding: 10px 14px;
            font-size: 1.3rem;
        }

        .send-btn {
            padding: 10px 24px;
            font-size: 1.2rem;
        }

        .send-btn i {
            font-size: 1.1rem;
        }

        .success-message {
            top: 10px;
            right: 10px;
            left: 10px;
            text-align: center;
            font-size: 1.3rem;
            padding: 12px 20px;
        }
    }

    /* Back to top button styles */
    .back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 45px;
      height: 45px;
      border-radius: 50%; /* Changed to round */
      background: rgba(14, 165, 233, 0.1);
      backdrop-filter: blur(10px);
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      opacity: 0;
      visibility: hidden;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      /* Glowing border effect */
      box-shadow:
          0 0 0 1px rgba(14, 165, 233, 0.3),
          0 0 15px rgba(14, 165, 233, 0.15);
    }

    .back-to-top::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            135deg,
            var(--bg-carolina-blue),
            var(--text-carolina-blue)
        );
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .back-to-top i {
        color: var(--text-carolina-blue);
        font-size: 20px;
        transition: all 0.3s ease;
        z-index: 1;
    }

    /* Visible state */
    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Hover effects */
    .back-to-top:hover {
        transform: translateY(-5px);
        box-shadow:
            0 0 0 1px rgba(14, 165, 233, 0.5),
            0 0 20px rgba(14, 165, 233, 0.25);
    }

    .back-to-top:hover::before {
        opacity: 1;
    }

    .back-to-top:hover i {
        color: white;
        transform: translateY(-2px);
    }

    /* Active state */
    .back-to-top:active {
        transform: translateY(-2px);
    }

    /* Light mode styles */
    .light-mode .back-to-top {
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(14, 165, 233, 0.3);
    }

    .light-mode .back-to-top i {
        color: var(--bg-carolina-blue);
    }

    .light-mode .back-to-top:hover {
        border-color: var(--bg-carolina-blue);
    }

    /* Responsive styles */
    @media screen and (max-width: 768px) {
        .back-to-top {
            width: 40px;
            height: 40px;
            border-radius: 10px;
        }

        .back-to-top i {
            font-size: 18px;
        }
    }

    @media screen and (max-width: 480px) {
        .back-to-top {
            width: 35px;
            height: 35px;
            border-radius: 8px;
            bottom: 20px;
            right: 20px;
        }

        .back-to-top i {
            font-size: 16px;
        }
    }

    /* Remove the underline effect */
    .navbar-tabs-ul a::after {
        display: none; /* Remove the underline pseudo-element */
    }

    /* Update active tab styles */
    .activeThistab a {
        color: var(--text-carolina-blue) !important;
        background: rgba(14, 165, 233, 0.1);
        border-radius: 8px;
        padding: 8px 15px;
    }

    /* Update hover styles */
    .navbar-tabs-ul a:hover {
        color: var(--text-carolina-blue);
        background: rgba(14, 165, 233, 0.1);
        border-radius: 8px;
        padding: 8px 15px;
    }

    /* Light mode adjustments */
    .light-mode .activeThistab a {
        color: var(--bg-carolina-blue) !important;
        background: rgba(14, 165, 233, 0.08);
    }

    .light-mode .navbar-tabs-ul a:hover {
        color: var(--bg-carolina-blue);
        background: rgba(14, 165, 233, 0.08);
    }

    /* Error message styles */
    .error-message {
        color: #ff4d4d;
        font-size: 1.2rem;
        margin-top: 4px;
        display: none;
    }

    .form-group.error input,
    .form-group.error textarea {
        border-color: #ff4d4d;
    }

    .form-group.error .error-message {
        display: block;
    }

    /* Success message styles */
    .success-message {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 15px 25px;
        background: rgba(0, 204, 102, 0.9);
        color: white;
        border-radius: 12px;
        font-size: 1.4rem;
        font-weight: 500;
        display: none;
        animation: slideIn 0.3s ease forwards;
        z-index: 9999;
        box-shadow: 0 4px 15px rgba(0, 204, 102, 0.3);
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Update send button container */
    .send-btn-container {
        padding: 0 15px;
        width: 100%;
    }

    .send-btn {

        justify-content: center;
        margin-top: 10px;
    }

    /* Responsive adjustments */
    @media screen and (max-width: 768px) {
        .contact-container {
            padding: 30px 20px;
        }

        .form-group {
            padding: 0 10px;
        }
    }

    @media screen and (max-width: 480px) {
        .contact-container {
            padding: 20px 15px;
        }

        .form-group {
            padding: 0 5px;
        }

        .success-message {
            top: 10px;
            right: 10px;
            left: 10px;
            text-align: center;
        }
    }

    /* Form group styles */
    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        padding: 0 15px;
    }

    /* Make all inputs (including name and email) use the same styles */
    .form-group input,
    .form-group textarea {
        width: 100%;
        height: 45px; /* Fixed height for all inputs */
        padding: 12px 16px;
        border-radius: 12px;
        border: 1px solid rgba(14, 165, 233, 0.2);
        background: rgba(14, 165, 233, 0.05);
        color: var(--text-alice-blue);
        font-size: 1.4rem;
        font-family: "Poppins Regular", sans-serif;
        transition: all 0.3s ease;
    }

    /* Special height for textarea only */
    .form-group textarea {
        height: 120px;
        resize: none;
    }

    /* Focus states for all inputs */
    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--bg-carolina-blue);
        box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    }

    /* Contact form container */
    .contact-right {
        flex: 1.5;
        display: flex;
        justify-content: center; /* Center the form */
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 90%; /* Reduced from 110% */
        margin: 0 auto; /* Center the form */
    }

    /* Form group styles */
    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    /* Input styles */
    .form-group input,
    .form-group textarea {
        width: 100%;
        height: 45px;
        padding: 12px 16px;
        border-radius: 12px;
        border: 1px solid rgba(14, 165, 233, 0.2);
        background: rgba(14, 165, 233, 0.05);
        color: var(--text-alice-blue);
        font-size: 1.4rem;
        font-family: "Poppins Regular", sans-serif;
        transition: all 0.3s ease;
    }

    /* Textarea height */
    .form-group textarea {
        height: 120px;
        resize: none;
    }

    /* Send button container */
    .send-btn-container {
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }

    /* Updated send button styles */
    .send-btn {
        padding: 12px 28px; /* Reduced padding */
        border-radius: 12px;
        background: rgba(14, 165, 233, 0.1);
        color: var(--text-carolina-blue);
        font-size: 1.3rem; /* Reduced font size */
        font-family: "Poppins Medium", sans-serif;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 6px; /* Reduced gap */
        border: 1px solid rgba(14, 165, 233, 0.2);
    }

    .send-btn i {
        font-size: 1.2rem; /* Reduced icon size */
    }

    /* Responsive styles */
    @media screen and (max-width: 768px) {
        .contact-form {
            width: 100%;
        }

        .send-btn-container {
            justify-content: center;
        }
    }

    @media screen and (max-width: 480px) {
        .send-btn {
            padding: 7px 18px;
            font-size: 1.2rem;
        }

        .send-btn i {
            font-size: 1.1rem;
        }
    }

    /* Form field styles */
    .field {
        margin-bottom: 20px;
    }

    .field label {
        display: block;
        font-size: 1.4rem;
        color: var(--text-wild-blue-yonder);
        margin-bottom: 8px;
    }

    .field input,
    .field textarea {
        display: block;
        width: 100%;
        padding: 12px 16px;
        border-radius: 12px;
        border: 1px solid rgba(14, 165, 233, 0.2);
        background: rgba(14, 165, 233, 0.05);
        color: var(--text-alice-blue);
        font-size: 1.4rem;
        font-family: "Poppins Regular", sans-serif;
        transition: all 0.3s ease;
    }

    .field textarea {
        height: 120px;
        resize: none;
    }

    .field input:focus,
    .field textarea:focus {
        outline: none;
        border-color: var(--bg-carolina-blue);
        box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    }

    /* Submit button styles */
    .send-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 28px;
        font-size: 1.4rem;
        background: rgba(14, 165, 233, 0.1);
        color: var(--text-carolina-blue);
        border: 1px solid rgba(14, 165, 233, 0.2);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .send-btn:hover {
        background: rgba(14, 165, 233, 0.2);
        transform: translateY(-2px);
    }

    .send-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

    /* Ensure animations are responsive */
    @media screen and (max-width: 768px) {
        /* Adjust animation duration for mobile */
        #work {
            font-size: 2.4rem;

            animation: fadeInUp 0.5s ease forwards; /* Add animation for mobile */
        }

        /* Ensure jello effect works on mobile */
        .jello {
            transition: transform 0.3s ease; /* Ensure smooth transition */
        }

        /* Adjust hover effects for mobile */
        #work .jello:hover {
            transform: scale(1.1, 1.2); /* Slightly reduce scale for mobile */
        }
    }

    /* Add a fade-in animation for larger screens */
    @media screen and (min-width: 769px) {
        #work {
            animation: fadeInUp 0.8s ease forwards; /* Keep original animation for larger screens */
        }
    }

    /* Add animations for About Me and Contact Me sections */
    .about-section-container,
    .contact-section-container {
        opacity: 0; /* Start hidden */
        transform: translateY(20px); /* Start slightly below */
        transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
    }

    /* Animation when the section is visible */
    .about-section-container.visible,
    .contact-section-container.visible {
        opacity: 1; /* Fade in */
        transform: translateY(0); /* Move to original position */
    }

    /* Ensure animations are responsive */
    @media screen and (max-width: 768px) {
        .about-section-container,
        .contact-section-container {
            transition: opacity 0.3s ease, transform 0.3s ease; /* Faster transition for mobile */
        }
    }

    /* Add consistent padding and margin for About Me and Contact Me sections */

    .contact-section-container {
     /* Ensure consistent vertical padding */
        margin: 0 auto; /* Center the sections */
        max-width: 1200px; /* Limit the width for better alignment */
    }

    /* Adjust the heading styles for consistency */
    .about-section-heading,
    .contact-section-heading {
        text-align: center; /* Center align the headings */

    }

    /* Ensure the divider has consistent styling */
    .divider {
        width: 300px; /* Set a consistent width */
        height: 2px; /* Set a consistent height */
        background-color: var(--border-prussian-blue); /* Use the same color as other sections */
        margin: 0 auto; /* Center the divider */
    }

    /* Animation for About Me and Contact Me sections */
    .about-section-container,
    .contact-section-container {
        opacity: 0; /* Start hidden */
        transform: translateY(20px); /* Start slightly below */
        transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
    }

    /* Animation when the section is visible */
    .about-section-container.visible,
    .contact-section-container.visible {
        opacity: 1; /* Fade in */
        transform: translateY(0); /* Move to original position */
    }

    /* Ensure animations are responsive */
    @media screen and (max-width: 768px) {
        .about-section-container,
        .contact-section-container {
            transition: opacity 0.3s ease, transform 0.3s ease; /* Faster transition for mobile */
        }
    }

    /* Responsive styles */
    @media screen and (max-width: 768px) {
        .divider {
            width: 250px; /* Adjusted width for mobile */
        }
    }

    @media screen and (max-width: 480px) {
        .divider {
            width: 200px; /* Further adjusted width for smaller screens */
        }
    }

    /* Responsive styles for Resume Button */
    .resume-btn {
        width: 45px; /* Adjusted width for mobile */
        height: 45px; /* Adjusted height for mobile */
        /* ... existing styles ... */
    }

    @media screen and (max-width: 768px) {
        .resume-btn {
            width: 40px; /* Further adjust for smaller screens */
            height: 40px; /* Further adjust for smaller screens */
        }

        .resume-btn .sign {
            width: 40px; /* Adjusted width for mobile */
            min-width: 40px; /* Adjusted min-width for mobile */
        }

        .text {
            font-size: 1.3rem; /* Adjusted font size for mobile */
        }
    }

    /* Responsive styles for Back to Top Button */
    #backtotopbutton {
        width: 50px; /* Adjusted width for mobile */
        height: 50px; /* Adjusted height for mobile */
        /* ... existing styles ... */
    }

    @media screen and (max-width: 768px) {
        #backtotopbutton {
            width: 40px; /* Further adjust for smaller screens */
            height: 40px; /* Further adjust for smaller screens */
        }
    }

    /* --- Compact Project Card Update --- */
    .project-box {
        padding: 24px 18px;
        gap: 24px;
        min-height: 200px;
        border-radius: 18px;
        box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.10);
    }
    .info-div {
        gap: 12px;
    }
    .images-container {
        margin-bottom: 4px;
    }
    .ProjectHeading {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }
    .ProjectDescription {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    .project-buttons {
        margin-top: 4px;
        gap: 0.7rem;
    }
    .faviconforProject {
        width: 28px;
        height: 28px;
        padding: 4px;
        border-radius: 7px;
    }
    .project-image-overlap {
        width: 44%;
        align-items: center;
        justify-content: center;
    }
    .project-image-overlap img {
        max-width: 180px;
        border-radius: 10px;
        right: 0;
        top: 0;
        box-shadow: 0 2px 8px 0 rgba(31, 38, 135, 0.10);
    }
    @media (max-width: 998px) {
        .project-box {
            padding: 16px 6px;
            gap: 12px;
        }
        .project-image-overlap img {
            max-width: 90vw;
        }
    }
    @media (max-width: 600px) {
        .project-box {
            padding: 8px 2px;
            border-radius: 10px;
        }
        .ProjectHeading {
            font-size: 1.05rem;
        }
        .ProjectDescription {
            font-size: 1rem;
        }
        .project-image-overlap img {
            border-radius: 6px;
        }
    }
    /* --- End Compact Project Card Update --- */

    /* --- Mobile Image Size Update --- */
    @media (max-width: 900px) {
        .project-box {
            flex-direction: column;
        }
        .info-div, .project-image-overlap {
            width: 100%;
            justify-content: center;
        }
        .project-image-overlap {
            margin-top: 10px;
        }
        .project-image-overlap img {
            max-width: 280px;
        }
    }
    @media (max-width: 600px) {
        .project-box {
            padding: 8px 2px;
            border-radius: 10px;
        }
        .ProjectHeading {
            font-size: 1.05rem;
        }
        .ProjectDescription {
            font-size: 1rem;
        }
        .project-image-overlap img {
            max-width: 320px;
            border-radius: 6px;
        }
    }
    @media (max-width: 480px) {
        .project-image-overlap img {
            max-width: 350px;
        }
    }
    /* --- End Mobile Image Size Update --- */

    /* --- Desktop/Tablet Image Size Update --- */
    .project-image-overlap img {
        max-width: 280px;
        border-radius: 10px;
        right: 0;
        top: 0;
        box-shadow: 0 2px 8px 0 rgba(31, 38, 135, 0.10);
    }
    @media (min-width: 1200px) {
        .project-image-overlap img {
            max-width: 320px;
        }
    }
    @media (min-width: 1400px) {
        .project-image-overlap img {
            max-width: 380px;
        }
    }
    @media (min-width: 1600px) {
        .project-image-overlap img {
            max-width: 420px;
        }
    }
    /* --- End Desktop/Tablet Image Size Update --- */
