/*rooT Values*/
:root {
    --Giest-initalixed-font-wbx: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --color-bdg-primary: #f5f5f5;
    --section-bg-middle: #fbfcfd;
    --ini-br: 12px;
    --progress-bar-p-color: #171717;
    --primary-bdg-padding: 2px 8px;
    --card-box-shadow-v1: box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; /*this is box shadow for few cards that is used in site*/
    --ini-no-8: 8px;
    --sm: small;
    --bldr: bolder;
    --main-pix-circ-xy-wh: 500px; /*this is size of image circle in main page (this value is used in width and height)*/
    --btnx-theme-clr: --progress-bar-p-color;
    --outline-pix-cric-rds: 10px solid #fff;
    --bolder-extreme: 900;
    --mrgin-btm: 12px;
    --mrgin-btmx-crdx: 58px;
    --color-bdg-primary: #f5f5f5;
    --txt-mutd-foregrndx: #64748b;
   
}

html {
  font-size: 14px;
  overflow-x:hidden;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: var(--Giest-initalixed-font-wbx);

}
.custom-black {
    background: var(--btnx-theme-clr);
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/*this is the class with same width and height this is for the main page image*/
.stx-circle-wxy {
    width: var(--main-pix-circ-xy-wh);
    height: var(--main-pix-circ-xy-wh);
}


.font-extreme {
    font-size: 3rem;
    font-weight: var(--bolder-extreme);
}
/*you can change the size and color of border or outline which is used in main picture of of index page */
/*also you can you this same outline into anyother  image by just writting class name*/
.otline-x-circl {
    outline: var(--outline-pix-cric-rds);
}
/* Custom styles to match Tailwind look */
.badge-custom-mpgx {
    background-color: #f0f2f5;
    color: #333;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 0.375rem;
}

.gradient-text {
    background: linear-gradient(to right, #111, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating svg {
    fill: #facc15; 
    width: 16px;
    height: 16px;
}

.profile-img-wrapper {
    position: relative;
}

.profile-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.2;
    animation: pulse 2s infinite alternate;
}

.hover-overlay {
    transition: opacity 0.3s ease-in-out;
}

.card:hover .hover-overlay {
    opacity: 1 !important;
}

.card img {
    transition: transform 0.3s ease-in-out;
}

.card:hover img {
    transform: scale(1.05);
}

@keyframes pulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}
.bdg {
    background: var(--color-bdg-primary);
    border-radius: var(--ini-br);
}

.p-2-8 {
    padding: var(--primary-bdg-padding);
}

.c-bdg {
    background: var(--color-bdg-primary);
}

.bg-dim {
    background: var(--section-bg-middle);
}

.bx-shd1 {
    box-shadow: var(--card-box-shadow-v1);
    background: white;
    padding: 14px;
}

.sm-bolder-text {
    font-size: var(--sm);
    font-weight: var(--bldr);
}

.mrgn-btn-8 {
    margin-bottom: var(--ini-no-8);
}

.b-r-12 {
    border-radius: var(--ini-br);
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    position: relative;
}

    .icon-circle svg {
        display: block;
        margin: 0;
        position: absolute;
        top: 20px;
        left: 20px;
    }

.card-hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.relative-t-22 {
    position: relative;
    top: 22px;
}

.bg-progess {
    background: var(--progress-bar-p-color);
}
.primary-bdgx-t {
}

.mr-btm-12 {
    margin-bottom: var(--mrgin-btm);
}

.card.gradient-card {
    background: linear-gradient(to right, #e0e7ff, #ede9fe);
}

.crdx-btmx-58x {
    margin-bottom: var(--mrgin-btmx-crdx);
}

.transition-shadow {
    transition: box-shadow 0.3s ease-in-out;
}

.hover-shadow-lg:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}


/*experienced page css*/
.timeline-container {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e2e8f0;
    display: none; /* Hide on small screens */
}


/*card*/
.Experience-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    /* Default shadow-sm from Tailwind CSS */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}

    .Experience-card:hover {
        /* Hover shadow-xl from Tailwind CSS */
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    }

    .Experience-card .card-image {
        position: relative;
    }

        .Experience-card .card-image img {
            width: 100%;
            height: 12rem;
            object-fit: cover;
            border-radius: 0.75rem 0.75rem 0 0;
        }

        .Experience-card .card-image .badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
            font-weight: 500;
            border-radius: 0.375rem;
            color: #fff;
        }

    .Experience-card .card-header {
        padding: 0 1.5rem;
    }

    .Experience-card .card-title {
        font-size: 1.25rem;
        font-weight: 600;
        line-height: 1.2;
    }

    .Experience-card .card-description {
        font-size: 0.875rem;
        color: #6b7280;
    }

    .Experience-card .card-content {
        padding: 0 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

        .Experience-card .card-content p {
            font-size: 0.875rem;
            color: #4b5563;
        }

    .Experience-card .card-stats {
        display: grid;
        gap: 0.5rem;
    }

        .Experience-card .card-stats .stat-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
        }

    .Experience-card .tech-stack {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

        .Experience-card .tech-stack .tech-badge {
            border: 1px solid #e5e7eb;
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
            font-weight: 500;
            border-radius: 0.375rem;
            color: #4b5563;
        }

.icon-small {
    width: 1rem;
    height: 1rem;
}

/*---Card End----*/

/*gRTH CARD*/
.growth-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

    .growth-section .text-center {
        text-align: center;
    }

    .growth-section .mb-16 {
        margin-bottom: 4rem;
    }

    .growth-section h2 {
        font-size: 2.25rem;
        font-weight: 700;
        letter-spacing: -0.05em;
        margin-bottom: 1rem;
    }

    .growth-section .text-gray-600 {
        color: #4b5563;
    }

    .growth-section .max-w-2xl {
        max-width: 42rem;
    }

.growth-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
    height: 100%;
}

    .growth-card .card-header {
        padding: 0 1.5rem;
    }

    .growth-card .icon-container {
        width: 4rem;
        height: 4rem;
        border-radius: 9999px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
    }

    .growth-card .card-title {
        font-size: 1.125rem;
        font-weight: 600;
        line-height: 1.2;
    }

    .growth-card .card-content {
        padding: 0 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

        .growth-card .card-content p {
            font-size: 0.875rem;
            color: #4b5563;
        }

.progress-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.progress-bar-bg {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 9999px;
    height: 0.5rem;
}

.progress-bar {
    height: 0.5rem;
    border-radius: 9999px;
}


/*enD*/
@media (min-width: 768px) {
    .timeline-line {
        display: block;
    }
}

.timeline-dot {
    position: absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: none; /* Hide on small screens */
}

@media (min-width: 768px) {
    .timeline-dot {
        display: block;
    }
}

.timeline-card {
    margin-left: 0;
    transition: box-shadow 0.3s ease-in-out;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

    .timeline-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

@media (min-width: 768px) {
    .timeline-card {
        margin-left: 3rem;
    }
}

/* Custom badge and text colors to match the original */
.badge-current {
    background-color: #f0f4f8;
    color: #1e3a8a;
    border: 1px solid #d1d5db;
}

.badge-tech {
    background-color: #f1f5f9;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.icon-check {
    color: #16a34a;
}

.text-blue-custom {
    color: #2563eb;
}

.text-green-custom {
    color: #16a34a;
}

.text-purple-custom {
    color: #7c3aed;
}


/*projects page css*/
   .bx-shdow-v1-btn{
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    }
    .custom-badge { /* this is badge can be used to apply badge */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        font-weight: 500;
        background-color: #e9ecef;
        color: #212529;
        border-radius: 0.375rem;
        white-space: nowrap;
        transition: background-color 0.3s ease;
    }

        .custom-badge svg {
            width: 16px;
            height: 16px;
        }

        .custom-badge:hover {
            background-color: #d6d8db;
            text-decoration: none;
        }
        .mbx-90{
            margin-bottom:90px;
        }


    
    .card-img-top {
        height: 200px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .card:hover .card-img-top {
        transform: scale(1.05);
    }

    .overlay {
        background-color: rgba(0,0,0,0.6);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .card:hover .overlay {
        opacity: 1;
    }





    .section-py {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .project-card {
        background-color: #ffffff;
        border-radius: 1rem;
        border: 1px solid #e2e8f0;
        transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
        overflow: hidden;
        height: 100%;
    }

        .project-card:hover {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            transform: translateY(-0.25rem); /* Subtle lift on hover */
        }

    .card-img-container {
        position: relative;
        overflow: hidden;
    }

    .card-img-top {
        height: 12rem; /* h-48 */
        width: 100%;
        object-fit: cover;
        transition: transform 0.3s ease-in-out;
    }

    .project-card:hover .card-img-top {
        transform: scale(1.05);
    }

    .image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .project-card:hover .image-overlay {
        opacity: 1;
    }

    /* Badge Styles */
    .badge-base {
        padding: 0.25rem 0.5rem;
        border-radius: 0.375rem;
        font-size: 0.75rem;
        font-weight: 500;
        border: 1px solid transparent;
    }

    .badge-category {
        background-color: #f1f5f9;
        color: #1e293b;
        border-color: #e2e8f0;
    }

    .badge-tech {
        background-color: #e2e8f0;
        color: #1e293b;
    }

    .text-muted-foreground {
        color: var(--txt-mutd-foregrndx);
    }
    .text-yellow-400 {
        color: #facc15;
    }

    .fill-yellow-400 {
        fill: #facc15;
    }

    .btn-view-details {
        background-color: #6b7280;
        color: #ffffff;
        border-color: #6b7280;
        transition: background-color 0.2s ease-in-out;
    }

        .btn-view-details:hover {
            background-color: #4b5563;
        }

    .btn-link-demo {
        border: 1px solid #e2e8f0;
        color: #1e293b;
        background-color: transparent;
        transition: background-color 0.2s ease-in-out;
    }

        .btn-link-demo:hover {
            background-color: #f1f5f9;
        }