/* ========================================
   WORLD-CLASS UI/UX ENHANCEMENTS
   Modern Animations, 3D Effects, and Responsive Design
   ======================================== */

/* ========== ROOT VARIABLES ========== */
:root {
    --primary-color: #F96D00;
    --secondary-color: #FFAC00;
    --dark-bg: #000000;
    --light-text: #E5E5E5;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========== PERFORMANCE OPTIMIZATIONS ========== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

/* Prevent horizontal scrollbar */
*, *::before, *::after {
    max-width: 100%;
}

/* Fix for any element causing overflow */
.container, .row, [class*="col-"] {
    max-width: 100%;
    overflow-x: hidden;
}

/* ========== MODERN NAVBAR WITH 3D EFFECTS ========== */
.ftco_navbar {
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.85) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(249, 109, 0, 0.1);
}

.ftco_navbar.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 8px 32px rgba(249, 109, 0, 0.15);
    transform: translateY(0);
}

.ftco_navbar.awake {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-brand {
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.navbar-brand::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.navbar-brand:hover::before {
    width: 100%;
}

.navbar-brand img {
    transition: var(--transition-smooth);
    border: 2px solid var(--primary-color);
}

.navbar-brand:hover img {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 20px rgba(249, 109, 0, 0.5);
}

.nav-link {
    position: relative;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 0.5rem 1rem !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    text-decoration: none !important;
    border-bottom: none !important;
}

.nav-link span {
    text-decoration: none !important;
    border-bottom: none !important;
}

.nav-link span::before,
.nav-link span::after {
    display: none !important;
}

/* Override style.css underline styles */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link span::before {
    display: none !important;
    visibility: hidden !important;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover span::before {
    display: none !important;
    visibility: hidden !important;
}

.ftco-navbar-light .navbar-nav > .nav-item .nav-link.active span::before {
    display: none !important;
    visibility: hidden !important;
}

/* ========== HERO SECTION WITH ADVANCED ANIMATIONS ========== */
.hero-wrap {
    position: relative;
    overflow: hidden !important;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    padding-top: 80px;
    padding-bottom: 30px;
    min-height: 100vh;
    height: 100vh !important;
    max-height: 100vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-wrap.js-fullheight,
.slider-text.js-fullheight {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

.hero-wrap .row.js-fullheight {
    height: auto !important;
    min-height: auto !important;
    overflow: hidden !important;
    max-height: 100% !important;
}

.hero-wrap .container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: hidden;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-wrap .row {
    overflow: hidden;
    width: 100%;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-wrap .text {
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-wrap .text {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

/* Hero profile image */
.hero-profile-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.75rem;
}

.hero-dp {
    animation: fadeInUp 1s ease-out;
}

@media (max-width: 768px) {
    .hero-wrap {
        padding-top: 100px;
        padding-bottom: 20px;
    }
    
    .hero-dp {
        width: 100px !important;
        height: 100px !important;
    }
    
    .hero-profile-image {
        margin-bottom: 0.75rem;
    }
    
    .hero-wrap h1 {
        margin-bottom: 0.25rem;
    }
    
    .hero-wrap h2 {
        margin-bottom: 0.5rem;
    }
    
    .hero-wrap p {
        margin-bottom: 0.4rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-wrap {
        padding-top: 80px;
        padding-bottom: 15px;
    }
    
    .hero-dp {
        width: 80px !important;
        height: 80px !important;
    }
    
    .hero-profile-image {
        margin-bottom: 0.5rem;
    }
}

.img-about .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    width: 250px !important;
    height: 250px !important;
    border-radius: 50% !important;
}

.hero-wrap h1 {
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 30px rgba(255, 172, 0, 0.3);
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 172, 0, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 172, 0, 0.8));
    }
}

.hero-wrap h2 {
    font-weight: 400;
    color: #E5E5E5;
    animation: fadeIn 1.5s ease-out 0.3s both;
    margin-bottom: 0.75rem;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.4;
}

.hero-wrap p {
    animation: fadeIn 1.5s ease-out 0.6s both;
    margin-bottom: 0.5rem;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.txt-rotate {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

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


/* ========== ABOUT SECTION WITH 3D CARD EFFECTS ========== */
.ftco-about {
    position: relative;
    padding: 7rem 0;
}

.ftco-about .img-about.img {
    transform: none !important;
    height: auto !important;
    background: transparent !important;
}

.img-about {
    perspective: 1000px;
    position: relative;
    width: 250px !important;
    max-width: 250px !important;
    height: 250px !important;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-about .img,
.img-about img {
    transition: var(--transition-smooth);
    transform-style: preserve-3d;
    will-change: transform;
    width: 250px !important;
    max-width: 250px !important;
    height: 250px !important;
    min-width: 250px !important;
    min-height: 250px !important;
    aspect-ratio: 1 !important;
    object-fit: cover;
    border-radius: 50% !important;
    display: block !important;
    margin: 0 auto;
    border: 5px solid #ffffff;
    box-shadow: 0 0 20px rgba(249, 109, 0, 0.3);
    overflow: hidden;
}

.ftco-about .img-about .img {
    width: 250px !important;
    height: 250px !important;
    max-width: 250px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

.img-about:hover img {
    transform: rotateY(5deg) rotateX(5deg) scale(1.05);
    box-shadow: 0 20px 60px rgba(249, 109, 0, 0.4);
}

.about-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 15px;
    padding: 2rem 2rem 2rem 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
}

.about-info h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.about-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(249, 109, 0, 0.2);
    border-color: rgba(249, 109, 0, 0.3);
}

.about-info li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.about-info li:hover {
    padding-left: 10px;
    background: rgba(249, 109, 0, 0.05);
    border-left: 3px solid var(--primary-color);
}

.about-info-list {
    padding-left: 0;
    list-style: none;
    margin-left: 0;
}

.about-info-list li {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 0;
    padding-left: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-left: 0;
}

.about-info-list li span:first-child {
    min-width: 140px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-right: 1rem;
    flex-shrink: 0;
    padding-left: 0;
}

.about-info-list li span:last-child {
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-left: 0;
}

.about-info-list li:hover {
    padding-left: 15px;
    background: rgba(249, 109, 0, 0.05);
    border-left: 3px solid var(--primary-color);
}

@media (max-width: 992px) {
    .ftco-about .row {
        flex-direction: column;
    }

    .ftco-about .col-md-6 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .about-info {
        padding: 1.5rem 1.5rem 1.5rem 2rem;
    }
    
    .about-info-list li {
        padding-left: 0.75rem;
    }

    .img-about {
        width: 200px !important;
        max-width: 200px !important;
        height: 200px !important;
        margin-bottom: 2rem;
    }
    .img-about .img,
    .img-about img {
        width: 200px !important;
        height: 200px !important;
        max-width: 200px !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .img-about .overlay {
        width: 200px !important;
        height: 200px !important;
    }
}

@media (max-width: 768px) {
    .img-about {
        width: 180px !important;
        max-width: 180px !important;
        height: 180px !important;
    }
    
    .img-about .img,
    .img-about img {
        width: 180px !important;
        height: 180px !important;
        max-width: 180px !important;
        min-width: 180px !important;
        min-height: 180px !important;
    }
    .img-about .overlay {
        width: 180px !important;
        height: 180px !important;
    }
}

@media (max-width: 576px) {
    .about-info {
        padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    }
    
    .about-info-list li {
        padding-left: 0.5rem;
    }
    
    .about-info-list li span:first-child {
        min-width: 120px;
        font-size: 0.9rem;
    }
    
    .img-about {
        width: 150px !important;
        max-width: 150px !important;
        height: 150px !important;
    }
    
    .img-about .img,
    .img-about img {
        width: 150px !important;
        height: 150px !important;
        max-width: 150px !important;
        min-width: 150px !important;
        min-height: 150px !important;
    }
    .img-about .overlay {
        width: 150px !important;
        height: 150px !important;
    }
}

/* ========== RESUME SECTION WITH SMOOTH ANIMATIONS ========== */
.goto-here {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.goto-here .container {
    overflow: visible;
    position: relative;
    z-index: 1;
}

.goto-here .row {
    overflow: visible;
}

.page {
    overflow: visible;
    position: relative;
    z-index: 1;
    min-height: auto;
    padding-bottom: 30px;
}

#resume-section {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

#resume-section .container {
    overflow: visible;
    position: relative;
    z-index: 1;
}
#navi {
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#navi ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#navi li {
    margin: 0.5rem 0;
}

#navi a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #E5E5E5;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

#navi a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: var(--transition-smooth);
}

#navi a:hover::before,
#navi a.current::before {
    transform: scaleY(1);
}

#navi a:hover,
#navi a.current {
    background: rgba(249, 109, 0, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.resume-wrap {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.resume-wrap::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(249, 109, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resume-wrap:hover::before {
    opacity: 1;
}

.resume-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(249, 109, 0, 0.2);
    border-color: rgba(249, 109, 0, 0.3);
}

.resume-wrap .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(249, 109, 0, 0.3);
}

.resume-wrap:hover .icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(249, 109, 0, 0.5);
}

/* ========== SKILLS SECTION WITH HOVER EFFECTS ========== */
.grow {
    transition: var(--transition-bounce);
    position: relative;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.grow img {
    filter: grayscale(50%);
    transition: var(--transition-smooth);
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.grow:hover img {
    filter: grayscale(0%) drop-shadow(0 8px 20px rgba(249, 109, 0, 0.5));
    transform: translateY(-8px) scale(1.1) rotateZ(3deg);
    z-index: 10;
}

.grow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    z-index: 1;
}

.grow:hover::after {
    width: 80%;
}

/* Fix skills row layout */
#page-3 {
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 20px 0;
}

#page-3 .row.mb-4 {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    overflow: visible;
    width: calc(100% + 30px);
    max-width: calc(100% + 30px);
    position: relative;
    z-index: 1;
    padding: 10px 0;
}

#page-3 .row.mb-4 .col.grow {
    flex: 0 0 16.666%;
    max-width: 16.666%;
    padding: 15px;
    box-sizing: border-box;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: 100px;
}

#page-3 .row.mb-4 .col.grow img {
    filter: grayscale(50%);
    transition: var(--transition-smooth);
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

#page-3 .row.mb-4 .col.grow:hover img {
    filter: grayscale(0%) drop-shadow(0 8px 20px rgba(249, 109, 0, 0.5));
    transform: translateY(-8px) scale(1.1) rotateZ(3deg);
    z-index: 10;
}

#page-3 .row.mb-4 .col.grow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    z-index: 1;
}

#page-3 .row.mb-4 .col.grow:hover::after {
    width: 80%;
}

@media (max-width: 1200px) {
    #page-3 .row.mb-4 .col.grow {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 992px) {
    #page-3 .row.mb-4 .col.grow {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 768px) {
    #page-3 .row.mb-4 .col.grow {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        padding: 8px;
    }
    
    #page-3 .row.mb-4 .col.grow img {
        max-width: 50px;
        max-height: 50px;
    }
}

@media (max-width: 576px) {
    #page-3 .row.mb-4 .col.grow {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 10px;
    }
    
    #page-3 .row.mb-4 .col.grow img {
        max-width: 45px;
        max-height: 45px;
    }
}

/* ========== CONTACT SECTION WITH CARD EFFECTS ========== */
.contact-section {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.contact-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: hidden;
}

.contact-section .contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px;
    overflow: hidden;
    width: 100%;
}

.contact-section .contact-info > div {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .contact-section .contact-info > div {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .contact-section .contact-info > div {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

.contact-section .box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-section .box h3,
.contact-section .box p,
.contact-section .box a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.contact-section .box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 109, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-section .box:hover::before {
    left: 100%;
}

.contact-section .box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(249, 109, 0, 0.3);
    border-color: rgba(249, 109, 0, 0.5);
}

.contact-section .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    transition: var(--transition-bounce);
}

.contact-section .box:hover .icon {
    transform: rotateY(360deg) scale(1.15);
    box-shadow: 0 10px 30px rgba(249, 109, 0, 0.6);
}

/* ========== FOOTER WITH MODERN STYLING ========== */
.ftco-footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    border-top: 1px solid rgba(249, 109, 0, 0.2);
    position: relative;
}

.ftco-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.ftco-footer-social li {
    margin: 0 0.5rem;
}

.ftco-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(249, 109, 0, 0.2) 0%, rgba(255, 172, 0, 0.2) 100%);
    border-radius: 50%;
    transition: var(--transition-bounce);
    border: 1px solid rgba(249, 109, 0, 0.3);
}

.ftco-footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 30px rgba(249, 109, 0, 0.5);
}

/* ========== LOADING ANIMATION ========== */
#ftco-loader {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular {
    animation: rotate 2s linear infinite;
}

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

.path {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
    stroke: var(--primary-color);
    filter: drop-shadow(0 0 10px var(--primary-color));
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* ========== RESPONSIVE BREAKPOINTS ========== */
@media (max-width: 992px) {
    #navi {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 1.5rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .contact-section .box {
        margin-bottom: 1.5rem;
    }
    
    .contact-section .contact-info > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .img-about {
        margin-bottom: 2rem;
    }

    .ftco-about .img-about {
        margin-bottom: 2rem;
    }

    .ftco-about .pl-md-5 {
        padding-left: 15px !important;
    }
}

@media (max-width: 576px) {
    .hero-wrap {
        padding-top: 60px;
    }
    
    .hero-wrap h1 {
        font-size: 1.75rem;
    }
    
    .hero-wrap h2 {
        font-size: 1.1rem;
    }
    
    .hero-wrap .text {
        padding-top: 0.5rem;
    }
    
    .resume-wrap {
        padding: 1.5rem;
    }
    
    .contact-section .contact-info {
        margin: 0;
    }
    
    .contact-section .contact-info > div {
        padding: 10px 0;
    }
}

/* ========== ACCESSIBILITY IMPROVEMENTS ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.ftco-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ftco-animate.ftco-animated {
    opacity: 1;
    transform: translateY(0);
}

.fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.fadeInLeft {
    animation: fadeInLeft 0.8s ease-out;
}

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

.fadeInRight {
    animation: fadeInRight 0.8s ease-out;
}

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

/* ========== SMOOTH SCROLLBAR ========== */
/* Ensure only one scrollbar */
html {
    overflow-y: scroll; /* Always show vertical scrollbar to prevent layout shift */
    overflow-x: hidden !important;
}

body {
    overflow-y: auto;
    overflow-x: hidden !important;
}

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Hide horizontal scrollbar */
::-webkit-scrollbar:horizontal {
    height: 0;
    display: none;
}

/* Ensure no horizontal overflow */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Prevent double scrollbars */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #0a0a0a;
}

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

*::-webkit-scrollbar:horizontal {
    display: none;
}

/* ========== SELECTION STYLING ========== */
::selection {
    background: var(--primary-color);
    color: #ffffff;
}

::-moz-selection {
    background: var(--primary-color);
    color: #ffffff;
}

/* ========== LINK HOVER EFFECTS ========== */
a {
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--primary-color) !important;
}

/* ========== BUTTON ANIMATIONS ========== */
button,
.btn {
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

button::before,
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before,
.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* ========== HEADING ANIMATIONS ========== */
h1, h2, h3, h4, h5, h6 {
    position: relative;
    display: inline-block;
}

.heading-section h2 {
    position: relative;
    padding-bottom: 1rem;
}

.heading-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

/* ========== PARALLAX EFFECT ========== */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ========== GLASS MORPHISM EFFECT ========== */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* ========== GRADIENT TEXT ========== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== PAGE TRANSITION ========== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-transition.active {
    opacity: 1;
}
