.welcome-banner {
    text-align: center;
    font-size: 26px;
    margin-top: 25px;
    color: #111827;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* 👋 WAVE ANIMATION */
.wave {
    display: inline-block;
    font-size:28px;
    animation: waveAnim 1.8s infinite;
    transform-origin: 70% 70%;
    margin-right: 8px;
}

@keyframes waveAnim {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}
/* 🔥 FADE IN ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero .welcome-banner {
    animation-delay: 0.2s;
}

.hero h1 {
    animation-delay: 0.4s;
}

.hero p {
    animation-delay: 0.6s;
}
/* HERO */
.hero {
    text-align: center;
    padding: 50px 20px 30px;
}

.hero h1 {
    font-size: 34px;
    font-weight: 600;
    color: #111827;
}

.hero p {
    font-size: 16px;
    color: #2563eb;
    margin-top: 6px;
}

.hero-sub {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #6b7280;
}
/* FEATURED */
.featured {
    display: block;
    position: relative;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
}

.featured img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* overlay */
.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 20px;
    color: white;

    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.view-btn {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
}

/* GRID */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* CARD */
.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.pagination a {
    text-decoration: none;
    color: black;
}
.card-image{
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.card-image img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card-image img.active{
    opacity: 1;
}
.container{
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* clean spacing above projects */
.projects-grid{
    margin-top: 30px;
}

/* make cards look clean */
.project-card{
    background: linear-gradient(145deg, #0f172a, #1e293b);

    border-radius: 12px;
    overflow: hidden;

    box-shadow: 
        0 6px 18px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.04);

    transition: all 0.3s ease;
}
.project-card:hover{
    transform: translateY(-5px);
}
.about-section{
    margin: 30px 0;
    padding: 35px;
    border-radius: 14px;
    background: linear-gradient(135deg,#1f2937,#111827);
    color: white;
}

.about-content{
    display: flex;
    align-items: center;
    gap: 25px;
}
.about-text h2{
    margin: 0;
    font-size: 26px;
}

.role{
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 10px;
}
@media (max-width: 900px){
    .projects-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px){
    .projects-grid{
        grid-template-columns: 1fr;
    }

    .about-content{
        flex-direction: column;
        text-align: center;
    }

    .profile-img{
        width: 100px;
        height: 100px;
    }
}
.overlay h3{
    margin: 0;
    font-size: 18px;
}

.overlay p{
    font-size: 13px;
    color: #ddd;
}
.card-image img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card-image img.active{
    opacity: 1;
}

/* 🔥 ZOOM EFFECT */
.project-card:hover .card-image img.active{
    transform: scale(1.08);
}
.card-content{
    padding: 14px;
    background: #111827; /* dark background */
    color: white;
}

/* Title */
.card-content h3{
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

/* Description */
.card-content p{
    margin-top: 6px;
    font-size: 13px;
    color: #9ca3af; /* soft gray */
    line-height: 1.4;
}
.card-content{
    border-top: 1px solid rgba(118, 45, 45, 0.05);
}
.project-card{
    background: #0f172a; /* dark card base */
}
.card-image::after{
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.1),
        transparent
    );

    pointer-events: none;
}
.card-image{
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.project-card{
    cursor: pointer;
}

.project-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
/* PROFILE SECTION */
.profile-section {
    margin-top: 30px;
    border-radius: 14px;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    position: relative;
}


/* CARD */
.profile-card {
    display: flex;
    gap: 40px;
    align-items: center;

    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 16px;
    padding: 30px;

    color: white;
}

/* LEFT SIDE */
/* LEFT SIDE */
.profile-left {
    text-align: center;
    min-width: 220px;
}

/* IMAGE */
.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;

    border: 3px solid rgba(255,255,255,0.3);

    /* 🔥 GLOW EFFECT */
    box-shadow: 
        0 0 0 4px rgba(59,130,246,0.15),
        0 0 20px rgba(59,130,246,0.4);

    transition: 0.3s ease;
}
.profile-img:hover {
    box-shadow: 
        0 0 0 6px rgba(59,130,246,0.25),
        0 0 30px rgba(59,130,246,0.6);
}
.profile-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.05),
        transparent
    );

    pointer-events: none;
}
.profile-section {
    transition: 0.3s ease;
}

.profile-section:hover {
    transform: translateY(-3px);
}

/* NAME */
.profile-left h2 {
    margin: 5px 0;
    font-size: 20px;
}
.profile-left h3 {
    margin: 10px 0 4px;
    font-size: 20px;
    font-weight: 600;
}

.profile-left .role {
    font-size: 14px;
    color: #cbd5f5;
}


/* DESIGNATION */
.designation {
    font-size: 13px;
    color: #9ca3af;
}

/* RIGHT SIDE */
.profile-right {
    flex: 1;
}

/* ABOUT TITLE */
.profile-right h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #e2e8f0;
}

.profile-right p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.7;  /* 🔥 better readability */
    max-width: 600px;
}
/* DARK GLASS OVERLAY */
.profile-overlay {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 40px;
    gap: 40px;

    background: rgba(15, 23, 42, 0.65);  /* slightly lighter glass */
    backdrop-filter: blur(1px);

    border-radius: 14px;

    /* 🔥 PREMIUM EFFECT */
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);

    color: white;
}
.profile-overlay:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    transform: translateY(-2px);
    transition: 0.3s ease;
}
.profile-left {
    text-align: center;
    min-width: 220px;
    padding-right: 30px;
    border-right: 2px solid rgba(255, 255, 255, 0.15);
box-shadow: 2px 0 rgba(255,255,255,0.05); /* 🔥 divider */
}
/* ================= EXPERIENCE PRO ================= */
.experience-section{
    margin: 40px 0;
    padding: 30px;
    border-radius: 16px;

    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
}

/* TITLE */
.exp-title{
    text-align: center;
    font-size: 26px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* 3 COLUMN GRID */
.experience-card{
    display: flex;              /* 🔥 CHANGE GRID → FLEX */
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

/* EACH COLUMN */
.exp-col{
    flex: 1;                   /* equal width */
    min-width: 0;

    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 12px;
}

/* HOVER EFFECT */
.exp-col:hover{
    transform: translateY(-5px);
    background: rgba(255,255,255,0.07);
}

/* YEARS */
.exp-col h3{
    font-size: 30px;
    color: #38bdf8;
    margin: 0;
}

.exp-label{
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 15px;
}

/* HEADINGS */
.exp-col h4{
    margin: 10px 0;
    font-size: 16px;
}

/* LIST */
.exp-col ul{
    padding-left: 18px;
}

.exp-col li{
    font-size: 14px;
    margin-bottom: 6px;
    color: #d1d5db;
}

/* MOBILE RESPONSIVE */
@media (max-width: 800px){
    .experience-card{
        flex-direction: column;
    }
}
.experience-card{
    display: flex !important;
}
/* ================= TOOLS SECTION ================= */
.tools-section {
    background: linear-gradient(135deg, #020617, #0f172a);
    padding: 30px 0 20px;
    text-align: center;
    overflow: hidden;
}

.tools-section h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 20px;
}

/* SLIDER */
.tools-slider {
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    position: relative;
}

.tools-track {
    display: flex;
    gap: 30px;
    width: max-content;

    padding-left: 100%;   /* 🔥 THIS FIXES LEFT START */
    animation: scrollTools 25s linear infinite;
}

/* TOOL ITEM */
.tool-item {
    min-width: 90px;
    text-align: center;
    padding-top: 10px;
}

/* LOGO */
.tool-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;

    border-radius: 10px;
    background: white;
    padding: 6px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: 0.3s;
}

.tool-item img:hover {
    transform: translateY(-4px);
}
/* TEXT */
.tool-item p {
    margin-top: 5px;
    font-size: 11px;
    color: #e5e7eb;
}
.tools-slider::before,
.tools-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

/* LEFT FADE */
.tools-slider::before {
    left: 0;
    background: linear-gradient(to right, #020617, transparent);
}

/* RIGHT FADE */
.tools-slider::after {
    right: 0;
    background: linear-gradient(to left, #020617, transparent);
}
/* ANIMATION */
@keyframes scrollTools {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
.tools-slider {
    padding-top: 10px;
}
/* ================= CLIENT SECTION ================= */
.client-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 5px 0;
    text-align: center;
    overflow: hidden;
}

.client-section h2 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 28px;
    letter-spacing: 1px;
}

/* SLIDER */
.client-slider {
    overflow-x: hidden;
    overflow-y: visible;   /* ADD THIS */
    width: 100%;
    position: relative;
}
.client-track {
    padding-left: 100%;  /* pushes start to right side */
}

/* IMPORTANT FIX */
.client-track {
    display: flex;
    gap: 40px;

    width: max-content;   /* IMPORTANT FIX */
    animation: scrollTools 25s linear infinite;
}

/* ITEM */
.client-item {
    min-width: 120px;
    text-align: center;
    padding: 18px 0;   /* ADD THIS */
}

/* LOGO (circle style) */
.client-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;

    border-radius: 50%;
    background: #b5b531;
    padding: 5px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
/* HOVER EFFECT */
.client-item img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.client-item img:hover {
    transform: translateY(-5px);  /* instead of scale */
}

/* NAME */
.client-item p {
    margin-top: 10px;
    font-size: 13px;
    color: #f8f8f8;
}
.client-slider::before,
.client-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

/* LEFT FADE */
.client-slider::before {
    left: 0;
    background: linear-gradient(to right, #12203d, transparent);
}

/* RIGHT FADE */
.client-slider::after {
    right: 0;
    background: linear-gradient(to left, #12203d, transparent);
}
@media (max-width: 600px){

    .profile-overlay{
        flex-direction: column;
        align-items: center;
        text-align: center;

        padding: 20px;
        gap: 20px;
    }

    .profile-left{
        width: 100%;
        min-width: 0;

        padding: 0;
        border: none;
        box-shadow: none;
    }

    .profile-right{
        width: 100%;
    }

    /* smaller image for mobile */
    .profile-img{
        width: 110px;
        height: 110px;
    }

}
@media (max-width: 600px){

    .profile-overlay{
        background: rgba(15, 23, 42, 0.75);
        backdrop-filter: blur(6px);

        border: 1px solid rgba(255,255,255,0.08);

        box-shadow: 0 10px 25px rgba(0,0,0,0.5);

        border-radius: 16px;
    }

    /* IMAGE PREMIUM LOOK */
    .profile-img{
        border: 3px solid rgba(255,255,255,0.4);

        box-shadow:
            0 0 0 5px rgba(59,130,246,0.15),
            0 0 25px rgba(59,130,246,0.5);
    }

    /* NAME */
    .profile-left h3{
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    /* ABOUT TEXT IMPROVE */
    .profile-right p{
        color: #d1d5db;
    }

}
@media (max-width: 600px){

    /* ===== TOOLS ===== */
    .tools-section{
        padding: 20px 0 10px;
    }

    .tools-section h2{
        font-size: 16px;
        margin-bottom: 10px;
    }

    .tool-item{
        min-width: 70px;
    }

    .tool-item img{
        width: 38px;
        height: 38px;
        padding: 4px;
    }

    .tool-item p{
        font-size: 10px;
        margin-top: 4px;
    }

    /* ===== CLIENTS ===== */
    .client-section{
        padding: 10px 0;
    }

    .client-section h2{
        font-size: 20px;
        margin-bottom: 15px;
    }

    .client-item{
        min-width: 90px;
        padding: 10px 0;
    }

    .client-item img{
        width: 50px;
        height: 50px;
    }

    .client-item p{
        font-size: 11px;
        margin-top: 6px;
    }

}
@media (max-width: 600px){

    /* spacing between major sections */
    .profile-section,
    .experience-section,
    .tools-section,
    .client-section{
        margin-top: 20px;
    }

    /* reduce top gap of first section */
    .profile-section{
        margin-top: 15px;
    }

    /* tighten experience card */
    .experience-section{
        padding: 20px;
    }

    /* reduce gap inside experience */
    .exp-col{
        padding: 15px;
    }

}