:root {
    /* Define your new color here - using teal as default */
    --primary-color: #0ea5e9;
    /* Teal 500 */
    --primary-color-light: #afe7ff;
    /* Teal 300 */
    --primary-color-dark: #0284c7;
    /* Teal 700 */
    --primary-color-rgb: 14, 165, 233;
}

a:not(.no-underline) {
    position: relative;
    transition: color 0.3s ease;
}

a:not(.no-underline):before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    opacity: 0.3;
}

a:not(.no-underline):after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

a:not(.no-underline):hover:after {
    transform: scaleX(1);
}

.btn--custom {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn--custom:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}


.btn--custom:hover:before {
    transform: scaleX(1);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-bg {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.card-gradient {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.section-title {
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 50px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-light));
    border-radius: 3px;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #0f172a;
}

.placeholder-img {
    background: linear-gradient(135deg, #334155, #1e293b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: bold;
    text-align: center;
}

.fade-in-up {
    /* Removed fade-in-up animation, now does nothing */
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

#hem {
    position: relative;
    overflow: hidden;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    #particle-canvas {
        width: 75vw;
        left: 25vw;
        max-width: 100vw;
        height: auto;
        max-height: 90vw;
        top: 15vw;
    }
}

/* Liquid Glass Effect */
.glass-panel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.glass-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.distortion-layer {
    filter: url(#glass-distortion) saturate(1.2) brightness(1.15);
    backdrop-filter: blur(12px);
    z-index: 10;
}

.color-layer {
    background: rgba(0, 0, 0, 0.15);
    z-index: 20;
}

.highlight-layer {
    box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.15);
    z-index: 30;
}

.glass-content {
    position: relative;
    z-index: 40;
    width: 100%;
    height: 100%;
}

/* Navigation Liquid Glass Effect */
.glass-nav {}

.glass-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    filter: url(#glass-distortion) saturate(1.2) brightness(1.15);
    z-index: 10;
}

.glass-nav::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(31, 41, 55, 0.15);
    z-index: 20;
}

.glass-nav>div {
    position: relative;
    z-index: 30;
}

/* Updated colors using CSS variables */
.text-purple-400,
.text-purple-400:hover {
    color: var(--primary-color-light) !important;
}

.bg-purple-400,
.bg-purple-400:hover {
    background-color: var(--primary-color-light) !important;
}

.border-purple-400,
.border-purple-400:hover {
    border-color: var(--primary-color-light) !important;
}

.text-blue-400,
.text-blue-400:hover {
    color: var(--primary-color) !important;
}

.bg-blue-400,
.bg-blue-400:hover {
    background-color: var(--primary-color) !important;
}

.border-blue-400,
.border-blue-400:hover {
    border-color: var(--primary-color) !important;
}

.bg-blue-600,
.bg-blue-600:hover {
    background-color: var(--primary-color-dark) !important;
}

.bg-blue-900\/30,
.bg-blue-900\/30:hover {
    background-color: rgba(var(--primary-color-rgb), 0.3) !important;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--primary-color), var(--primary-color-light)) !important;
}

.from-blue-600 {
    --tw-gradient-from: var(--primary-color) !important;
}

.to-purple-600 {
    --tw-gradient-to: var(--primary-color-light) !important;
}

.hover\:from-blue-700:hover {
    --tw-gradient-from: var(--primary-color-dark) !important;
}

.hover\:to-purple-700:hover {
    --tw-gradient-to: var(--primary-color-light) !important;
}

.border-blue-400\/30 {
    border-color: rgba(var(--primary-color-rgb), 0.3) !important;
}