* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* cursor: default !important; */
}

body {
    cursor: default !important;
}



/* Particle Background */
.particle-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #181a1f 0%, #23243a 50%, #1a1a2e 100%);
    opacity: 0.55;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 67px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.scroll-to-top-btn:active {
    transform: translateY(-1px);
}

.scroll-to-top-btn i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

:root {
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-card: rgba(31, 41, 55, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --border-color: #374151;
    --gradient-primary: linear-gradient(135deg, #8b5cf6, #3b82f6);
    --gradient-secondary: linear-gradient(135deg, #6366f1, #8b5cf6);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --backdrop-blur: blur(12px);
}

/* Bar climbing scenario: only one bar grows at a time, dot climbs that bar */
:root {
    --bar1-h: 20px;
    --bar2-h: 40px;
    --bar3-h: 60px;
    --bar4-h: 80px;
    --bar5-h: 100px;
    --bar-width: 10px;
    --bar-gap: 5px;
    --dot-size: 10px;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    overflow-y: scroll;
}

/* Ensure smooth scrolling works on all browsers */
html, body {
    scroll-behavior: smooth;
}

/* Smooth scrolling for anchor links */
a[href^="#"] {
    scroll-behavior: smooth;
}
html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
}
body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111827;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Hide scrollbar during preloader */
body.preloader-active {
    overflow: hidden;
}

/* Hide scroll sidebar during preloader - HIGH SPECIFICITY */
body.preloader-active #scrollSidebar,
body.preloader-active #scrollSidebar.scroll-sidebar,
body.preloader-active .scroll-bar-label,
body.preloader-active .navbar-scroll-percent {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/* Override all scroll sidebar states during preloader */
body.preloader-active #scrollSidebar.scrolling,
body.preloader-active #scrollSidebar.scroll-sidebar.scrolling,
body.preloader-active .scroll-bar-label.scrolling {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.preloader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

/* Loading Message Styles */
.loading-message {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
    margin-top: 25px;
    margin-bottom: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 2500px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: normal;
    overflow-wrap: normal;
    white-space: normal;
}

.message-part-1 {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.message-part-2 {
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
}

.blur-text-line {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    transform: translateX(30px);
    transition: all 0.6s ease-out;
    font-family: 'Fuzzy Bubbles', sans-serif;
    font-weight: 600;
    letter-spacing: -0.9px;
    word-break: normal;
    white-space: normal;
}

.blur-text-line.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}



.loading-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Did You Know? Section */
.did-you-know-section {
    margin-top: 25px;
    margin-bottom: 20px;
    text-align: center;
}

.did-you-know-text {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    visibility: hidden;
}

.did-you-know-text.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.did-you-know-text.show-line {
    opacity: 1;
    transform: translateY(0);
}



@keyframes didYouKnowGlow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 20px rgba(102, 126, 234, 0.8));
    }
}

@keyframes didYouKnowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Facts/Quotes Section */
.facts-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
    margin-top: 20px;
    max-width: 500px;
}

.facts-section.show {
    opacity: 1;
    transform: translateY(0);
}

.facts-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fact-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.fact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.fact-text {
    color: #fff;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.fact-source {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-style: italic;
    text-align: right;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fact-source.show {
    opacity: 1;
    transform: translateX(0);
}

.fact-icon {
    display: none;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes typewriter1 {
    0% {
        width: 0;
        overflow: hidden;
        white-space: nowrap;
    }
    100% {
        width: 100%;
        overflow: visible;
        white-space: normal;
    }
}







/* Loading Progress */
.loading-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}
    .loader__bar {
    position: absolute;
    bottom: 0;
    width: var(--bar-width);
    background: #fff;
    box-shadow: 1px 1px 0 rgba(0,0,0,.2);
    transition: transform 0.18s cubic-bezier(.45,0,.55,1), height 0.18s cubic-bezier(.45,0,.55,1);
    transform-origin: bottom;
}
.loader__bar:nth-child(1) { left: 0px;  height: var(--bar1-h); }
.loader__bar:nth-child(2) { left: 15px; height: var(--bar2-h); }
.loader__bar:nth-child(3) { left: 30px; height: var(--bar3-h); }
.loader__bar:nth-child(4) { left: 45px; height: var(--bar4-h); }
.loader__bar:nth-child(5) { left: 60px; height: var(--bar5-h); }

@keyframes dotClimbAndDrop {
    0%, 12% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);  bottom: calc(var(--bar1-h) - 12px);
    }
    16%, 28% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar2-h) - 12px);
    }
    32%, 44% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar3-h) - 12px);
    }
    48%, 60% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar4-h) - 12px);
    }
    64%, 80% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar5-h) - 12px);
    }
    84% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar5-h) - 12px);
    }
    88%, 96% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(-12px);
    }
    100% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);  bottom: calc(var(--bar1-h) - 12px);
    }
}

@keyframes barDrop {
    0%, 84% {
        bottom: 0;
        height: var(--bar5-h);
    }
    88%, 96% {
        bottom: -60px;
        height: var(--bar5-h);
    }
    100% {
        bottom: 0;
        height: var(--bar5-h);
    }
}

.loader__bar:nth-child(5) {
    left: 60px;
    height: var(--bar5-h);
}

@keyframes dotClimbAboveBar {
    0%, 12% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);  bottom: calc(var(--bar1-h) + 3px);
    }
    16%, 28% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar2-h) + 3px);
    }
    32%, 44% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar3-h) + 3px);
    }
    48%, 60% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar4-h) + 3px);
    }
    64%, 80% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar5-h) + 3px);
    }
    84% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar5-h) + 3px);
    }
    88%, 96% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(3px);
    }
    100% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);  bottom: calc(var(--bar1-h) + 3px);
    }
}

@keyframes dotClimbAboveBarBouncy {
    0% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);  bottom: calc(var(--bar1-h) + 3px);
    }
    8% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);  bottom: calc(var(--bar1-h) + 16px);
    }
    12% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);  bottom: calc(var(--bar1-h) + 3px);
    }
    16% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar2-h) + 3px);
    }
    24% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar2-h) + 16px);
    }
    28% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar2-h) + 3px);
    }
    32% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar3-h) + 3px);
    }
    40% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar3-h) + 16px);
    }
    44% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar3-h) + 3px);
    }
    48% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar4-h) + 3px);
    }
    56% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar4-h) + 16px);
    }
    60% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar4-h) + 3px);
    }
    64% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar5-h) + 3px);
    }
    72% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar5-h) + 16px);
    }
    80% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar5-h) + 3px);
    }
    84% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(var(--bar5-h) + 3px);
    }
    88%, 96% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2); bottom: calc(3px);
    }
    100% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);  bottom: calc(var(--bar1-h) + 3px);
    }
}

@keyframes dotClimbAboveBarRealistic {
    0% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
    6% {
        bottom: calc(var(--bar1-h) + 18px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    12% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar2-h) + 28px);
        transform: scaleY(1) scaleX(1);
    }
    18% {
        bottom: calc(var(--bar2-h) + 10px);
        transform: scaleY(1) scaleX(1);
    }
    22% {
        bottom: calc(var(--bar2-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    26% {
        transform: scaleY(1) scaleX(1);
    }
    32% {
        bottom: calc(var(--bar2-h) + 18px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    38% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar3-h) + 28px);
        transform: scaleY(1) scaleX(1);
    }
    44% {
        bottom: calc(var(--bar3-h) + 10px);
        transform: scaleY(1) scaleX(1);
    }
    48% {
        bottom: calc(var(--bar3-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    52% {
        transform: scaleY(1) scaleX(1);
    }
    58% {
        bottom: calc(var(--bar3-h) + 18px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    64% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar4-h) + 28px);
        transform: scaleY(1) scaleX(1);
    }
    70% {
        bottom: calc(var(--bar4-h) + 10px);
        transform: scaleY(1) scaleX(1);
    }
    74% {
        bottom: calc(var(--bar4-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    78% {
        transform: scaleY(1) scaleX(1);
    }
    84% {
        bottom: calc(var(--bar4-h) + 18px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    90% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar5-h) + 28px);
        transform: scaleY(1) scaleX(1);
    }
    96% {
        bottom: calc(var(--bar5-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    100% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
}

@keyframes dotClimbPhysics {
    /* Bar 1 */
    0% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
    7% {
        bottom: calc(var(--bar1-h) + 18px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    13% {
        bottom: calc(var(--bar1-h) + 22px);
        transform: scaleY(1) scaleX(1);
    }
    20% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar2-h) + 22px);
        transform: scaleY(1) scaleX(1);
    }
    28% {
        bottom: calc(var(--bar2-h) + 10px);
        transform: scaleY(1) scaleX(1);
    }
    32% {
        bottom: calc(var(--bar2-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    36% {
        transform: scaleY(1) scaleX(1);
    }
    /* Bar 3 */
    40% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar3-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
    47% {
        bottom: calc(var(--bar3-h) + 18px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    53% {
        bottom: calc(var(--bar3-h) + 22px);
        transform: scaleY(1) scaleX(1);
    }
    60% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar4-h) + 22px);
        transform: scaleY(1) scaleX(1);
    }
    68% {
        bottom: calc(var(--bar4-h) + 10px);
        transform: scaleY(1) scaleX(1);
    }
    72% {
        bottom: calc(var(--bar4-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    76% {
        transform: scaleY(1) scaleX(1);
    }
    /* Bar 5 */
    80% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar5-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
    87% {
        bottom: calc(var(--bar5-h) + 18px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    93% {
        bottom: calc(var(--bar5-h) + 22px);
        transform: scaleY(1) scaleX(1);
    }
    100% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
}

@keyframes dotClimbPhysicsRefined {
    0% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
    8% {
        bottom: calc(var(--bar1-h) + 24px);
        transform: scaleY(1.15) scaleX(0.92);
    }
    12% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar2-h) + 28px);
        transform: scaleY(1) scaleX(1);
    }
    20% {
        bottom: calc(var(--bar2-h) + 10px);
        transform: scaleY(1) scaleX(1);
    }
    24% {
        bottom: calc(var(--bar2-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    28% {
        transform: scaleY(1) scaleX(1);
    }
    32% {
        bottom: calc(var(--bar2-h) + 24px);
        transform: scaleY(1.15) scaleX(0.92);
    }
    36% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar3-h) + 28px);
        transform: scaleY(1) scaleX(1);
    }
    44% {
        bottom: calc(var(--bar3-h) + 10px);
        transform: scaleY(1) scaleX(1);
    }
    48% {
        bottom: calc(var(--bar3-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    52% {
        transform: scaleY(1) scaleX(1);
    }
    56% {
        bottom: calc(var(--bar3-h) + 24px);
        transform: scaleY(1.15) scaleX(0.92);
    }
    60% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar4-h) + 28px);
        transform: scaleY(1) scaleX(1);
    }
    68% {
        bottom: calc(var(--bar4-h) + 10px);
        transform: scaleY(1) scaleX(1);
    }
    72% {
        bottom: calc(var(--bar4-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    76% {
        transform: scaleY(1) scaleX(1);
    }
    80% {
        bottom: calc(var(--bar4-h) + 24px);
        transform: scaleY(1.15) scaleX(0.92);
    }
    84% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar5-h) + 28px);
        transform: scaleY(1) scaleX(1);
    }
    92% {
        bottom: calc(var(--bar5-h) + 10px);
        transform: scaleY(1) scaleX(1);
    }
    96% {
        bottom: calc(var(--bar5-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    100% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
}

@keyframes dotClimbPhysicsRealistic {
    0% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
    6% {
        bottom: calc(var(--bar1-h) + 18px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    12% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar2-h) + 28px);
        transform: scaleY(1) scaleX(1);
    }
    18% {
        bottom: calc(var(--bar2-h) + 10px);
        transform: scaleY(1) scaleX(1);
    }
    22% {
        bottom: calc(var(--bar2-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    26% {
        transform: scaleY(1) scaleX(1);
    }
    32% {
        bottom: calc(var(--bar2-h) + 18px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    38% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar3-h) + 28px);
        transform: scaleY(1) scaleX(1);
    }
    44% {
        bottom: calc(var(--bar3-h) + 10px);
        transform: scaleY(1) scaleX(1);
    }
    48% {
        bottom: calc(var(--bar3-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    52% {
        transform: scaleY(1) scaleX(1);
    }
    58% {
        bottom: calc(var(--bar3-h) + 18px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    64% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar4-h) + 28px);
        transform: scaleY(1) scaleX(1);
    }
    70% {
        bottom: calc(var(--bar4-h) + 10px);
        transform: scaleY(1) scaleX(1);
    }
    74% {
        bottom: calc(var(--bar4-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    78% {
        transform: scaleY(1) scaleX(1);
    }
    84% {
        bottom: calc(var(--bar4-h) + 18px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    90% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar5-h) + 28px);
        transform: scaleY(1) scaleX(1);
    }
    96% {
        bottom: calc(var(--bar5-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    100% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
}

@keyframes dotClimbPhysicsUltraReal {
    0% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
    4% {
        bottom: calc(var(--bar1-h) + 16px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    10% {
        left: calc(7.5px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc((var(--bar1-h) + var(--bar2-h)) / 2 + 28px);
        transform: scaleY(1) scaleX(1);
    }
    16% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar2-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    18% {
        transform: scaleY(1) scaleX(1);
    }
    22% {
        bottom: calc(var(--bar2-h) + 16px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    28% {
        left: calc(22.5px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc((var(--bar2-h) + var(--bar3-h)) / 2 + 28px);
        transform: scaleY(1) scaleX(1);
    }
    34% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar3-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    36% {
        transform: scaleY(1) scaleX(1);
    }
    40% {
        bottom: calc(var(--bar3-h) + 16px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    46% {
        left: calc(37.5px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc((var(--bar3-h) + var(--bar4-h)) / 2 + 28px);
        transform: scaleY(1) scaleX(1);
    }
    52% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar4-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    54% {
        transform: scaleY(1) scaleX(1);
    }
    58% {
        bottom: calc(var(--bar4-h) + 16px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    64% {
        left: calc(52.5px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc((var(--bar4-h) + var(--bar5-h)) / 2 + 28px);
        transform: scaleY(1) scaleX(1);
    }
    70% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar5-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    72% {
        transform: scaleY(1) scaleX(1);
    }
    80%, 95% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(-60px + 3px);
        transform: scaleY(1) scaleX(1);
    }
    100% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
}

.loader__ball {
    position: absolute;
    width: var(--dot-size);
    height: var(--dot-size);
    background: #b6f500;
    border-radius: 50%;
    z-index: 2;
    animation: dotClimbPhysicsUltraRealBounce 2.5s cubic-bezier(.45,0,.55,1) infinite;
    will-change: transform, left, bottom;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.10);
}

@keyframes dotClimbPhysicsUltraRealBounce {
    0% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1.1) scaleX(0.9);
        opacity: 1;
    }
    4% {
        bottom: calc(var(--bar1-h) + 18px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    10% {
        left: calc(7.5px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc((var(--bar1-h) + var(--bar2-h)) / 2 + 32px);
        transform: scaleY(1.15) scaleX(0.85);
    }
    16% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar2-h) + 3px);
        transform: scaleY(1.2) scaleX(0.8);
    }
    18% {
        transform: scaleY(0.85) scaleX(1.15);
    }
    22% {
        bottom: calc(var(--bar2-h) + 18px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    28% {
        left: calc(22.5px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc((var(--bar2-h) + var(--bar3-h)) / 2 + 32px);
        transform: scaleY(1.15) scaleX(0.85);
    }
    34% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar3-h) + 3px);
        transform: scaleY(1.2) scaleX(0.8);
    }
    36% {
        transform: scaleY(0.85) scaleX(1.15);
    }
    40% {
        bottom: calc(var(--bar3-h) + 18px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    46% {
        left: calc(37.5px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc((var(--bar3-h) + var(--bar4-h)) / 2 + 32px);
        transform: scaleY(1.15) scaleX(0.85);
    }
    52% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar4-h) + 3px);
        transform: scaleY(1.2) scaleX(0.8);
    }
    54% {
        transform: scaleY(0.85) scaleX(1.15);
    }
    58% {
        bottom: calc(var(--bar4-h) + 18px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    64% {
        left: calc(52.5px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc((var(--bar4-h) + var(--bar5-h)) / 2 + 32px);
        transform: scaleY(1.15) scaleX(0.85);
    }
    70% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar5-h) + 3px);
        transform: scaleY(1.2) scaleX(0.8);
    }
    72% {
        transform: scaleY(0.85) scaleX(1.15);
    }
    80% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar5-h) + 18px);
        transform: scaleY(1.3) scaleX(0.7);
    }
    85% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar5-h) + 3px);
        transform: scaleY(0.8) scaleX(1.2);
        opacity: 1;
    }
    90% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar5-h) - 15px);
        transform: scaleY(0.6) scaleX(1.4);
        opacity: 0;
    }
    95% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) - 15px);
        transform: scaleY(0.6) scaleX(1.4);
        opacity: 0;
    }
    100% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1.1) scaleX(0.9);
        opacity: 1;
    }
}

.loader__bar {
    position: absolute;
    bottom: 0;
    width: var(--bar-width);
    background: #fff;
    box-shadow: 1px 1px 0 rgba(0,0,0,.2);
    transition: transform 0.18s cubic-bezier(.45,0,.55,1), height 0.18s cubic-bezier(.45,0,.55,1);
    transform-origin: top;
}

.loader__bar.bounce {
    animation: barCompress 0.22s cubic-bezier(.45,0,.55,1);
}

@keyframes barCompress {
    0% {
        height: 100%;
        transform: translateY(0);
    }
    30% {
        height: 75%;
        transform: translateY(0);
    }
    55% {
        height: 50%;
        transform: translateY(0);
    }
    100% {
        height: 0%;
        transform: translateY(0);
    }
}

.loader__shadow {
    position: absolute;
    left: 0;
    bottom: 0;
    width: var(--dot-size);
    height: 10px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0) 100%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: shadowBounceUltraReal 2.5s cubic-bezier(.45,0,.55,1) infinite;
}

@keyframes shadowBounceUltraReal {
    0% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        width: var(--dot-size);
        opacity: 0.25;
        transform: scaleX(1) scaleY(1);
    }
    4% {
        opacity: 0.18;
        transform: scaleX(1.2) scaleY(0.7);
    }
    10% {
        left: calc(7.5px + (var(--bar-width) - var(--dot-size)) / 2);
        opacity: 0.12;
        transform: scaleX(1.4) scaleY(0.5);
    }
    16% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2);
        opacity: 0.25;
        transform: scaleX(1) scaleY(1);
    }
    22% {
        opacity: 0.18;
        transform: scaleX(1.2) scaleY(0.7);
    }
    28% {
        left: calc(22.5px + (var(--bar-width) - var(--dot-size)) / 2);
        opacity: 0.12;
        transform: scaleX(1.4) scaleY(0.5);
    }
    34% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2);
        opacity: 0.25;
        transform: scaleX(1) scaleY(1);
    }
    40% {
        opacity: 0.18;
        transform: scaleX(1.2) scaleY(0.7);
    }
    46% {
        left: calc(37.5px + (var(--bar-width) - var(--dot-size)) / 2);
        opacity: 0.12;
        transform: scaleX(1.4) scaleY(0.5);
    }
    52% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2);
        opacity: 0.25;
        transform: scaleX(1) scaleY(1);
    }
    58% {
        opacity: 0.18;
        transform: scaleX(1.2) scaleY(0.7);
    }
    64% {
        left: calc(52.5px + (var(--bar-width) - var(--dot-size)) / 2);
        opacity: 0.12;
        transform: scaleX(1.4) scaleY(0.5);
    }
    70% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        opacity: 0.25;
        transform: scaleX(1) scaleY(1);
    }
    80%, 95% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        opacity: 0.08;
        transform: scaleX(1.7) scaleY(0.4);
    }
    100% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        opacity: 0.25;
        transform: scaleX(1) scaleY(1);
    }
}

/* Move the dot to the correct bar using JS or by duplicating the dot for each bar with different delays if needed. */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 3;
}

/* Particle Background */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    display: block;
}

.wave-o {
    display: inline-block;
    color: #a3d611;
    transform-origin: center bottom;
    animation: bouncing-ball 1.8s ease-in-out infinite;
    position: relative;
    background: none !important;
    background-clip: initial !important;
}

.nav-logo .wave-o:nth-of-type(1) {
    animation-delay: 0s;
}

.nav-logo .wave-o:nth-of-type(2) {
    animation-delay: 0.3s;
}

@keyframes bouncing-ball {
    0%, 100% {
        transform: translateY(0) scale(1, 1);
    }
    25% {
        transform: translateY(-12px) scale(1, 1.1);
    }
    50% {
        transform: translateY(0) scale(1, 0.9);
    }
    75% {
        transform: translateY(-6px) scale(1, 1.05);
    }
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
    border-bottom: none !important;
    transition: none !important;
}

#navbar::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1.5px solid var(--border-color);
    opacity: 0;
    transform: translateY(-24px);
    transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
    z-index: 0;
    pointer-events: none;
}

#navbar.scrolled::before {
    opacity: 1;
    transform: translateY(0);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
    z-index: 1;
}

.nav-links {
    position: relative;
    display: flex !important;
    gap: 1rem !important;
    align-items: center;
    margin-left: auto;
    justify-content: flex-end;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1003 !important;
    transition: none !important;
}

/* Elegant navigation indicator */
.nav-indicator {
    position: absolute;
    bottom: -2px;
    height: 2px;
    background: #8b5cf6;
    border-radius: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 6px rgba(139, 92, 246, 0.4);
    z-index: 10;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-purple);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    margin-left: auto;
    position: relative;
    z-index: 1002;
}

.nav-hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-secondary);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    width: 70vw;
    max-width: 320px;
    height: calc(100vh - 60px);
    background: var(--bg-secondary);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s cubic-bezier(.4,0,.2,1);
    transform: translateX(100%);
    opacity: 0;
    border-left: 1px solid rgba(139, 92, 246, 0.2);
}
.mobile-menu.active {
    display: flex;
    transform: translateX(0);
    opacity: 1;
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

body.no-scroll {
    overflow: hidden !important;
}

.mobile-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    width: 100%;
    text-align: left;
}

.mobile-link:hover {
    color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(5px);
}

.mobile-link:active {
    background: rgba(139, 92, 246, 0.2);
    transform: translateX(3px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 2rem;
    overflow: visible !important;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.55) 0%, rgba(31, 41, 55, 0.32) 50%, rgba(22, 33, 62, 0.45) 100%);
    backdrop-filter: blur(7px);
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.22) 0%, rgba(31, 41, 55, 0.18) 50%, rgba(22, 33, 62, 0.22) 100%);
    z-index: 2;
    backdrop-filter: blur(5px);
}

.hero-content {
    z-index: 6;
    max-width: 800px;
    position: relative;
    overflow: visible !important;
}

#heroParticleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    display: block;
}

.hero-title {
    position: relative;
    font-family: 'Space Grotesk', 'Montserrat', 'Inter', Arial, sans-serif;
    font-size: clamp(3.5rem, 10vw, 6.5rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
    margin-top: 0.3rem;
    background: linear-gradient(120deg,
        #a259ff 0%,
        #38cfff 12%,
        #43e97b 24%,
        #f9ea3c 36%,
        #ff6a00 48%,
        #ff3cac 60%,
        #fa8bff 72%,
        #2bd2ff 84%,
        #a259ff 100%
    );
    background-size: 600% 600%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: heroGradientMove 10s linear infinite;
    overflow: visible;
}

.hero-title::after {
    content: '';
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.1) 60%, transparent 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    mix-blend-mode: lighten;
    animation: heroGlossMove 3.5s cubic-bezier(.4,0,.2,1) infinite;
    z-index: 2;
}

@keyframes heroGlossMove {
    0% {
        background-position: -120% 0%;
        opacity: 0.1;
    }
    10% {
        opacity: 0.7;
    }
    40% {
        background-position: 120% 0%;
        opacity: 0.7;
    }
    60% {
        opacity: 0.1;
    }
    100% {
        background-position: 120% 0%;
        opacity: 0.1;
    }
}

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

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.cursor {
    animation: blink 1s infinite;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.9s both;
    margin-top: 4.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

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

/* LinkedIn - Brand Blue */
.social-link[href*="linkedin"]:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

/* GitHub - Dark Theme */
.social-link[href*="github"]:hover {
    background: #333333;
    color: white;
    border-color: #333333;
}

/* Facebook - Facebook Blue */
.social-link[href*="facebook"]:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

/* Twitter/X - Twitter Blue */
.social-link[href*="twitter"]:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

/* Quora - Quora Red */
.social-link[href*="quora"]:hover {
    background: #b92b27;
    color: white;
    border-color: #b92b27;
}

/* IMDB - IMDB Yellow */
.social-link[href*="imdb"]:hover {
    background: #f5c518;
    color: #333333;
    border-color: #f5c518;
}

/* Email - Gradient Hover Effect */
.social-link[href*="mailto"]:hover {
    background: #0b69c7;
    color: #ffffff;
    border-color: #0b69c7;
}

/* Email Icon Hover Effect for Contact Section */
.contact-section .contact-item:nth-child(1) .contact-icon {
    transition: all 0.3s ease !important;
}


/* Clean Email Icon */
/* Complete Email Icon with Body and Flap */
.contact-section .contact-item:nth-child(1) .contact-icon .fa-envelope {
    color: transparent;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Email icon body - simple envelope */
.contact-section .contact-item:nth-child(1) .contact-icon .fa-envelope::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 16px;
    background: #23a9eb;
    border: none;
    border-radius: 2px;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}



/* Envelope flap animation */
.contact-section .contact-item:nth-child(1) .contact-icon .fa-envelope::before {
    content: '';
    position: absolute;
    top: calc(50% - 3px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ffffff;
    border-top-color: #0064b9;
    transition: transform 0.3s ease;
    transform-origin: top;
    z-index: 2;
    margin-top: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Hover animation - flap opens upward from its position */
.contact-section .contact-item:nth-child(1):hover .contact-icon .fa-envelope::before {
    transform: translateX(-50%) translateY(-50%) rotateX(180deg);
}

/* Hover effect - only flap animation, no floating */
.contact-section .contact-item:nth-child(1):hover .contact-icon .fa-envelope {
    /* Flap animation only - no floating effect */
}

@keyframes iconFloatLoop {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    20% {
        transform: translateY(-6px) scale(1.05);
        opacity: 0.9;
    }
    40% {
        transform: translateY(-10px) scale(1.08);
        opacity: 0.8;
    }
    60% {
        transform: translateY(-8px) scale(1.05);
        opacity: 0.9;
    }
    80% {
        transform: translateY(-4px) scale(1.02);
        opacity: 0.95;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-purple);
    border: 2px solid var(--accent-purple);
}

.btn-secondary:hover {
    background: var(--accent-purple);
    color: white;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: auto;
    position: static;
    pointer-events: none;
    margin-top: 2.5rem;
    overflow: visible !important;
    z-index: auto;
}

.scroll-indicator--visible {
    display: flex;
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
}

.section-title i {
  font-size: 2.1rem;
  margin-right: 0.7rem;
  vertical-align: middle;
  color: #3b82f6;
  background: linear-gradient(135deg, #8b5cf6 30%, #3b82f6 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 6px rgba(59,130,246,0.18));
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), filter 0.3s cubic-bezier(.4,0,.2,1);
}
.section-title i:hover {
  transform: scale(1.18) rotate(-8deg);
  filter: drop-shadow(0 4px 16px rgba(139,92,246,0.25));
}

/* Exclusive style for Get In Touch icon */
.section-title .contact-exclusive-icon {
  font-size: 2.5rem;
  margin-right: 0.8rem;
  vertical-align: middle;
  background: linear-gradient(90deg, #06b6d4 10%, #3b82f6 50%, #8b5cf6 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 18px rgba(6,182,212,0.25)) drop-shadow(0 2px 8px rgba(59,130,246,0.18));
  animation: contactIconPulse 1.6s infinite alternate cubic-bezier(.4,0,.2,1);
}
@keyframes contactIconPulse {
  0% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 4px 18px rgba(6,182,212,0.25)); }
  60% { transform: scale(1.13) rotate(8deg); filter: drop-shadow(0 8px 32px rgba(59,130,246,0.25)); }
  100% { transform: scale(1.08) rotate(-6deg); filter: drop-shadow(0 4px 18px rgba(139,92,246,0.25)); }
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.035) 0%, rgba(22, 33, 62, 0.045) 50%, rgba(31, 41, 55, 0.035) 100%);
    backdrop-filter: blur(1px);
    position: relative;
}
.about-section::before {
    content: none !important;
    display: none !important;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

.stat-card i {
    font-size: 2.2rem;
    color: var(--accent-purple);
    margin-bottom: 1rem;
    display: block;
}

.about-image {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

.profile-image-container {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    position: relative;
    overflow: hidden;
    margin-left: 6rem !important;
    margin-right: auto !important;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    left: 2rem;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
}

/* Professional click indicator */


/* No hover effects */
.liquid-swipe-container {
    position: relative;
}

/* Enhanced liquid effect with multiple layers */
.liquid-swipe-overlay {
    background: linear-gradient(45deg, 
        var(--accent-purple) 0%, 
        var(--accent-blue) 25%, 
        var(--accent-purple) 50%, 
        var(--accent-blue) 75%, 
        var(--accent-purple) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 2s ease infinite;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.liquid-swipe-overlay.active {
    transform: translateX(0);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.8);
}



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

/* Professional animation keyframes */
@keyframes gentle-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.005);
        opacity: 0.95;
    }
}

@keyframes gentle-success {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes professional-fade {
    0% {
        opacity: 0;
        transform: scale(0.95) rotate(-2deg);
        filter: brightness(0.8) contrast(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: brightness(1) contrast(1);
    }
}

.about-section .contact-info {
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 3rem;
    margin-top: 0;
    width: 150%;
    max-width: 150%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    left: 0;
    right: 0;
    transform: translateX(0);
    float: none;
    clear: both;
}

.about-section .contact-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.25rem;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-section .contact-info strong {
    color: var(--accent-purple);
}

.about-section .contact-info strong::after {
    content: ": ";
    margin-right: 8px;
}

.about-section .contact-info a {
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.about-section .contact-info a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.about-section .contact-info a:hover {
    color: #667eea !important;
    transform: translateY(-1px);
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.about-section .contact-info a:hover::before {
    width: 100%;
}

.about-section .contact-info a:active {
    transform: translateY(0);
}

/* General contact-info styling for contact section (no borders) */
.contact-info {
    /* No borders or background for contact section */
}

/* Force perfect alignment for Personal Information section */
.about-image .personal-info-title,
.about-image .contact-info {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateX(1cm) !important;
}

/* Force proper sizing for contact info box */
.about-image .contact-info {
    width: 150% !important;
    max-width: 105% !important;
    padding: 3rem !important;
}

/* Ensure cursor is always visible on interactive elements */
a, button, .nav-link, .mobile-link, .social-link, .btn-primary, .btn-secondary, .project-link, .skill-card, .achievements-card, .education-card, .timeline-content, .about-section .contact-info a, .footer-social-link, .developer-link, .scroll-to-top-btn, .nav-hamburger {
    cursor: pointer;
}

/* Ensure cursor is visible on form elements */
input, textarea, select, label {
    cursor: text;
}

/* Ensure cursor is visible on draggable elements */
img, video {
    cursor: default;
}

.personal-info-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0;
    margin-top: 2rem;
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
    width: 105%;
    max-width: 105%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    left: 0;
    right: 0;
    transform: translateX(0);
    display: block;
    float: none;
    clear: both;
}

/* Achievements Section */
.achievements-section {
    background: rgba(31, 41, 55, 0.045);
    backdrop-filter: blur(2px);
}

.achievements-section .section-title {
    margin-bottom: 2rem;
    position: relative;
}

.achievements-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.achievements-card {
    background: rgba(31, 41, 55, 0.13);
    backdrop-filter: blur(2px);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.achievements-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
}

.achievements-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--accent-purple);
}

.achievements-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.achievements-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Skills Section */
.skills-section .section-title {
    margin-bottom: 1.5rem;
}

.skills-description {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 2rem;
    font-style: italic;
    position: relative;
    margin-bottom: 1.6rem;
}

.skills-description::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: rgba(31, 41, 55, 0.13);
    backdrop-filter: blur(2px);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    /* Ensure no internal lines appear */
    position: relative;
}

.skill-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    /* Ensure no lines appear */
    border: none;
    background: none;
}

.skill-header h3 {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.skill-level {
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    position: relative;
    min-width: 100px;
    text-align: center;
    /* Ensure no lines appear */
    border: none;
    background: none;
}



.skill-level.basic {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.skill-level.intermediate {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.skill-level.advanced {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Skill level text animation */
.skill-level-text {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.9s ease 0.6s;
}

.skill-level.animate .skill-level-text {
    opacity: 1;
    transform: translateX(0);
}

.skill-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    width: 0;
    transition: width 1s ease;
}

.skill-level-text {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #222;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 2;
    background: none;
    padding: 0;
    opacity: 1;
}

/* Hide any horizontal lines that might appear in skill cards */
.skill-card::before,
.skill-card::after,
.skill-header::before,
.skill-header::after,
.skill-level::before,
.skill-level::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* HTML5 Progress Bar Styles */
.html5-progress-container {
    margin: 2rem 0;
    width: 100%;
}

.html5-progress-bar {
    position: relative;
    width: 100%;
    height: 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    overflow: visible;
    border: 1px solid var(--border-color);
}

.html5-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 6px;
    width: 0;
    transition: width 3s ease-in-out;
    position: relative;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.html5-progress-fill.animate {
    width: 97%;
}

.html5-callout {
    position: absolute;
    top: -30px;
    right: 3%;
    background: var(--accent-purple);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 3s;
    z-index: 10;
}

.html5-progress-fill.animate + .html5-callout {
    opacity: 1;
    transform: translateY(0);
}

/* Progress Bars Grid */
.progress-bars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    background: rgba(31, 41, 55, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.progress-bars-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.05) 0%, 
        rgba(59, 130, 246, 0.05) 50%, 
        rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
    z-index: 0;
}

.progress-bars-grid > * {
    position: relative;
    z-index: 1;
}

.progress-bar-container {
    text-align: center;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    overflow: visible;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    border-radius: 6px;
    width: 0;
    transition: width 3s ease-in-out;
    position: relative;
    box-shadow: 0 0 5px rgba(139, 92, 246, 0.15);
}

.progress-fill.animate {
    width: var(--target-width);
}

.progress-callout {
    position: absolute;
    top: -30px;
    right: 0;
    background: var(--accent-purple);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 3s;
    z-index: 10;
    white-space: nowrap;
}

/* Position Intermediate callout at the end of the progress bar */
.progress-callout.skill-intermediate {
    right: 0;
    transform: translateX(100%) translateY(10px);
}

.progress-fill.animate + .progress-callout.skill-intermediate {
    transform: translateX(100%) translateY(0);
}

/* Position Intermediate callout at the end of the progress fill */
.progress-bar .progress-fill[data-level="Intermediate"] + .progress-callout {
    right: auto;
    left: var(--target-width);
    transform: translateX(-50%) translateY(10px);
    transition: all 0.5s ease 3s;
}

.progress-bar .progress-fill[data-level="Intermediate"].animate + .progress-callout {
    transform: translateX(-50%) translateY(0);
}

/* Position Basic callout at the end of the progress fill */
.progress-bar .progress-fill[data-level="Basic"] + .progress-callout {
    right: auto;
    left: var(--target-width);
    transform: translateX(-50%) translateY(10px);
    transition: all 0.5s ease 3s;
}

.progress-bar .progress-fill[data-level="Basic"].animate + .progress-callout {
    transform: translateX(-50%) translateY(0);
}

/* Skill level background colors */
.skill-advanced {
    background: #9CFF2E !important;
    color: black !important;
}

.skill-intermediate {
    background: #FF9A00 !important;
    color: black !important;
}

.skill-basic {
    background: #F2F9FF !important;
    color: black !important;
}



/* Callouts appear after progress bar completes */
.progress-fill.animate + .progress-callout {
    opacity: 1;
    transform: translateY(0);
}

.language-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: left;
    margin-left: 0;
}

/* Projects Section */
.projects-section {
    background: rgba(31, 41, 55, 0.045);
    backdrop-filter: blur(2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(31, 41, 55, 0.13);
    backdrop-filter: blur(2px);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--accent-purple);
    transform: scale(1.02);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.22), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-purple);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:not(.secondary) {
    background: var(--gradient-primary);
    color: white;
}

.project-link.secondary {
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.project-link:hover {
    transform: translateY(-2px);
}

.project-link.secondary:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

/* Experience Section */
.experience-section {
    background: rgba(17, 24, 39, 0.38);
    backdrop-filter: blur(2px);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 52%;
    padding-right: 2.5rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 52%;
    margin-right: 0;
    padding-left: 2.5rem;
    text-align: left;
}

.timeline-content {
    background: rgba(31, 41, 55, 0.13);
    backdrop-filter: blur(2px);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2.5rem;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.timeline-content::before {
    content: '\f0b1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FAF9EE;
    font-size: 24px;
    z-index: 10;
    background: rgba(250, 249, 238, 0.5);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -40px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -40px;
}

.timeline-year,
.timeline-year.corporate-office {
    font-weight: normal;
}

/* Make corporate office address white */
.timeline-year.corporate-office {
    color: var(--text-primary);
    margin-bottom: 0.1rem;
}

/* Add extra spacing for Time Space location text */
.time-space-box .timeline-year.corporate-office {
    margin-bottom: 0.8rem;
}

.timeline-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--accent-blue);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.responsibilities {
    margin-bottom: 1.5rem;
}

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

.responsibilities li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.responsibilities li::before {
    content: '•';
    color: #387ae6;
    font-size: 1.7rem;
    font-weight: bold;
    position: absolute;
    left: 0.2rem;
    top: -0.1rem;
    line-height: 1;
}

.responsibilities li:last-child {
    margin-bottom: 0;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-skills {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
}

.timeline-skills span {
    background: #3B38A0;
    color: var(--accent-purple);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
}

/* Make specific skill tags white */
.timeline-skills span.white-skill {
    color: var(--text-primary);
}

/* Education Section */
.education-section {
    background: rgba(31, 41, 55, 0.045);
    backdrop-filter: blur(2px);
}

.education-section .section-title {
    margin-bottom: 1.5rem;
}

.education-description {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 1200px;
    margin: 1.5rem auto 3rem auto;
    padding: 0 1rem;
    font-style: italic;
    position: relative;
    margin-bottom: 1rem;
}

.education-description::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0.5rem 0;
    max-width: 2000px;
    margin: 0 auto;
}

.education-card {
    background: rgba(31, 41, 55, 0.13);
    backdrop-filter: blur(2px);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2.5rem 3.5rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    transition: all 0.3s ease;
    min-height: auto;
    height: auto;
}

.education-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
}

.education-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-purple);
    flex-shrink: 0;
    align-self: flex-start;
    position: relative;
}

.education-icon::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-purple), rgba(139, 92, 246, 0.5));
    transition: height 0.3s ease;
}

.education-card:hover .education-icon::after {
    height: 38px; /* 1 cm = approximately 38px */
}

.education-icon::before {
    content: '';
    position: absolute;
    top: calc(100% + 38px); /* Position at the end of the line */
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #FF0066;
    background: url('assets/img/uits_logo.png') center center no-repeat;
    background-size: 60px 60px;
    opacity: 1;
    z-index: 10;
    visibility: hidden;
}

.education-card:hover .education-icon::before {
    visibility: visible;
}

/* Dhaka City International College Logo */
.education-card:nth-of-type(2) .education-icon::before {
    background: url('assets/img/dcic_logo.jpeg') center center no-repeat;
    background-size: 60px 60px;
}

/* Motijheel Govt. Boys' High School Logo */
.education-card:nth-of-type(3) .education-icon::before {
    background: url('assets/img/mgbhs_logo.jpg') center center no-repeat;
    background-size: 60px 60px;
}

/* Shantibagh High School Logo */
.education-card:nth-of-type(4) .education-icon::before {
    background: url('assets/img/shs_logo.png') center center no-repeat;
    background-size: 60px 60px;
}

.education-content h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.education-content h4 {
    color: var(--accent-blue);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.education-content h4 .university-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease 0.1s;
}

.education-content h4 .university-link:hover {
    color: #8b5cf6;
}

.education-content h4 .university-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.education-content h4 .university-link:hover::after {
    width: 100%;
}

.education-content h4 .college-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease 0.1s;
}

.education-content h4 .college-link:hover {
    color: #8b5cf6;
}

.education-content h4 .college-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.education-content h4 .college-link:hover::after {
    width: 100%;
}

.education-content h4 .school-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease 0.1s;
}

.education-content h4 .school-link:hover {
    color: #8b5cf6;
}

.education-content h4 .school-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.education-content h4 .school-link:hover::after {
    width: 100%;
}

.education-content h4 .primary-school-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease 0.1s;
}

.education-content h4 .primary-school-link:hover {
    color: #8b5cf6;
}

.education-content h4 .primary-school-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.education-content h4 .primary-school-link:hover::after {
    width: 100%;
}

.education-year {
    color: var(--accent-purple);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.education-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    overflow: visible;
    display: block;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.68) 0%, rgba(30, 41, 59, 0.68) 100%);
    position: relative;
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    min-height: auto;
}

.contact-info {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    overflow: visible;
    min-height: auto;
    height: auto;
}

.contact-info h4 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: left;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: left;
    line-height: 1.3;
}

.contact-info p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    line-height: 1.8;
    text-align: justify !important;
    max-width: 100%;
    font-weight: 400;
    letter-spacing: 0.015em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    text-overflow: unset;
    display: block;
    white-space: normal !important;
    word-break: normal;
    hyphens: auto;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-start;
    margin-top: 0.75rem;
    margin-right: 1rem;
    padding-right: 9rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    width: 100%;
    padding: 0.5rem 0;
}

.contact-icon {
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    flex-shrink: 0;
    font-size: 1rem;
    margin-right: 1rem;
}

.contact-section .contact-item:nth-child(1) .contact-icon {
    background: #C71E64 !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.contact-section .contact-item:nth-child(2) .contact-icon {
    background: #69d52c !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.contact-section .contact-item:nth-child(2):hover .contact-icon i {
    animation: phoneRing 0.6s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.contact-section .contact-item:nth-child(3) .contact-icon {
    background: #FCF8DD !important;
    color: #fff !important;
    transition: all 0.3s ease;
    font-size: 0.7rem;
}

.contact-section .contact-item:nth-child(3):hover .contact-icon i {
    animation: locationFloat 2s ease-in-out infinite;
}

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

.contact-section .contact-item:nth-child(4) .contact-icon {
    background: #E6E6E6 !important;
    color: #799EFF !important;
    transition: all 0.3s ease;
}

.contact-section .contact-item:nth-child(4) .contact-icon.clicked i {
    animation: downloadRotate 0.8s ease-in-out;
}

.contact-section .contact-item:nth-child(4):hover .contact-icon i {
    animation: downloadHover 1.2s ease-in-out infinite;
    transform: translateY(0);
}

/* Contact item spacing - overriding general rules */
.contact-section .contact-item {
    gap: 1rem !important;
    padding: 0.75rem 0 !important;
}

.contact-section .contact-item .contact-icon {
    margin-right: 0.5rem !important;
}

/* Even more specific contact item spacing */
.contact-details .contact-item {
    gap: 0.75rem !important;
    padding: 0.5rem 0 !important;
}

.contact-details .contact-item .contact-icon {
    margin-right: 0.5rem !important;
}

/* Maximum specificity with aggressive spacing */
.contact-section .contact-details .contact-item {
    gap: 0.75rem !important;
    padding: 0.5rem 0 !important;
}

.contact-section .contact-details .contact-item .contact-icon {
    margin-right: 0.5rem !important;
}

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

@keyframes downloadHover {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes emailPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.contact-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 40px;
    height: auto;
}

.contact-text h4 {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.01rem !important;
    text-align: left;
}

.contact-text p {
    color: var(--text-muted);
    margin: 0;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-purple);
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.contact-link:hover::after {
    width: 100%;
}

.contact-form {
    padding: 2rem;
    background: rgba(31, 41, 55, 0.3);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-left: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(55, 65, 81, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #9f7aea 0%, #4f8bf6 100%);
}

/* Toast Notification */
.toast {
    position: fixed !important;
    bottom: 8.5rem !important;
    top: auto !important;
    right: 2rem !important;
    left: auto !important;
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transform: translateX(120%);
    transition: opacity 0.5s, transform 0.5s;
}

.toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.toast-content i {
    color: var(--accent-green);
}

/* Scroll to Top Button */


/* Scroll to Top Button */
.scroll-to-top-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-to-top-btn:hover i {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .scroll-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top-btn i {
        font-size: 1rem;
    }
    
    /* Footer circles mobile adjustments */
    .footer-circle {
        opacity: 0.6;
    }
    
    .circle-1, .circle-3, .circle-6, .circle-8 {
        width: 300px;
        height: 300px;
    }
    
    .circle-2, .circle-4, .circle-5, .circle-7, .circle-9, .circle-10 {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top-btn {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    
    .scroll-to-top-btn i {
        font-size: 0.9rem;
    }
}

/* Preloader Responsive Design */


@media (max-width: 480px) {
    .preloader-container {
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        text-align: center;
    }
    
    .loader {
        width: 80px;
        height: 80px;
        margin-bottom: 30px;
    }
    
    .loader__bar {
        width: 8px;
    }
    
    .loader__bar:nth-child(1) { left: 0px; }
    .loader__bar:nth-child(2) { left: 15px; }
    .loader__bar:nth-child(3) { left: 30px; }
    .loader__bar:nth-child(4) { left: 45px; }
    .loader__bar:nth-child(5) { left: 60px; }
    
    .loader__ball {
        width: 12px;
        height: 12px;
        left: 34px;
    }
    
    .loading-message {
        font-size: 1rem;
        max-width: 25000px;
        margin: 25px 0 20px 0;
        line-height: 1.6;
    }
    
    .did-you-know-section {
        margin: 25px 0 20px 0;
        text-align: center;
    }
    
    .did-you-know-text {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
        margin-bottom: 15px;
    }
    
    .facts-section {
        margin-top: 20px;
        max-width: 400px;
    }
    
    .fact-container {
        padding: 20px;
        margin: 0 auto;
    }
    
    .fact-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    
    .fact-source {
        font-size: 0.85rem;
        opacity: 0.8;
    }
    

}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

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

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(-2px);
    }
    40% {
        transform: translateY(-6px);
    }
    60% {
        transform: translateY(-4px);
    }
}



/* Quote Section */
.quote-section {
    background: rgba(31, 41, 55, 0.07);
    padding: 6rem 0 6rem 0;
    position: relative;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    pointer-events: none;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 480px;
    height: 480px;
    /* Further increased height to ensure author name is not clipped */
}

/* Remove shine from .quote-content */
.quote-content::after {
    display: none !important;
}

.author-name {
    position: relative;
    overflow: hidden;
}

.author-name::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -80%;
    width: 160%;
    height: 220%;
    background: linear-gradient(120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.7) 40%,
        rgba(255,255,255,1) 50%,
        rgba(255,255,255,0.7) 60%,
        rgba(255,255,255,0) 100%
    );
    pointer-events: none;
    transform: skewX(-24deg);
    z-index: 2;
    opacity: 1;
    filter: blur(1.5px) brightness(1.3) saturate(1.2);
}

.author-name.shine-animate::after {
    animation: quoteShine 3.6s cubic-bezier(.4,0,.2,1) 1 forwards;
}

@keyframes quoteShine {
    0% {
        left: -80%;
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent-purple);
    margin-bottom: 2rem;
    opacity: 0.7;
    animation: pulse 2s infinite;
}

.quote-text {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 1rem;
    min-height: 160px;
    max-height: none;
    overflow: visible;
    /* Show full quote, keep area stable, no scrollbar */
}

.quote-text::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    position: relative;
}

.author-name {
    font-family: 'Pacifico', cursive, sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    position: relative;
    padding: 1rem 2rem;
    border-radius: 2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
    overflow: hidden;
    /* Remove box-shadow and any glow effect */
    box-shadow: none !important;
}

.author-name::after {
    display: none !important;
}


/* Footer Animated Circles */
.footer-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.footer-circle {
    position: absolute;
    border-radius: 50% / 50%;
    mix-blend-mode: multiply;
    animation: circle-float 20s linear infinite;
    opacity: 0.7;
    cursor: pointer;
    transition: all 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Remove transform to fix clickable area positioning */
    z-index: 3;
    /* Ensure entire circle area is clickable */
    pointer-events: auto;
    /* Ensure the entire circle area is clickable by setting proper dimensions */
    box-sizing: none;
    /* Additional properties to ensure full clickability */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.footer-circle.spread {
    animation-play-state: paused;
}

/* Dynamic spread positions - will be set by JavaScript */
.footer-circle.spread {
    animation-play-state: paused;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 3s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Slower spreading transition for smooth effect */
}

/* When circles are moving, allow JavaScript to control transitions */
.footer-circle.spread.moving {
    /* JavaScript will set specific transition properties */
}

/* Ensure smooth transitions for all position changes */
.footer-circle {
    transition: all 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Allow JavaScript to override transitions for specific movements */
.footer-circle.spread.moving {
    transition: none !important;
}



/* Hover effect to show circles are interactive */
.footer-circle:hover {
    opacity: 1;
    transform: scale(1.1);
    transition: all 0.3s ease;
    cursor: pointer;
    /* Ensure hover state maintains clickability */
    pointer-events: auto;
}

/* Active state when clicking */
.footer-circle:active {
    transform: scale(0.95);
    transition: all 0.1s ease;
    /* Ensure active state maintains clickability */
    pointer-events: auto;
}

/* Debug: Make sure spread state is visible */
.footer-circle.spread {
    animation-play-state: paused;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.circle-1 {
    width: 600px;
    height: 450px;
    background: #ff6b6b;
    top: calc(50% - 225px);
    left: calc(50% - 300px);
    animation-duration: 25s;
    animation-delay: 0s;
}

.circle-2 {
    width: 560px;
    height: 400px;
    background: #4ecdc4;
    top: calc(50% - 200px);
    left: calc(50% - 280px);
    animation-duration: 30s;
    animation-delay: 2s;
}

.circle-3 {
    width: 640px;
    height: 460px;
    background: #45b7d1;
    top: calc(50% - 230px);
    left: calc(50% - 320px);
    animation-duration: 28s;
    animation-delay: 4s;
}

.circle-4 {
    width: 520px;
    height: 380px;
    background: #96ceb4;
    top: calc(50% - 200px);
    left: calc(50% - 260px);
    animation-duration: 32s;
    animation-delay: 6s;
}

.circle-5 {
    width: 580px;
    height: 420px;
    background: #feca57;
    top: calc(50% - 200px);
    left: calc(50% - 290px);
    animation-duration: 26s;
    animation-delay: 8s;
}

.circle-6 {
    width: 600px;
    height: 440px;
    background: #ff9ff3;
    top: calc(50% - 220px);
    left: calc(50% - 300px);
    animation-duration: 29s;
    animation-delay: 10s;
}

.circle-7 {
    width: 500px;
    height: 360px;
    background: #54a0ff;
    top: calc(50% - 180px);
    left: calc(50% - 250px);
    animation-duration: 35s;
    animation-delay: 12s;
}

.circle-8 {
    width: 660px;
    height: 480px;
    background: #5f27cd;
    top: calc(50% - 240px);
    left: calc(50% - 330px);
    animation-duration: 24s;
    animation-delay: 14s;
}

.circle-9 {
    width: 540px;
    height: 390px;
    background: #00d2d3;
    top: calc(50% - 200px);
    left: calc(50% - 270px);
    animation-duration: 33s;
    animation-delay: 16s;
}

.circle-10 {
    width: 580px;
    height: 420px;
    background: #ff9f43;
    top: calc(50% - 210px);
    left: calc(50% - 250px);
    animation-duration: 27s;
    animation-delay: 18s;
}

@keyframes circle-float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -20px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 30px) rotate(180deg);
    }
    75% {
        transform: translate(25px, 15px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* About Myself Section - Text Style Only */
.about-myself-section .section-title {
    margin-bottom: 2rem;
}

.about-myself-section p {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 1rem;
    min-height: 160px;
    max-height: none;
    overflow: visible;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-myself-section p::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Certifications Section */
.certifications-section .section-title {
    margin-bottom: 2rem;
}

.certifications-section p {
    position: relative;
}

.certifications-section p::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Footer */
.footer {
    background: black;
    padding: 6rem 0 2rem 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}







@keyframes spinEffect {
    0% {
        transform: rotate(0deg) scale(1);
    }
    20% {
        transform: rotate(72deg) scale(1.15);
    }
    40% {
        transform: rotate(144deg) scale(0.9);
    }
    60% {
        transform: rotate(216deg) scale(1.1);
    }
    80% {
        transform: rotate(288deg) scale(0.95);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}





/* Water wave animation container */
.footer-multiwave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 90px;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
    line-height: 0;
}


@keyframes waveMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1200px 0;
    }
}

/* Ensure footer content stays above waves and header effect */
.footer .container {
    position: relative;
    z-index: 2;
}

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

.footer-social {
    margin-bottom: 2.5rem;
    position: relative;
}

.footer-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
}

.footer-social-link:hover {
    background: #8b5cf6;
    color: #ffffff;
    transform: translateY(-3px);
    border-color: #8b5cf6;
}

/* LinkedIn - Brand Blue */
.footer-social-link[href*="linkedin"]:hover {
    background: #0077b5;
    border-color: #0077b5;
}

/* GitHub - Dark Theme */
.footer-social-link[href*="github"]:hover {
    background: #333333;
    border-color: #333333;
}

/* Facebook - Facebook Blue */
.footer-social-link[href*="facebook"]:hover {
    background: #1877f2;
    border-color: #1877f2;
}

/* Twitter/X - Twitter Blue */
.footer-social-link[href*="twitter"]:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

/* Quora - Quora Red */
.footer-social-link[href*="quora"]:hover {
    background: #b92b27;
    border-color: #b92b27;
}

/* IMDB - IMDB Yellow */
.footer-social-link[href*="imdb"]:hover {
    background: #f5c518;
    border-color: #f5c518;
}


.copyright {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.developer-credit {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.developer-link {
    color: #60a5fa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(96, 165, 250, 0.3);
}

.developer-link:hover {
    color: #ffffff;
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Disheveled Static Text */
.falling-text {
    display: inline-block;
    font-size: 1.1em;
    font-weight: 600;
    background: linear-gradient(
        45deg,
        #ff6b6b,
        #4ecdc4,
        #45b7d1,
        #96ceb4,
        #feca57,
        #ff9ff3,
        #54a0ff,
        #5f27cd,
        #00d2d3,
        #ff9f43,
        #ff6b6b,
        #4ecdc4,
        #45b7d1
    );
    background-size: 300% 300%;
    background-clip: text;
    animation: gradientShift 20s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: calc(var(--delay) * 0.15s);
}

.developer-link:hover .falling-text {
    animation: none;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    background-clip: text;
}

/* Staggered delays for wave effect */
.developer-link:not(:hover) .falling-text:nth-child(1) { --delay: 0; }
.developer-link:not(:hover) .falling-text:nth-child(2) { --delay: 1; }
.developer-link:not(:hover) .falling-text:nth-child(3) { --delay: 2; }
.developer-link:not(:hover) .falling-text:nth-child(4) { --delay: 3; }
.developer-link:not(:hover) .falling-text:nth-child(5) { --delay: 4; }
.developer-link:not(:hover) .falling-text:nth-child(6) { --delay: 5; }
.developer-link:not(:hover) .falling-text:nth-child(7) { --delay: 6; }
.developer-link:not(:hover) .falling-text:nth-child(8) { --delay: 7; }
.developer-link:not(:hover) .falling-text:nth-child(9) { --delay: 8; }
.developer-link:not(:hover) .falling-text:nth-child(10) { --delay: 9; }
.developer-link:not(:hover) .falling-text:nth-child(11) { --delay: 10; }
.developer-link:not(:hover) .falling-text:nth-child(12) { --delay: 11; }
.developer-link:not(:hover) .falling-text:nth-child(13) { --delay: 12; }

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Footer Characters */




/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .nav-hamburger {
        display: flex;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .nav-hamburger span {
        height: 3px;
        width: 100%;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(139, 92, 246, 0.2);
    }
    
    .mobile-menu.active {
        right: 0;
    }
    
    .mobile-link {
        display: block;
        color: #fff;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 500;
        padding: 1rem 0;
        border-radius: 8px;
        margin-bottom: 0.5rem;
        width: 100%;
        text-align: left;
        transition: all 0.3s ease;
        border: none;
        background: transparent;
    }
    
    .mobile-link:hover {
        background: rgba(139, 92, 246, 0.1);
        transform: translateX(5px);
        color: #8b5cf6;
    }
    
    .mobile-link:active {
        background: rgba(139, 92, 246, 0.2);
        transform: translateX(3px);
    }
    
    .timeline {
        max-width: 900px;
        padding: 0 0.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        text-align: left;
        min-height: 180px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -8px;
    }
    
    .responsibilities li {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0.6rem;
        padding-left: 1.2rem;
    }
    
    .responsibilities li::before {
        font-size: 1.4rem;
        left: 0.1rem;
        top: -0.05rem;
    }
}

@media (max-width: 768px) {
    /* Container and Layout */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    /* Navigation */
    .sticky-header {
        padding: 0.5rem 0;
    }
    
    .sticky-header-content {
        font-size: 1.1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-hamburger {
        display: flex;
    }
    
    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    /* Enhanced navbar responsiveness */
    #navbar {
        padding: 0.75rem 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
    font-size: 1.5rem;
    animation: logoEntrance 1.2s ease-out forwards;
}

/* Logo entrance animation */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Individual letter animations for Robin Hossain */
.nav-logo span {
    display: inline-block;
    opacity: 0;
    animation: letterEntrance 0.8s ease-out forwards;
}

.nav-logo span:nth-child(1) { animation-delay: 0.1s; }  /* R */
.nav-logo span:nth-child(2) { animation-delay: 0.2s; }  /* o (wave-o) */
.nav-logo span:nth-child(3) { animation-delay: 0.3s; }  /* b */
.nav-logo span:nth-child(4) { animation-delay: 0.4s; }  /* i */
.nav-logo span:nth-child(5) { animation-delay: 0.5s; }  /* n */
.nav-logo span:nth-child(6) { animation-delay: 0.6s; }  /* space */
.nav-logo span:nth-child(7) { animation-delay: 0.7s; }  /* H */
.nav-logo span:nth-child(8) { animation-delay: 0.8s; }  /* o (wave-o) */
.nav-logo span:nth-child(9) { animation-delay: 0.9s; }  /* s */
.nav-logo span:nth-child(10) { animation-delay: 1.0s; } /* s */
.nav-logo span:nth-child(11) { animation-delay: 1.1s; } /* a */
.nav-logo span:nth-child(12) { animation-delay: 1.2s; } /* i */
.nav-logo span:nth-child(13) { animation-delay: 1.3s; } /* n */

@keyframes letterEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px) rotateX(90deg);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-5px) rotateX(20deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}
    
    .nav-hamburger {
        width: 30px;
        height: 25px;
    }
    
    .nav-hamburger span {
        height: 3px;
        width: 100%;
    }
    
    .mobile-menu {
        width: 280px;
        padding: 2rem 1.5rem;
    }
    
    .mobile-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 100vh;
        padding: 80px 0 40px 0;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
    
    .about-image {
        margin: 2rem auto 0;
        max-width: 300px;
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .skill-header h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card {
        margin-bottom: 2rem;
    }
    
    .project-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .project-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .project-tech {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .tech-tag {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-link {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    /* Experience Section */
    .timeline {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        padding: 1.5rem;
        text-align: left;
        min-height: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -8px;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .timeline-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .responsibilities li {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
        padding-left: 1.2rem;
    }
    
    .responsibilities li::before {
        font-size: 1.2rem;
        left: 0.1rem;
        top: -0.05rem;
    }
    
    .timeline-skills {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .timeline-skills span {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Education Section */
    .education-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .education-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .education-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .education-content h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .education-year {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .education-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-info p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        text-align: center;
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-text h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Achievements Section */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievements-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .achievements-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .achievements-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Quote Section */
    .quote-section {
        padding: 3rem 1rem;
    }
    
    .quote-text {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .quote-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .quote-author {
        text-align: center;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-social {
        margin-bottom: 2rem;
    }
    
    .footer-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .footer-social-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .copyright {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .developer-credit {
        font-size: 0.9rem;
        text-align: center;
        margin-top: 1rem;
    }
    

    

    
    /* Toast */
    .toast {
        width: 90%;
        max-width: 400px;
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
    
    /* Scroll to Top Button */
    .scroll-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top-btn i {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        margin-top: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .toast {
        right: 1rem;
        left: 1rem;
        top: 1rem;
    }
    
    .education-card {
        text-align: left;
        flex-direction: row;
        min-height: 100px;
    }
    
    .education-icon {
        align-self: flex-start;
    }
    
    .timeline {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .responsibilities li {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
        padding-left: 1rem;
    }
    
    .responsibilities li::before {
        font-size: 1.2rem;
        left: 0rem;
        top: -0.02rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .skill-card,
    .achievements-card {
        padding: 1.5rem;
    }
    
    /* Mobile liquid swipe adjustments */
    .liquid-swipe-container::after {
        font-size: 0.7rem;
        padding: 3px 10px;
        bottom: -25px;
    }
    
    .liquid-swipe-image {
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .liquid-swipe-overlay {
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .quote-section {
        padding: 4rem 0;
    }
    
    .quote-text {
        font-size: clamp(1.3rem, 3.5vw, 1.8rem);
        padding: 0 0.5rem;
    }
    
    .quote-icon {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .quote-author {
        margin-top: 2rem;
    }
    
    .author-name {
        font-size: 1.3rem;
        padding: 0.75rem 1.5rem;
    }
    

}

@media (max-width: 480px) {

    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Enhanced navbar responsiveness for small mobile */
    #navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 12px;
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }
    
    .nav-hamburger {
        width: 28px;
        height: 22px;
    }
    
    .nav-hamburger span {
        height: 2.5px;
    }
    
    .mobile-menu {
        width: 260px;
        padding: 1.5rem 1rem;
    }
    
    .mobile-link {
        font-size: 1rem;
        padding: 0.6rem 0;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .hero-section {
        padding: 60px 0 30px 0;
        min-height: 100vh;
    }
    
    .hero-section::after {
        display: none;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 180px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    /* About Section */
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-card {
        padding: 1.2rem;
    }
    
    .stat-card h3 {
        font-size: 1.8rem;
    }
    
    .about-image {
        max-width: 250px;
        margin: 1.5rem auto 0;
    }
    
    /* Skills Section */
    .skill-card {
        padding: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .skill-header h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    /* Projects Section */
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    .project-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .project-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
    
    .project-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* Experience Section */
    .timeline {
        padding: 0 15px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        padding: 1rem;
        min-height: auto;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }
    
    .responsibilities li {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.4rem;
        padding-left: 1rem;
    }
    
    .responsibilities li::before {
        font-size: 1rem;
        left: 0.05rem;
        top: -0.1rem;
    }
    
    .timeline-skills {
        gap: 0.3rem;
        margin-top: 0.8rem;
    }
    
    .timeline-skills span {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    /* Education Section */
    .education-grid {
        gap: 1.5rem;
    }
    
    .education-card {
        padding: 1.2rem;
    }
    
    .education-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .education-content h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .education-year {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .education-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Contact Section */
    .contact-content {
        gap: 1.5rem;
    }
    
    .contact-info {
        margin-bottom: 1.5rem;
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-text h4 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .contact-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .btn-submit {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Achievements Section */
    .achievements-card {
        padding: 1.2rem;
    }
    
    .achievements-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .achievements-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Quote Section */
    .quote-section {
        padding: 2rem 0.5rem;
    }
    
    .quote-text {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .quote-icon {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-title {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-social-links {
        gap: 0.8rem;
    }
    
    .footer-social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .developer-credit {
        font-size: 0.8rem;
        margin-top: 0.8rem;
    }
    
    /* Toast */
    .toast {
        width: 95%;
        max-width: 350px;
        bottom: 15px;
    }
    
    /* Scroll to Top Button */
    .scroll-to-top-btn {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    
    .scroll-to-top-btn i {
        font-size: 0.9rem;
    }
    
    /* Profile Image */
    .liquid-swipe-container::after {
        display: none;
    }
    
    .profile-image-container {
        max-width: 250px;
    }
    
    /* Other Skills Section */
    .other-skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .other-skill-card {
        padding: 1rem;
        text-align: center;
    }
    
    .other-skill-card i {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    /* Language Proficiency */
    .language-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .language-item {
        padding: 1rem;
        text-align: center;
    }
    
    .language-item i {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
}

/* Utility Classes */
.fade-in {
    animation: fadeInUp 0.6s ease;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

.slide-in-right {
    animation: slideInRight 0.6s ease;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-content a[href*="linkedin.com/company/mousumi-industries-limited"] {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}
.timeline-content a[href*="linkedin.com/company/mousumi-industries-limited"]:hover {
    color: #000 !important;
    text-decoration: none !important;
}

.timeline-content h4 > a[href="https://www.facebook.com/timespace.com.bd"],
.timeline-content a[href="https://www.facebook.com/timespace.com.bd"] {
    color: #000 !important;
    text-shadow: none;
    text-decoration: none !important;
}

.timeline-content h4 > a[href="https://www.facebook.com/timespace.com.bd"]:hover,
.timeline-content a[href="https://www.facebook.com/timespace.com.bd"]:hover {
    color: #000 !important;
    text-shadow: none;
    text-decoration: none !important;
}

#scrollSidebar {
    position: fixed;
    top: 0;
    right: 96px;
    height: 100vh;
    width: 0;
    z-index: 1200;
    pointer-events: none;
}
.scroll-bar-bg {
    position: fixed;
    right: 0;
    top: 70px;
    width: 5px;
    height: calc(100vh - 70px - 0.5px);
    background: rgba(0,0,0,0.08);
    border-radius: 2px;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    pointer-events: auto;
    margin: 0;
}
.scroll-bar-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #B4E50D, #8b5cf6, #5f3fa9);
    border-radius: 2px 2px 0 0;
    transition: height 0.18s cubic-bezier(.4,0,.2,1);
    z-index: 2;
}
.scroll-bar-label {
    position: fixed;
    right: 16px;
    min-width: 36px;
    height: 22px;
    padding: 0 10px;
    background: #111;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1201;
    user-select: none;
    pointer-events: none;
    transition: top 0.18s cubic-bezier(.4,0,.2,1);
    box-shadow: none;
    border: none;
    letter-spacing: 0.1em;
}
@media (max-width: 768px) {
    #scrollSidebar {
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        height: auto;
        width: 100%;
        z-index: 1200;
        pointer-events: none;
        display: block;
    }
    
    .scroll-bar-bg {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        height: 4px;
        background: rgba(0,0,0,0.08);
        border-radius: 0;
        margin: 0;
    }
    
    .scroll-bar-progress {
        border-radius: 0;
        height: 0%;
    }
    
    .scroll-bar-label {
        display: none;
    }
    
    /* Show scroll sidebar only when mobile menu is active */
    #scrollSidebar:not(.mobile-active) {
        display: none;
    }
    
    #scrollSidebar.mobile-active {
        display: block;
        top: 120px; /* Position below the navbar (60px) with some spacing */
        bottom: auto;
        height: 4px;
        width: 70vw; /* Match mobile menu width */
        max-width: 320px; /* Match mobile menu max-width */
        left: auto;
        right: 0;
        z-index: 1200;
    }
    
    /* Ensure mobile menu appears above scroll sidebar */
    .mobile-menu.active {
        z-index: 1201;
    }
}

@keyframes bar5DropUltraReal {
    0%, 70% {
        bottom: 0;
        height: var(--bar5-h);
    }
    75%, 85% {
        bottom: 0;
        height: 0;
    }
    95% {
        bottom: -60px;
        height: var(--bar5-h);
    }
    100% {
        bottom: 0;
        height: var(--bar5-h);
    }
}

.loader__bar:nth-child(5) {
    left: 60px;
    height: var(--bar5-h);
}

@keyframes dotClimbPhysicsUltraReal {
    0% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
    4% {
        bottom: calc(var(--bar1-h) + 16px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    10% {
        left: calc(7.5px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc((var(--bar1-h) + var(--bar2-h)) / 2 + 28px);
        transform: scaleY(1) scaleX(1);
    }
    16% {
        left: calc(15px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar2-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    18% {
        transform: scaleY(1) scaleX(1);
    }
    22% {
        bottom: calc(var(--bar2-h) + 16px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    28% {
        left: calc(22.5px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc((var(--bar2-h) + var(--bar3-h)) / 2 + 28px);
        transform: scaleY(1) scaleX(1);
    }
    34% {
        left: calc(30px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar3-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    36% {
        transform: scaleY(1) scaleX(1);
    }
    40% {
        bottom: calc(var(--bar3-h) + 16px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    46% {
        left: calc(37.5px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc((var(--bar3-h) + var(--bar4-h)) / 2 + 28px);
        transform: scaleY(1) scaleX(1);
    }
    52% {
        left: calc(45px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar4-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    54% {
        transform: scaleY(1) scaleX(1);
    }
    58% {
        bottom: calc(var(--bar4-h) + 16px);
        transform: scaleY(1.18) scaleX(0.92);
    }
    64% {
        left: calc(52.5px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc((var(--bar4-h) + var(--bar5-h)) / 2 + 28px);
        transform: scaleY(1) scaleX(1);
    }
    70% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar5-h) + 3px);
        transform: scaleY(0.85) scaleX(1.15);
    }
    72% {
        transform: scaleY(1) scaleX(1);
    }
    80%, 95% {
        left: calc(60px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(-60px + 3px);
        transform: scaleY(1) scaleX(1);
    }
    100% {
        left: calc(0px + (var(--bar-width) - var(--dot-size)) / 2);
        bottom: calc(var(--bar1-h) + 3px);
        transform: scaleY(1) scaleX(1);
    }
}

.footer .developer-link {
    background: linear-gradient(90deg, #a78bfa, #f472b6, #22d3ee, #E67514, #0ABAB5, #FF3F33, #a78bfa);
    background-size: 800% 100%;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    text-shadow: 0 2px 8px rgba(31,41,55,0.18), 0 1px 0 #e0e7ef;
    color: #fff !important; /* fallback for unsupported browsers */
    animation: footerGradientSweep 18s ease-in-out infinite;
}

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

.footer .developer-link .falling-text {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: inherit !important;
    text-shadow: none !important;
}

#profileImageCurrent {
    object-fit: cover;
    object-position: center top;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
}

#profileImageInformal {
    pointer-events: none !important;
    cursor: default !important;
}

.liquid-swipe-image.next#profileImageInformal {
    pointer-events: none !important;
    cursor: default !important;
}

/* Utility class to disable transition for first paint */
.liquid-swipe-image.no-transition {
    transition: none !important;
}

/* Animated mouse scroll indicator */
.mouse-anim {
    display: block;
    margin: 0 auto;
    width: 55px;
    height: 44px;
    opacity: 0.92;
    animation: mouseUpDown 1.6s cubic-bezier(.4,0,.2,1) infinite;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
    z-index: inherit;
    position: relative;
}
@keyframes mouseUpDown {
    0% { transform: translateY(0); }
    20% { transform: translateY(4px); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
    100% { transform: translateY(0); }
}
.mouse-anim .mouse-wheel {
    animation: mouseWheelMove 1.6s cubic-bezier(.4,0,.2,1) infinite;
    fill: #f5f6fa;
}
@keyframes mouseWheelMove {
    0% { cy: 14px; opacity: 1; }
    20% { cy: 22px; opacity: 1; }
    40% { cy: 28px; opacity: 0.7; }
    60% { cy: 22px; opacity: 1; }
    100% { cy: 14px; opacity: 1; }
}
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: auto;
    margin: 2.5rem auto 1rem auto;
    position: static;
    left: unset;
    right: unset;
    bottom: unset;
    z-index: 99999;
    pointer-events: none;
}

.btn-cv-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2.2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.08rem;
    background: #111;
    color: #fff;
    border: 2px solid #5800FF;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.35s cubic-bezier(.4,0,.2,1), color 0.35s cubic-bezier(.4,0,.2,1), border-color 0.35s cubic-bezier(.4,0,.2,1);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-cv-download::after {
    content: '';
    position: absolute;
    left: -70%;
    top: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, rgba(88,0,255,0) 0%, rgba(88,0,255,0.18) 40%, rgba(88,0,255,0.32) 60%, rgba(88,0,255,0) 100%);
    opacity: 0.85;
    z-index: 0;
    transition: left 0.5s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.btn-cv-download:hover, .btn-cv-download:focus {
    border-color: #5800FF;
    transform: none !important;
}
.btn-cv-download:hover::after, .btn-cv-download:focus::after {
    left: 100%;
}
.btn-cv-download > * {
    position: relative;
    z-index: 1;
}

.btn-cv-download .fa-file-download {
    color: #1A2A80;
    font-size: 2.2rem;
}

.experience-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.experience-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.experience-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}
.experience-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-primary);
}

.experience-text h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-primary);
}
.experience-text h4 {
    margin: 0.2rem 0 0 0;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: normal;
}

.experience-logo-right {
    justify-self: end;
}

.experience-logo,
.experience-logo-right {
    margin-top: 8px;
}

.experience-header .experience-text h4 {
    font-weight: bold;
}

.timeline-divider {
    border: none;
    border-top: 1.5px solid #e0e4f6;
    margin: 0 0 2.2rem 0;
    width: 100%;
}

.associate-network-engineer-box {
    background: rgba(255,255,255,0.25) !important;
    /* Optional: add a subtle box-shadow for elevation */
    box-shadow: none;
}

.associate-network-engineer-box .experience-text h4 {
    color: #000 !important;
}

.time-space-box {
    background: rgba(255,255,255,0.25) !important;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
}

.timeline-content a[href="https://www.facebook.com/timespace.com.bd"] {
    color: #000 !important;
}

.timeline-content a[href="https://www.facebook.com/timespace.com.bd"]:hover {
    color: #000 !important;
    text-decoration: none !important;
}

.quote-section .section-title {
    margin-bottom: 1rem;
}

.quote-content {
    margin-top: 0.5rem;
}

.quote-section .author-name {
    font-family: 'Pacifico', cursive, sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    position: relative;
    padding: 1rem 2rem;
    border-radius: 2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
    overflow: hidden;
    /* Remove box-shadow and any glow effect */
    box-shadow: none !important;
}

.author-name::after {
    display: none !important;
}

.other-skills-section {
  margin: 4rem 0 2.5rem 0;
  padding: 2.5rem 0 1.5rem 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
}
.other-skills-description {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
  font-style: italic;
  position: relative;
}
.other-skills-description::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}
.other-skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}
.other-skill-card {
  background: linear-gradient(135deg, #3b82f6 60%, #8b5cf6 100%);
  color: #fff;
  border-radius: 0.9rem;
  box-shadow: 0 2px 12px rgba(59,130,246,0.13);
  padding: 1.2rem 2.1rem 1.1rem 2.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
  max-width: 180px;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), box-shadow 0.22s cubic-bezier(.4,0,.2,1);
  font-weight: 600;
  font-size: 1.08rem;
}
.other-skill-card i {
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(139,92,246,0.18));
  background: linear-gradient(135deg, #8b5cf6 30%, #3b82f6 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.other-skill-card:hover {
  transform: translateY(-7px) scale(1.06) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(59,130,246,0.18);
}
@media (max-width: 768px) {
  .other-skills-grid {
    gap: 1rem;
  }
  .other-skill-card {
    min-width: 120px;
    padding: 1rem 1.2rem 0.9rem 1.2rem;
    font-size: 0.98rem;
  }
}

.skills-section {
  margin-bottom: 1.5rem;
}
.other-skills-section {
  margin-bottom: 1.5rem;
}

.other-skills-section .section-title {
  margin-bottom: 1.5rem;
}

.language-proficiency-section {
  margin: 2.5rem 0 2rem 0;
  padding: 2.2rem 0 1.2rem 0;
  background: transparent;
  border-radius: 1.2rem;
  box-shadow: none;
}

.language-proficiency-section .section-title {
  margin-bottom: 2rem;
}

.language-proficiency-description {
  text-align: center;
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2.2rem auto;
  padding: 0 1rem;
  font-style: italic;
  position: relative;
}

.language-proficiency-description::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  justify-content: center;
  align-items: stretch;
}
.language-item {
  background: linear-gradient(135deg, #06b6d4 60%, #3b82f6 100%);
  color: #fff;
  border-radius: 0.9rem;
  box-shadow: 0 2px 12px rgba(59,130,246,0.13);
  padding: 1rem 2rem 0.9rem 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 140px;
  max-width: 200px;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), box-shadow 0.22s cubic-bezier(.4,0,.2,1);
  font-weight: 600;
  font-size: 1.08rem;
  justify-content: center;
}
.language-item i {
  font-size: 1.5rem;
  margin-right: 0.8rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(6,182,212,0.18));
  background: linear-gradient(135deg, #06b6d4 30%, #3b82f6 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.language-item:hover {
  transform: translateY(-5px) scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(6,182,212,0.18);
}
@media (max-width: 768px) {
  .language-list {
    gap: 0.7rem;
  }
  .language-item {
    min-width: 110px;
    padding: 0.8rem 1.1rem 0.7rem 1.1rem;
    font-size: 0.98rem;
  }
}

.timeline-content h4 > a[href="https://www.facebook.com/timespace.com.bd"],
.timeline-content a[href="https://www.facebook.com/timespace.com.bd"] {
    color: #000 !important;
    text-shadow: none;
    transition: color 0.2s ease;
}

.about-image .contact-info {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
    text-align: center;
}

.about-image .contact-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.25rem;
    text-align: center;
}

.about-image .contact-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.25rem;
    text-align: center;
}

.about-section .contact-info {
    margin-top: 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.about-section .contact-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Flip Card Styles */
.flip-card {
  perspective: 1200px;
  width: fit-content;
  margin: 0 auto;
}



#footer-solar-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  mix-blend-mode: lighten;
}

.footer {
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .contact-details {
    flex-direction: column;
    gap: 1.2rem;
  }
  .contact-item {
    max-width: 100%;
    min-width: 0;
  }
}

.section-divider {
    width: 100%;
    line-height: 0;
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.section-divider--wave {
    margin-top: -2px;
}
.section-divider--about-top {
    margin-bottom: -2px;
    z-index: 3;
}

.hero-intro {
    font-family: 'Space Grotesk', 'Montserrat', 'Inter', Arial, sans-serif;
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    color: #fff;
    font-weight: 400;
    text-align: center;
    margin-top: 4.5rem;
    margin-bottom: -1.2rem;
    margin-left: 0.5rem;
    letter-spacing: 0.01em;
    font-style: normal;
    animation: fadeInUp 1.2s ease 0.1s both;
    z-index: 2;
}

.associate-network-engineer-box .experience-header .experience-text h3 {
    white-space: nowrap;
    min-width: 320px;
    padding-right: 0;
    padding-left: 2.3rem;
    font-size: 1.3rem;
    /* Further increased left padding for more right shift */
}

.associate-network-engineer-box .experience-header {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: flex-start;
}
.associate-network-engineer-box .experience-logo {
    margin: 0 !important;
    margin-right: 0.5rem !important;
    margin-left: -1rem !important;
    margin-top: -2rem !important;
    padding: 0 !important;
    align-self: center;
    display: block;
    width: 150px !important;
    height: 150px !important;
    /* vertical-align: middle; removed as it is ignored for block elements */
}
.associate-network-engineer-box .experience-text {
    text-align: right;
}
.associate-network-engineer-box .experience-header .experience-text {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-left: -1rem;
    margin-top: -0.8in;
}

.associate-network-engineer-box .experience-header .experience-text h4 {
    color: #000;
    font-size: 1.15rem;
    margin-left: -2.5rem;
    padding-right: 0;
    padding-left: -2rem;
    /* Reduced left padding for slight left shift */
    margin-top: -0.2rem !important;
    transition: color 0.2s;
}

.associate-network-engineer-box .experience-header .experience-text h4:hover,
.associate-network-engineer-box .experience-header .experience-text h4 a:hover {
    color: #0f028b !important;
}

.time-space-box .experience-header .experience-text h4:hover,
.time-space-box .experience-header .experience-text h4 a:hover {
    color: #fff !important;
}

.associate-network-engineer-box .experience-logo {
    align-self: center;
    justify-self: end;
    margin-right: 1.2rem;
    margin-left: 0;
    /* Aligned to match the grid line of the responsibilities text */
}

.nav-logo {
    background: none !important;
    font-size: 1.6rem;
    font-weight: bold;
}

#navbar .nav-container .nav-logo {
    display: none !important;
}
#navbar.scrolled .nav-container .nav-logo {
    display: block !important;
}

.nav-links, .nav-link {
    cursor: default !important;
}

#scrollSidebar, #scrollSidebar.scroll-sidebar, .scroll-bar-label {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 9999 !important;
    pointer-events: none;
    background: transparent !important;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Show scroll sidebar only when scrolling */
#scrollSidebar.scrolling, #scrollSidebar.scroll-sidebar.scrolling, .scroll-bar-label.scrolling {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#scrollSidebar, #scrollSidebar.scroll-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 36px !important;
    height: 100vh !important;
    display: flex !important;
    align-items: flex-end !important;
    z-index: 9999 !important;
    pointer-events: none;
    background: transparent !important;
}

.scroll-bar {
    position: relative;
    width: 8px;
    height: 90vh;
    margin: 5vh 14px 5vh 14px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    pointer-events: auto;
}
.scroll-bar-thumb {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: #222;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    pointer-events: auto;
    z-index: 2;
}
.scroll-bar-label {
    position: absolute !important;
    left: 48px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: linear-gradient(90deg, #0ABAB5 60%, #222 100%) !important;
    color: #fff !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    border-radius: 12px !important;
    padding: 10px 26px !important;
    margin: 0 !important;
    box-shadow: 0 6px 24px rgba(10,186,181,0.25), 0 2px 8px rgba(0,0,0,0.10) !important;
    border: 2.5px solid #fff !important;
    opacity: 1 !important;
    user-select: none !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 64px !important;
    letter-spacing: 0.5px !important;
    z-index: 10 !important;
    visibility: visible !important;
    height: auto !important;
    transition: none !important;
    filter: drop-shadow(0 4px 16px #0ABAB5);
}
.scroll-bar-label::after {
    content: none;
}
@media (max-width: 768px) {
    #scrollSidebar {
        display: none;
    }
}

@media (min-width: 1024px) {
  .nav-hamburger {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
  }
  
  .mobile-menu {
    display: none !important;
  }
}

.scroll-bar-end {
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
}
.scroll-callout-icon {
  display: block;
  margin-bottom: 2px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.10));
}
.scroll-bar-end-label {
  display: block;
  margin-top: 0px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  background: #fff;
  border-radius: 8px;
  padding: 2px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  letter-spacing: 0.08em;
  user-select: none;
}

.navbar-scroll-percent {
  position: fixed;
  right: 5px;
  min-width: 32px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.25);
  border-radius: 7px;
  padding: 2px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  letter-spacing: 0.08em;
  user-select: none;
  display: flex;
  align-items: center;
  height: 22px;
  z-index: 10;
  transition: top 0.18s cubic-bezier(.4,0,.2,1);
}

.associate-network-engineer-box .experience-header .experience-text h3 {
    color: #B6F500 !important;
    margin-top: 2.5rem;
}

.associate-network-engineer-box .experience-header .experience-text h4 {
    color: #000 !important;
    font-size: 1.15rem;
    margin-left: -2.5rem;
    padding-right: 0;
    padding-left: -2rem;
    /* Reduced left padding for slight left shift */
    margin-top: 1rem;
}

.associate-network-engineer-box .timeline-year {
    margin-top: 0.1rem;
    margin-bottom: 0.3rem;
    position: relative;
    top: -0.25in;
}

.associate-network-engineer-box .timeline-year.corporate-office {
    margin-bottom: 0.05rem;
    margin-top: 0.2rem;
    position: relative;
    top: -0.1in !important;
}

.time-space-box h3 {
    color: #B6F500 !important;
    font-size: 1.4rem;
}

.time-space-box h4 {
    font-size: 1.2rem;
    margin-top: -0.3rem;
}

.associate-network-engineer-box .timeline-year,
.associate-network-engineer-box .timeline-year.corporate-office {
    margin-top: -1.2rem;
}

.associate-network-engineer-box .experience-header .experience-text h4 {
    color: #000;
    font-size: 1.15rem;
    margin-left: -2.5rem;
    padding-right: 0;
    padding-left: -2rem;
    /* Reduced left padding for slight left shift */
    margin-top: -0.2rem !important;
}

.contact-details .contact-item:last-child .contact-text p {
    font-size: 0.85rem;
}

.contact-item .contact-icon .fa-file-download { color: #03C988 !important;}

.contact-section .contact-item:nth-child(4) .contact-icon .fa-file-download {
    font-size: 1.5rem;
}

.btn-cv-download {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    margin-top: 0.2rem;
    /* ...existing properties... */
}

/* Text Line Animation for Fade In by Line Effect */
.text-line {
    display: inline-block;
        opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

.text-line.show {
        opacity: 1;
    transform: translateX(0);
}



@media (max-width: 600px) {
    .facts-section {
        margin-top: 20px;
        max-width: 450px;
        padding: 0 10px;
    }
    
    .fact-container {
        padding: 22px;
        margin: 0 auto;
    }
    
    .fact-text {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .fact-source {
        font-size: 0.88rem;
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .preloader-container {
        padding: 0 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        text-align: center;
        max-width: 520px;
        margin: 0 auto;
    }
    
    .loader {
        width: 85px;
        height: 85px;
        margin-bottom: 30px;
    }
    
    .loader__bar {
        width: 8px;
    }
    
    .loader__bar:nth-child(1) { left: 0px; }
    .loader__bar:nth-child(2) { left: 17px; }
    .loader__bar:nth-child(3) { left: 34px; }
    .loader__bar:nth-child(4) { left: 51px; }
    .loader__bar:nth-child(5) { left: 68px; }
    
    .loader__ball {
        width: 13px;
        height: 13px;
        left: 36px;
    }
    
            .loading-message {
            font-size: 1.0rem;
            max-width: 320px;
            margin: 28px 0 22px 0;
            line-height: 1.6;
            padding: 0 10px;
            word-wrap: normal;
            overflow-wrap: normal;
            white-space: normal;
        }
    
    .did-you-know-section {
        margin: 24px 0 18px 0;
        text-align: center;
    }
    
    .did-you-know-text {
        font-size: 2.0rem;
        letter-spacing: 1.8px;
        margin-bottom: 14px;
    }
    
    .facts-section {
        margin-top: 18px;
        max-width: 480px;
        padding: 0 16px;
    }
    
    .fact-container {
        padding: 22px;
        margin: 0 auto;
    }
    
    .fact-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .fact-source {
        font-size: 0.85rem;
        opacity: 0.8;
    }
}

@media (max-width: 600px) {
    .preloader-container {
        padding: 0 14px;
        max-width: 460px;
        margin: 0 auto;
    }
    
    .loader {
        width: 78px;
        height: 78px;
        margin-bottom: 26px;
    }
    
            .loading-message {
            font-size: 0.8rem;
            max-width: 300px;
            margin: 24px 0 20px 0;
            padding: 0 8px;
            word-wrap: normal;
            overflow-wrap: normal;
            white-space: normal;
            line-height: 1.7;
        }
    
    .did-you-know-section {
        margin: 22px 0 18px 0;
    }
    
    .did-you-know-text {
        font-size: 1.9rem;
        letter-spacing: 1.6px;
        margin-bottom: 12px;
    }
    
    .facts-section {
        margin-top: 18px;
        max-width: 450px;
        padding: 0 10px;
    }
    
    .fact-container {
        padding: 22px;
        margin: 0 auto;
    }
    
    .fact-text {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .fact-source {
        font-size: 0.88rem;
        opacity: 0.8;
    }
}

@media (max-width: 480px) {
    .preloader-container {
        padding: 0 14px;
        max-width: 420px;
        margin: 0 auto;
    }
    
    .loader {
        width: 72px;
        height: 72px;
        margin-bottom: 24px;
    }
    
    .loader__bar {
        width: 7px;
    }
    
    .loader__bar:nth-child(1) { left: 0px; }
    .loader__bar:nth-child(2) { left: 15px; }
    .loader__bar:nth-child(3) { left: 30px; }
    .loader__bar:nth-child(4) { left: 45px; }
    .loader__bar:nth-child(5) { left: 60px; }
    
    .loader__ball {
        width: 12px;
        height: 12px;
        left: 30px;
    }
    
            .loading-message {
            font-size: 0.85rem;
            max-width: 280px;
            margin: 22px 0 18px 0;
            line-height: 1.7;
            padding: 0 6px;
            word-wrap: normal;
            overflow-wrap: normal;
            white-space: normal;
        }
    
    .did-you-know-section {
        margin: 20px 0 16px 0;
        text-align: center;
    }
    
    .did-you-know-text {
        font-size: 1.7rem;
        letter-spacing: 1.4px;
        margin-bottom: 10px;
    }
    
    .facts-section {
        margin-top: 16px;
        max-width: 400px;
        padding: 0 14px;
    }
    
    .fact-container {
        padding: 20px;
        margin: 0 auto;
    }
    
    .fact-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    
    .fact-source {
        font-size: 0.8rem;
        opacity: 0.8;
    }
}

@media (max-width: 360px) {
    /* Enhanced navbar responsiveness for very small mobile */
    #navbar {
        padding: 0.4rem 0;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-hamburger {
        width: 26px;
        height: 20px;
    }
    
    .nav-hamburger span {
        height: 2px;
    }
    
    .mobile-menu {
        width: 240px;
        padding: 1.25rem 0.75rem;
    }
    
    .mobile-link {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }
    
    .preloader-container {
        padding: 0 12px;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .loader {
        width: 68px;
        height: 68px;
        margin-bottom: 20px;
    }
    
    .loader__bar {
        width: 6px;
    }
    
    .loader__bar:nth-child(1) { left: 0px; }
    .loader__bar:nth-child(2) { left: 13px; }
    .loader__bar:nth-child(3) { left: 26px; }
    .loader__bar:nth-child(4) { left: 39px; }
    .loader__bar:nth-child(5) { left: 52px; }
    
    .loader__ball {
        width: 11px;
        height: 11px;
        left: 31px;
    }
    
    .loading-message {
        font-size: 0.75rem;
        max-width: 260px;
        margin: 20px 0 16px 0;
        line-height: 1.8;
        padding: 0 4px;
        word-wrap: normal;
        overflow-wrap: normal;
        white-space: normal;
    }
    
    .did-you-know-section {
        margin: 18px 0 14px 0;
    }
    
    .did-you-know-text {
        font-size: 1.5rem;
        letter-spacing: 1.1px;
        margin-bottom: 8px;
    }
    
    .facts-section {
        margin-top: 14px;
        max-width: 350px;
        padding: 0 12px;
    }
    
    .fact-container {
        padding: 18px;
        margin: 0 auto;
    }
    
    .fact-text {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 8px;
    }
    
    .fact-source {
        font-size: 0.75rem;
        opacity: 0.8;
    }
}

/* Ultra-small mobile devices for complete responsiveness */
@media (max-width: 320px) {
    /* Enhanced navbar responsiveness for ultra-small mobile */
    #navbar {
        padding: 0.3rem 0;
    }
    
    .nav-container {
        padding: 0 8px;
    }
    
    .nav-logo {
        font-size: 1.1rem;
    }
    
    .nav-hamburger {
        width: 24px;
        height: 18px;
    }
    
    .nav-hamburger span {
        height: 1.8px;
    }
    
    .mobile-menu {
        width: 220px;
        padding: 1rem 0.5rem;
    }
    
    .mobile-link {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .preloader-container {
        padding: 0 10px;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .loader {
        width: 60px;
        height: 60px;
        margin-bottom: 18px;
    }
    
    .loader__bar {
        width: 5px;
    }
    
    .loader__bar:nth-child(1) { left: 0px; }
    .loader__bar:nth-child(2) { left: 11px; }
    .loader__bar:nth-child(3) { left: 22px; }
    .loader__bar:nth-child(4) { left: 33px; }
    .loader__bar:nth-child(5) { left: 44px; }
    
    .loader__ball {
        width: 10px;
        height: 10px;
        left: 27px;
    }
    
    .loading-message {
        font-size: 0.7rem;
        max-width: 240px;
        margin: 18px 0 14px 0;
        line-height: 1.9;
        padding: 0 3px;
        word-wrap: normal;
        overflow-wrap: normal;
        white-space: normal;
    }
    
    .did-you-know-section {
        margin: 16px 0 12px 0;
    }
    
    .did-you-know-text {
        font-size: 1.4rem;
        letter-spacing: 1.0px;
        margin-bottom: 6px;
    }
    
    .facts-section {
        margin-top: 12px;
        max-width: 300px;
        padding: 0 10px;
    }
    
    .fact-container {
        padding: 16px;
        margin: 0 auto;
    }
    
    .fact-text {
        font-size: 0.8rem;
        line-height: 1.6;
        margin-bottom: 6px;
    }
    
    .fact-source {
        font-size: 0.7rem;
        opacity: 0.8;
    }
}

/* Enhanced mobile responsiveness for loading message text alignment */
@media (max-width: 540px) {
    .loading-message {
        font-size: 0.8rem;
        max-width: 320px;
        margin: 20px 0 16px 0;
        line-height: 1.8;
        padding: 0 6px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .message-part-1,
    .message-part-2 {
        display: block;
        margin: 0 auto;
        text-align: center;
        word-break: normal;
        white-space: normal;
        line-height: 1.7;
        padding: 0 2px;
    }
    
    .blur-text-line {
        word-break: normal;
        white-space: normal;
        line-height: 1.6;
        letter-spacing: -0.3px;
        font-size: 0.9rem;
    }
}

@media (max-width: 412px) {
    .loading-message {
        font-size: 0.75rem;
        max-width: 300px;
        margin: 18px 0 14px 0;
        line-height: 1.9;
        padding: 0 4px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .message-part-1,
    .message-part-2 {
        display: block;
        margin: 0 auto;
        text-align: center;
        word-break: normal;
        white-space: normal;
        line-height: 1.8;
        padding: 0 1px;
    }
    
    .blur-text-line {
        word-break: normal;
        white-space: normal;
        line-height: 1.7;
        letter-spacing: -0.2px;
        font-size: 0.88rem;
    }
}

@media (max-width: 360px) {
    .loading-message {
        font-size: 0.7rem;
        max-width: 280px;
        margin: 16px 0 10px 0;
        line-height: 2.0;
        padding: 0 2px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .message-part-1,
    .message-part-2 {
        display: block;
        margin: 0 auto;
        text-align: center;
        word-break: normal;
        white-space: normal;
        line-height: 1.9;
        padding: 0 1px;
    }
    
    .blur-text-line {
        word-break: normal;
        white-space: normal;
        line-height: 1.8;
        letter-spacing: -0.1px;
        font-size: 0.84rem;
    }
}

/* Specific optimization for 540x720 mobile ratio */
@media (max-width: 540px) and (max-height: 720px) {
    .loading-message {
        font-size: 0.78rem;
        max-width: 310px;
        margin: 18px 0 14px 0;
        line-height: 1.85;
        padding: 0 5px;
    }
    
    .message-part-1,
    .message-part-2 {
        padding: 0 3px;
        line-height: 1.75;
    }
    
    .blur-text-line {
        font-size: 0.87rem;
        line-height: 1.65;
        letter-spacing: -0.25px;
    }
}

/* Specific optimization for 412x914 mobile ratio */
@media (max-width: 412px) and (max-height: 914px) {
    .loading-message {
        font-size: 0.75rem;
        max-width: 290px;
        margin: 16px 0 12px 0;
        line-height: 1.95;
        padding: 0 3px;
    }
    
    .message-part-1,
    .message-part-2 {
        padding: 0 2px;
        line-height: 1.85;
    }
    
    .blur-text-line {
        font-size: 0.86rem;
        line-height: 1.75;
        letter-spacing: -0.15px;
    }
}

/* Desktop-specific styles for loading message */
@media (min-width: 769px) {
    .loading-message {
        font-size: 1.1rem;
    }
}

/* Corporate Office text styling */
.timeline-year.corporate-office strong {
    color: #000000 !important;
}