:root {
    --primary: #ff1f5a;
    --secondary: #790162;
    --accent: #a14e75;
    --light-bg: #f8f9fa;
    --dark-bg: #121212;
    --light-text: #f8f9fa;
    --dark-text: #212529;
    --success: #38B2AC;
    --warning: #F6AD55;
    --danger: #E53E3E;
    --transition-speed: 0.5s;
    --success: #38B2AC;
    --warning: #F6AD55;
    --danger: #E53E3E;
}

body {
    font-family: 'Poppins', sans-serif;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    background-color: var(--light-bg);
    color: var(--dark-text);
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed);
    padding: 1rem 0rem;
}

.dark-mode .navbar {
    background: rgba(18, 18, 18, 0.8);
}

.dark-mode .navbar-toggler {
    border: 2px solid var(--primary);

}

.dark-mode .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    /* Change this color */
    transition: var(--transition-speed);
}

.logo {
    height: 50px;
    width: 200px;
    /* Added width to maintain aspect ratio */
    background-image: url('/images/logo-dark.webp');
    background-size: contain;
    /* Ensures the image fits properly */
    background-repeat: no-repeat;
    /* Prevents image from repeating */
    background-position: center;
    /* Centers the image */
    transition: var(--transition);
}

.dark-mode .logo {
    width: 200px;
    /* Added width to maintain aspect ratio */
    height: 50px;
    background-image: url('/images/logo-white.webp');
    transition: var(--transition);
}

.nav-link {
    color: var(--primary) !important;
    font-weight: 600;
    margin: 0 10px;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {

    /* Toggled navbar background */
    .navbar-collapse {
        background-color: #ffffff65;
        padding: 1rem;
        border-radius: 10px;
    }
    .navbar .navbar-brand .logo{
        position: fixed;
        top: 20px;
        left: 0px;
        z-index: 1000;
        max-width: 150px;
    }
    .dark-mode .navbar-collapse {
        background-color: #11111165;
        padding: 1rem;
        border-radius: 10px;
    }

    /* Customize nav links inside toggled menu */
    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Last link - no border */
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Add spacing or margin between links */
    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }

    /* Hover effect for toggled links */
    .navbar-nav .nav-link:hover {
        background-color: none;
        border-radius: 5px;
    }

    .dark-mode .navbar-nav .nav-link:hover {
        background-color: #222;
        border-radius: 5px;
    }

    /* Optional: animate dropdown */
    .navbar-collapse.collapse.show {
        animation: slideDown 0.3s ease-in-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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


/* .dark-mode .nav-link {
    color: var(--light-text) !important;
} */

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

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

.custom-cursor {
    position: fixed;
    z-index: 9999;
}

/* ===DARK MODE BUTTONS === */

.theme-switch {
    --toggle-size: 10px;
    --container-width: 5.625em;
    --container-height: 2.5em;
    --container-radius: 6.25em;
    /* radius 0 - minecraft mode :) */
    --container-light-bg: #3D7EAE;
    --container-night-bg: #1D1F2C;
    --circle-container-diameter: 3.375em;
    --sun-moon-diameter: 2.125em;
    --sun-bg: #ECCA2F;
    --moon-bg: #C4C9D1;
    --spot-color: #959DB1;
    --circle-container-offset: calc((var(--circle-container-diameter) - var(--container-height)) / 2 * -1);
    --stars-color: #fff;
    --clouds-color: #F3FDFF;
    --back-clouds-color: #AACADF;
    --transition: .5s cubic-bezier(0, -0.02, 0.4, 1.25);
    --circle-transition: .3s cubic-bezier(0, -0.02, 0.35, 1.17);
}

.theme-switch,
.theme-switch *,
.theme-switch *::before,
.theme-switch *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: var(--toggle-size);
}

.theme-switch__container {
    width: var(--container-width);
    height: var(--container-height);
    background-color: var(--container-light-bg);
    border-radius: var(--container-radius);
    overflow: hidden;
    cursor: pointer;
    -webkit-box-shadow: 0em -0.062em 0.062em rgba(0, 0, 0, 0.25), 0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
    box-shadow: 0em -0.062em 0.062em rgba(0, 0, 0, 1), 0em 0.20em 0.125em rgb(109, 109, 109);
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
    position: relative;
}

.theme-switch__container::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    -webkit-box-shadow: 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset, 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
    box-shadow: 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset, 0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
    border-radius: var(--container-radius)
}

.theme-switch__checkbox {
    display: none;
}

.theme-switch__circle-container {
    width: var(--circle-container-diameter);
    height: var(--circle-container-diameter);
    background-color: rgba(255, 255, 255, 0.1);
    position: absolute;
    left: var(--circle-container-offset);
    top: var(--circle-container-offset);
    border-radius: var(--container-radius);
    -webkit-box-shadow: inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), 0 0 0 0.625em rgba(255, 255, 255, 0.1), 0 0 0 1.25em rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), inset 0 0 0 3.375em rgba(255, 255, 255, 0.1), 0 0 0 0.625em rgba(255, 255, 255, 0.1), 0 0 0 1.25em rgba(255, 255, 255, 0.1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: var(--circle-transition);
    -o-transition: var(--circle-transition);
    transition: var(--circle-transition);
    pointer-events: none;
}

.theme-switch__sun-moon-container {
    pointer-events: auto;
    position: relative;
    z-index: 2;
    width: var(--sun-moon-diameter);
    height: var(--sun-moon-diameter);
    margin: auto;
    border-radius: var(--container-radius);
    background-color: var(--sun-bg);
    -webkit-box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #a1872a inset;
    box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #a1872a inset;
    -webkit-filter: drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25)) drop-shadow(0em 0.062em 0.125em rgba(0, 0, 0, 0.25));
    filter: drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25)) drop-shadow(0em 0.062em 0.125em rgba(0, 0, 0, 0.25));
    overflow: hidden;
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
}

.theme-switch__moon {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    width: 100%;
    height: 100%;
    background-color: var(--moon-bg);
    border-radius: inherit;
    -webkit-box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #969696 inset;
    box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset, 0em -0.062em 0.062em 0em #969696 inset;
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
    position: relative;
}

.theme-switch__spot {
    position: absolute;
    top: 0.75em;
    left: 0.312em;
    width: 0.75em;
    height: 0.75em;
    border-radius: var(--container-radius);
    background-color: var(--spot-color);
    -webkit-box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset;
    box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset;
}

.theme-switch__spot:nth-of-type(2) {
    width: 0.375em;
    height: 0.375em;
    top: 0.937em;
    left: 1.375em;
}

.theme-switch__spot:nth-last-of-type(3) {
    width: 0.25em;
    height: 0.25em;
    top: 0.312em;
    left: 0.812em;
}

.theme-switch__clouds {
    width: 1.25em;
    height: 1.25em;
    background-color: var(--clouds-color);
    border-radius: var(--container-radius);
    position: absolute;
    bottom: -0.625em;
    left: 0.312em;
    -webkit-box-shadow: 0.937em 0.312em var(--clouds-color), -0.312em -0.312em var(--back-clouds-color), 1.437em 0.375em var(--clouds-color), 0.5em -0.125em var(--back-clouds-color), 2.187em 0 var(--clouds-color), 1.25em -0.062em var(--back-clouds-color), 2.937em 0.312em var(--clouds-color), 2em -0.312em var(--back-clouds-color), 3.625em -0.062em var(--clouds-color), 2.625em 0em var(--back-clouds-color), 4.5em -0.312em var(--clouds-color), 3.375em -0.437em var(--back-clouds-color), 4.625em -1.75em 0 0.437em var(--clouds-color), 4em -0.625em var(--back-clouds-color), 4.125em -2.125em 0 0.437em var(--back-clouds-color);
    box-shadow: 0.937em 0.312em var(--clouds-color), -0.312em -0.312em var(--back-clouds-color), 1.437em 0.375em var(--clouds-color), 0.5em -0.125em var(--back-clouds-color), 2.187em 0 var(--clouds-color), 1.25em -0.062em var(--back-clouds-color), 2.937em 0.312em var(--clouds-color), 2em -0.312em var(--back-clouds-color), 3.625em -0.062em var(--clouds-color), 2.625em 0em var(--back-clouds-color), 4.5em -0.312em var(--clouds-color), 3.375em -0.437em var(--back-clouds-color), 4.625em -1.75em 0 0.437em var(--clouds-color), 4em -0.625em var(--back-clouds-color), 4.125em -2.125em 0 0.437em var(--back-clouds-color);
    -webkit-transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
    -o-transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
    transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
}

.theme-switch__stars-container {
    position: absolute;
    color: var(--stars-color);
    top: -100%;
    left: 0.312em;
    width: 2.75em;
    height: auto;
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
}

/* actions */

.theme-switch__checkbox:checked+.theme-switch__container {
    background-color: var(--container-night-bg);
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__circle-container {
    left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter));
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__circle-container:hover {
    left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter) - 0.187em)
}

.theme-switch__circle-container:hover {
    left: calc(var(--circle-container-offset) + 0.187em);
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__moon {
    -webkit-transform: translate(0);
    -ms-transform: translate(0);
    transform: translate(0);
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__clouds {
    bottom: -4.062em;
}

.theme-switch__checkbox:checked+.theme-switch__container .theme-switch__stars-container {
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.navbar-toggler .theme-switch {
    left: 50%;
}

/*=====END DARK MODE BUTTONS=====*/

/* Hero Section Styles */


.hero-container {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
    animation: float 15s infinite alternate ease-in-out;
}

.hero-container::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: var(--secondary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
    animation: float 18s infinite alternate-reverse ease-in-out;
}

.dark-mode .hero-container::before,
.dark-mode .hero-container::after {
    opacity: 0.1;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(5%, 5%) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .hero-title {
    background: linear-gradient(45deg, var(--primary), var(--light-bg));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--light-text);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(255, 31, 90, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 31, 90, 0.4);
    color: var(--light-text);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    transition: width 0.5s ease;
    z-index: -1;
}

.cta-btn:hover::before {
    width: 100%;
}

.secondary-btn {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-left: 1rem;
}

.secondary-btn:hover {
    background: var(--primary);
    color: var(--light-text);
    transform: translateY(-3px);
}

.dark-mode .secondary-btn {
    color: var(--light-text);
    border-color: var(--accent);
}

.dark-mode .secondary-btn:hover {
    background: var(--accent);
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-text);
    cursor: pointer;
    z-index: 100;
    transition: color var(--transition-speed);
}

.dark-mode .theme-toggle {
    color: var(--light-text);
}

.hero-image {
    position: relative;
    transform: translateY(20px);
    transition: transform 0.5s ease;
    animation: levitate 6s infinite ease-in-out;
}

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

.stats-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.dark-mode .stats-card {
    background: rgba(25, 25, 25, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stats-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .stats-number,
.dark-mode .stats-icon {
    background: linear-gradient(45deg, var(--primary), var(--light-bg));
    -webkit-background-clip: text;
    background-clip: text;
}

.stats-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.animated-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
    color: var(--primary);
}

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

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
}

.benefits-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

.dark-mode .benefits-list li::before {
    color: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-content {
        text-align: center;
        padding-bottom: 2rem;
    }
    .hero-image {
        max-width: 70%;
        margin: 0 auto;
    }
    .stats-section {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .btn-container {
        flex-direction: column;
        align-items: center;
    }
    .secondary-btn {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/*Job Section Styles*/

.job-card {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all var(--transition-speed);
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    background-color: white;
}

.dark-mode .job-card {
    background-color: #1e1e1e;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 31, 90, 0.25);
}

.dark-mode .job-card:hover {
    box-shadow: 0 15px 30px rgba(161, 78, 117, 0.3);
}

.job-card-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: width var(--transition-speed);
}

.job-card:hover .job-card-highlight {
    width: 12px;
}

.job-card-header {
    padding: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.dark-mode .job-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.job-card-body {
    padding-bottom: 25px;
}

.job-title {
    color: var(--dark-text);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.4rem;
    transition: all var(--transition-speed);
}

.dark-mode .job-title {
    color: var(--light-text);
}

.job-company {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.company-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
    object-fit: cover;
    background-color: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo i {
    color: var(--primary);
    font-size: 1.2rem;
}

.company-name {
    font-weight: 600;
    color: #495057;
}

.dark-mode .company-name {
    color: #ced4da;
}

.job-location {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.dark-mode .job-location {
    color: #adb5bd;
}

.job-location i {
    margin-right: 8px;
    color: var(--primary);
}

.job-type {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: rgba(255, 31, 90, 0.1);
    color: var(--primary);
    transition: all var(--transition-speed);
}

.dark-mode .job-type {
    background-color: rgba(255, 31, 90, 0.2);
}

.job-type.part-time {
    background-color: rgba(86, 204, 157, 0.1);
    color: #56cc9d;
}

.job-type.contract {
    background-color: rgba(247, 183, 49, 0.1);
    color: #f7b731;
}

.job-type.remote {
    background-color: rgba(84, 160, 255, 0.1);
    color: #54a0ff;
}

.job-salary {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.dark-mode .job-salary {
    color: #ced4da;
}

.job-description {
    color: #6c757d;
    margin: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.dark-mode .job-description {
    color: #adb5bd;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.job-tag {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    margin-right: 10px;
    margin-bottom: 8px;
    background-color: rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
}

.dark-mode .job-tag {
    background-color: rgba(255, 255, 255, 0.05);
}

.job-tag:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-apply {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-apply::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    opacity: 0;
    transition: opacity var(--transition-speed);
    z-index: -1;
}

.btn-apply:hover::before {
    opacity: 1;
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 31, 90, 0.2);
}

.btn-details {
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all var(--transition-speed);
    margin-right: 10px;
}

.dark-mode .btn-details {
    color: #adb5bd;
    border: 1px solid #343a40;
}

.btn-details:hover {
    background-color: #f8f9fa;
    color: var(--primary);
    border-color: var(--primary);
}

.dark-mode .btn-details:hover {
    background-color: #212529;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-details i {
    transition: transform var(--transition-speed);
    margin-left: 5px;
}

.btn-details[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.job-details-content {
    padding: 0 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.3s ease;
}

.dark-mode .job-details-content {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.job-details-content.show {
    max-height: 1500px;
    padding: 25px;
}

.details-section {
    margin-bottom: 20px;
}

.details-section h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-text);
    position: relative;
    padding-left: 15px;
}

.dark-mode .details-section h5 {
    color: var(--light-text);
}

.details-section h5::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

.details-list {
    list-style-type: none;
    padding-left: 5px;
    margin-bottom: 0;
}

.details-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #6c757d;
    font-size: 0.95rem;
}

.dark-mode .details-list li {
    color: #adb5bd;
}

.details-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.badge-posted {
    background-color: #e9ecef;
    color: #495057;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 10px;
}

.dark-mode .badge-posted {
    background-color: #343a40;
    color: #adb5bd;
}

.featured-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(255, 165, 0, 0.3);
    z-index: 2;
}

@media (max-width: 768px) {
    .job-card-header, .job-card-body, .job-details-content.show {
        padding: 20px;
    }
    .job-title {
        font-size: 1.2rem;
    }
}


        /* Apply Now Modal */
        .modal-content {
            border-radius: 15px;
            border: none;
            overflow: hidden;
            background-color: var(--light-bg);
            transition: all var(--transition-speed);
        }

        .dark-mode .modal-content {
            background-color: #1e1e1e;
        }

        .modal-header {
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            padding: 20px 30px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
        }

        .dark-mode .modal-header {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .modal-title {
            font-weight: 700;
        }

        .modal-body {
            padding: 30px;
        }

        .modal-footer {
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            padding: 20px 30px;
        }

        .dark-mode .modal-footer {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .form-control {
            height: 50px;
            border-radius: 8px;
            padding: 0 15px;
            font-size: 1rem;
            border: 1px solid #e9ecef;
            transition: all var(--transition-speed);
        }

        .dark-mode .form-control {
            background-color: #2d2d2d;
            border-color: #333;
            color: var(--light-text);
        }

        .form-control:focus {
            box-shadow: 0 0 0 3px rgba(255, 31, 90, 0.2);
            border-color: var(--primary);
        }

        .form-label {
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--dark-text);
            transition: all var(--transition-speed);
        }

        .dark-mode .form-label {
            color: var(--light-text);
        }

        textarea.form-control {
            height: auto;
            padding: 15px;
        }

        .btn-submit {
            height: 50px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            border: none;
            padding: 0 30px;
            border-radius: 8px;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: all var(--transition-speed);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn-submit::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
            opacity: 0;
            transition: opacity var(--transition-speed);
            z-index: -1;
        }

        .btn-submit:hover::before {
            opacity: 1;
        }

        .btn-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        /* File upload custom design */
        .custom-file-upload {
            border: 2px dashed #e9ecef;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all var(--transition-speed);
            margin-bottom: 20px;
        }

        .dark-mode .custom-file-upload {
            border-color: #333;
        }

        .custom-file-upload:hover {
            border-color: var(--primary);
        }

        .file-upload-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .file-upload-text {
            font-weight: 600;
            margin-bottom: 5px;
        }

        .file-upload-subtext {
            font-size: 0.9rem;
            color: #6c757d;
        }

        .dark-mode .file-upload-subtext {
            color: #adb5bd;
        }

        
        /* =======================Apply Now Modal================ */
        .modal-content {
            border-radius: var(--border-radius);
            border: none;
            overflow: hidden;
            background-color: var(--light-bg);
            transition: all var(--transition-speed);
            box-shadow: var(--box-shadow);
        }

        .dark-mode .modal-content {
            background-color: #1e1e1e;
        }

        .modal-header {
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            padding: 20px 30px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
        }

        .dark-mode .modal-header {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .modal-title {
            font-weight: 700;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .modal-body {
            padding: 30px;
        }

        .modal-footer {
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            padding: 20px 30px;
            display: flex;
            justify-content: space-between;
        }

        .dark-mode .modal-footer {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .form-control,
        .form-select {
            height: 50px;
            border-radius: 8px;
            padding: 0 15px;
            font-size: 1rem;
            border: 1px solid #e9ecef;
            transition: all var(--transition-speed);
        }

        .dark-mode .form-control,
        .dark-mode .form-select {
            background-color: #2d2d2d;
            border-color: #333;
            color: var(--light-text);
        }

        .form-control:focus,
        .form-select:focus {
            box-shadow: 0 0 0 3px rgba(255, 31, 90, 0.2);
            border-color: var(--primary);
        }

        .form-label {
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--dark-text);
            transition: all var(--transition-speed);
        }

        .dark-mode .form-label {
            color: var(--light-text);
        }

        textarea.form-control {
            height: auto;
            padding: 15px;
        }

        .form-text {
            font-size: 0.85rem;
            color: #6c757d;
        }

        .dark-mode .form-text {
            color: #adb5bd;
        }

        .btn-submit {
            height: 50px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            border: none;
            padding: 0 30px;
            border-radius: 8px;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: all var(--transition-speed);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn-submit::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
            opacity: 0;
            transition: opacity var(--transition-speed);
            z-index: -1;
        }

        .btn-submit:hover::before {
            opacity: 1;
        }

        .btn-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .btn-secondary {
            height: 50px;
            background-color: #e9ecef;
            color: #495057;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            transition: all var(--transition-speed);
        }

        .dark-mode .btn-secondary {
            background-color: #333;
            color: #e9ecef;
        }

        .btn-secondary:hover {
            background-color: #dee2e6;
            transform: translateY(-2px);
        }

        .dark-mode .btn-secondary:hover {
            background-color: #444;
        }

        /* File upload custom design */
        .custom-file-upload {
            border: 2px dashed #e9ecef;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all var(--transition-speed);
            margin-bottom: 20px;
        }

        .dark-mode .custom-file-upload {
            border-color: #333;
        }

        .custom-file-upload:hover {
            border-color: var(--primary);
        }

        .file-upload-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .file-upload-text {
            font-weight: 600;
            margin-bottom: 5px;
        }

        .file-upload-subtext {
            font-size: 0.9rem;
            color: #6c757d;
        }

        .dark-mode .file-upload-subtext {
            color: #adb5bd;
        }

        /* Progress bar */
        .progress {
            height: 5px;
            margin-top: -5px;
            border-radius: 0;
            background-color: transparent;
            overflow: visible;
            position: relative;
            z-index: 10;
        }

        .progress-bar {
            background: var(--accent);
            transition: width 0.5s ease;
        }

        /* Form section styling */
        .form-section {
            display: none;
            animation-duration: 0.5s;
        }

        .form-section.active {
            display: block;
        }

        /* Form nav */
        .form-nav {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            padding: 0;
            list-style-type: none;
            position: relative;
        }

        .form-nav::before {
            content: "";
            position: absolute;
            top: 25px;
            left: 10%;
            right: 10%;
            height: 2px;
            background-color: #e9ecef;
            z-index: 1;
        }

        .dark-mode .form-nav::before {
            background-color: #333;
        }

        .form-nav-item {
            z-index: 2;
            position: relative;
            padding: 0 20px;
        }

        .form-nav-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: var(--dark-text);
            font-weight: 600;
            transition: all var(--transition-speed);
        }

        .dark-mode .form-nav-link {
            color: var(--light-text);
        }

        .form-nav-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #e9ecef;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
            font-size: 1.25rem;
            transition: all var(--transition-speed);
        }

        .dark-mode .form-nav-icon {
            background-color: #333;
        }

        .form-nav-link.active .form-nav-icon,
        .form-nav-link.completed .form-nav-icon {
            background-color: var(--accent);
            color: white;
        }

        .form-nav-link.active .form-nav-text,
        .form-nav-link.completed .form-nav-text {
            color: var(--accent);
        }

        /* Form section heading */
        .form-section-heading {
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .dark-mode .form-section-heading {
            border-bottom: 1px solid #333;
        }

        .form-section-icon {
            width: 40px;
            height: 40px;
            background-color: var(--accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }

        /* GDPR Agreement */
        .gdpr-box {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
            border: 1px solid #e9ecef;
        }

        .dark-mode .gdpr-box {
            background-color: #2d2d2d;
            border-color: #333;
        }

        /* Tooltip custom styles */
        .custom-tooltip {
            position: relative;
            display: inline-block;
            margin-left: 5px;
            color: #6c757d;
            cursor: help;
        }

        .custom-tooltip .tooltip-text {
            visibility: hidden;
            width: 200px;
            background-color: #333;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 10px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -100px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 0.8rem;
            font-weight: normal;
        }

        .custom-tooltip .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }

        .custom-tooltip:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }

        /* Theme toggle button */
        .theme-toggle {
            position: absolute;
            top: 20px;
            right: 30px;
            background: transparent;
            border: none;
            color: white;
            font-size: 1.25rem;
            cursor: pointer;
            z-index: 10;
            transition: all var(--transition-speed);
        }

        .theme-toggle:hover {
            transform: rotate(30deg);
        }

        /* Form validation styling */
        .was-validated .form-control:invalid,
        .form-control.is-invalid {
            background-image: none;
            padding-right: 15px;
        }

        .invalid-feedback {
            font-size: 0.85rem;
            margin-top: 5px;
        }

        /* Password strength meter */
        .password-strength-meter {
            height: 5px;
            background-color: #e9ecef;
            margin-top: 5px;
            border-radius: 3px;
            position: relative;
        }

        .password-strength-meter-fill {
            height: 100%;
            border-radius: 3px;
            transition: width 0.3s ease, background-color 0.3s ease;
        }

        .password-strength-text {
            font-size: 0.75rem;
            margin-top: 5px;
            transition: all var(--transition-speed);
        }

        /* Form completion */
        .form-completion {
            text-align: center;
            padding: 30px 0;
            display: none;
        }

        .success-checkmark {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            border-radius: 50%;
            background-color: var(--success);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }

        .loading-spinner {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        /* Bootstrap column gap fix */
        .row.g-4>[class^="col"] {
            padding-top: 1rem;
            padding-bottom: 1rem;
        }

        /* Custom radio buttons */
        .custom-radio {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .custom-radio-btn {
            flex: 1;
            min-width: 120px;
        }

        .custom-radio-btn input[type="radio"] {
            display: none;
        }

        .custom-radio-btn label {
            display: block;
            background-color: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            cursor: pointer;
            transition: all var(--transition-speed);
            font-weight: 600;
        }

        .dark-mode .custom-radio-btn label {
            background-color: #2d2d2d;
            border-color: #333;
        }

        .custom-radio-btn input[type="radio"]:checked+label {
            border-color: var(--accent);
            background-color: rgba(43, 108, 176, 0.1);
            color: var(--accent);
            box-shadow: 0 2px 10px rgba(43, 108, 176, 0.2);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .form-nav {
                flex-wrap: wrap;
            }

            .form-nav-item {
                padding: 0 10px;
                margin-bottom: 20px;
            }

            .form-nav::before {
                display: none;
            }

            .modal-dialog {
                margin: 10px;
            }

            .modal-body {
                padding: 20px;
            }
        }
















/* FAQ Section */
.faq-section {
    padding: 100px 0;
    position: relative;
}

.accordion-button {
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 20px 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
}

.dark-mode .accordion-button {
    color: var(--light-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 31, 90, 0.5);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff1f5a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 0;
    color: #6c757d;
    line-height: 1.7;
}

.dark-mode .accordion-body {
    color: #adb5bd;
}


/* Footer Styles */
.footer {
    background-color: var(--light-bg);
    color: var(--dark-bg);
    padding: 50px 0 0;
    position: relative;
    overflow: hidden;
}

.footer {
    position: relative;
    &::before {
        content: '';
        position: absolute;
        top: -50px;  /* Extends above the footer */
        left: 0;
        right: 0;
        height: 200px;  /* Increased height for better blur effect */
        background: linear-gradient(to bottom, 
        #ff1f5b6b,
            var(--light-bg)
        );
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1;
    }
    background-color:var(--light-bg);
}
.dark-mode .footer {
    position: relative;
    &::before {
        content: '';
        position: absolute;
        top: -50px;  /* Extends above the footer */
        left: 0;
        right: 0;
        height: 200px;  /* Increased height for better blur effect */
        background: linear-gradient(to bottom, 
        #ff1f5b1e,
            var(--dark-bg)
        );
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1;
    }
    background-color:var(--dark-bg);
}
.footer-logo {
    width: 180px;
    height: 100px;
    background-image: url('/images/logo-dark.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: var(--transition);
    margin: 0 auto; /* Center horizontally */
    display: block; /* Needed for margin auto to work */
}

.dark-mode .footer-logo {
    background-image: url('/images/logo-white.webp');
    transition: var(--transition);
}
.footer-content {
    position: relative;
    z-index: 2;
}

.footer-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.footer-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    opacity: 0.8;
    line-height: 1.8;
    color: var(--dark-bg);
    text-align: justify;
}
.dark-mode .footer-description{
    color: var(--light-text);
}
.footer-links-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-bg);
    padding-bottom: 10px;
    position: relative;
}
.dark-mode .footer-links-title {
    color:var(--light-bg);
}
.dark-mode .contact-info{
    color: var(--light-text);
}
.footer-links-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-col:hover .footer-links-title::after {
    width: 70px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}
.dark-mode .footer-links a {
    color: var(--light-text);
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.322);
    color: var(--dark-bg);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.dark-mode .social-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}
.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 50%;
    z-index: -1;
}

.social-icon:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 31, 90, 0.3);
}

.social-icon:hover::before {
    transform: scale(1);
}

.contact-info {
    margin-top: 20px;
    position: relative;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    min-width: 25px;
    margin-right: 15px;
    color: var(--primary);
}

.contact-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

.copyright-bar {
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 0;
    margin-top: 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.dark-mode .copyright-bar {
    background: rgba(0, 0, 0, 0.4);
    color:var(--light-bg)
}

.copyright-text {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-shapes .bg-shape {
    opacity: 0.03;
}

@media (max-width: 991px) {
    .client-section .section-title h2 {
        font-size: 2.5rem;
    }
    .footer-col {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .client-section {
        padding: 0px 0;
    }
    .client-section .section-title h2 {
        font-size: 1.5rem;
    }
    .footer-title {
        font-size: 2rem;
    }
}
.back-to-top{
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.63);
    transition: all var(--transition-speed) ease;
    z-index: 999;
}
@media screen and (max-width: 768px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
}

 /* Chatbot Styles */
 .chatbot-container {
    position: fixed;
    bottom: 5em;
    right: .9em;
    z-index: 999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Modified Chatbot Button Styles */
.chatbot-button {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 70px;     /* Increased default size */
    height: 70px;    /* Increased default size */
    transition: var(--transition);
    position: relative;
    padding: 0;      /* Remove padding to prevent unwanted spacing */
    display: flex;   /* Use flex to ensure proper centering of the image */
    align-items: center;
    justify-content: center;
}

.chatbot-button img {
    width: 100%;    /* Make image fill the button */
    height: 100%;   /* Make image fill the button */
    object-fit: contain;
    transition: var(--transition);
    border-radius: 50%;  /* Add circular shape */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);  /* Add subtle shadow */
}

.chatbot-button:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(225, 0, 255, 0.4));
}

/* Welcome Bubble - Improved Responsive Design */
.welcome-bubble {
    position: absolute;
    bottom: 80px;  /* Position above the button */
    right: 0;
    background:var(--light-bg);
    border-radius: 15px;
    padding: 12px 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 250px;  /* Increased max-width */
    width: max-content; /* Allow the bubble to size with content */
    font-size: 14px;    /* Slightly larger font */
    line-height: 1.4;   /* Improved line height */
    color: var(--text-dark);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom-right-radius: 4px;
    z-index: 1000;  /* Ensure it stays above other elements */
}

.welcome-bubble:after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 25px;  /* Adjusted positioning */
    width: 15px;
    height: 15px;
    background: white;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transform: rotate(45deg);
}

.welcome-bubble.active {
    opacity: 1;
    transform: translateY(0);
}

.chatbot-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    display: flex;
    flex-direction: column;
}

.chatbot-window.active {
    transform: scale(1);
    opacity: 1;
}

.chatbot-header {
    padding: 15px 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.chatbot-title h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chatbot-title p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

.chatbot-actions button {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px;
}

.chatbot-actions button:hover {
    transform: scale(1.2);
}

.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(225, 0, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 50%, rgba(0, 82, 204, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 30% 80%, rgba(241, 90, 36, 0.05) 0%, transparent 15%);
}

.message {
    margin-bottom: 15px;
    max-width: 85%;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-bot {
    align-self: flex-start;
    margin-right: auto;
}

.message-user {
    align-self: flex-end;
    margin-left: auto;
}

.message-content {
    padding: 12px 15px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.message-bot .message-content {
    background: white;
    color: var(--text-dark);
    border-bottom-left-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.message-user .message-content {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border-bottom-right-radius: 5px;
    text-align: right;
}

.message-time {
    font-size: 10px;
    margin-top: 5px;
    opacity: 0.6;
}

.message-bot .message-time {
    margin-left: 5px;
}

.message-user .message-time {
    margin-right: 5px;
    text-align: right;
}

.typing-indicator {
    display: flex;
    padding: 10px 15px;
    background: white;
    border-radius: 18px;
    width: fit-content;
    animation: fadeIn 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 5px;
}

.typing-dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 0 2px;
    animation: typingAnimation 1.5s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.5s;
}

.typing-dot:nth-child(3) {
    animation-delay: 1s;
}

@keyframes typingAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.chatbot-footer {
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.chatbot-input-container {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 5px 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    transition: var(--transition);
}

.chatbot-input-container:focus-within {
    box-shadow: 0 2px 15px rgba(225, 0, 255, 0.2);
}

.chatbot-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 14px;
    background: transparent;
}

.chatbot-send {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-send:hover {
    transform: scale(1.1);
}

.chatbot-send:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.chatbot-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.option-btn {
    padding: 8px 15px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.option-btn:hover {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(225, 0, 255, 0.2);
}

/* Dark mode support */
.dark-mode .chatbot-window {
    background: rgba(18, 18, 18, 0.9);
    color: var(--text-light);
}

.dark-mode .chatbot-body {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(225, 0, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 50%, rgba(0, 82, 204, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 30% 80%, rgba(241, 90, 36, 0.1) 0%, transparent 15%);
}

.dark-mode .message-bot .message-content {
    background: #2a2a2a;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .typing-indicator {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .typing-dot {
    background-color: rgba(255, 255, 255, 0.5);
}

.dark-mode .chatbot-footer {
    background: rgba(18, 18, 18, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .chatbot-input-container {
    background: #2a2a2a;
}

.dark-mode .chatbot-input {
    color: var(--text-light);
}

.dark-mode .option-btn {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.dark-mode .welcome-bubble {
    background: #2a2a2a;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .welcome-bubble:after {
    background: #2a2a2a;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive adjustments */
@media (min-width: 1200px) {
    /* Larger screens */
    .chatbot-button {
        width: 85px;
        height: 85px;
    }
    
    .welcome-bubble {
        max-width: 300px;
        font-size: 15px;
        padding: 15px 20px;
    }
    
    .chatbot-window {
        width: 400px;
        height: 550px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    /* Medium screens */
    .chatbot-button {
        width: 75px;
        height: 75px;
    }
    
    .welcome-bubble {
        max-width: 270px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    /* Small screens */
    .chatbot-button {
        width: 65px;
        height: 65px;
    }
    
    .welcome-bubble {
        max-width: 250px;
        bottom: 75px;
    }
    
    .chatbot-window {
        width: 320px;
        height: 480px;
    }
}

@media (max-width: 575px) {
    /* Extra small screens */
    .chatbot-container {
        bottom: 4em;
        right: 20px;
    }
    
    .chatbot-button {
        width: 60px;
        height: 60px;
    }
    
    .welcome-bubble {
        max-width: 220px;
        bottom: 70px;
        font-size: 13px;
        padding: 10px 15px;
        right: 0;
    }
    
    .welcome-bubble:after {
        right: 20px;
    }
    
    .chatbot-window {
        width: 90vw;
        max-width: 300px;
        height: 450px;
        bottom: 80px;
    }
    
    .notification-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    /* Very small screens */
    .chatbot-button {
        width: 50px;
        height: 50px;
    }
    
    .welcome-bubble {
        max-width: 200px;
        font-size: 12px;
        bottom: 60px;
    }
    
    .chatbot-window {
        height: 400px;
    }
}


/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

.dark-mode ::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}