/* ===== WORLD-CLASS ENHANCEMENTS CSS ===== */
/* Dark Mode + Advanced Animations + Micro-interactions + Scroll Progress */

/* ===== DARK MODE ===== */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-card: #FFFFFF;
    --text-primary: #333333;
    --text-secondary: #6C757D;
    --border-color: rgba(0,0,0,0.08);
    --navbar-bg: rgba(255,255,255,0.95);
    --footer-bg: #1a1a2e;
    --card-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --card-hover-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

[data-theme="dark"] {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: #1e1e32;
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0b0;
    --border-color: rgba(255,255,255,0.08);
    --navbar-bg: rgba(15,15,26,0.95);
    --footer-bg: #0a0a14;
    --card-shadow: 0 4px 20px rgba(0,0,0,0.3);
    --card-hover-shadow: 0 20px 60px rgba(0,0,0,0.5);
    --light: #1a1a2e;
    --white: #0f0f1a;
    --text: #e8e8e8;
    --gray: #a0a0b0;
    --dark: #f0f0f0;
}

[data-theme="dark"] body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .navbar {
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .nav-links a {
    color: var(--text-primary);
}

[data-theme="dark"] .section-title {
    color: #4fc3f7;
}

[data-theme="dark"] .section-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .why-card,
[data-theme="dark"] .contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .footer {
    background: var(--footer-bg);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
}

[data-theme="dark"] .lang-globe-btn {
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .lang-dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: rotate(180deg);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(-180deg);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="dark"] .theme-toggle {
    color: #ffd54f;
    border-color: rgba(255,213,79,0.3);
}

/* ===== ENHANCED PRELOADER ===== */
.preloader {
    background: linear-gradient(135deg, var(--secondary) 0%, #0d2137 100%) !important;
    flex-direction: column;
    gap: 20px;
}

.preloader-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-logo span {
    color: var(--accent);
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
    animation: preloaderSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); }
}

@keyframes preloaderSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(200, 16, 46, 0.5);
}

/* ===== ADVANCED MICRO-INTERACTIONS ===== */

/* Button Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.95);
}

/* Card Hover Effects */
.service-card,
.why-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--card-hover-shadow);
}

.why-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: var(--card-hover-shadow);
}

/* Icon Animations */
.service-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotateY(10deg);
}

.service-card:hover .service-icon i {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
    60% { transform: translateY(-3px); }
}

/* Link Hover Effects */
.service-link {
    position: relative;
    overflow: hidden;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.service-link:hover::after {
    transform: translateX(0);
}

/* ===== ADVANCED SCROLL ANIMATIONS ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.revealed > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children.revealed > *:nth-child(8) { transition-delay: 0.8s; }

.stagger-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FLOATING ELEMENTS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.float-slow {
    animation: floatSlow 5s ease-in-out infinite;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GLASSMORPHISM CARDS ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
}

[data-theme="dark"] .glass-card {
    background: rgba(30, 30, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== ENHANCED COUNTER ANIMATION ===== */
.counter-wrapper {
    position: relative;
}

.counter-wrapper .counter {
    font-variant-numeric: tabular-nums;
}

.counter-wrapper::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.6s ease;
}

.counter-wrapper.counted::after {
    opacity: 1;
    width: 50px;
}

/* ===== SMOOTH PAGE TRANSITIONS ===== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    z-index: 99998;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.page-transition.active {
    transform: scaleY(1);
    transform-origin: top;
}

/* ===== CURSOR EFFECTS (Desktop) ===== */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: all 0.15s ease;
    mix-blend-mode: difference;
    display: none;
}

.custom-cursor.active {
    transform: scale(2);
    background: rgba(200, 16, 46, 0.1);
}

@media (min-width: 1024px) {
    .custom-cursor {
        display: block;
    }
}

/* ===== TOOLTIP SYSTEM ===== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--dark);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ===== NOTIFICATION BADGE ===== */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== ENHANCED WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    left: auto;
    z-index: 9999;
}

.whatsapp-float .wa-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.whatsapp-float .wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .wa-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: waPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-float .wa-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    left: auto;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="dark"] .whatsapp-float .wa-tooltip {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* ===== BOOKING MODAL ===== */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.booking-modal.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

.booking-modal.active .booking-modal-content {
    transform: scale(1) translateY(0);
}

.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.booking-modal-header h3 {
    font-size: 1.5rem;
    color: var(--secondary);
}

.booking-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.booking-modal-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

/* Multi-step form */
.booking-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.booking-step {
    width: 40px;
    height: 4px;
    background: var(--light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.booking-step.active {
    background: var(--primary);
    width: 60px;
}

.booking-step.completed {
    background: var(--accent);
}

.booking-form-step {
    display: none;
    animation: fadeInStep 0.4s ease;
}

.booking-form-step.active {
    display: block;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.booking-form-step .form-group {
    margin-bottom: 20px;
}

.booking-form-step label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.booking-form-step input,
.booking-form-step select,
.booking-form-step textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.booking-form-step input:focus,
.booking-form-step select:focus,
.booking-form-step textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.1);
}

.booking-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.booking-nav .btn {
    min-width: 120px;
}

/* ===== CHATBOT ===== */
.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 25px;
    left: auto;
    z-index: 9998;
    width: 380px;
    max-width: calc(100vw - 40px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-window {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--secondary), #0d2137);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chatbot-header-info h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.chatbot-header-info p {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
}

.chatbot-close {
    margin-right: auto;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: chatMsgIn 0.3s ease;
}

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

.chat-message.bot {
    background: var(--bg-secondary);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-right-radius: 4px;
}

.chat-message.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-left-radius: 4px;
}

.chatbot-input {
    display: flex;
    padding: 12px;
    border-top: 1px solid var(--border-color);
    gap: 8px;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.chatbot-input input:focus {
    border-color: var(--primary);
    outline: none;
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-input button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.chatbot-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 12px 12px;
}

.quick-reply-btn {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    color: var(--text-primary);
}

.quick-reply-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== REVIEWS SECTION ===== */
.reviews-stars {
    display: flex;
    gap: 2px;
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.review-source {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

.review-source img {
    width: 16px;
    height: 16px;
}

/* ===== PWA INSTALL PROMPT ===== */
.pwa-prompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
    max-width: 320px;
    border: 1px solid var(--border-color);
    animation: slideUp 0.4s ease;
}

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

.pwa-prompt h4 {
    margin-bottom: 8px;
    color: var(--secondary);
}

.pwa-prompt p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.pwa-prompt-actions {
    display: flex;
    gap: 10px;
}

.pwa-prompt-actions .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
    .chatbot-container {
        width: calc(100vw - 30px);
        right: 15px;
        left: auto;
        bottom: 90px;
    }
    
    .booking-modal-content {
        padding: 25px;
        width: 95%;
    }
    
    .custom-cursor {
        display: none !important;
    }
    
    .whatsapp-float .wa-tooltip {
        display: none;
    }
}

/* ===== SKELETON LOADING ===== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, rgba(0,0,0,0.05) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== IMAGE LAZY LOAD ===== */
img[data-src] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[data-src].loaded {
    opacity: 1;
}

/* ===== SMOOTH SECTION DIVIDERS ===== */
.section-divider {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.section-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* ===== BACK TO TOP ENHANCED ===== */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9990;
    box-shadow: 0 4px 15px rgba(26, 82, 118, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
    border-top: 1px solid var(--border-color);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent p {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
}

.cookie-consent .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
}
