/* =====================================================
   SEA TURTLE TOURS - STYLES
   ===================================================== */

/* CSS Variables for Theming */
:root {
    --deep: #001e2b;
    --ocean: #0a192f;
    --teal: #4cc9f0;
    --blueglow: #4895ef;
    --slate: #a8b2c7;
    /* Improved contrast */
    --sand: #f5deb3;
    --text-primary: #e6f1ff;
    --text-secondary: #a8b2c7;
    --bg-primary: #001e2b;
    --bg-secondary: #0a192f;
    --glass-bg: rgba(0, 30, 43, 0.85);
    --glass-border: rgba(76, 201, 240, 0.1);
    --card-bg: rgba(17, 34, 64, 0.6);
    --card-hover: rgba(23, 42, 69, 0.8);
}

/* Light Mode Variables - Improved Contrast */
[data-theme="light"] {
    --deep: #ffffff;
    --ocean: #f1f5f9;
    --teal: #0891b2;
    --blueglow: #0369a1;
    --slate: #1e293b;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --bg-primary: #f8fafc;
    --bg-secondary: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(8, 145, 178, 0.3);
    --card-bg: rgba(241, 245, 249, 0.95);
    --card-hover: rgba(226, 232, 240, 0.98);
}

/* Base Styles */
body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 4px;
}

/* =====================================================
   PRELOADER
   ===================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-turtle {
    width: 80px;
    height: 80px;
    border: 4px solid var(--teal);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

.preloader-text {
    color: var(--teal);
    margin-top: 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* =====================================================
   THEME-AWARE LOGO
   ===================================================== */
.theme-logo {
    /* Dark mode: make logo white/bright */
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

[data-theme="light"] .theme-logo {
    /* Light mode: make logo black/dark */
    filter: brightness(0) invert(0);
}

/* =====================================================
   GLASSMORPHISM
   ===================================================== */
.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--teal);
    background: var(--card-hover);
    box-shadow: 0 0 20px rgba(76, 201, 240, 0.2);
}

/* =====================================================
   VIDEO & CANVAS BACKGROUND
   ===================================================== */
#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    opacity: 0.3;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 120%);
}

[data-theme="light"] #canvas-container {
    background: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 80%);
}

/* =====================================================
   CAROUSEL STYLES
   ===================================================== */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.carousel-track.animating {
    animation: none !important;
}

.carousel-track:not(.animating) {
    animation: scroll 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 5 - 10rem));
    }
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(76, 201, 240, 0.1);
    border: 1px solid var(--teal);
    color: var(--teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--teal);
    color: var(--bg-primary);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(76, 201, 240, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--teal);
    transform: scale(1.2);
}

/* =====================================================
   TESTIMONIALS SLIDER
   ===================================================== */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--teal);
    margin: 0 auto 1rem;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.testimonial-name {
    color: var(--text-primary);
    font-weight: 600;
}

.testimonial-role {
    color: var(--teal);
    font-size: 0.875rem;
}

/* =====================================================
   FLOATING WHATSAPP BUTTON
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: float-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
    content: 'Chat with us!';
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
}

@keyframes float-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* =====================================================
   THEME & LANGUAGE TOGGLE
   ===================================================== */
.toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(76, 201, 240, 0.1);
    border: 1px solid var(--teal);
    color: var(--teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.toggle-btn:hover {
    background: var(--teal);
    color: var(--bg-primary);
}

.lang-toggle {
    font-size: 0.75rem;
    font-weight: bold;
    width: auto;
    padding: 0 0.75rem;
    border-radius: 1rem;
}

/* =====================================================
   BOOKING MODAL
   ===================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-primary);
    border: 1px solid var(--teal);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--teal);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(76, 201, 240, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--teal);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
}

/* =====================================================
   TEXT EFFECTS
   ===================================================== */
.text-glow {
    text-shadow: 0 0 15px rgba(76, 201, 240, 0.5);
}

[data-theme="light"] .text-glow {
    text-shadow: 0 0 15px rgba(76, 201, 240, 0.3);
}

/* =====================================================
   GOOGLE MAPS
   ===================================================== */
.map-container {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* =====================================================
   FOCUS STATES (Accessibility)
   ===================================================== */
a:focus,
button:focus {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--teal);
    color: var(--bg-primary);
    padding: 1rem;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* =====================================================
   RESPONSIVE UTILITIES
   ===================================================== */
@media (max-width: 768px) {

    /* Hide video background on mobile to save bandwidth */
    #video-background {
        display: none;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-float::before {
        display: none;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

/* =====================================================
   LIGHTBOX GALLERY
   ===================================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    color: white;
    font-size: 1.125rem;
    margin-top: 1rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--teal);
    border-color: var(--teal);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--teal);
    border-color: var(--teal);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--teal);
    border: none;
    border-radius: 50%;
    color: var(--bg-primary);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(76, 201, 240, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(76, 201, 240, 0.5);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        right: 1.5rem;
        bottom: 5rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }
}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq-item {
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--teal);
}

.faq-question {
    background: transparent;
    border: none;
    cursor: pointer;
}

.faq-question:hover .faq-icon {
    color: var(--blueglow);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
    max-height: 500px;
}

[data-theme="light"] .faq-item {
    background: var(--card-bg);
}

[data-theme="light"] .faq-question span {
    color: #0f172a !important;
}

/* =====================================================
   SKELETON LOADING
   ===================================================== */
.skeleton {
    background: linear-gradient(90deg,
            var(--glass-bg) 25%,
            rgba(76, 201, 240, 0.1) 50%,
            var(--glass-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 0.5rem;
}

.skeleton-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* =====================================================
   ANIMATION CLASSES
   ===================================================== */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* =====================================================
   TURTLE SPECIES SLIDER
   ===================================================== */
.species-slider {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.species-track {
    display: flex;
    transition: transform 0.5s ease;
}

.species-slide {
    min-width: 100%;
    position: relative;
}

.species-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.species-slide:hover img {
    transform: scale(1.05);
}

.species-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 30, 43, 0.95), transparent);
}

.species-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
    pointer-events: none;
}

.species-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 30, 43, 0.7);
    border: 1px solid var(--teal);
    color: var(--teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.species-btn:hover {
    background: var(--teal);
    color: #001e2b;
}

.species-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.species-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(76, 201, 240, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.species-dot.active,
.species-dot:hover {
    background: var(--teal);
    transform: scale(1.2);
}

/* Light mode adjustments */
[data-theme="light"] .species-info {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
}

[data-theme="light"] .species-info .text-white,
[data-theme="light"] .species-info h3 {
    color: #0f172a !important;
}

[data-theme="light"] .species-btn {
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] #video-background {
    opacity: 0.1;
}

/* Light mode - ALL text visibility fixes */
[data-theme="light"] .text-gray-100,
[data-theme="light"] .text-gray-200,
[data-theme="light"] .text-gray-300,
[data-theme="light"] .text-white {
    color: #0f172a !important;
}

[data-theme="light"] .text-slate {
    color: #334155 !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #0f172a !important;
}

[data-theme="light"] p {
    color: #334155 !important;
}

[data-theme="light"] .glass-card,
[data-theme="light"] .glass-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(8, 145, 178, 0.2) !important;
}

[data-theme="light"] .glass-card h4,
[data-theme="light"] .glass-card p {
    color: #0f172a !important;
}

[data-theme="light"] .glass-card .text-slate {
    color: #475569 !important;
}

/* Light mode - Footer */
[data-theme="light"] footer {
    background: #f1f5f9 !important;
}

[data-theme="light"] footer h4,
[data-theme="light"] footer span,
[data-theme="light"] footer a {
    color: #0f172a !important;
}

[data-theme="light"] footer p,
[data-theme="light"] footer li {
    color: #475569 !important;
}

/* Light mode - Cards & sections background */
[data-theme="light"] section {
    background-color: transparent;
}

[data-theme="light"] .bg-ocean\/10 {
    background: rgba(226, 232, 240, 0.5) !important;
}

/* Light mode - Testimonials */
[data-theme="light"] .testimonial-card {
    background: rgba(255, 255, 255, 0.95) !important;
}

[data-theme="light"] .testimonial-text {
    color: #334155 !important;
}

[data-theme="light"] .testimonial-name {
    color: #0f172a !important;
}

/* Light mode - Pricing cards */
[data-theme="light"] .border-teal\/20 {
    border-color: rgba(8, 145, 178, 0.3) !important;
}

/* Light mode - Links */
[data-theme="light"] a:not(.text-teal):not(.bg-gradient-to-r) {
    color: #0f172a;
}

[data-theme="light"] a:hover {
    color: #0891b2 !important;
}

/* =====================================================
   ENHANCED HOVER EFFECTS
   ===================================================== */
/* Button ripple effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Card hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Glow pulse effect */
.glow-pulse {
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(76, 201, 240, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(76, 201, 240, 0.6);
    }
}

/* Parallax background layer */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

/* Floating animation for decorative elements */
.float-animate {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Scale on hover */
.scale-hover {
    transition: transform 0.3s ease;
}

.scale-hover:hover {
    transform: scale(1.05);
}

/* Gradient text animation */
.gradient-text-animate {
    background: linear-gradient(90deg, var(--teal), var(--blueglow), var(--teal));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* =====================================================
   PASSWORD TOGGLE
   ===================================================== */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--slate);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--teal);
}

.password-toggle i {
    font-size: 14px;
}