:root {
    --primary-color: #644347;
    --secondary-color: #040304;
    --accent-color: #feb996;
    --primary-light-color: #e4d6d8;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 15px);
    }

    100% {
        transform: translate(0, -0px);
    }
}

.conference-scroll {
    animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Conference ticker styles */
.ticker-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.ticker-item {
    display: inline-block;
    padding: 0 20px;
    color: white;
}

.tick {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #4caf50;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.tick i {
    font-size: 50px;
    color: white;
}

/* Loading animation */
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

/* Nested dropdown positioning fix */
nav .group div.absolute .group div.absolute {
    left: 100%;
    top: 0;
    margin-left: 0.5rem;
    z-index: 99999;
}


.swal-overlay--show-modal .swal-modal {
    border-radius: 25px;
    border: 2px solid black;
}

.swal-modal {
    background-image: url('assets/img/logo.png');
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: bottom right 10px;
    background-blend-mode: multiply;
    color: black;
}

.swal-text,
.swal-title {
    color: black !important;
}

.swal-footer {
    display: flex;
    justify-content: center;
}

.swal2-popup {
    border-radius: 25px !important;
    border: 2px solid black !important;
    background-image: url('assets/img/logo.png') !important;
    background-size: 100px !important;
    background-repeat: no-repeat !important;
    background-position: bottom right 10px !important;
    background-blend-mode: multiply !important;
    color: black !important;
}

.swal2-title,
.swal2-html-container {
    color: black !important;
}

.swal2-actions {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
}

.swal2-popup.swal2-modal {
    box-shadow: none !important;
}

button.swal2-confirm .swal2-styled {
    background: var(--primary-color) !important;
    border: none !important;
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    display: none;
}

/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

/* Particle background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Interactive Map */
#map {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


.input-field {
    border-color: #d1d5db;
}

/* gray-300 */
.input-field.valid {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

/* green */
.input-field.invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.06);
}



.bg-primary {
    background: var(--primary-color);
}

.bg-primary-light {
    background: var(--primary-light-color);
}

.bg-secondary {
    background: var(--secondary-color);
}

.bg-accent {
    background: var(--accent-color);
}

.bg-primary:hover {
    background: var(--secondary-color);
}

.bg-secondary:hover {
    background: var(--accent-color);
}

.bg-accent:hover {
    background: var(--primary-color);
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-primary:hover {
    color: var(--secondary-color);
}

.text-secondary:hover {
    color: var(--accent-color);
}

.text-accent:hover {
    color: var(--primary-color);
}

.buttoncolor {
    background: linear-gradient(90deg, var(--primary-color));
    border-radius: 5px;
    color: white;
}

.bg-tasg-secondary-white {
    color: linear-gradient(90deg, var(--primary-color));
    background: white;
}

.bg-tasg-primary {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: white;
}

.buttoncolor:hover {
    background: linear-gradient(270deg, var(--accent-color), var(--secondary-color));
    color: white;
}

footer {
    background: linear-gradient(180deg, white, var(--primary-light-color));
}

.bg-tasg {
    background: linear-gradient(180deg, white, var(--primary-light-color));
}

.focus-ring {
    box-shadow: 0 0 0 4px rgba(197, 47, 48, 0.12);
}

/* Progress bar */
.progress-bar {
    height: 6px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s;
}

/* Animated gradient border */
.gradient-border {
    position: relative;
    background: white;
    border-radius: 16px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 18px;
    z-index: -1;
    animation: animatedgradient 3s ease alternate infinite;
    background-size: 300% 300%;
}

@keyframes animatedgradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    border-right: .15em solid var(--primary-color);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary-color)
    }
}

.shake {
    animation: shake 0.2s ease-in-out 0s 2;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    50% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0);
    }
}

/* Glow effect */
.glow {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s, box-shadow 0.3s;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}