/* --------------------------------------------------
    Fonts & Variables
-------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100..900&display=swap');

:root {
    --color-black: #161513;
    --color-grey: #222222;
    --color-text: #fff;
    --color-secondary-text: #C5C5C5;
    --color-gradient: linear-gradient(180deg, #FF8660 0%, #D5491D 100%);
    --color-blue-gradient: linear-gradient(180deg, #5BADFF 0%, #1373D1 100%);
    --color-icon-gradient: linear-gradient(to bottom, #FDFDFD 0%, rgba(255, 255, 255, 0.18) 100%);
}

/* --------------------------------------------------
    Base Reset & Scrollbar
-------------------------------------------------- */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Hide default cursor (Desktop only) */
@media (hover: hover) and (pointer: fine) {
    * {
        cursor: none !important;
    }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-text);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
    background: transparent;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    border-color: #FF8660;
    background: rgba(255, 134, 96, 0.1);
    border-width: 1px;
}

.custom-cursor.click {
    width: 15px;
    height: 15px;
    background: #FF8660;
    border-color: #FF8660;
}

.custom-cursor.hidden {
    opacity: 0;
}

/* Cursor trail effect */
.cursor-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    background: rgba(255, 134, 96, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: trailFade 0.6s ease-out forwards;
}

@keyframes trailFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

html, body {
    scroll-behavior: smooth;
    overflow: auto;
    height: 100vh;
    width: 100vw;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background-color: var(--color-black) !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;                 /* Chrome, Safari, Opera */
}

/* --------------------------------------------------
    Typography
-------------------------------------------------- */
.main-text {
    font-size: 3.5vw;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--color-text);
    margin-bottom: 2.2vh;
}

.main-text .spl {
    background: var(--color-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.paragraph {
    font-size: 1vw;
    font-weight: 300;
    opacity: 0.7;
    margin-bottom: 0;
    color: var(--color-secondary-text);
}

.sub-heading {
    font-size: 1.8vw;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4vw;
    text-align: center;
}

.small-text {
    font-size: 0.8vw;
    margin-bottom: 0;
}

.medium-test {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: var(--color-text);
}

.big-text{
    font-size: 1.5rem;
    font-weight: 400;
}

/* --------------------------------------------------
    Buttons
-------------------------------------------------- */
.primary-btn,
.secondary-btn {
    padding: 1.2vh 1vw;
    font-size: 1.4vw;
    border-radius: 2vw;
    font-weight: 500;
    border: 1px solid var(--color-text);
}

.primary-btn {
    background-color: var(--color-text);
    color: var(--color-black);
}

.secondary-btn {
    background-color: transparent;
    color: var(--color-text);
}

/* --------------------------------------------------
    Navbar
-------------------------------------------------- */
.nav-bar {
    width: 100vw;
    padding: 4vh 20vw 2vh 20vw;
    background-color: var(--color-grey);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4.364px 16px -2.182px rgba(0, 0, 0, 0.10);
    opacity: 0.7;
}

.logo {
    width: 5vw;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5vw;
    margin-bottom: 0;
    padding-bottom: 1vh;
}

.nav-item {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1vw;
    transition: transform 0.3s ease;
}

.nav-item:hover{
    color: #FF8660;
}

.menu-icon{
    font-size: 5vw;
    color: var(--color-text);
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-icon:hover {
    color: #FF8660;
    transform: scale(1.1);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-menu-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-grey) 100%);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4vh 5vw;
    border-bottom: 1px solid rgba(255, 134, 96, 0.2);
}

.mobile-menu-logo {
    width: 50px;
    height: 50px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 6vw;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2vw;
    border-radius: 50%;
}

.mobile-menu-close:hover {
    color: #FF8660;
    background: rgba(255, 134, 96, 0.1);
    transform: rotate(90deg);
}

.mobile-menu-nav {
    flex: 1;
    padding: 4vh 0;
}

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

.mobile-nav-item {
    margin-bottom: 2vh;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.5s ease forwards;
}

.mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.3s; }
.mobile-nav-item:nth-child(4) { animation-delay: 0.4s; }
.mobile-nav-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 3vh 5vw;
    color: var(--color-text);
    text-decoration: none;
    font-size: 5vw;
    font-weight: 500;
    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: var(--color-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

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

.mobile-nav-link:hover {
    color: var(--color-text);
    transform: translateX(20px);
}

.mobile-nav-link i {
    margin-right: 4vw;
    font-size: 4vw;
    width: 6vw;
    text-align: center;
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover i {
    transform: scale(1.2);
}

.mobile-menu-footer {
    padding: 4vh 5vw;
    border-top: 1px solid rgba(255, 134, 96, 0.2);
    text-align: center;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 6vw;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12vw;
    height: 12vw;
    background: rgba(255, 134, 96, 0.1);
    color: var(--color-text);
    border-radius: 50%;
    text-decoration: none;
    font-size: 5vw;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 134, 96, 0.3);
}

.mobile-social-link:hover {
    background: var(--color-gradient);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 134, 96, 0.3);
}

/* --------------------------------------------------
    Home Section
-------------------------------------------------- */
.home {
    position: relative;
    overflow: hidden;
}

.home-container {
    padding: 10vh 20vw 0 20vw;
    position: relative;
    z-index: 2;
}

/* Tech Animation Background */
.tech-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Animated Grid Pattern */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 134, 96, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 134, 96, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating Code Elements */
.floating-code {
    position: absolute;
    color: rgba(255, 134, 96, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 1.2vw;
    font-weight: bold;
    white-space: nowrap;
    animation: floatCode 15s linear infinite;
}

.floating-code:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.floating-code:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.floating-code:nth-child(3) {
    top: 40%;
    left: 5%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.floating-code:nth-child(4) {
    top: 60%;
    right: 10%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.floating-code:nth-child(5) {
    top: 80%;
    left: 20%;
    animation-delay: 8s;
    animation-duration: 13s;
}

@keyframes floatCode {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 134, 96, 0.8) 0%, rgba(255, 134, 96, 0.2) 50%, transparent 100%);
    border-radius: 50%;
    animation: floatParticle 8s linear infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 6s; }
.particle:nth-child(2) { top: 40%; left: 30%; animation-delay: 1s; animation-duration: 8s; }
.particle:nth-child(3) { top: 60%; left: 50%; animation-delay: 2s; animation-duration: 7s; }
.particle:nth-child(4) { top: 30%; left: 70%; animation-delay: 3s; animation-duration: 9s; }
.particle:nth-child(5) { top: 80%; left: 20%; animation-delay: 4s; animation-duration: 5s; }
.particle:nth-child(6) { top: 10%; left: 80%; animation-delay: 5s; animation-duration: 6s; }
.particle:nth-child(7) { top: 70%; left: 90%; animation-delay: 6s; animation-duration: 8s; }
.particle:nth-child(8) { top: 50%; left: 5%; animation-delay: 7s; animation-duration: 7s; }

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) translateX(10px) scale(0);
        opacity: 0;
    }
}

/* Floating Brackets and Symbols */
.floating-symbols {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.symbol {
    position: absolute;
    color: rgba(91, 173, 255, 0.2);
    font-size: 2vw;
    font-weight: bold;
    animation: floatSymbol 10s linear infinite;
}

.symbol:nth-child(1) { top: 15%; left: 5%; animation-delay: 0s; }
.symbol:nth-child(1)::before { content: '{'; }
.symbol:nth-child(2) { top: 25%; right: 5%; animation-delay: 2s; }
.symbol:nth-child(2)::before { content: '}'; }
.symbol:nth-child(3) { top: 35%; left: 15%; animation-delay: 4s; }
.symbol:nth-child(3)::before { content: '<'; }
.symbol:nth-child(4) { top: 45%; right: 15%; animation-delay: 6s; }
.symbol:nth-child(4)::before { content: '>'; }
.symbol:nth-child(5) { top: 55%; left: 8%; animation-delay: 8s; }
.symbol:nth-child(5)::before { content: '['; }
.symbol:nth-child(6) { top: 65%; right: 8%; animation-delay: 1s; }
.symbol:nth-child(6)::before { content: ']'; }
.symbol:nth-child(7) { top: 75%; left: 12%; animation-delay: 3s; }
.symbol:nth-child(7)::before { content: '('; }
.symbol:nth-child(8) { top: 85%; right: 12%; animation-delay: 5s; }
.symbol:nth-child(8)::before { content: ')'; }

@keyframes floatSymbol {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.2;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0;
    }
}

/* Responsive adjustments for tech animations */
@media (max-width: 768px) {
    .floating-code {
        font-size: 2.5vw;
    }
    
    .symbol {
        font-size: 4vw;
    }
    
    .tech-grid {
        background-size: 30px 30px;
    }
}

.avathar {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2vh;
}

.home-container .paragraph {
    text-align: center;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.8vw;
    padding: 1vh 10vw;
    margin-bottom: 10vh;
    margin-top: 2vh;
    text-align: center;
}

.home-container .sub-heading {
    color: var(--color-text);
}

/* --------------------------------------------------
    Tech Icons
-------------------------------------------------- */
.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
    justify-content: center;
    margin: 3vh 0 10vh;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9vw;
    color: var(--color-text);
    min-width: 5vw;
}

.tech-item span {
    margin-top: 0.5vh;
    font-size: 0.8vw;
    text-align: center;
    opacity: 0.8;
    font-weight: 300;
}

.tech-icons i {
    font-size: 2.3vw;
    background: var(--color-icon-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

/* --------------------------------------------------
    Services Section
-------------------------------------------------- */
.services-content {
    padding: 0 20vw;
    margin-bottom: 10vh;
}

.services-content .sub-heading {
    background: var(--color-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6vh;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3vw;
    margin-top: 4vh;
}

.service-card {
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.8) 0%, rgba(22, 21, 19, 0.9) 100%);
    border: 1px solid rgba(255, 134, 96, 0.2);
    border-radius: 1.5vw;
    padding: 3vh 2vw;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 134, 96, 0.5);
    box-shadow: 0 10px 30px rgba(255, 134, 96, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2vh;
    background: var(--color-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2.5vw;
    color: var(--color-text);
}

.service-title {
    font-size: 1.8vw;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5vh;
    text-transform: uppercase;
    letter-spacing: 0.1vw;
}

.service-description {
    font-size: 1vw;
    color: var(--color-secondary-text);
    line-height: 1.6;
    margin-bottom: 2vh;
    opacity: 0.9;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    font-size: 0.9vw;
    color: var(--color-secondary-text);
    margin-bottom: 0.8vh;
    padding-left: 1.5vw;
    position: relative;
    opacity: 0.8;
}

.service-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #FF8660;
    font-size: 0.7vw;
    top: 0.1vh;
}

.service-features li:hover {
    color: var(--color-text);
    opacity: 1;
    transform: translateX(5px);
    transition: all 0.2s ease;
}

/* --------------------------------------------------
    Projects Section
-------------------------------------------------- */
.projects-content {
    padding: 0 20vw;
    margin-bottom: 10vh;
}

.projects-header {
    text-align: center;
    margin-bottom: 6vh;
}

.projects-content .sub-heading {
    background: var(--color-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2vh;
}

.projects-description {
    font-size: 1.2vw;
    color: var(--color-secondary-text);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1vw;
    margin-bottom: 4vh;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 1vh 2vw;
    background: transparent;
    border: 2px solid rgba(255, 134, 96, 0.3);
    color: var(--color-secondary-text);
    border-radius: 2vw;
    font-size: 1vw;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-text);
    border-color: #FF8660;
    transform: translateY(-2px);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3vw;
    margin-bottom: 4vh;
    opacity: 1;
    visibility: visible;
}

.project-card {
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.9) 0%, rgba(22, 21, 19, 0.95) 100%);
    border: 1px solid rgba(255, 134, 96, 0.2);
    border-radius: 1.5vw;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    height: 400px;
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 134, 96, 0.1), rgba(91, 173, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 134, 96, 0.6);
    box-shadow: 0 20px 40px rgba(255, 134, 96, 0.2);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 134, 96, 0.9);
    color: var(--color-text);
    padding: 1vh 2vw;
    border-radius: 2vw;
    font-size: 1vw;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.project-content {
    padding: 2vh 2vw;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

.project-category {
    display: inline-block;
    background: var(--color-gradient);
    color: var(--color-text);
    padding: 0.5vh 1vw;
    border-radius: 1vw;
    font-size: 0.8vw;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1vw;
    margin-bottom: 1vh;
    width: fit-content;
}

.project-title {
    font-size: 1.5vw;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1vh;
    line-height: 1.3;
    opacity: 1;
    visibility: visible;
}

.project-description {
    font-size: 1vw;
    color: var(--color-secondary-text);
    line-height: 1.5;
    margin-bottom: 2vh;
    flex: 1;
    opacity: 1;
    visibility: visible;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5vw;
    margin-bottom: 2vh;
}

.tech-tag {
    background: rgba(255, 134, 96, 0.2);
    color: #FF8660;
    padding: 0.3vh 0.8vw;
    border-radius: 1vw;
    font-size: 0.8vw;
    font-weight: 500;
    border: 1px solid rgba(255, 134, 96, 0.3);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.project-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1vw;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5vw;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #FF8660;
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(3px);
}

.project-year {
    color: var(--color-secondary-text);
    font-size: 0.9vw;
    opacity: 0.7;
}


/* --------------------------------------------------
    Experience Section
-------------------------------------------------- */
.experience-content {
    padding: 0 20vw;
    margin-bottom: 10vh;
}

.experience-header {
    text-align: center;
    margin-bottom: 6vh;
}

.experience-content .sub-heading {
    background: var(--color-blue-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2vh;
}

.experience-description {
    font-size: 1.2vw;
    color: var(--color-secondary-text);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Career Timeline */
.career-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 1;
    visibility: visible;
}

.career-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-gradient);
    transform: translateX(-50%);
    border-radius: 2px;
}

.career-entry {
    position: relative;
    margin-bottom: 6vh;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.career-entry:nth-child(1) { animation-delay: 0.1s; }
.career-entry:nth-child(2) { animation-delay: 0.3s; }
.career-entry:nth-child(3) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.career-entry:nth-child(odd) {
    flex-direction: row;
}

.career-entry:nth-child(even) {
    flex-direction: row-reverse;
}

.career-card {
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.9) 0%, rgba(22, 21, 19, 0.95) 100%);
    border: 1px solid rgba(91, 173, 255, 0.2);
    border-radius: 1.5vw;
    padding: 3vh 2.5vw;
    width: 45%;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(91, 173, 255, 0.1), rgba(255, 134, 96, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1.5vw;
    z-index: 1;
}

.career-card:hover::before {
    opacity: 1;
}

.career-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(91, 173, 255, 0.5);
    box-shadow: 0 15px 35px rgba(91, 173, 255, 0.2);
}

.career-timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--color-blue-gradient);
    border: 4px solid var(--color-black);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.career-card:hover + .career-timeline-dot,
.career-timeline-dot:hover {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 20px rgba(91, 173, 255, 0.5);
}

.career-content {
    position: relative;
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

.career-header {
    display: flex;
    align-items: center;
    margin-bottom: 2vh;
    gap: 1.5vw;
}

.career-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-blue-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.career-card:hover .career-logo {
    transform: scale(1.1) rotate(5deg);
}

.career-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.career-info h3 {
    font-size: 1.5vw;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5vh;
    line-height: 1.3;
    opacity: 1;
    visibility: visible;
}

.career-company {
    font-size: 1vw;
    color: var(--color-secondary-text);
    opacity: 1;
    margin-bottom: 0.5vh;
    visibility: visible;
}

.career-duration {
    font-size: 0.9vw;
    color: #5BADFF;
    font-weight: 500;
    background: rgba(91, 173, 255, 0.1);
    padding: 0.3vh 1vw;
    border-radius: 1vw;
    display: inline-block;
}

.career-description {
    font-size: 1vw;
    color: var(--color-secondary-text);
    line-height: 1.6;
    margin-bottom: 2vh;
    opacity: 1;
    visibility: visible;
}

.career-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5vw;
}

.skill-tag {
    background: rgba(91, 173, 255, 0.2);
    color: #5BADFF;
    padding: 0.3vh 0.8vw;
    border-radius: 1vw;
    font-size: 0.8vw;
    font-weight: 500;
    border: 1px solid rgba(91, 173, 255, 0.3);
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background: rgba(91, 173, 255, 0.3);
    transform: translateY(-2px);
}

/* Responsive adjustments for career timeline */
@media (max-width: 768px) {
    .career-timeline {
        padding: 0 10px;
    }
    
    .career-timeline::before {
        left: 20px;
    }
    
    .career-entry {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 50px;
        margin-bottom: 30px;
    }
    
    .career-card {
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
        padding: 20px 15px;
        border-radius: 15px;
        min-height: 200px;
        display: block !important;
    }
    
    .career-timeline-dot {
        left: 20px;
        width: 16px;
        height: 16px;
    }
    
    .career-logo {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .career-logo img {
        width: 30px;
        height: 30px;
    }
    
    .career-info h3 {
        font-size: 16px;
        margin-bottom: 5px;
        line-height: 1.3;
    }
    
    .career-company {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .career-duration {
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 8px;
    }
    
    .career-description {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .skill-tag {
        font-size: 10px;
        padding: 3px 6px;
        border-radius: 6px;
        margin-right: 5px;
        margin-bottom: 5px;
        display: inline-block;
    }
}

/* --------------------------------------------------
    Footer Section
-------------------------------------------------- */

.contact-content{
    padding: 5vh 20vw 5vh 20vw;
    background-color: var(--color-grey);
}

.contact-content .big-text{
    text-align: start;
    color: var(--color-text);
    margin-bottom: 1vh;
}

.contact-content .paragraph{
    color: var(--color-secondary-text);
}

.contact-content .email{
    font-weight: 600;
    margin-top: 2vh;
    color: var(--color-secondary-text);
}

.social-icons {
    margin-top: 3vh; 
}

.icon-link {
    color: var(--color-text);
    font-size: 2vw;
    margin-right: 1vw;
    text-decoration: none;
}

/* ------------------ Mobile (up to 576px) ------------------ */
@media (max-width: 576px) {
    .main-text {
        font-size: 6vw;
    }

    .paragraph {
        font-size: 2.5vw;
        text-align: center;
    }

    .sub-heading {
        font-size: 3vw;
        letter-spacing: 0.5vw;
    }

    .small-text {
        font-size: 2vw;
    }

    .medium-test {
        font-size: 2.5vw;
    }

    .big-text {
        font-size: 1.4rem;
    }

    .primary-btn, .secondary-btn {
        font-size: 3vw !important;
        padding: 1.5vh 3vw;
    }

    .nav-bar {
        padding: 2vh 10vw;
        flex-direction: row;
    }

    .logo {
        width: 15vw;
    }

    .nav-list {
        display: none;
    }

    .menu-icon{
        display: block !important;
    }

    .mobile-menu-overlay {
        display: none;
    }

    .home-container,
    .services-content,
    .projects-content,
    .experience-content,
    .contact-content {
        padding: 5vh 5vw;
    }

    .projects-description {
        font-size: 2.5vw;
    }

    .project-filters {
        gap: 2vw;
        margin-bottom: 6vh;
    }

    .filter-btn {
        padding: 1.5vh 3vw;
        font-size: 2.5vw;
        border-radius: 3vw;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .project-card {
        height: auto;
        border-radius: 15px;
        margin-bottom: 20px;
        min-height: 300px;
        display: block !important;
    }

    .project-image {
        height: 200px;
        width: 100%;
        background-size: cover;
        background-position: center;
    }

    .project-overlay {
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 15px;
    }

    .project-content {
        padding: 20px 15px;
        min-height: 200px;
    }

    .project-category {
        font-size: 12px;
        padding: 6px 12px;
        border-radius: 12px;
        margin-bottom: 10px;
        display: inline-block;
    }

    .project-title {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .project-description {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .tech-tag {
        font-size: 11px;
        padding: 4px 8px;
        border-radius: 8px;
        margin-bottom: 5px;
        margin-right: 5px;
        display: inline-block;
    }

    .project-link {
        font-size: 14px;
    }

    .project-year {
        font-size: 12px;
    }


    .services-grid {
        grid-template-columns: 1fr;
        gap: 4vh;
    }

    .service-card {
        padding: 4vh 5vw;
        border-radius: 3vw;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 6vw;
    }

    .service-title {
        font-size: 4vw;
    }

    .service-description {
        font-size: 2.5vw;
    }

    .service-features li {
        font-size: 2.2vw;
    }

    .service-features li::before {
        font-size: 1.8vw;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 2vh;
        padding: 0;
        align-items: center;
    }

    .tech-icons {
        gap: 5vw;
    }

    .tech-item {
        font-size: 1.4vw;
    }

    .tech-item span {
        font-size: 2vw;
    }

    .tech-icons i {
        font-size: 5vw;
    }

    .project-icon {
        font-size: 5vw;
    }

    .exp-card-heading .paragraph{
        font-size: 2vw !important;
    }

    .experience-card .paragraph{
        text-align: start;
        font-size: 2.2vw;
    }

    .contact-content .paragraph{
        text-align: start;
    }

    .icon-link{
        font-size: 3vh;
    }
}

/* ------------------ Tablet (576px - 768px) ------------------ */
@media (min-width: 577px) and (max-width: 768px) {
    .main-text {
        font-size: 6vw;
    }

    .paragraph {
        font-size: 2.5vw;
        text-align: center;
    }

    .sub-heading {
        font-size: 3vw;
        letter-spacing: 0.5vw;
    }

    .small-text {
        font-size: 2vw;
    }

    .medium-test {
        font-size: 2.5vw;
    }

    .big-text {
        font-size: 1.4rem;
    }

    .primary-btn, .secondary-btn {
        font-size: 3vw !important;
        padding: 1.5vh 3vw;
    }

    .nav-bar {
        padding: 2vh 10vw;
        flex-direction: row;
    }

    .logo {
        width: 10vw;
    }

    .nav-list {
        display: flex;
    }

    .nav-item{
        font-size: 2vw;
    }

    .menu-icon{
        display: none !important;
    }

    .side-menu .nav-list{
        display: none;
        flex-direction: column !important;
    }

    .home-container,
    .services-content,
    .projects-content,
    .experience-content,
    .contact-content {
        padding: 5vh 10vw;
    }

    .projects-description {
        font-size: 2vw;
    }

    .filter-btn {
        font-size: 1.8vw;
        padding: 1.2vh 2.5vw;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3vh;
    }

    .project-card {
        height: 350px;
    }

    .project-image {
        height: 180px;
    }

    .project-overlay {
        font-size: 1.5vw;
    }

    .project-category {
        font-size: 1.2vw;
    }

    .project-title {
        font-size: 2.5vw;
    }

    .project-description {
        font-size: 1.5vw;
    }

    .tech-tag {
        font-size: 1.2vw;
    }

    .project-link {
        font-size: 1.5vw;
    }

    .project-year {
        font-size: 1.2vw;
    }


    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4vh;
    }

    .service-card {
        padding: 3vh 3vw;
    }

    .service-icon i {
        font-size: 4vw;
    }

    .service-title {
        font-size: 3vw;
    }

    .service-description {
        font-size: 2vw;
    }

    .service-features li {
        font-size: 1.8vw;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 2vh;
        padding: 0;
        align-items: center;
    }

    .tech-icons {
        gap: 5vw;
    }

    .tech-item {
        font-size: 1.4vw;
    }

    .tech-item span {
        font-size: 2vw;
    }

    .tech-icons i {
        font-size: 5vw;
    }

    .project-icon {
        font-size: 5vw;
    }

    .exp-card-heading .paragraph{
        font-size: 2vw !important;
    }

    .experience-card .paragraph{
        text-align: start;
        font-size: 2.2vw;
    }

    .contact-content .paragraph{
        text-align: start;
    }
}

/* ------------------ Laptop (769px - 1200px) ------------------ */
@media (min-width: 769px) and (max-width: 1200px) {
    .main-text {
        font-size: 6vw;
    }

    .paragraph {
        font-size: 2vw;
        text-align: center;
    }

    .sub-heading {
        font-size: 3vw;
        letter-spacing: 0.5vw;
    }

    .small-text {
        font-size: 2vw;
    }

    .medium-test {
        font-size: 2.3vw;
    }

    .big-text {
        font-size: 1.4rem;
    }

    .primary-btn, .secondary-btn {
        font-size: 3vw !important;
        padding: 1.5vh 3vw;
    }

    .nav-bar {
        padding: 2vh 10vw;
        flex-direction: row;
    }

    .logo {
        width: 10vw;
    }

    .nav-list {
        display: flex;
    }

    .side-menu .nav-list{
        display: none;
        flex-direction: column !important;
    }

    .nav-item{
        font-size: 2vw;
    }

    .menu-icon{
        display: none !important;
    }

    .home-container,
    .services-content,
    .projects-content,
    .experience-content,
    .contact-content {
        padding: 5vh 15vw;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3vh;
    }

    .service-icon i {
        font-size: 3vw;
    }

    .service-title {
        font-size: 2.5vw;
    }

    .service-description {
        font-size: 1.5vw;
    }

    .service-features li {
        font-size: 1.3vw;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 2vh;
        padding: 0;
        align-items: center;
    }

    .tech-icons {
        gap: 5vw;
    }

    .tech-item {
        font-size: 1.4vw;
    }

    .tech-item span {
        font-size: 2vw;
    }

    .tech-icons i {
        font-size: 3vw;
    }

    .project-icon {
        font-size: 2vw;
    }

    .exp-card-heading .paragraph{
        font-size: 2vw !important;
    }

    .experience-card .paragraph{
        text-align: start;
        font-size: 1.5vw;
    }

    .contact-content .paragraph{
        text-align: start;
        font-size: 1.5vw;
    }
}

/* ------------------ Desktop (1201px and up) ------------------ */
@media (min-width: 1201px) {
    .main-text {
        font-size: 3vw;
    }

    .paragraph {
        font-size: 1.2vw;
        text-align: center;
    }

    .sub-heading {
        font-size: 1.5vw;
        letter-spacing: 0.2vw;
    }

    .small-text {
        font-size: 0.8vw;
    }

    .medium-test {
        font-size: 1.2vw;
    }

    .big-text {
        font-size: 2.5rem !important;
    }

    .primary-btn, .secondary-btn {
        font-size: 1vw !important;
        padding: 1.5vh 3vw;
    }

    .nav-bar {
        padding: 2vh 20vw;
        flex-direction: row;
    }

    .logo {
        width: 5vw;
    }

    .nav-list {
        display: flex;
    }

    .nav-item{
        font-size: 1.2vw;
    }

    .menu-icon{
        display: none !important;
    }

    .home-container,
    .services-content,
    .projects-content,
    .experience-content,
    .contact-content {
        padding: 5vh 25vw;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2vh;
    }

    .service-icon i {
        font-size: 2vw;
    }

    .service-title {
        font-size: 1.5vw;
    }

    .service-description {
        font-size: 1vw;
    }

    .service-features li {
        font-size: 0.9vw;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 2vh;
        padding: 0;
        align-items: center;
    }

    .tech-icons {
        gap: 5vw;
    }

    .tech-item {
        font-size: 2vw;
    }

    .tech-item span {
        font-size: 1vw;
    }

    .tech-icons i {
        font-size: 2vw;
    }

    .project-icon {
        font-size: 2vw;
    }

    .exp-card-heading .paragraph{
        font-size: 1vw !important;
    }

    .experience-card .paragraph{
        text-align: start;
        font-size: 1vw;
    }

    .contact-content .paragraph{
        text-align: start;
        font-size: 1vw;
    }
    
    /* Additional mobile fixes for better visibility */
    .project-card,
    .career-card {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        position: relative !important;
        z-index: 1 !important;
        background: linear-gradient(135deg, rgba(34, 34, 34, 0.95) 0%, rgba(22, 21, 19, 0.98) 100%) !important;
        border: 1px solid rgba(255, 134, 96, 0.3) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Force visibility for all project and career elements */
    .projects-grid,
    .career-timeline,
    .project-card,
    .career-card,
    .project-content,
    .career-content {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    .projects-grid {
        display: grid !important;
    }
    
    .career-timeline {
        display: block !important;
    }
    
    .project-content,
    .career-content {
        position: relative;
        z-index: 2;
        color: #ffffff !important;
    }
    
    .projects-grid,
    .career-timeline {
        overflow: visible;
    }
    
    /* Force visibility for all text elements */
    .project-title,
    .project-description,
    .project-category,
    .career-info h3,
    .career-company,
    .career-description {
        color: #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Ensure all project and career text is visible */
    .project-card *,
    .career-card * {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .project-card .project-title,
    .project-card .project-description,
    .project-card .project-category,
    .career-card .career-info h3,
    .career-card .career-company,
    .career-card .career-description {
        color: #ffffff !important;
    }
    
    /* Ensure tech tags and skill tags are visible */
    .tech-tag,
    .skill-tag {
        background: rgba(255, 134, 96, 0.2) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 134, 96, 0.4) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
