/* Google Fonts */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variables */

:root {
    /* Colors */
    --skin-color: #ec1839;
    --bg-black-900: #000000;
    --bg-black-100: #dddddd;
    --bg-black-50: #eff0f4;
    --text-black-900: #000000;
    --text-black-700: #555555;
    --text-black-600: #666666;
    --text-black-300: #bbbbbb;
    --outer-shadow: 3px 3px 3px #d0d0d0, -3px -3px 3px #f8f8f8;
    --outer-shadow-0: 0 0 0 #d0d0d0, 0 0 0 #f8f8f8;
    --inner-shadow: inset 3px 3px 3px #d0d0d0, inset -3px -3px 3px #f8f8f8;
    --inner-shadow-0: inset 0 0 0 #d0d0d0, inset 0 0 0 #f8f8f8;
    /* Transition */
    --transition: all 0.3s ease;
}


/* Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background-color: var(--bg-black-50);
    transition: var(--transition);
}


/* 
body.dark {
  --bg-black-900: #ffffff;
  --bg-black-100: #353535;
  --bg-black-50: #2b2c2f;
  --text-black-900: #ffffff;
  --text-black-700: #ffffff;
  --text-black-600: #bbbbbb;
  --outer-shadow: 3px 3px 3px #222327, -3px -3px 3px #363636;
  --outer-shadow-0: 0 0 0 #222327, 0 0 0 #363636;
  --inner-shadow: inset 3px 3px 3px #222327, inset -3px -3px 3px #363636;
  --inner-shadow-0: inset 0 0 0 #222327, inset 0 0 0 #363636;
} */

body.hidden-scrolling {
    overflow-y: hidden;
}

::before,
::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}


/* Header */

.header {
    padding: 20px 15px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    transition: var(--transition);
    background-color: var(--bg-black-50);
    box-shadow: 0 2px 5px hsla(0, 100%, 0%, 0.937);
    backdrop-filter: blur(10px);
}

.header .logo a {
    display: inline-block;
    text-transform: capitalize;
    color: var(--text-black-900);
    font-size: 22px;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 30px;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.header .logo a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--skin-color);
    transition: width 0.3s ease;
}

.header .logo a:hover::after {
    width: 100%;
}


/* Hamburger button styles are now handled by .hamburger-btn class below */


/* Desktop Navigation */

.desktop-nav {
    display: none;
}

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

.desktop-nav .nav-link {
    color: var(--text-black-600);
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
    color: var(--skin-color);
}

.desktop-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--skin-color);
    transition: width 0.3s ease;
}

.desktop-nav .nav-link:hover::after,
.desktop-nav .nav-link.active::after {
    width: 100%;
}


/* Neumorphic Hamburger Button */

.hamburger-btn {
    display: none;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--bg-black-50);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.08), -4px -4px 12px rgba(255, 255, 255, 0.8);
    z-index: 1001;
}

.hamburger-btn:hover {
    box-shadow: inset 4px 4px 12px rgba(0, 0, 0, 0.08), inset -4px -4px 12px rgba(255, 255, 255, 0.8);
}

.hamburger-btn:focus {
    outline: none;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.08), -4px -4px 12px rgba(255, 255, 255, 0.8), 0 0 0 3px rgba(236, 24, 57, 0.3);
}

.hamburger-line {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--text-black-900);
    border-radius: 1px;
    transition: all 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger-line:nth-child(1) {
    top: 16px;
}

.hamburger-line:nth-child(2) {
    top: 24px;
}

.hamburger-line:nth-child(3) {
    top: 32px;
}


/* Hamburger Animation */

.hamburger-btn.active .hamburger-line:nth-child(1) {
    top: 24px;
    transform: translateX(-50%) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    top: 24px;
    transform: translateX(-50%) rotate(-45deg);
}


/* Mobile Navigation Overlay */

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
    backdrop-filter: blur(4px);
}


/* Mobile Navigation Drawer */

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 84%;
    max-width: 360px;
    height: 100vh;
    background-color: var(--bg-black-50);
    z-index: 10000;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}


/* Open state - controlled by body class */

body.is-open .mobile-nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.is-open .mobile-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.28s ease;
}


/* Prevent body scroll when nav is open */

body.is-open {
    overflow: hidden;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--bg-black-100);
}

.logo-mobile {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-black-900);
}

.close-nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--bg-black-50);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.08), -2px -2px 8px rgba(255, 255, 255, 0.8);
}

.close-nav-btn:hover {
    box-shadow: inset 2px 2px 8px rgba(0, 0, 0, 0.08), inset -2px -2px 8px rgba(255, 255, 255, 0.8);
}

.close-icon {
    font-size: 24px;
    color: var(--text-black-600);
    line-height: 1;
}

.mobile-nav-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.mobile-nav-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-content li {
    margin-bottom: 10px;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--text-black-600);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(236, 24, 57, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--skin-color);
    background-color: rgba(236, 24, 57, 0.05);
    transform: translateX(5px);
}

.mobile-nav-link.active {
    background-color: rgba(236, 24, 57, 0.1);
    font-weight: 600;
}


/* Fade Out Effect */

.fade-out-effect {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-black-50);
    z-index: -1;
    visibility: hidden;
}

.fade-out-effect.active {
    visibility: visible;
    z-index: 998;
    animation: fadeOut 0.3s ease-out;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


/* Sections */

.section {
    padding: 80px 0 0;
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* Home Section */

.home-section {
    padding-top: 120px;
}

.home-section .full-screen {
    min-height: calc(100vh - 120px);
    padding: 50px 0;
    display: flex;
    align-items: center;
}

.home-section .home-text,
.home-section .home-img {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    text-align: center;
}

.home-section .home-text p {
    color: var(--text-black-600);
    font-size: 18px;
    text-transform: capitalize;
    margin: 0 0 15px;
}

.home-section .home-text h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-black-900);
    margin: 0 0 10px;
    text-transform: capitalize;
}

.home-section .home-text h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-black-600);
    margin: 0 0 25px;
    text-transform: capitalize;
}

.home-section .home-text .btn-1 {
    margin-top: 20px;
}

.home-section .home-img .img-box {
    width: clamp(240px, 50vw, 360px);
    aspect-ratio: 1 / 1;
    max-width: 360px;
    display: block;
    margin: 0 auto 40px;
    border-radius: 50%;
    padding: 20px;
    border: 12px solid #fff;
    outline: 10px solid rgba(255, 255, 255, 0.32);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 252, 0.94));
    isolation: isolate;
}

.home-section .home-img .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid transparent;
    box-shadow: var(--outer-shadow);
    display: block;
    position: relative;
    z-index: 2;
}

.home-section .home-img .img-box::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        inset 0 0 30px rgba(255, 255, 255, 0.32),
        0 0 0 10px rgba(255, 255, 255, 0.24);
    z-index: 1;
    pointer-events: none;
}

.home-section .home-img .img-box::after {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92) 35%, rgba(255, 255, 255, 0) 70%);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.08),
        0 0 0 18px rgba(255, 255, 255, 0.55),
        0 0 0 34px rgba(255, 255, 255, 0.16);
    z-index: 0;
    pointer-events: none;
}

.contact-pill {
    position: absolute;
    top: -96px;
    left: 50%;
    transform: translateX(-50%);
    background: #f6f7fb;
    color: #e53935;
    padding: 10px 22px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .4px;
    text-transform: capitalize;
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-direction: column;
    z-index: 5;
}

.contact-pill .arrow-down {
    position: relative;
    width: 2px;
    height: 20px;
    background: #e53935;
    display: block;
}

.contact-pill .arrow-down::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-left: 2px solid #e53935;
    border-bottom: 2px solid #e53935;
    background: transparent;
}

/* Orbiting tool icons around profile image */
.orbit {
    display: none;
}

.orbit-icon {
    --i: 0;
    --radius: 164px;
    --float-duration: 5s;
    --rgb-icon: 68, 68, 68;
    --icon-color: #444;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-color);
    font-size: 21px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.12),
        0 6px 6px rgba(0, 0, 0, 0.05),
        0 0 0 6px rgba(255, 255, 255, 0.65);
    transform: rotate(calc(30deg * var(--i))) translateY(calc(-1 * var(--radius))) rotate(calc(-30deg * var(--i)));
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    pointer-events: auto;
    overflow: hidden;
}

.orbit-icon svg {
    width: 22px;
    height: 22px;
}

.orbit-icon-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatY var(--float-duration) ease-in-out infinite;
}

.orbit-icon:nth-child(1)  { --i: 0;  --float-duration: 5.2s; }
.orbit-icon:nth-child(2)  { --i: 1;  --float-duration: 4.7s; }
.orbit-icon:nth-child(3)  { --i: 2;  --float-duration: 5.6s; }
.orbit-icon:nth-child(4)  { --i: 3;  --float-duration: 4.9s; }
.orbit-icon:nth-child(5)  { --i: 4;  --float-duration: 5.4s; }
.orbit-icon:nth-child(6)  { --i: 5;  --float-duration: 4.8s; }
.orbit-icon:nth-child(7)  { --i: 6;  --float-duration: 5.3s; }
.orbit-icon:nth-child(8)  { --i: 7;  --float-duration: 4.6s; }
.orbit-icon:nth-child(9)  { --i: 8;  --float-duration: 5.1s; }
.orbit-icon:nth-child(10) { --i: 9;  --float-duration: 4.5s; }
.orbit-icon:nth-child(11) { --i: 10; --float-duration: 5.5s; }
.orbit-icon:nth-child(12) { --i: 11; --float-duration: 4.4s; }

.orbit-icon.github   { --icon-color: #24292e; --rgb-icon: 36,41,46; }
.orbit-icon.vscode   { --icon-color: #0078d7; --rgb-icon: 0,120,215; }
.orbit-icon.ai       { --icon-color: #6a1b9a; --rgb-icon: 106,27,154; }
.orbit-icon.insta    { --icon-color: #f56040; --rgb-icon: 245,96,64; }
.orbit-icon.kali     { --icon-color: #0d1b2a; --rgb-icon: 13,27,42; }
.orbit-icon.terminal { --icon-color: #0f0f0f; --rgb-icon: 15,15,15; }
.orbit-icon.react    { --icon-color: #00d8ff; --rgb-icon: 0,216,255; }
.orbit-icon.node     { --icon-color: #3c873a; --rgb-icon: 60,135,58; }
.orbit-icon.docker   { --icon-color: #0db7ed; --rgb-icon: 13,183,237; }
.orbit-icon.html     { --icon-color: #e44d26; --rgb-icon: 228,77,38; }
.orbit-icon.css      { --icon-color: #264de4; --rgb-icon: 38,77,228; }
.orbit-icon.security { --icon-color: #ff6b6b; --rgb-icon: 255,107,107; }

.orbit-icon:hover {
    transform: rotate(calc(30deg * var(--i))) translateY(calc(-1 * var(--radius) - 6px)) rotate(calc(-30deg * var(--i))) scale(1.15);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.12),
        0 6px 6px rgba(0, 0, 0, 0.07),
        0 0 14px rgba(var(--rgb-icon, 0, 0, 0), 0.35);
}

@keyframes orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@media (max-width: 768px) {
    .orbit-icon {
        --radius: 144px;
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .orbit-icon {
        --radius: 128px;
        width: 44px;
        height: 44px;
        font-size: 18.5px;
    }
}


/* About Section */

.about-section .about-img,
.about-section .about-info {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.about-section .about-img {
    margin-bottom: 30px;
    text-align: center;
}

.about-section .about-img .img-box {
    max-width: 350px;
    margin: 0 auto;
    padding: 15px;
    border-radius: 5px;
    box-shadow: var(--inner-shadow);
}

.about-section .about-img .img-box img {
    width: 100%;
    border: 10px solid transparent;
    border-radius: 5px;
    box-shadow: var(--outer-shadow);
}

.about-section .about-img .social-links {
    margin-top: 20px;
    text-align: center;
}

.about-section .about-img .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    font-size: 16px;
    text-align: center;
    color: var(--text-black-600);
    margin: 0 4px;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--outer-shadow);
}

.about-section .about-img .social-links a:hover {
    color: var(--skin-color);
    box-shadow: var(--inner-shadow);
}

.about-highlights {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--bg-black-100);
}

.about-highlights h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.about-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-black-700);
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.about-highlights .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--skin-color);
    display: inline-block;
}

.about-stack {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--bg-black-100);
}

.about-stack h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.tag-grid .tag {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--bg-black-50);
    color: var(--text-black-700);
    font-size: 13px;
    box-shadow: var(--outer-shadow);
    text-align: center;
}

.stack-note {
    font-size: 13px;
    color: var(--text-black-600);
}

.about-wins {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--bg-black-100);
}

.about-wins h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.about-wins ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-black-700);
}

.about-wins li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.about-wins i {
    color: var(--skin-color);
    font-size: 14px;
}

.about-editing {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--bg-black-100);
}

.about-editing h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.about-editing ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-black-700);
}

.about-editing li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.about-editing i {
    color: var(--skin-color);
    font-size: 14px;
}

.auto-gallery {
    margin-top: 10px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-black-100);
    box-shadow: var(--outer-shadow);
    height: 260px;
}

.gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.gallery-slide.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .auto-gallery {
        height: 220px;
    }
}

.about-section .about-img .social-links a i {
    line-height: 40px;
}

.about-section .section-title h2 {
    text-align: center;
}

.about-section .about-info p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 15px;
    color: var(--text-black-600);
}

.about-section .about-info span {
    font-weight: 600;
}

.about-section .about-info .skills {
    margin-top: 30px;
}

.about-section .about-info .skills h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-black-900);
}

.about-section .about-info .skills .skill-item {
    display: inline-block;
    padding: 5px 15px;
    margin: 0 10px 15px 0;
    background-color: var(--bg-black-100);
    color: var(--text-black-600);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--outer-shadow);
}

.about-section .about-info .skills .skill-item:hover {
    color: var(--skin-color);
    box-shadow: var(--inner-shadow);
}

.about-section .about-tabs {
    margin: 30px 0;
    text-align: center;
}

.about-section .about-tabs .tab-item {
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-black-600);
    background-color: transparent;
    border: none;
    text-transform: capitalize;
    font-size: 16px;
    transition: var(--transition);
    margin: 0 5px 10px;
    box-shadow: var(--outer-shadow);
}

.about-section .about-tabs .tab-item.active {
    color: var(--skin-color);
    box-shadow: var(--inner-shadow);
}

.about-section .tab-content {
    margin-top: 30px;
}

.about-section .timeline {
    position: relative;
}

.about-section .timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    top: 0;
    left: 5px;
    background-color: var(--bg-black-100);
}

.about-section .timeline .timeline-item {
    margin-bottom: 30px;
    position: relative;
    padding: 10px 0 0 40px;
}

.about-section .timeline .timeline-item::before {
    content: '';
    position: absolute;
    height: 11px;
    width: 11px;
    background-color: var(--skin-color);
    left: 0;
    top: 16px;
    border-radius: 50%;
}

.about-section .timeline .timeline-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black-900);
    margin-bottom: 5px;
    text-transform: capitalize;
}

.about-section .timeline .timeline-item h4 span {
    font-weight: 500;
    color: var(--text-black-600);
    font-size: 16px;
}

.about-section .timeline .timeline-item p {
    font-size: 16px;
    color: var(--text-black-600);
    line-height: 26px;
}

.about-section .btn-1 {
    margin-right: 15px;
    margin-bottom: 15px;
}


/* Service Section */

.service-section .service-item {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 15px;
}

.service-section .service-item-inner {
    padding: 30px 15px;
    border-radius: 5px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--outer-shadow);
}

.service-section .service-item-inner:hover {
    box-shadow: var(--inner-shadow);
}

.service-section .service-item-inner .icon {
    height: 60px;
    width: 60px;
    display: block;
    margin: 0 auto 20px;
    text-align: center;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--inner-shadow);
    position: relative;
}

.service-section .service-item-inner .icon i {
    font-size: 25px;
    line-height: 60px;
    transition: var(--transition);
}

.service-section .service-item-inner:hover .icon {
    background-color: var(--skin-color);
}

.service-section .service-item-inner:hover .icon i {
    color: #ffffff;
}

.service-section .service-item-inner h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black-900);
    margin-bottom: 15px;
    text-transform: capitalize;
}

.service-section .service-item-inner p {
    font-size: 16px;
    color: var(--text-black-600);
    line-height: 26px;
    margin-bottom: 0;
}


/* Portfolio Section */

.portfolio-section .portfolio-filter {
    padding: 0 15px;
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.portfolio-section .filter-item {
    display: inline-block;
    margin: 0 5px 10px;
    padding: 5px 10px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-black-600);
    text-transform: capitalize;
    font-size: 16px;
    transition: var(--transition);
    background-color: transparent;
    border: none;
    box-shadow: var(--outer-shadow);
    font-family: 'Poppins', sans-serif;
}

.portfolio-section .filter-item.active {
    color: var(--skin-color);
    box-shadow: var(--inner-shadow);
}

.portfolio-section .portfolio-item {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
}

.portfolio-section .portfolio-item.hide {
    display: none;
}

.portfolio-section .portfolio-item.show {
    display: flex;
    animation: fadeInTop 0.5s ease;
}

@keyframes fadeInTop {
    0% {
        opacity: 0;
        transform: translateY(-25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.portfolio-section .portfolio-item-inner {
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    box-shadow: var(--outer-shadow);
}

.portfolio-section .portfolio-item-img {
    position: relative;
}

.portfolio-section .portfolio-item-img img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

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

.portfolio-section .portfolio-item-img .view-project {
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 500;
    color: var(--skin-color);
    position: absolute;
    left: 0;
    bottom: -4px;
    transform: translateY(-5px);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-section .portfolio-item-inner:hover .view-project {
    transform: translateY(0px);
    opacity: 1;
    z-index: 1;
}

.portfolio-section .portfolio-item-details {
    display: none;
    padding: 20px;
    background-color: var(--bg-black-100);
    border-radius: 5px;
    margin-top: 15px;
}

.portfolio-section .portfolio-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-black-900);
    text-transform: capitalize;
    margin: 10px 0 0;
    padding: 0 10px;
}


/* Contact Section */

.contact-section {
    padding: 80px 0;
    background-color: var(--bg-black-50);
}

.contact-section .section-title h2 {
    color: var(--text-black-900);
}

.contact-section .form-container {
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
    position: relative;
}

.contact-section #contactForm {
    background: var(--bg-black-100);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--outer-shadow);
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.contact-section #contactForm:hover {
    transform: rotateY(5deg) translateZ(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 10px 0 30px rgba(0, 0, 0, 0.1), -10px 0 30px rgba(0, 0, 0, 0.1);
}

.contact-section #contactForm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 24, 57, 0.1), rgba(155, 89, 182, 0.1));
    border-radius: 10px;
    z-index: -1;
    transform: translateZ(-10px);
}

.contact-section .form-group {
    margin-bottom: 25px;
}

.contact-section .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-black-700);
    transform: translateZ(20px);
}

.contact-section .form-group input,
.contact-section .form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: var(--bg-black-50);
    box-shadow: var(--inner-shadow);
    transform: translateZ(10px);
}

.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus {
    box-shadow: var(--inner-shadow-0);
}

.contact-section .form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-section button[type="submit"] {
    background: linear-gradient(90deg, var(--skin-color), #9b59b6);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateZ(15px);
    box-shadow: var(--outer-shadow);
    width: 100%;
    margin-top: 10px;
}

.contact-section button[type="submit"]:hover {
    transform: translateZ(20px) scale(1.02);
    box-shadow: var(--inner-shadow);
}

.contact-section .loading {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #fff;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.contact-section .status-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
}

.contact-section .status-message.success {
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 4px solid #2ecc71;
    color: var(--text-black-700);
}

.contact-section .status-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    color: var(--text-black-700);
}


/* 3D shadow effect */

.contact-section .form-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 5%;
    width: 90%;
    height: 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0 0 10px 10px;
    filter: blur(10px);
    transform: rotateX(60deg) translateZ(-30px);
    z-index: -1;
}


/* Buttons */

.btn-1 {
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
    color: var(--skin-color);
    background-color: transparent;
    line-height: 1.5;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition);
    display: inline-block;
    border: none;
    box-shadow: var(--outer-shadow);
}

.btn-1:hover {
    color: var(--text-black-900);
    box-shadow: var(--inner-shadow);
}


/* Section Title */

.section-title {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
    color: var(--text-black-900);
    text-transform: uppercase;
    margin: 0;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::before {
    content: attr(data-heading);
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--skin-color);
    margin-bottom: 5px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--skin-color);
}


/* Preloader */

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1500;
    background-color: var(--bg-black-50);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
}

.preloader .loader {
    height: 40px;
    width: 40px;
    border: 3px solid var(--skin-color);
    border-radius: 50%;
    border-top: 3px solid transparent;
    animation: spin 2s linear infinite;
}

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


/* Style Switcher */

.style-switcher {
    position: fixed;
    right: 0;
    top: 60px;
    padding: 15px;
    width: 200px;
    z-index: 101;
    border-radius: 5px;
    transition: var(--transition);
    transform: translateX(100%);
    background-color: var(--bg-black-50);
    box-shadow: var(--outer-shadow);
}

.style-switcher.open {
    transform: translateX(-15px);
}

.style-switcher .s-icon {
    position: absolute;
    height: 40px;
    width: 40px;
    text-align: center;
    font-size: 20px;
    color: var(--text-black-900);
    right: 100%;
    margin-right: 15px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: var(--outer-shadow);
}

.style-switcher .s-icon i {
    line-height: 40px;
}

.style-switcher .style-switcher-toggler {
    top: 0;
}

.style-switcher .day-night {
    top: 55px;
}

.style-switcher h4 {
    margin: 0 0 10px;
    color: var(--text-black-700);
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}

.style-switcher .colors {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.style-switcher .colors span {
    display: inline-block;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--inner-shadow);
}

.style-switcher .color-1 {
    background-color: #ec1839;
}

.style-switcher .color-2 {
    background-color: #fa5b0f;
}

.style-switcher .color-3 {
    background-color: #37b182;
}

.style-switcher .color-4 {
    background-color: #1854b4;
}

.style-switcher .color-5 {
    background-color: #f021b2;
}


/* Effects */

.outer-shadow {
    box-shadow: var(--outer-shadow);
}

.hover-in-shadow:hover {
    box-shadow: var(--inner-shadow);
}

.inner-shadow {
    box-shadow: var(--inner-shadow);
}


/* Responsive Media Queries */

@media (min-width: 576px) {
    .home-section .home-text h1 {
        font-size: 48px;
    }
    .portfolio-section .portfolio-item,
    .service-section .service-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .about-section .about-tabs .tab-item {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .header .logo a {
        font-size: 30px;
        padding: 15px 20px;
    }
    /* Show desktop nav, hide hamburger */
    .desktop-nav {
        display: block;
    }
    .hamburger-btn {
        display: none !important;
    }
    /* Hamburger button hidden on desktop */
    .home-section .home-text,
    .home-section .home-img {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .home-section .home-text {
        text-align: left;
    }
    .home-section .home-img {
        text-align: right;
    }
    .about-section .about-img,
    .about-section .about-info {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .about-section .about-img {
        margin-bottom: 0;
    }
    .contact-section .w-50 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .contact-section .submit-btn {
        text-align: right;
    }
}

@media (max-width: 767px) {
    /* Hide desktop nav, show hamburger and bottom nav */
    .desktop-nav {
        display: none !important;
    }
    .hamburger-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    /* Hamburger button visible on mobile */
    .mobile-bottom-nav {
        display: flex;
    }
    /* Remove bottom padding to eliminate gap */
    body {
        padding-bottom: 0;
    }
    /* Slimmer mobile header */
    .header {
        padding: 10px 12px;
    }
    .header .container {
        padding: 0 4px;
    }
    .header .logo a {
        font-size: 18px;
        padding: 6px 8px;
    }
    .hamburger-btn {
        width: 38px;
        height: 38px;
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.08), -3px -3px 10px rgba(255, 255, 255, 0.8);
    }
    .hamburger-line {
        width: 20px;
        height: 2px;
        margin: 4px auto;
    }
    /* Tighten hero spacing on mobile */
    .home-section {
        padding-top: 64px;
    }
    .home-section .full-screen {
        min-height: auto;
        padding: 18px 0 6px;
        align-items: flex-start;
    }
    .home-section .home-text {
        margin-top: 0;
        padding-top: 0;
    }
    .home-section .home-text p.greeting {
        margin-bottom: 10px;
    }
    .home-section .home-text h1 {
        margin: 0 0 6px;
    }
}


/* Contact Section Responsive */


/* Footer Styles */

.footer-content {
    background-color: var(--bg-black-100);
    color: var(--text-black-700);
    padding: 60px 0 0;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

.footer-content .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 30px;
}

.footer-about,
.footer-social,
.footer-contact {
    flex: 1 1 220px;
    min-width: 220px;
    margin-bottom: 20px;
}

.footer-about h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-black-900);
    margin-bottom: 10px;
}

.footer-about p {
    font-size: 15px;
    color: var(--text-black-600);
    line-height: 1.7;
}

.footer-social h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--skin-color);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.footer-social a {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 6px;
    color: var(--text-black-600);
    font-size: 18px;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--outer-shadow);
    height: 38px;
    width: 38px;
    text-align: center;
    line-height: 38px;
    background: var(--bg-black-50);
}

.footer-social a:hover {
    color: var(--skin-color);
    box-shadow: var(--inner-shadow);
    background: var(--bg-black-100);
}

.footer-contact p {
    font-size: 15px;
    color: var(--text-black-600);
}

.footer-contact a {
    color: var(--skin-color);
    text-decoration: underline;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--text-black-900);
}

.footer-bottom {
    border-top: 1px solid var(--bg-black-50);
    padding: 15px 0 0;
    text-align: center;
    margin-bottom: 0;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-black-300);
    margin: 0;
    padding-bottom: 0;
}


/* Ensure footer sits flush at bottom */

footer {
    margin-bottom: 0;
    padding-bottom: 0;
}


/* Force footer to bottom with no gap - Mobile specific */

@media (max-width: 767px) {
    /* Remove any conflicting height settings */
    /* Ensure footer is at the very bottom */
    footer {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    /* Force footer to absolute bottom with no gap */
    .footer-content {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    .footer-bottom {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}


/* Responsive Footer */

@media (max-width: 991px) {
    .footer-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .footer-about,
    .footer-social,
    .footer-contact {
        margin-bottom: 25px;
    }
}

@media (max-width: 575px) {
    .footer-content {
        padding: 40px 0 0;
    }
    .footer-about h3 {
        font-size: 18px;
    }
    .footer-social h4,
    .footer-contact h4 {
        font-size: 15px;
    }
}

@media (min-width: 992px) {
    .portfolio-section .portfolio-item,
    .service-section .service-item {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
    .section-title h2 {
        font-size: 40px;
    }
}

@media (min-width: 1200px) {
    .home-section .home-text h1 {
        font-size: 55px;
    }
}


/* ====== Enhancements: safe to paste at end ====== */


/* sticky header shadow on scroll */

.header.scrolled {
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    backdrop-filter: saturate(140%) blur(6px);
}


/* block scrolling when mobile nav open */

.stop-scrolling {
    height: 100vh;
    overflow: hidden;
}


/* fade-out effect helper */

.fade-out-effect {
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}

.fade-out-effect.active {
    opacity: 1;
}


/* reveal on scroll */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.reveal-in {
    opacity: 1;
    transform: none;
}

.reveal-left {
    transform: translateX(-24px);
}

.reveal-right {
    transform: translateX(24px);
}

.reveal.reveal-in.reveal-left,
.reveal.reveal-in.reveal-right,
.reveal.in-view.reveal-left,
.reveal.in-view.reveal-right {
    transform: none;
}


/* optional: tune outer-shadow look in dark mode */

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0b0c10;
    --fg: #eaeaea;
    --card: #121317;
}

:root[data-theme="dark"] body {
    background: var(--bg);
    color: var(--fg);
}

:root[data-theme="dark"] .outer-shadow {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    background: #0f1115;
}

:root[data-theme="dark"] .inner-shadow {
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.12);
}


/* hamburger-btn cursor already defined above */


/* lightbox images inside portfolio should be clickable */

.portfolio-item .portfolio-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}


/* ===== Polished background for sections (light + dark aware) ===== */

:root {
    --bg-base: #f3f4f6;
    --bg-ink: #111827;
    --bg-dot: rgba(0, 0, 0, .06);
    --bg-blob1: 255, 214, 102;
    --bg-blob2: 110, 168, 255;
}

[data-theme="dark"] {
    --bg-base: #0c0d0f;
    --bg-ink: #e5e7eb;
    --bg-dot: rgba(255, 255, 255, .06);
    --bg-blob1: 255, 184, 77;
    --bg-blob2: 120, 180, 255;
}


/* Make sections breathe a bit more */

.section,
.about-section,
.service-section,
.portfolio-section,
.testimonials-section,
.blog-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(1200px 600px at -10% -10%, rgba(255, 255, 255, .85), transparent 60%), radial-gradient(900px 500px at 110% -10%, rgba(255, 255, 255, .65), transparent 60%), linear-gradient(180deg, var(--bg-base), color-mix(in srgb, var(--bg-base) 80%, #ffffff 20%));
}


/* Subtle dotted pattern */

.about-section::before,
.service-section::before,
.portfolio-section::before,
.testimonials-section::before,
.blog-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(var(--bg-dot) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .55;
    pointer-events: none;
}


/* Soft gradient blobs for depth */

.about-section::after {
    content: "";
    position: absolute;
    inset: -10% -5% auto -5%;
    z-index: -1;
    height: 60vh;
    max-height: 620px;
    background: radial-gradient(closest-side, rgba(var(--bg-blob1), .20) 0%, transparent 65%) 15% 30% / 38% 38% no-repeat, radial-gradient(closest-side, rgba(var(--bg-blob2), .18) 0%, transparent 65%) 85% 10% / 32% 32% no-repeat, radial-gradient(closest-side, rgba(180, 255, 210, .16) 0%, transparent 65%) 75% 70% / 30% 30% no-repeat;
    filter: blur(30px) saturate(110%);
    pointer-events: none;
}


/* Section title gets a gentle underline accent */

.section-title h2 {
    position: relative;
}

.section-title h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 72px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(var(--bg-blob2), .9), rgba(var(--bg-blob1), .9));
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}


/* Timeline line visibility boost */

.timeline {
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0.9rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .04));
}

[data-theme="dark"] .timeline::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
}


/* Cards/boxes pop a bit more on new bg */

.outer-shadow,
.inner-shadow,
.img-box {
    backdrop-filter: saturate(105%) blur(0.2px);
}


/* Optional: container width a bit wider on large screens */

@media (min-width: 1200px) {
    .container {
        max-width: 1160px;
    }
}


/* ===== NEW ENHANCED FEATURES ===== */


/* Enhanced Home Section */

.home-section {
    position: relative;
    overflow: hidden;
}

.greeting {
    font-size: 18px;
    color: var(--text-black-600);
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.name-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-black-900);
    margin: 0 0 15px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.typing-text {
    display: inline-block;
    position: relative;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--skin-color);
}

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

.role-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-black-600);
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-black-600);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.home-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--skin-color), #9b59b6);
    color: white !important;
    border: none;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 24, 57, 0.3);
}

.scroll-indicator {
    position: static;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-black-600);
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.2s forwards;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--skin-color);
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--skin-color);
    border-bottom: 2px solid var(--skin-color);
    transform: rotate(45deg);
}

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

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.scroll-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--skin-color), #9b59b6);
    width: 0%;
    transition: width 0.1s ease;
}


/* Floating Elements with 3D Effects */

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    perspective: 1000px;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--skin-color), #9b59b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 8px 32px rgba(236, 24, 57, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: float3D 4s ease-in-out infinite;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.floating-icon:hover {
    transform: scale(1.1) rotateY(180deg);
    box-shadow: 0 12px 40px rgba(236, 24, 57, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.floating-icon.icon-1 {
    top: 15%;
    right: -25px;
    animation-delay: 0s;
    animation-duration: 3.5s;
}

.floating-icon.icon-2 {
    bottom: 25%;
    left: -25px;
    animation-delay: 1.2s;
    animation-duration: 4.2s;
}

.floating-icon.icon-3 {
    top: 55%;
    right: -35px;
    animation-delay: 2.4s;
    animation-duration: 3.8s;
}


/* Additional 3D floating elements */

.floating-icon.icon-4 {
    top: 40%;
    left: -30px;
    animation-delay: 0.8s;
    animation-duration: 4.5s;
    background: linear-gradient(135deg, #9b59b6, #e74c3c);
}

.floating-icon.icon-5 {
    bottom: 15%;
    right: -20px;
    animation-delay: 1.8s;
    animation-duration: 3.2s;
    background: linear-gradient(135deg, #f39c12, var(--skin-color));
}

@keyframes float3D {
    0%,
    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-15px) rotateX(5deg) rotateY(10deg);
    }
    50% {
        transform: translateY(-25px) rotateX(0deg) rotateY(20deg);
    }
    75% {
        transform: translateY(-10px) rotateX(-5deg) rotateY(10deg);
    }
}


/* 3D Card Effects for Portfolio Items */

.portfolio-item {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}


/* 3D Service Cards */

.service-item-inner {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-item-inner:hover {
    transform: translateY(-8px) rotateX(3deg);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.1);
}


/* 3D Blog Cards */

.blog-content {
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-content:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
}


/* 3D Button Effects */

.btn-1 {
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.btn-1:hover::before {
    left: 100%;
}

.btn-1:hover {
    transform: translateY(-3px) rotateX(5deg);
    box-shadow: 0 10px 30px rgba(236, 24, 57, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
}


/* 3D Header Effects */

.header {
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.header.scrolled {
    transform: translateZ(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
}


/* Enhanced Skills Section */

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.skill-progress {
    margin-top: 30px;
}

.skill-progress h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black-900);
    margin-bottom: 20px;
}

.progress-item {
    margin-bottom: 20px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-name span:first-child {
    font-weight: 500;
    color: var(--text-black-700);
}

.skill-percentage {
    font-weight: 600;
    color: var(--skin-color);
}

.skill-progress .progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-black-100);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--inner-shadow);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--skin-color), #9b59b6);
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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


/* Testimonials Section */

.testimonials-section {
    padding: 80px 0;
}

.testimonials-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    margin-top: 40px;
    padding: 10px 6px 20px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 6px;
    -webkit-overflow-scrolling: touch;
}

.testimonial-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    flex: 0 0 340px;
    max-width: 420px;
    scroll-snap-align: start;
}

.testimonial-item.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-content {
    background: var(--bg-black-100);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--outer-shadow);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--skin-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-black-600);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-black-900);
    margin-bottom: 5px;
}

.author-info span {
    font-size: 14px;
    color: var(--text-black-600);
}

.rating {
    color: #ffc107;
    font-size: 14px;
}

.contact-section {
    padding: 80px 0;
    background: var(--bg-black-50);
}

.contact-subtitle {
    margin-top: 8px;
    color: var(--text-black-600);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.contact-card {
    background: var(--bg-black-100);
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--outer-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--skin-color);
    color: #fff;
    box-shadow: var(--outer-shadow);
    font-size: 18px;
}

.contact-card h4 {
    margin: 0;
    font-size: 18px;
    color: var(--text-black-900);
}

.contact-card p {
    margin: 0;
    color: var(--text-black-600);
}

.contact-card .btn-1 {
    margin-top: 6px;
}

.contact-cta {
    margin-top: 26px;
    padding: 20px;
    border-radius: 14px;
    background: var(--bg-black-100);
    box-shadow: var(--outer-shadow);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.contact-cta h3 {
    margin: 0;
}


/* Blog Section */

.blog-section {
    padding: 80px 0;
}

.blog-item {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.blog-item.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.blog-content {
    background: var(--bg-black-100);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.blog-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

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

.blog-content:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--skin-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.blog-info {
    padding: 25px;
}

.blog-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black-900);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-info p {
    color: var(--text-black-600);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 12px;
    color: var(--text-black-600);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}


/* Theme Toggle */

.theme-toggle {
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: translateY(-50%) scale(1.1);
}


/* Enhanced Animations with 3D Effects */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}


/* 3D Magic Effects inspired by Santa Christmas Magic */

@keyframes magicGlow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(236, 24, 57, 0.3), 0 0 40px rgba(155, 89, 182, 0.2), 0 0 60px rgba(52, 152, 219, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(236, 24, 57, 0.5), 0 0 60px rgba(155, 89, 182, 0.3), 0 0 90px rgba(52, 152, 219, 0.2);
    }
}

@keyframes magicFloat {
    0%,
    100% {
        transform: translateY(0px) rotateZ(0deg) scale(1);
    }
    25% {
        transform: translateY(-10px) rotateZ(5deg) scale(1.05);
    }
    50% {
        transform: translateY(-20px) rotateZ(0deg) scale(1.1);
    }
    75% {
        transform: translateY(-10px) rotateZ(-5deg) scale(1.05);
    }
}

@keyframes magicSpin {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: rotateY(90deg) rotateX(10deg);
    }
    50% {
        transform: rotateY(180deg) rotateX(0deg);
    }
    75% {
        transform: rotateY(270deg) rotateX(-10deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(0deg);
    }
}


/* Apply magic effects to key elements */

.portfolio-item:hover {
    animation: magicGlow 2s ease-in-out infinite;
}

.service-item-inner:hover {
    animation: magicFloat 3s ease-in-out infinite;
}

.floating-icon:hover {
    animation: magicSpin 1s ease-in-out;
}


/* 3D Parallax scrolling effect */

.parallax-element {
    transform-style: preserve-3d;
    will-change: transform;
}


/* Enhanced button hover effects */

.btn-1:hover {
    animation: magicGlow 1.5s ease-in-out infinite;
}


/* 3D Card flip effect for testimonials */

.testimonial-content {
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-content:hover {
    transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
    animation: magicGlow 2s ease-in-out infinite;
}


/* 3D Blog card effects */

.blog-content:hover {
    animation: magicFloat 3s ease-in-out infinite;
}


/* Magic sparkle effect for special elements */

@keyframes sparkle {
    0%,
    100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 40%;
    right: 30%;
    animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
    bottom: 30%;
    left: 40%;
    animation-delay: 1s;
}

.sparkle:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}


/* Enhanced Mobile Responsiveness */

@media (max-width: 768px) {
    .name-title {
        font-size: 2.5rem;
    }
    .role-subtitle {
        font-size: 1.2rem;
    }
    .home-buttons {
        flex-direction: column;
        align-items: center;
    }
    .home-buttons .btn-1 {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    .floating-icon {
        display: none;
    }
    .testimonials-container {
        gap: 16px;
        padding: 10px 4px 18px;
    }
    .testimonial-item {
        flex-basis: 85vw;
        max-width: 85vw;
    }
    .blog-item {
        margin-bottom: 20px;
    }
    .skill-progress {
        margin-top: 20px;
    }
    .progress-item {
        margin-bottom: 15px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-highlights {
        margin-top: 14px;
    }
    .about-stack {
        margin-top: 12px;
    }
    .tag-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .about-wins {
        margin-top: 12px;
    }
    .about-editing {
        margin-top: 12px;
    }
}

@media (max-width: 576px) {
    .name-title {
        font-size: 2rem;
    }
    .role-subtitle {
        font-size: 1rem;
    }
    .intro-text {
        font-size: 0.9rem;
    }
    .testimonial-content {
        padding: 20px;
    }
    .blog-info {
        padding: 20px;
    }
    .scroll-indicator {
        bottom: 20px;
    }
}


/* Enhanced Laptop/Desktop Views */

@media (min-width: 1200px) {
    .name-title {
        font-size: 4rem;
    }
    .role-subtitle {
        font-size: 1.8rem;
    }
    .testimonials-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .blog-item {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
    .home-section .home-text {
        padding-right: 50px;
    }
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
    .name-title {
        font-size: 4.5rem;
    }
    .testimonials-container {
        gap: 40px;
    }
    .blog-item {
        padding: 20px;
    }
}


/* Dark Theme Enhancements */

[data-theme="dark"] .progress-fill {
    background: linear-gradient(90deg, var(--skin-color), #9b59b6);
}

[data-theme="dark"] .scroll-progress {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .floating-icon {
    background: var(--bg-black-900);
    color: var(--skin-color);
}

[data-theme="dark"] .testimonial-content:hover,
[data-theme="dark"] .blog-content:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}


/* Dark Theme Navigation */

[data-theme="dark"] .hamburger-btn {
    background: var(--bg-black-900);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.35), -4px -4px 12px rgba(70, 70, 70, 0.3);
}

[data-theme="dark"] .hamburger-btn:hover {
    box-shadow: inset 4px 4px 12px rgba(0, 0, 0, 0.35), inset -4px -4px 12px rgba(70, 70, 70, 0.3);
}

[data-theme="dark"] .hamburger-line {
    background-color: var(--text-black-900);
}

[data-theme="dark"] .mobile-nav {
    background-color: var(--bg-black-900);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .mobile-nav-header {
    border-bottom-color: var(--bg-black-100);
}

[data-theme="dark"] .logo-mobile {
    color: var(--text-black-900);
}

[data-theme="dark"] .close-nav-btn {
    background: var(--bg-black-900);
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.35), -2px -2px 8px rgba(70, 70, 70, 0.3);
}

[data-theme="dark"] .close-nav-btn:hover {
    box-shadow: inset 2px 2px 8px rgba(0, 0, 0, 0.35), inset -2px -2px 8px rgba(70, 70, 70, 0.3);
}

[data-theme="dark"] .close-icon {
    color: var(--text-black-600);
}

[data-theme="dark"] .mobile-nav-link {
    color: var(--text-black-600);
}

[data-theme="dark"] .mobile-nav-link:hover,
[data-theme="dark"] .mobile-nav-link.active {
    color: var(--skin-color);
    background-color: rgba(236, 24, 57, 0.1);
}

[data-theme="dark"] .desktop-nav .nav-link {
    color: var(--text-black-600);
}

[data-theme="dark"] .desktop-nav .nav-link:hover,
[data-theme="dark"] .desktop-nav .nav-link.active {
    color: var(--skin-color);
}


/* Dark Theme Back to Top Button */

[data-theme="dark"] #backToTop {
    background: var(--bg-black-900) !important;
    color: var(--text-black-900) !important;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.35), -4px -4px 12px rgba(70, 70, 70, 0.3) !important;
}

[data-theme="dark"] #backToTop:hover {
    box-shadow: inset 4px 4px 12px rgba(0, 0, 0, 0.35), inset -4px -4px 12px rgba(70, 70, 70, 0.3) !important;
}


/* Dark Theme Mobile Bottom Navigation */

[data-theme="dark"] .mobile-bottom-nav {
    background: var(--bg-black-900) !important;
    border-color: var(--bg-black-100) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .bottom-nav-item {
    color: var(--text-black-600) !important;
}

[data-theme="dark"] .bottom-nav-item:hover {
    background-color: rgba(236, 24, 57, 0.1) !important;
}

[data-theme="dark"] .bottom-nav-item.active {
    background-color: rgba(236, 24, 57, 0.15) !important;
}


/* Portfolio Grid Layout - Fixed */

.portfolio-section .portfolio-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 15px;
    margin-top: 40px;
    width: 100%;
}

.portfolio-section .portfolio-item {
    display: flex !important;
    flex-direction: column;
    background: var(--bg-black-100);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--outer-shadow);
    padding: 0 !important;
    flex: none !important;
    max-width: none !important;
}

.portfolio-section .portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-section .portfolio-img {
    height: 200px;
    overflow: hidden;
}

.portfolio-section .portfolio-img.dual {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
    height: 360px;
}

.portfolio-section .portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.portfolio-section .portfolio-img.dual img {
    height: 100%;
}

.portfolio-section .portfolio-item:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-section .portfolio-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-section .portfolio-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black-900);
    margin-bottom: 10px;
    line-height: 1.4;
}

.portfolio-section .portfolio-info p {
    color: var(--text-black-600);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
    flex: 1;
}

.portfolio-section .portfolio-info .btn-1 {
    align-self: flex-start;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-section .portfolio-info .btn-1:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 24, 57, 0.3);
}


/* Responsive Portfolio Grid - Fixed */

@media (max-width: 576px) {
    .portfolio-section .portfolio-items {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .portfolio-section .portfolio-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .portfolio-section .portfolio-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .portfolio-section .portfolio-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1400px) {
    .portfolio-section .portfolio-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}


/* Additional Mobile Navigation Responsive Styles */

@media (max-width: 480px) {
    .mobile-bottom-nav {
        width: 95%;
        max-width: 350px;
        bottom: 4px;
        padding: 10px 12px;
    }
    .bottom-nav-item {
        padding: 6px 8px;
        min-width: 45px;
    }
    .bottom-nav-item i {
        font-size: 16px;
    }
    .bottom-nav-item span {
        font-size: 9px;
    }
    /* Remove body padding for smaller screens to eliminate footer gap */
    body {
        padding-bottom: 0;
    }
}


/* Mobile Bottom Navigation Card */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 92%;
    max-width: 400px;
    background: var(--bg-black-50);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--bg-black-100);
    padding: 12px 16px;
    backdrop-filter: blur(10px);
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-black-600);
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

.bottom-nav-item i {
    font-size: 18px;
    margin-bottom: 2px;
}

.bottom-nav-item span {
    font-size: 10px;
    line-height: 1;
}

.bottom-nav-item:hover {
    color: var(--skin-color);
    background-color: rgba(236, 24, 57, 0.05);
    transform: translateY(-1px);
}

.bottom-nav-item.active {
    color: var(--skin-color);
    background-color: rgba(236, 24, 57, 0.1);
    font-weight: 600;
}

.bottom-nav-item.active i {
    transform: scale(1.1);
}


/* ========= ENHANCED READ MORE BUTTON ANIMATIONS ========= */


/* Read More Button Special Effects */

.read-more-btn {
    position: relative;
    background: linear-gradient(135deg, var(--skin-color), #9b59b6);
    color: white !important;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.read-more-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s ease;
    z-index: 0;
}

.read-more-btn:hover::before {
    left: 100%;
}

.read-more-btn:hover::after {
    width: 400px;
    height: 400px;
}

.read-more-btn:hover {
    transform: translateY(-8px) rotateX(10deg) scale(1.1);
    box-shadow: 0 20px 50px rgba(236, 24, 57, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.4);
    animation: readMoreGlow 2s ease-in-out infinite;
}

.read-more-btn:active {
    transform: translateY(-4px) rotateX(5deg) scale(1.05);
    transition: all 0.1s ease;
}


/* Enhanced Button Click Animation */

@keyframes buttonPulse {
    0%,
    100% {
        box-shadow: 0 15px 40px rgba(236, 24, 57, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 20px 50px rgba(236, 24, 57, 0.6), 0 0 0 4px rgba(255, 255, 255, 0.3);
    }
}

@keyframes readMoreGlow {
    0%,
    100% {
        box-shadow: 0 20px 50px rgba(236, 24, 57, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 25px 60px rgba(236, 24, 57, 0.7), 0 0 0 5px rgba(255, 255, 255, 0.4);
    }
}


/* Click Ripple Effect */

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    z-index: 2;
}


/* Page Transition Effects */

@keyframes pageSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px) rotateY(10deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

.page-transition {
    animation: pageSlideIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* Loading Animation for Read More */

@keyframes loadingDots {
    0%,
    20% {
        color: rgba(255, 255, 255, 0);
        text-shadow: 0.25em 0 0 rgba(255, 255, 255, 0), 0.5em 0 0 rgba(255, 255, 255, 0);
    }
    40% {
        color: white;
        text-shadow: 0.25em 0 0 rgba(255, 255, 255, 0), 0.5em 0 0 rgba(255, 255, 255, 0);
    }
    60% {
        text-shadow: 0.25em 0 0 white, 0.5em 0 0 rgba(255, 255, 255, 0);
    }
    80%,
    100% {
        text-shadow: 0.25em 0 0 white, 0.5em 0 0 white;
    }
}

.loading-text::after {
    content: '...';
    animation: loadingDots 1.4s infinite;
}


/* ========= ADDITIONAL CONTENT BELOW FOOTER ========= */

.additional-content {
    background: linear-gradient(135deg, var(--bg-black-50), var(--bg-black-100));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.additional-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(236, 24, 57, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.content-card {
    background: var(--bg-black-100);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--outer-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--skin-color), #9b59b6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.content-card:hover::before {
    transform: scaleX(1);
}

.content-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.content-card h3 {
    color: var(--text-black-900);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-card h3 i {
    color: var(--skin-color);
    font-size: 18px;
}

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

.content-card ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.content-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--skin-color);
    font-weight: bold;
}

.content-card ul li a {
    color: var(--text-black-600);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.content-card ul li a:hover {
    color: var(--skin-color);
    transform: translateX(5px);
}


/* Tech Tags */

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: linear-gradient(135deg, var(--skin-color), #9b59b6);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 24, 57, 0.3);
}

.tech-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(236, 24, 57, 0.4);
}


/* Fun Facts */

.fun-facts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(236, 24, 57, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.fact-item:hover {
    background: rgba(236, 24, 57, 0.1);
    transform: translateX(5px);
}

.fact-item i {
    color: var(--skin-color);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.fact-item span {
    color: var(--text-black-700);
    font-weight: 500;
}


/* Call to Action Section */

.cta-section {
    text-align: center;
    margin: 60px 0;
    padding: 50px 30px;
    background: linear-gradient(135deg, rgba(236, 24, 57, 0.1), rgba(155, 89, 182, 0.1));
    border-radius: 25px;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-black-900);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--skin-color), #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-black-600);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


/* Statistics Section */

.stats-section,
.stat-item,
.stat-number,
.stat-label {
    display: none;
}


/* Responsive Design for Additional Content */

@media (max-width: 768px) {
    .additional-content {
        padding: 60px 0;
    }
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    .content-card {
        padding: 20px;
    }
    .cta-section {
        padding: 30px 20px;
        margin: 40px 0;
    }
    .cta-section h2 {
        font-size: 2rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .stats-section {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats-section {
        display: none;
    }
    .tech-tags {
        justify-content: center;
    }
    .fun-facts {
        gap: 10px;
    }
    .fact-item {
        padding: 10px;
        font-size: 14px;
    }
}