/* Modern UI Improvements for Profile */

/* Global text wrapping and typography */
* {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Ensure proper text wrapping for all text elements */
p, span, div, h1, h2, h3, h4, h5, h6, label, a, li, td, th {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

/* Specific wrapping for long text content */
.le-paragraph p,
.event-content p,
.timeline-content,
.value,
.excerpt p,
.info-area .title,
.info-area .excerpt {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    hyphens: auto;
    line-height: 1.6;
}

/* Special handling for links and email addresses */
a, a[href*="@"], a[href^="http"], a[href^="mailto"] {
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: normal;
    display: inline-block;
    max-width: 100%;
}

/* Ensure tables and info holders wrap content properly */
.info-holder, .tabled-info-holder {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-item span {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
}

/* Blog and portfolio content wrapping */
.blog-item .title,
.blog-item .excerpt,
.portfolio-item .info h3,
.portfolio-item .info p {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Enhanced Background with gradient */
body {
    background: linear-gradient(135deg, #0a0e27 0%, #1e1e3f 25%, #2d1b69 50%, #0f0f23 75%, #000000 100%);
    min-height: 100vh;
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* Space background effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 87, 34, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 152, 0, 0.1) 0%, transparent 50%);
    z-index: -2;
    animation: spaceGlow 10s ease-in-out infinite alternate;
}

/* Animated stars background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    z-index: -1;
    animation: starsMove 20s linear infinite;
}

@keyframes spaceGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes starsMove {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

/* Adjust for fixed navbar */
section {
    scroll-margin-top: 100px;
}

header#home {
    margin-top: 0;
}

/* Improved container with glass effect */
.wrapper {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

/* Enhanced sticky paper sections */
.sticky-paper-head {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px 15px 0 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sticky-paper-head:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sticky-paper-body {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: -1px;
}

/* Enhanced header section */
.head-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.head-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    z-index: 1;
}

/* Enhanced avatar with glow effect */
.avatar {
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.avatar img {
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 60px rgba(102, 126, 234, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.7), 0 0 80px rgba(102, 126, 234, 0.5);
}

/* Enhanced big name section */
.big-name .sticky-paper-head {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.big-name .sticky-paper-head h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.big-name .sticky-paper-head .short-tag {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Enhanced Space Technology Navigation - Fixed at Top */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: linear-gradient(135deg, 
        rgba(10, 14, 39, 0.95) 0%, 
        rgba(30, 30, 63, 0.95) 25%, 
        rgba(45, 27, 105, 0.95) 50%, 
        rgba(15, 15, 35, 0.95) 75%, 
        rgba(0, 0, 0, 0.95) 100%);
    backdrop-filter: blur(25px);
    border-bottom: 2px solid rgba(255, 87, 34, 0.3);
    padding: 15px 0;
    box-shadow: 
        0 5px 25px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(255, 87, 34, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* Space tech overlay effects */
.nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 87, 34, 0.1) 50%, 
        transparent 100%);
    animation: scanLine 4s linear infinite;
    z-index: 1;
}

@keyframes scanLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Container for centered navigation */
.nav-menu .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* Space HUD Elements */
.space-hud {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.hud-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #FF5722;
    opacity: 0.6;
    animation: hudPulse 2s ease-in-out infinite;
}

.hud-corner.top-left {
    top: 10px;
    left: 20px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 8px;
}

.hud-corner.top-right {
    top: 10px;
    right: 20px;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 8px;
}

.hud-line {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FF9800, transparent);
    animation: lineScan 3s linear infinite;
}

.hud-line.left {
    left: 10px;
    animation-delay: 0s;
}

.hud-line.right {
    right: 10px;
    animation-delay: 1.5s;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 87, 34, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: orbitRotate 8s linear infinite;
}

.orbit-ring::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #FF5722;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px #FF5722;
}

/* Navigation Status Display */
.nav-status-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    color: #FF9800;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    box-shadow: 0 0 10px #4CAF50;
    animation: statusPulse 1.5s ease-in-out infinite;
}

.system-text {
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px rgba(255, 152, 0, 0.5);
}

.energy-bar {
    width: 60px;
    height: 4px;
    background: rgba(255, 152, 0, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.energy-fill {
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #FF9800);
    border-radius: 2px;
    animation: energyFlow 2s ease-in-out infinite;
}

/* Space Navigation Styles */
.space-nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 5px;
}

.space-nav li {
    margin: 0;
    position: relative;
}

.space-nav li a {
    color: #FFFFFF;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 87, 34, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    min-width: 80px;
}

.nav-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    animation: iconFloat 3s ease-in-out infinite;
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 50%, #FF5722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-text {
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D  50%, #FF5722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(255, 87, 34, 0.3);
}

.nav-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 87, 34, 0.3) 50%, 
        transparent 100%);
    transition: all 0.4s ease;
    z-index: -1;
}

.space-nav li a:hover .nav-glow,
.space-nav li.active a .nav-glow {
    left: 0;
}

.space-nav li a:hover,
.space-nav li.active a {
    color: #FFF;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 25px rgba(255, 152, 0, 0.4),
        0 0 30px rgba(255, 183, 77, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, 
        rgba(255, 152, 0, 0.2) 0%, 
        rgba(255, 183, 77, 0.15) 50%, 
        rgba(255, 87, 34, 0.18) 100%);
}

.space-nav li a:hover .nav-text,
.space-nav li.active a .nav-text {
    background: linear-gradient(135deg, #FFE0B2 0%, #FFF 50%, #FFE0B2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 6px rgba(255, 152, 0, 0.5);
}

.space-nav li a:hover .nav-icon,
.space-nav li.active a .nav-icon {
    background: linear-gradient(135deg, #FFE0B2 0%, #FFF 50%, #FFE0B2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(255, 152, 0, 0.8)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transform: scale(1.1);
}

/* Animations */
@keyframes hudPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes lineScan {
    0%, 100% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

@keyframes energyFlow {
    0%, 100% { width: 60%; }
    50% { width: 90%; }
}

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

/* Tech frame indicators */
.nav-tech-frame {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    pointer-events: none;
    z-index: -1;
}

.tech-corner {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid #FFB74D;
    z-index: 10;
}

.tech-corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 5px;
}

.tech-corner.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 5px;
}

.tech-corner.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 5px;
}

.tech-corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 5px;
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #FFB74D, transparent);
    animation: techPulse 2s linear infinite;
}

.tech-line.horizontal {
    height: 1px;
    left: 15px;
    right: 15px;
}

.tech-line.vertical {
    width: 1px;
    top: 15px;
    bottom: 15px;
    background: linear-gradient(0deg, transparent, #FFB74D, transparent);
}

.tech-line.top { top: 0; }
.tech-line.bottom { bottom: 0; }
.tech-line.left { left: 0; }
.tech-line.right { right: 0; }

/* Status bar */
.nav-status-bar {
    position: absolute;
    top: -25px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: #FFB74D;
    font-weight: bold;
    letter-spacing: 1px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 183, 77, 0.3);
    animation: statusBlink 1.5s ease-in-out infinite;
}

.status-dot.active {
    background: #4CAF50;
    animation: statusBlink 1s ease-in-out infinite;
}

.status-text {
    margin-left: 5px;
    font-size: 0.6rem;
    color: #4CAF50;
}

.nav-menu:hover {
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.98) 0%, 
        rgba(30, 30, 63, 0.98) 25%, 
        rgba(45, 27, 105, 0.98) 50%, 
        rgba(10, 14, 39, 0.98) 75%, 
        rgba(0, 0, 0, 0.98) 100%);
    box-shadow: 
        0 8px 35px rgba(255, 87, 34, 0.4),
        0 0 60px rgba(255, 87, 34, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid rgba(255, 87, 34, 0.5);
}

.nav-menu nav {
    margin: 0;
    position: relative;
    z-index: 5;
}

.nav-menu ul.nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 8px;
}

.nav-menu ul.nav li {
    margin: 0;
    position: relative;
}

.nav-menu ul.nav li a {
    color: white;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    min-width: 100px;
}


.nav-menu ul.nav li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.2) 100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
    border-radius: 12px;
}

.nav-menu ul.nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFB74D, #FFF, #FFB74D);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu ul.nav li a:hover::before,
.nav-menu ul.nav li.active a::before {
    left: 0;
}

.nav-menu ul.nav li a:hover::after,
.nav-menu ul.nav li.active a::after {
    width: 80%;
}

.nav-menu ul.nav li a:hover,
.nav-menu ul.nav li.active a {
    color: #FFF;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 8px 20px rgba(255, 255, 255, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

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

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

/* Enhanced Mobile Navigation */
.top-drop-menu {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, 
        rgba(255, 87, 34, 0.95) 0%, 
        rgba(255, 152, 0, 0.95) 50%, 
        rgba(255, 183, 77, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 25px rgba(255, 87, 34, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    clip-path: polygon(
        10px 0%, 
        calc(100% - 10px) 0%, 
        100% 10px, 
        100% calc(100% - 10px), 
        calc(100% - 10px) 100%, 
        10px 100%, 
        0% calc(100% - 10px), 
        0% 10px
    );
}

.top-drop-menu:hover {
    background: linear-gradient(135deg, 
        rgba(255, 111, 0, 0.98) 0%, 
        rgba(255, 167, 38, 0.98) 50%, 
        rgba(255, 204, 128, 0.98) 100%);
    box-shadow: 
        0 12px 35px rgba(255, 87, 34, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.05);
}

/* Responsive Design for Space Navigation */
@media (max-width: 991px) {
    .nav-menu .nav-container {
        justify-content: center;
    }
    
    .nav-status-display {
        display: none;
    }
}

@media (min-width: 992px) {
    .nav-menu {
        display: block;
    }
    
    .top-drop-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .nav-menu {
        padding: 10px 0;
    }
    
    .space-nav {
        gap: 3px;
    }
    
    .space-nav li a {
        padding: 8px 12px;
        min-width: 70px;
        font-size: 0.9rem;
    }
    
    .nav-text {
        font-size: 0.9rem;
        letter-spacing: 0.6px;
    }
    
    .hud-corner {
        width: 20px;
        height: 20px;
    }
    
    .orbit-ring {
        width: 30px;
        height: 30px;
    }
    
    /* Enhanced text wrapping for smaller screens */
    p, span, div, h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .big-name .sticky-paper-head h1 {
        font-size: 2rem;
        word-wrap: break-word;
    }
    
    .big-name .sticky-paper-head .short-tag {
        font-size: 1rem;
        word-wrap: break-word;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }
    
    .nav-menu {
        padding: 8px 0;
    }
    
    .space-nav li a {
        padding: 6px 8px;
        min-width: 60px;
        font-size: 0.8rem;
    }
    
    .nav-text {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .hud-corner {
        width: 15px;
        height: 15px;
    }
    
    .orbit-ring {
        display: none;
    }
    
    .hud-line {
        width: 30px;
    }
    
    /* Extra responsive text handling for mobile */
    .wrapper {
        margin: 10px;
    }
    
    .le-paragraph p {
        font-size: 0.9rem;
        line-height: 1.7;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .info-item span {
        font-size: 0.85rem;
        word-wrap: break-word;
        word-break: break-word;
    }
    
    .blog-item .title {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .portfolio-item .info h3 {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .big-name .sticky-paper-head h1 {
        font-size: 1.8rem;
        word-wrap: break-word;
        line-height: 1.3;
    }
    
    .big-name .sticky-paper-head .short-tag {
        font-size: 0.9rem;
        word-wrap: break-word;
        line-height: 1.4;
    }
}

/* Enhanced social icons */
.social-icons ul li a {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icons ul li a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Enhanced timeline elements */
.timeline-holder .timeline-head .icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-holder .timeline-head .icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
}

.circular-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.circular-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Enhanced skills section */
.skill {
    background: linear-gradient(90deg, #667eea, #764ba2) !important;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.skill:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Enhanced interest icons */
.interests-holder ul li {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 10px;
    padding: 20px;
}

.interests-holder ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* Enhanced blog items */
.blog-item {
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-10px);
}

.blog-item .thumb {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.blog-item .thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.blog-item:hover .thumb::before {
    opacity: 1;
}

.blog-item .date {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    z-index: 2;
    position: relative;
}

/* Enhanced buttons */
.le-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.le-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Enhanced contact form */
.le-input {
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.le-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
    outline: none;
}

/* Enhanced footer */
#footer .sticky-paper-head {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* Enhanced responsive design */
@media (max-width: 768px) {
    .wrapper {
        margin: 10px;
        border-radius: 15px;
    }
    
    .big-name .sticky-paper-head h1 {
        font-size: 2rem;
    }
    
    .big-name .sticky-paper-head .short-tag {
        font-size: 1rem;
    }
}

/* Loading animation for images */
img {
    transition: all 0.3s ease;
}

/* Enhanced portfolio section */
.portfolio-holder .portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
}

.portfolio-holder .portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.portfolio-item .thumb {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.portfolio-item .thumb img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item:hover .thumb img {
    transform: scale(1.1);
}

.portfolio-item .overlay .info {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.portfolio-item:hover .overlay .info {
    transform: translateY(0);
}

.portfolio-item .overlay .info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-item .overlay .info p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Enhanced preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

#status {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

#preloader noscript {
    color: white;
    font-size: 1.2rem;
    margin-top: 20px;
    text-align: center;
}

/* Floating animation for avatar */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.avatar {
    animation: float 3s ease-in-out infinite;
}

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

.sticky-paper-head,
.sticky-paper-body {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

/* Enhanced back to top button */
.goto-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.goto-top.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.goto-top:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.goto-top::before {
    content: '↑';
}
