/*******************************/
/********* General CSS *********/
/*******************************/
html,
body {
    color: #797979;
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #414141;
}

a {
    color: #313131;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #EF233C;
    outline: none;
    text-decoration: none;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 1366px;
}

.btn {
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    background: #EF233C;
    border: 2px solid transparent;
    border-radius: 0;
    box-shadow: inset 0 0 0 50px #EF233C;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
}

.btn:hover {
    color: #EF233C;
    background: transparent;
    box-shadow: inset 0 0 0 0 #EF233C;
    border-color: #EF233C;
}

#loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s ease-out, visibility 0s linear .3s;
    -o-transition: opacity .3s ease-out, visibility 0s linear .3s;
    transition: opacity .3s ease-out, visibility 0s linear .3s;
    z-index: 999;
}

#loader.show {
    -webkit-transition: opacity .6s ease-out, visibility 0s linear 0s;
    -o-transition: opacity .6s ease-out, visibility 0s linear 0s;
    transition: opacity .6s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#loader .loader {
    position: relative;
    width: 45px;
    height: 45px;
    border: 5px solid #dddddd;
    border-top: 5px solid #EF233C;
    border-radius: 50%;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Scroll Progress Indicator Styles */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    background-color: #ffffff;
    /* Default White Background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* Subtle shadow like image */
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
    color: #EF233C;
    /* Default Text/Progress Red */
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap:hover {
    background-color: #EF233C;
    /* Hover Red Background */
    color: #ffffff;
    /* Hover Text/Progress White */
    box-shadow: 0 4px 12px rgba(239, 35, 60, 0.3);
    /* Red glow on hover */
}

.progress-wrap::after {
    position: absolute;
    content: attr(data-scroll);
    text-align: center;
    line-height: 46px;
    font-size: 13px;
    font-weight: 700;
    color: currentColor;
    /* Inherit */
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 200ms linear;
}

.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap::before {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    content: '\f106';
    /* Chevron up icon */
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    font-weight: 900;
    color: currentColor;
    /* Inherit */
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 2;
    transition: all 200ms linear;
    opacity: 0;
}

.progress-wrap:hover::before {
    opacity: 1;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path.progress-track {
    stroke: rgba(0, 0, 0, 0.05);
    /* Very light grey track default */
    stroke-width: 4;
    transition: all 200ms linear;
}

.progress-wrap:hover svg.progress-circle path.progress-track {
    stroke: rgba(255, 255, 255, 0.2);
    /* Light white track on hover */
}

.progress-wrap svg.progress-circle path.progress-path {
    stroke: currentColor;
    /* Red default, White hover */
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
    stroke-linecap: round;
    /* Rounded ends like image */
}



/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.navbar {
    position: relative;
    transition: .5s;
    z-index: 999;
}

.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

.navbar .navbar-brand {
    margin: 0;
    font-size: 45px;
    line-height: 0px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: .5s;

}

.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 40px;
}

.navbar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

@media (min-width: 992px) {

    /* --- Top Nav Bar (Horizontal Dark Pill) --- */
    .navbar {
        position: fixed;
        width: fit-content;
        min-width: 700px;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 40px;
        background: rgba(255, 255, 255, 0.8) !important;
        /* Dark Pill Background */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        z-index: 999;
        transition: all 0.3s ease, transform 0.5s ease, opacity 0.5s ease;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
    }

    .navbar.navbar-hidden {
        transform: translate(-50%, -100px) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .navbar .container-fluid {
        display: flex !important;
        flex-direction: row !important;
        padding: 0;
        width: 100%;
    }

    .navbar .navbar-brand {
        color: #EF233C !important;
        /* White Logo as per image */
        font-size: 35px;
        font-weight: 800;
        margin-right: 40px;
        padding: 0;
    }

    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-nav {
        flex-direction: row !important;
        gap: 0;
        margin-left: auto;
    }

    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link:focus {
        padding: 10px 15px;
        color: #000000 !important;
        /* White text for dark background */
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .navbar-light .navbar-nav .nav-link.active,
    .navbar-light .navbar-nav .nav-link:hover {
        color: #EF233C !important;
        /* Active item color red */
    }

    .navbar.nav-sticky {
        position: fixed !important;
        top: 20px !important;
        width: fit-content !important;
        min-width: 700px !important;
        padding: 10px 40px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* --- Side Nav Bar (Left Vertical Sidebar) --- */
    .side-nav-bar {
        position: fixed;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 0px;
        padding: 25px 12px;
        background: rgba(255, 255, 255, 0.8) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        width: fit-content;
    }

    .side-nav-bar .nav-link {
        padding: 10px;
        color: #000000;
        font-size: 20px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        transition: all 0.3s;
        text-decoration: none;
    }

    .side-nav-bar .nav-link:hover,
    .side-nav-bar .nav-link.active {
        color: #EF233C;
        background: rgba(239, 35, 60, 0.1);
    }

    .side-nav-bar .nav-divider {
        width: 5px;
        height: 50px;
        background: rgba(0, 0, 0, 0.1);
        margin: 10px auto;
        border-radius: 5px;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 15px;
        background: #ffffff !important;
    }

    /* Compact / expand behavior for side nav: default shows a single red home circle.
   On hover (or focus-within) the bar expands into the full vertical pill. */
    .side-nav-bar {
        /* make the default collapsed circle */
        width: 64px;
        height: 64px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: width 320ms cubic-bezier(.2, .9, .2, 1),
            height 320ms cubic-bezier(.2, .9, .2, 1),
            padding 320ms cubic-bezier(.2, .9, .2, 1),
            border-radius 320ms cubic-bezier(.2, .9, .2, 1),
            box-shadow 320ms;
        overflow: visible;
    }

    .side-nav-bar .nav-link {
        opacity: 0;
        transform: translateY(8px) scale(.98);
        pointer-events: none;
        margin: 0;
        transition: opacity 260ms ease, transform 260ms ease;
    }

    /* Always show and style the first (home) button as a red circular icon */
    .side-nav-bar .nav-link:first-child {
        opacity: 1;
        pointer-events: auto;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #EF233C;
        color: #ffffff;
        box-shadow: 0 8px 20px rgba(239, 35, 60, 0.22);
    }

    .side-nav-bar .nav-divider {
        display: none;
    }

    /* Expand when hovered or focused (keyboard) */
    .side-nav-bar:hover,
    .side-nav-bar:focus-within {
        width: fit-content;
        height: auto;
        padding: 20px 12px;
        border-radius: 50px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .side-nav-bar:hover .nav-link,
    .side-nav-bar:focus-within .nav-link {
        opacity: 1;
        transform: none;
        pointer-events: auto;
        margin: 8px 0;
    }

    .side-nav-bar:hover .nav-divider,
    .side-nav-bar:focus-within .nav-divider {
        display: block;
    }

    @media (prefers-reduced-motion: reduce) {

        .side-nav-bar,
        .side-nav-bar .nav-link {
            transition: none !important;
        }
    }

    .navbar .navbar-brand {
        color: #EF233C;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
    }

    .navbar a.nav-link {
        padding: 5px;
    }

    .navbar .dropdown-menu {
        box-shadow: none;
    }
}


/*******************************/
/********** Hero CSS ***********/
/*******************************/
.hero {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
    padding: 120px 0 0 0;
    overflow: hidden;
    background: linear-gradient(rgba(239, 35, 60, .95), rgba(239, 35, 60, .95)), url(../img/gettyimages-172895896-612x612.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero .container-fluid {
    padding: 0;
}

.hero .hero-image {
    position: relative;
    text-align: right;
    padding-right: 75px;
}

.hero .hero-image img {
    max-width: 80%;
    max-height: 80%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px 20px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    padding: 0px;
    margin-top: 30px;
    /* Added spacing for mobile if shown */
}

@media (max-width: 767.98px) {
    .hero .hero-image {
        text-align: center;
        padding-right: 0;
    }

    .hero .hero-image img {
        max-width: 60%;
        margin-top: 20px;
    }
}

.hero .hero-content {
    position: relative;
    padding-left: 75px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.hero .hero-text p {
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero .hero-text h1 {
    color: #ffffff;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.hero .hero-text h2 {
    display: inline-block;
    margin: 0;
    height: 35px;
    color: #ffffff;
    font-size: 35px;
    font-weight: 600;
}

.hero .hero-text .typed-text {
    display: none;
}

.hero .hero-text .typed-cursor {
    font-size: 35px;
    font-weight: 300;
    color: #ffffff;
}

.hero .hero-btn .btn {
    margin-top: 35px;
    color: #EF233C;
    background: #ffffff;
    box-shadow: inset 0 0 0 50px #ffffff;
}

.hero .hero-btn .btn:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: inset 0 0 0 0 #ffffff;
    border-color: #ffffff;
}

.hero .hero-btn .btn:first-child {
    margin-right: 10px;
}

@media (max-width: 991.98px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero .hero-content {
        padding: 0 15px;
        align-items: center;
        text-align: center;
    }

    .hero .hero-text p {
        font-size: 20px;
    }

    .hero .hero-text h1 {
        font-size: 45px;
    }

    .hero .hero-text h2 {
        font-size: 25px;
        height: auto;
        min-height: 30px;
    }

    .hero .hero-btn .btn {
        padding: 12px 30px;
        letter-spacing: 1px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero .hero-text p {
        font-size: 18px;
    }

    .hero .hero-text h1 {
        font-size: 35px;
    }

    .hero .hero-text h2 {
        font-size: 20px;
        height: auto;
    }

    .hero .hero-btn {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .hero .hero-btn .btn {
        width: 100%;
        margin-right: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .hero .hero-text p {
        font-size: 16px;
    }

    .hero .hero-text h1 {
        font-size: 28px;
        /* Slightly smaller for very small phones */
    }

    .hero .hero-text h2 {
        font-size: 16px;
        height: auto;
    }

    .hero .hero-btn .btn {
        padding: 10px 15px;
        letter-spacing: 0;
        font-size: 12px;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    margin-bottom: 25px;
}

.section-header p {
    display: inline-block;
    margin: 0 5px;
    margin-bottom: 10px;
    padding-left: 0px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0px;
    text-transform: capitalize;
    background: #ffffff;
}

.section-header p::before {
    position: absolute;
    content: "";
    height: 3px;
    top: 11px;
    right: 0;
    left: -30px;
    background: #EF233C;
    z-index: -1;
}

.section-header p::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 3px;
    top: 11px;
    left: 3px;
    background: #EF233C;
    z-index: 1;
}

/* Remove decorative marks for specific headings (use class="no-decor") */
.section-header p.no-decor::before,
.section-header p.no-decor::after {
    display: none !important;
}

.section-header p.no-decor {
    padding-left: 0 !important;
    background: transparent !important;
    text-align: left !important;
}


.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 45px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 30px;
    }
}


/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    padding: 30px 0;
    background-color: #fdfdfd;
}

.about-top-row {
    margin-bottom: 60px;
    display: flex;
    align-items: stretch;
}

.about-img-new {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    /* Fixed space for the light trail */
    border-radius: 6px;
    background: transparent;
    overflow: hidden;
    transition: box-shadow 0.5s ease;
}

.about-img-new:hover {
    box-shadow: 0 0 20px rgba(239, 35, 60, 0.15);
}

/* Comet Orbiting Light */
.about-img-new::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: conic-gradient(from 0deg,
            transparent 280deg,
            #EF233C 330deg,
            transparent 360deg);
    animation: comet-spin 3s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.about-img-new:hover::before {
    opacity: 1;
}

/* Mask to keep the inside clean */
.about-img-new::after {
    content: '';
    position: absolute;
    inset: 2px;
    /* Matches padding */
    background: #fdfdfd;
    /* Site background color */
    border-radius: 5px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-img-new:hover::after {
    opacity: 1;
}

.about-img-new img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    z-index: 3;
    filter: grayscale(10%) contrast(105%);
    /* Professional flair */
    transition: transform 0.5s ease, filter 0.5s ease;
}

.about-img-new:hover img {
    filter: grayscale(0%) contrast(110%);
}

@keyframes comet-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


.about-text-new p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
    width: 100%;
}

.about-text-new .btn {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.about-text-new .btn:hover {
    border-bottom-color: #ef233c;
    color: #ef233c;
}

/* Expertise / Skills Section */
.expertise-header-new {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.expertise-header-new i {
    color: #333;
}

/* Premium Skill Card Style */
.skill-card-premium {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.skill-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.12);
    /* Subtle indigo glow */
    border-color: rgba(79, 70, 229, 0.15);
}

.skill-info-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.skill-card-premium h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    transition: color 0.3s ease;
}

.skill-card-premium:hover h4 {
    color: #4f46e5;
}

.skill-percent-premium {
    font-size: 12px;
    font-weight: 600;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
    padding: 3px 10px;
    border-radius: 12px;
}

.progress-track-premium {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill-premium {
    height: 100%;
    width: 0;
    /* Animated via .animate class */
    background: linear-gradient(90deg, #4f46e5, #8b5cf6, #ec4899);
    border-radius: 10px;
    transition: width 1.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

/* Staggered animation delay for rows */
.skill-card-premium.animate .progress-fill-premium {
    width: var(--percent);
}

/* Edge glow effect on hover */
.skill-card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    transition: box-shadow 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.skill-card-premium:hover::after {
    box-shadow: 0 0 20px 2px rgba(139, 92, 246, 0.1);
}


@media (max-width: 768px) {
    .about-top-row {
        text-align: center;
    }

    .about-img-new {
        margin: 0 auto 30px;
    }
}

#section-header-prof::before,
#section-header-prof::after {
    display: none !important;
}

.about .about-img {
    position: relative;
    height: 100%;
    vertical-align: text-top;
    border-style: none;
}

.about .about-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    padding: 0px;
}

.about .about-content {
    padding: 0 60px;
}

.about .about-text p {
    font-size: 16px;
}

.about .skills {
    margin-bottom: 30px;
}

.about .skill-name {
    margin-top: 15px;
}

.about .skill-name p {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 400;
}

.about .skill-name p:last-child {
    float: right;
}

.about .progress {
    height: 10px;
    border-radius: 10px;
    background: #dddddd;
}

.about .progress .progress-bar {
    width: 0px;
    background: #EF233C;
    border-radius: 10px;
    transition: 2s;
}

.about .about-text a.btn {
    margin-top: 15px;
}

@media (max-width: 991.98px) {
    .about .about-content {
        padding: 45px 15px 0 15px;
    }
}


/*******************************/
/******* Experience CSS ********/
/*******************************/
.experience {
    position: relative;
    padding: 45px 0 15px 0;
}

.experience .timeline {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px 0;
}

.experience .timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #EF233C;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.experience .timeline .timeline-item {
    position: relative;
    background: inherit;
    width: 50%;
    margin-bottom: 30px;
}

.experience .timeline .timeline-item.left {
    left: 0;
    padding-right: 30px;
}

.experience .timeline .timeline-item.right {
    left: 50%;
    padding-left: 30px;
}

.experience .timeline .timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 48px;
    right: -8px;
    background: #ffffff;
    border: 2px solid #EF233C;
    border-radius: 16px;
    z-index: 1;
}

.experience .timeline .timeline-item.right::after {
    left: -8px;
}

.experience .timeline .timeline-item::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 46px;
    right: 10px;
    z-index: 1;
    border: 10px solid;
    border-color: transparent transparent transparent #dddddd;
}

.experience .timeline .timeline-item.right::before {
    left: 10px;
    border-color: transparent #dddddd transparent transparent;
}

.experience .timeline .timeline-date {
    position: absolute;
    width: 100%;
    top: 44px;
    font-size: 16px;
    font-weight: 600;
    color: #EF233C;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.experience .timeline .timeline-item.left .timeline-date {
    text-align: left;
    left: calc(100% + 55px);
}

.experience .timeline .timeline-item.right .timeline-date {
    text-align: right;
    right: calc(100% + 55px);
}

.experience .timeline .timeline-text {
    padding: 30px;
    background: #ffffff;
    position: relative;
    border-right: 5px solid #dddddd;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, 0.2);
    /* Semi-transparent white */
    backdrop-filter: blur(15px);
    /* This creates the glass blur */
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 1px solid rgba(161, 161, 161, 0.3);
    /* Subtle white border */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    /* Soft shadow for depth */
    padding: 20px;
    color: #000000;
}

.experience .timeline .timeline-item.right .timeline-text {
    border-right: none;
    border-left: 5px solid #dddddd;
}

.experience .timeline .timeline-text h2 {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 600;
}

.experience .timeline .timeline-text h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
}

.experience .timeline .timeline-text p {
    margin: 0;
    font-size: 16px;
}

/* Hover / stretch effect for educational timeline cards */
.experience .timeline .timeline-text {
    transition: transform 420ms cubic-bezier(.2, .9, .2, 1), box-shadow 420ms, filter 420ms;
    will-change: transform, box-shadow;
}

/* Use the side to set transform origin so the stretch feels anchored */
.experience .timeline .timeline-item.left .timeline-text {
    transform-origin: left center;
}

.experience .timeline .timeline-item.right .timeline-text {
    transform-origin: right center;
}

/* Hover state: slight lift, stretch and subtle rotation depending on side */
.experience .timeline .timeline-item.left:hover .timeline-text,
.experience .timeline .timeline-item.left .timeline-text:hover {
    transform: translateY(-10px) translateX(-6px) scale(1.035, 1.08) rotate(-0.6deg);
    box-shadow: 0 18px 40px rgba(14, 30, 37, 0.18);
    filter: saturate(1.03);
}

.experience .timeline .timeline-item.right:hover .timeline-text,
.experience .timeline .timeline-item.right .timeline-text:hover {
    transform: translateY(-10px) translateX(6px) scale(1.035, 1.08) rotate(0.6deg);
    box-shadow: 0 18px 40px rgba(14, 30, 37, 0.18);
    filter: saturate(1.03);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    .experience .timeline .timeline-text,
    .experience .timeline .timeline-item.left .timeline-text,
    .experience .timeline .timeline-item.right .timeline-text {
        transition: none;
        transform: none !important;
    }
}

@media (max-width: 767.98px) {
    .experience .timeline::after {
        left: 8px;
    }

    .experience .timeline .timeline-item {
        width: 100%;
        padding-left: 38px;
    }

    .experience .timeline .timeline-item.left {
        padding-right: 0;
    }

    .experience .timeline .timeline-item.right {
        left: 0%;
        padding-left: 38px;
    }

    .experience .timeline .timeline-item.left::after,
    .experience .timeline .timeline-item.right::after {
        left: 0;
    }

    .experience .timeline .timeline-item.left::before,
    .experience .timeline .timeline-item.right::before {
        left: 18px;
        border-color: transparent #dddddd transparent transparent;
    }

    .experience .timeline .timeline-item.left .timeline-date,
    .experience .timeline .timeline-item.right .timeline-date {
        position: relative;
        top: 0;
        right: auto;
        left: 0;
        text-align: left;
        margin-bottom: 10px;
    }

    .experience .timeline .timeline-item.left .timeline-text,
    .experience .timeline .timeline-item.right .timeline-text {
        border-right: none;
        border-left: 5px solid #dddddd;
    }

    /* Timeline Title Fixes */
    .timeline-title {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-top: 0;
    }

    .timeline-degree {
        font-size: 14px;
        color: #EF233C;
        font-weight: 600;
    }

    .timeline-institution {
        font-size: 16px;
        font-weight: bold;
        color: #000000;
    }
}

/* Default Timeline Title styles (Desktop) */
.timeline-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
}

.timeline-degree {
    font-size: 16px;
}

.timeline-institution {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    text-align: right;
}

.timeline-item.right .timeline-institution {
    text-align: left;
}

.timeline-item.right .timeline-title {
    flex-direction: row-reverse;
}


/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .service-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 0 0 transparent;
    transition: ease-out 0.5s;
}

.service .service-item:hover {
    box-shadow: inset 800px 0 0 0 #EF233C;
}

.service .service-icon {
    position: relative;
    width: 150px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #EF233C;
    background: #ffffff;
}

.service .service-icon i {
    position: relative;
    font-size: 60px;
    color: #EF233C;
    transition: .3s;
}

.service .service-item:hover i {
    font-size: 75px;
}

.service .service-text {
    position: relative;
    width: calc(100% - 120px);
    padding: 0 30px;
}

.service .service-text h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    transition: 1s;
}

.service .service-text p {
    margin: 0;
    font-size: 16px;
    transition: 1s;
}

.service .service-item:hover .service-text h3,
.service .service-item:hover .service-text p {
    color: #ffffff;
}

@media (max-width: 575.98px) {
    .service .service-text h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .service .service-text p {
        font-size: 14px;
    }
}


/*******************************/
/******** Portfolio CSS ********/
/*******************************/
.portfolio {
    position: relative;
    padding: 45px 0 15px 0;
}

.portfolio #portfolio-filter {
    padding: 0;
    margin: -15px 0 25px 0;
    list-style: none;
    font-size: 0;
    text-align: center;
}

.portfolio #portfolio-filter li {
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: #EF233C;
    border: 2px solid transparent;
    border-radius: 0;
    box-shadow: inset 0 0 0 50px #EF233C;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
}

.portfolio #portfolio-filter li:hover,
.portfolio #portfolio-filter li.filter-active {
    color: #EF233C;
    background: transparent;
    box-shadow: inset 0 0 0 0 #EF233C;
    border-color: #EF233C;
}

.portfolio .portfolio-item {
    position: relative;
}

.portfolio .portfolio-wrap {
    position: relative;
    width: 100%;
}

.portfolio .portfolio-img {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    /* Semi-transparent white */
    backdrop-filter: blur(15px);
    /* This creates the glass blur */
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 1px solid rgba(161, 161, 161, 0.3);
    /* Subtle white border */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    /* Soft shadow for depth */
    padding: 20px;
    color: #000000;
}

.portfolio .portfolio-img img {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 250px;
    aspect-ratio: 4/3;
    object-fit: cover;
    transform: scale(1.1);
    transition: .5s;
}

.portfolio .portfolio-item:hover img {
    margin-left: 15px;
}

.portfolio .portfolio-text {
    position: relative;
    height: 60px;
    width: calc(100% - 30px);
    margin: -30px 15px 30px 15px;
    display: flex;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, .12);
}

.portfolio .portfolio-text h3 {
    width: calc(100% - 70px);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 0 15px;
    white-space: nowrap;
    overflow: hidden;
}

.portfolio .portfolio-text a.btn {
    width: 50px;
    height: 50px;
    padding: 0 0 2px 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    font-weight: 100;
}

.portfolio .portfolio-item:hover a.btn {
    color: #EF233C;
    background: transparent;
    box-shadow: inset 0 0 0 0 #EF233C;
    border-color: #EF233C;
}


/*******************************/
/********* Banner CSS **********/
/*******************************/
.banner {
    position: relative;
    width: 100%;
    margin: 45px 0;
    padding: 90px 0;
    background: #EF233C;
}

.banner .container {
    max-width: 750px;
    text-align: center;
}

.banner .section-header {
    margin-bottom: 20px;
}

.banner .section-header p {
    color: #414141;
    background: transparent;
}

.banner .section-header p::after {
    display: none;
}

.banner .section-header h2 {
    color: #ffffff;
}

.banner .section-header h2 span {
    color: #414141;
    font-size: 50px;
}

.banner .banner-text p {
    font-size: 18px;
    color: #ffffff;
}

.banner .banner-text .btn {
    margin-top: 15px;
    color: #EF233C;
    background: #ffffff;
    box-shadow: inset 0 0 0 50px #ffffff;
}

.banner .banner-text .btn:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: inset 0 0 0 0 #ffffff;
    border-color: #ffffff;
}


/*******************************/
/********* Pricing CSS *********/
/*******************************/
.price {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.price .row {
    padding: 0 15px;
}

.price .col-md-4 {
    padding: 0;
}

.price .price-item {
    position: relative;
    margin-bottom: 30px;
    background: #ffffff;
}

.price .featured-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
    z-index: 1;
}

.price .price-header,
.price .price-body,
.price .price-footer {
    position: relative;
    text-align: center;
}

.price .price-header {
    padding: 45px 0 30px 0;
    color: #414141;
}

.price .price-item.featured-item .price-header {
    color: #EF233C;
}

.price .price-title h2 {
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
}

.price .price-prices h2 {
    font-size: 45px;
    font-weight: 700;
    margin-left: 10px;
}

.price .price-prices h2 small {
    position: absolute;
    font-size: 18px;
    font-weight: 400;
    margin-top: 9px;
    margin-left: -12px;
}

.price .price-prices h2 span {
    margin-left: 1px;
    font-size: 18px;
    font-weight: 400;
}

.price .price-item.featured-item h2 {
    color: #EF233C;
}

.price .price-body {
    padding: 0 0 20px 0;
}

.price .price-description ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.price .price-description ul li {
    padding: 0 0 20px 0;
}

.price .price-item .price-action {
    padding-bottom: 45px;
}

.price .price-item .price-action .btn {
    color: #ffffff;
    background: #414141;
    box-shadow: inset 0 0 0 50px #414141;
}

.price .price-item .price-action .btn:hover {
    color: #414141;
    background: transparent;
    box-shadow: inset 0 0 0 0 #414141;
    border-color: #414141;
}

.price .price-item.featured-item .price-action .btn {
    color: #ffffff;
    background: #EF233C;
    box-shadow: inset 0 0 0 50px #EF233C;
}

.price .price-item.featured-item .price-action .btn:hover {
    color: #EF233C;
    background: transparent;
    box-shadow: inset 0 0 0 0 #EF233C;
    border-color: #EF233C;
}


/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.team .team-item {
    position: relative;
    background: #ffffff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: inset 0 0 0 0 transparent;
    transition: ease-out 0.5s;
}

.team .team-img {
    position: relative;
    width: 50%;
    overflow: hidden;
}

.team .team-img img {
    position: relative;
    width: 100%;
    transition: .5s;
}

.team .team-text {
    position: relative;
    width: 50%;
    padding: 0 30px;
}

.team .team-text h2 {
    color: #EF233C;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    transition: 1s;
}

.team .team-text h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: 1s;
}

.team .team-text p {
    margin-bottom: 20px;
    transition: 1s;
}

.team .team-social {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.team .team-social a.btn {
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: normal;
    margin-right: 5px;
}

.team .team-item:hover {
    box-shadow: inset 800px 0 0 0 #EF233C;
}

.team .team-item:hover .team-img img {
    transform: scale(1.2);
}

.team .team-item:hover .team-text h2,
.team .team-item:hover .team-text h4,
.team .team-item:hover .team-text p {
    color: #ffffff;
}

.team .team-item:hover .team-social a.btn {
    background: #ffffff;
}

.team .team-item:hover .team-social a.btn:hover {
    border-color: #ffffff;
}

@media(max-width: 575.98px) {
    .team .team-text {
        padding: 0 15px;
    }

    .team .team-text h2 {
        font-size: 16px;
        margin-bottom: 0;
    }

    .team .team-text h4 {
        margin-bottom: 5px;
    }

    .team .team-text p {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 10px;
    }
}


/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
    position: relative;
    margin: 10px 0;
    padding: 20px 0;
    background: #EF233C;
}

.testimonial .container {
    max-width: 900px;
}

.testimonial .testimonial-icon {
    margin-bottom: 45px;
    text-align: center;
}

.testimonial .testimonial-icon i {
    font-size: 70px;
    color: rgba(256, 256, 256, .5);
}

.testimonial .testimonial-item {
    position: relative;
    margin: 0 15px;
    text-align: center;
}

.testimonial .testimonial-img {
    position: relative;
    margin-bottom: 15px;
    z-index: 1;
}

.testimonial .testimonial-item img {
    margin: 0 auto;
    width: 120px;
    padding: 10px;
    border: 5px dotted #ffffff;
    border-radius: 100px;
}

.testimonial .testimonial-text {
    position: relative;
    margin-top: -70px;
    padding: 65px 35px 30px 35px;
    text-align: center;
    background: #ffffff;
    border-radius: 500px;
}

.testimonial .testimonial-item p {
    font-size: 18px;
    font-style: italic;
}

.testimonial .testimonial-text h3 {
    color: #EF233C;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.testimonial .testimonial-text h4 {
    color: #666666;
    font-size: 14px;
    margin-bottom: 0;
}

.testimonial .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.testimonial .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(256, 256, 256, .5);
}

.testimonial .owl-dot.active {
    background: #ffffff;
}


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    margin: 45px 0;
    background: #EF233C;
}

.contact .container-fluid {
    background: url(../img/contact.jpg) left center no-repeat;
    background-size: contain;
}

.contact .contact-form {
    position: relative;
    padding: 90px 0 90px 45px;
    background: #EF233C;
}

.contact .contact-form input {
    color: #ffffff;
    padding: 15px 0;
    background: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(256, 256, 256, .5);
}

.contact .contact-form textarea {
    color: #ffffff;
    height: 90px;
    padding: 15px 0;
    background: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(256, 256, 256, .5);
}

.contact .contact-form .form-control::placeholder {
    color: #ffffff;
    opacity: 1;
}

.contact .contact-form .form-control:-ms-input-placeholder,
.contact .contact-form .form-control::-ms-input-placeholder {
    color: #ffffff;
}

.contact .contact-form .btn {
    margin-top: 35px;
    color: #EF233C;
    background: #ffffff;
    box-shadow: inset 0 0 0 50px #ffffff;
}

.contact .contact-form .btn:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: inset 0 0 0 0 #ffffff;
    border-color: #ffffff;
}

.contact .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 14px;
    font-style: italic;
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .contact .container-fluid {
        background: none;
    }

    .contact .contact-form {
        padding: 90px 0;
    }
}


/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.blog .blog-item {
    position: relative;
    margin-bottom: 0px;
}

.blog .blog-img {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.blog .blog-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: .5s;
}

.blog .blog-item:hover img {
    transform: scale(1.1);
}

.blog .blog-text {
    position: relative;
    padding: 30px;
    border-right: 1px solid rgba(0, 0, 0, .07);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    border-left: 1px solid rgba(0, 0, 0, .07);
    min-width: none;
    border-radius: 0 0 15px 15px;
}

.blog .blog-text h2 {
    font-size: 25px;
    font-weight: 600;
}

.blog .blog-text p {
    margin-bottom: 10px;
}

.blog .blog-item a.btn {
    margin-top: 10px;
    padding: 8px 15px;
}

.blog .blog-item a.btn i {
    margin-left: 5px;
}

.blog .blog-meta {
    position: relative;
    display: flex;
    margin-bottom: 15px;
}

.blog .blog-meta p {
    margin: 0 10px 0 0;
    font-size: 13px;
}

.blog .blog-meta i {
    color: #414141;
    margin-right: 5px;
}

.blog .blog-meta p:last-child {
    margin: 0;
}


/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 25px;
    background: #EF233C;
}

.footer .container-fluid {
    padding: 60px 0 0 0;
}

.footer .footer-info {
    position: relative;
    width: 100%;
    text-align: center;
}

.footer .footer-info h2 {
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
}

.footer .footer-info h3 {
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.footer .footer-menu {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer .footer-menu p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    line-height: 20px;
    padding: 0 15px;
    border-right: 1px solid #ffffff;
}

.footer .footer-menu p:last-child {
    border: none;
}

.footer .footer-social {
    position: relative;
    margin-top: 15px;
}

.footer .footer-social a {
    display: inline-block;
}

.footer .footer-social a i {
    margin-right: 15px;
    font-size: 20px;
    color: #ffffff;
    transition: .3s;
}

.footer .footer-social a:last-child i {
    margin: 0;
}

.footer .footer-social a:hover i {
    color: #414141;
}

.footer .copyright {
    position: relative;
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.footer .copyright::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 1px;
    top: 0;
    left: 25%;
    background: rgba(256, 256, 256, .2);
}

.footer .copyright p {
    margin: 0;
    color: #ffffff;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.footer .copyright p a {
    color: #ffffff;
    font-weight: 600;
}

.footer .copyright p a:hover {
    color: #414141;
}

/* Site footer (multi-column) */
.site-footer {
    /* background: linear-gradient(180deg,#f7fbfd,#f1f7fb);*/
    color: #ffffff;
    padding-top: 3px;
}

.site-footer .footer-top {}

.site-footer .footer-brand h3 {
    font-size: 20px;
    margin: 0;
}

.site-footer .hours-box {
    margin-top: 12px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255);
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(255, 255, 255);
}

.site-footer .footer-heading {
    font-size: 18px;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 700;
}

.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #ffffff
}

.site-footer .footer-links li {
    margin-bottom: 10px
}

.site-footer .footer-links a {
    color: #ffffff;
    text-decoration: none
}

.site-footer .footer-links a:hover {
    color: #EF233C
}

.site-footer .contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff
}

.site-footer .social-row {
    display: flex;
    gap: 10px
}

.site-footer .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    color: #4b5563;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none
}

.site-footer .social-btn:hover {
    background: #EF233C;
    color: #fff;
    transform: translateY(-2px)
}

.site-footer .footer-bottom {
    /* background: #0b0e14;*/
}

.site-footer .footer-nav a {
    margin-left: 20px;
    color: rgb(255, 255, 255);
    text-decoration: none
}

.site-footer .footer-nav a:hover {
    color: #EF233C
}

@media (max-width: 991.98px) {
    .site-footer .footer-bottom .text-right {
        text-align: left !important
    }

    .site-footer .footer-top {
        gap: 18px
    }
}

@media (max-width: 575.98px) {
    .footer .footer-info h2 {
        margin-bottom: 20px;
        font-size: 20px;
        font-weight: 600;
    }

    .footer .footer-info h3 {
        margin-bottom: 20px;
        font-size: 16px;
    }

    .footer .footer-menu p {
        font-size: 16px;
        line-height: 16px;
        padding: 0 5px;
    }

    .navbar .navbar-brand {
        font-size: 30px;
    }
}


.experience-section {

    padding: 0px 20px;
    text-align: center;

}

.experience-section {

    background-color: #ffffff;
    width: auto;


}

.experience-section h2 {
    color: #ffffff;
    /* Changed from white to be visible */
}

.exp-title {
    font-size: 32px;
    color: white;
    margin-bottom: 5px;
}

.exp-sub {
    color: #ffffff;
    margin-bottom: 40px;
}

.exp-container {
    display: flex;
    gap: 25px;
    padding: 20px;
    background-color: #ffffff;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.exp-card {
    background: white;
    width: 380px;
    min-width: 380px;
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: 0.05s;
    border-left: 0px solid #EF233C;
    background: rgba(255, 255, 255, 0.2);
    /* Semi-transparent white */
    backdrop-filter: blur(15px);
    /* This creates the glass blur */
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 1px solid rgba(161, 161, 161, 0.3);
    /* Subtle white border */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    /* Soft shadow for depth */
    color: #000000;
}

@media (max-width: 767.98px) {
    .exp-container {
        padding: 15px;
        gap: 15px;
    }

    .exp-card {
        width: 300px;
        min-width: 300px;
        padding: 15px;
    }

    .exp-card h3 {
        font-size: 18px;
    }

    .exp-icon img {
        width: 150px;
        height: 150px;
    }
}

.exp-card:hover {
    transform: translateY(-7px);
}

.exp-icon {
    font-size: 80px;
    margin-bottom: 10px;
    color: #e71d36;
    justify-content: center;
    text-align: center;
}

/* Ensure all uploaded images inside .exp-icon render at the same size */
.exp-icon img {
    width: 600px !important;
    height: 600px !important;
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
    /* preserve aspect ratio, no cropping */
    display: block;
    margin: 0 auto 8px;
}

.exp-card h3 {
    margin: 0;
    font-weight: bold;
    font-size: 20px;
    color: #111;
}

.exp-card h4 {
    margin: 5px 0 15px;
    font-size: 14px;
    color: #888;
    font-weight: normal;
}

.exp-card p {
    font-size: 13px;
    line-height: 1.4;
    color: #333333;
    margin: 0 0 0.5rem 0;
}


/* Disable ::before and ::after effects for p tags in exp-card */
.exp-card p::before,
.exp-card p::after {
    display: none !important;
}

@media(max-width: 800px) {
    .exp-card {
        width: 90%;
    }
}

/* Testimonials: show two cards in a row and make them visually stronger */
.testimonials-carousel {
    display: flex;
    gap: 24px;
    overflow: hidden;
    align-items: stretch;
    padding: 12px 0;
}

.testimonials-carousel .testimonial-item {
    box-sizing: border-box;
    width: calc(33.333% - 16px);
    /* three items per row with gap */
    min-width: 250px;
    min-height: 340px;
    background: #ffffff;
    padding: 10px;
    border-radius: 18px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-align: center;
}

.testimonials-carousel .testimonial-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
}

.testimonials-carousel .testimonial-img {
    width: 130px;
    height: 130px;
    border-radius: 5%;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 10px;
    display: inline-block;

}

.testimonials-carousel .testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonials-carousel .testimonial-text p {
    font-size: 15px;
    color: #333333;
    margin: 4px 0 8px 0;
    line-height: 1.2;
    text-align: center;
}

.testimonials-carousel .testimonial-text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111111;
}

.testimonials-carousel .testimonial-text h4 {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: #777777;
    font-weight: 500;
}

@media (max-width: 991px) {
    .testimonials-carousel .testimonial-item {
        width: calc(50% - 12px);
    }
}

@media (max-width: 575px) {
    .testimonials-carousel .testimonial-item {
        width: 100%;
        min-width: auto;
    }

    .exp-card {
        width: 280px;
        min-width: 280px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .testimonial .testimonial-text {
        border-radius: 30px;
        /* Standard rounded corners instead of oval on mobile */
        padding: 50px 20px 20px 20px;
    }

    .testimonials-carousel .testimonial-item {
        min-height: auto;
    }

    .about .about-img img {
        height: auto;
        max-height: 400px;
        margin-bottom: 20px;
    }
}

/** 3D Tilt / Hover Card Effect for Experience Cards **/
.exp-card {
    transform-style: preserve-3d;
    transition: transform 320ms cubic-bezier(.2, .9, .2, 1), box-shadow 320ms, filter 320ms;
    will-change: transform;
    --rx: 0deg;
    --ry: 0deg;
    --tz: 0px;
    transform: perspective(1000px) translateZ(var(--tz)) rotateX(var(--rx)) rotateY(var(--ry));
}

.exp-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 320ms ease;
}

.exp-card:hover::before {
    opacity: 1;
}

.exp-card.is-tilt {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.exp-card.is-tilt .exp-icon {
    transform: translateZ(28px);
    transition: transform 320ms;
}

.exp-card.is-tilt h3 {
    transform: translateZ(18px);
    transition: transform 320ms;
}

.exp-card.is-tilt h4 {
    transform: translateZ(12px);
    transition: transform 320ms;
}

@media (prefers-reduced-motion: reduce) {

    .exp-card,
    .exp-card::before,
    .exp-card.is-tilt .exp-icon {
        transition: none !important;
        transform: none !important;
    }
}

/*******************************/
/*** Gradient Color Rain *******/
/*******************************/
.rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.rain-drop {
    position: absolute;
    width: 1px;
    height: 40px;
    /* updated to 40px per request */
    background: linear-gradient(180deg, rgba(239, 35, 60, 0.95), rgba(56, 73, 171, 0.95));
    border-radius: 1px;
    opacity: 0.95;
    animation: fall linear infinite;
    transform-origin: center top;
}

@keyframes fall {
    0% {
        transform: translateY(-140px);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/*******************************/
/******** Footer Status ********/
/*******************************/
.footer-status {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.status-item i {
    font-size: 16px;
    opacity: 0.9;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background-color: #00d1b2;
    /* Modern green */
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.status-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: status-pulse 2s infinite;
    opacity: 0.6;
}

@keyframes status-pulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }

    100% {
        width: 250%;
        height: 250%;
        opacity: 0;
    }
}

@media (max-width: 767.98px) {
    .footer-status {
        justify-content: center;
        margin-top: 15px;
        gap: 20px;
    }
}

/* Override Bootstrap spacing for footer transition */
.pb-5,
.py-5 {
    padding-bottom: 0rem !important;
}

}

.testimonials-carousel .testimonial-item {
    min-height: auto;
}

.about .about-img img {
    height: auto;
    max-height: 400px;
    margin-bottom: 20px;
}
}

/** 3D Tilt / Hover Card Effect for Experience Cards **/
.exp-card {
    transform-style: preserve-3d;
    transition: transform 320ms cubic-bezier(.2, .9, .2, 1), box-shadow 320ms, filter 320ms;
    will-change: transform;
    --rx: 0deg;
    --ry: 0deg;
    --tz: 0px;
    transform: perspective(1000px) translateZ(var(--tz)) rotateX(var(--rx)) rotateY(var(--ry));
}

.exp-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 320ms ease;
}

.exp-card:hover::before {
    opacity: 1;
}

.exp-card.is-tilt {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.exp-card.is-tilt .exp-icon {
    transform: translateZ(28px);
    transition: transform 320ms;
}

.exp-card.is-tilt h3 {
    transform: translateZ(18px);
    transition: transform 320ms;
}

.exp-card.is-tilt h4 {
    transform: translateZ(12px);
    transition: transform 320ms;
}

@media (prefers-reduced-motion: reduce) {

    .exp-card,
    .exp-card::before,
    .exp-card.is-tilt .exp-icon {
        transition: none !important;
        transform: none !important;
    }
}

/*******************************/
/*** Gradient Color Rain *******/
/*******************************/
.rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.rain-drop {
    position: absolute;
    width: 1px;
    height: 40px;
    /* updated to 40px per request */
    background: linear-gradient(180deg, rgba(239, 35, 60, 0.95), rgba(56, 73, 171, 0.95));
    border-radius: 1px;
    opacity: 0.95;
    animation: fall linear infinite;
    transform-origin: center top;
}

@keyframes fall {
    0% {
        transform: translateY(-140px);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/*******************************/
/******** Footer Status ********/
/*******************************/
.footer-status {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.status-item i {
    font-size: 16px;
    opacity: 0.9;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background-color: #00d1b2;
    /* Modern green */
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.status-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: status-pulse 2s infinite;
    opacity: 0.6;
}

@keyframes status-pulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }

    100% {
        width: 250%;
        height: 250%;
        opacity: 0;
    }
}

@media (max-width: 767.98px) {
    .footer-status {
        justify-content: center;
        margin-top: 15px;
        gap: 20px;
    }
}

/* Override Bootstrap spacing for footer transition */
.pb-5,
.py-5 {
    padding-bottom: 0rem !important;
}

.mt-5,
.my-5 {
    margin-top: 3rem !important;
    width: 104%;
}

/*******************************/
/***** Creative Design CSS *****/
/*******************************/
.creative-design {
    position: relative;
    padding: 10px 0;
    background: #f8f9fa;
}

.behance-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    cursor: pointer;
    position: relative;
}

.behance-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.behance-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.behance-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.behance-card:hover .behance-img-wrapper img {
    transform: scale(1.08);
}

.behance-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
    padding: 20px;
    text-align: center;
}

.behance-card:hover .behance-overlay {
    opacity: 1;
}

.behance-overlay h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.behance-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.behance-card:hover .behance-overlay h3,
.behance-card:hover .behance-overlay p {
    transform: translateY(0);
}

.view-gallery-btn {
    padding: 10px 20px;
    background: #0057ff;
    color: #fff !important;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.4s ease 0.3s;
}

.behance-card:hover .view-gallery-btn {
    transform: translateY(0);
}

.behance-info {
    padding: 20px;
    text-align: left;
    background: #fff;
}

.behance-info h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #111;
}

.behance-info p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Premium Project Modal (Unsplash/Behance Style) */
.project-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 40px 20px;
    backdrop-filter: blur(10px);
}

.project-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 1100px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalScaleUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalScaleUp {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    border-radius: 12px 12px 0 0;
}

.modal-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.modal-author-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #111;
}

.modal-author-text p {
    font-size: 12px;
    margin: 0;
    color: #888;
}

.modal-actions-premium {
    display: flex;
    gap: 10px;
    align-items: center;
}

.modal-actions-premium .btn-modal {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    transition: all 0.3s;
    background: #fff;
}

.modal-actions-premium .btn-modal:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.modal-download-btn {
    padding: 8px 18px;
    background: #111;
    color: #fff !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.modal-gallery-premium {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.modal-gallery-premium img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.modal-footer-premium {
    padding: 20px 30px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.modal-footer-premium h5 {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    margin-bottom: 5px;
}

.modal-footer-premium p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

.modal-close-trigger {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
    z-index: 100000;
    transition: transform 0.3s;
}

.modal-close-trigger:hover {
    transform: scale(1.1);
}


.modal-actions-premium .btn-modal.liked i {
    color: #ef233c;
    font-weight: 900;
    /* Solid heart */
}

.modal-actions-premium .btn-modal.liked {
    border-color: #ef233c;
    background: rgba(239, 35, 60, 0.05);
}

.like-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.like-count {
    font-size: 13px;
    font-weight: 700;
    color: #555;
}

.modal-actions-premium .btn-modal.liked .like-count {
    color: #ef233c !important;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.modal-actions-premium .btn-modal.liked i {
    animation: heartBeat 0.4s ease;
}

@media (max-width: 768px) {
    .project-modal-content {
        max-width: 95%;
    }

    .modal-actions-premium .btn-modal {
        display: none;
    }
}