@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Fresh Green, Light Blue & White Palette */
    --primary-color: #059669; /* Clean Emerald Green */
    --primary-dark: #047857;
    --secondary-color: #0ea5e9; /* Light Sky Blue */
    --accent-color: #38bdf8;
    --text-main: #1e293b; /* Dark Slate */
    --text-muted: #64748b;
    --bg-main: #ffffff; /* Crisp White */
    --bg-light: #f0f9ff; /* Icy Light Blue */
    --white: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Modern Soft UI Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 0, 0, 0.15);

    --radius-md: 24px;
    --radius-btn: 9999px; /* Pill-shaped */
    --radius-pill: 9999px;
}

/* Seamless Dark Mode Integration */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #10b981; /* Vibrant Emerald */
        --primary-dark: #34d399;
        --secondary-color: #38bdf8; /* Bright Sky Blue */
        --accent-color: #7dd3fc;
        --text-main: #f8fafc;
        --text-muted: #cbd5e1;
        --bg-main: #0f172a; /* Deep Slate Background */
        --bg-light: #1e293b;
        --border-color: rgba(255, 255, 255, 0.1);
        --glass-bg: rgba(30, 30, 30, 0.65);
        --glass-border: rgba(255, 255, 255, 0.1);
        --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
        --white: #1e1e1e;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    z-index: 0;
}

/* Ambient Background Glows */
body::before {
    content: '';
    position: fixed;
    top: -20%; left: -10%;
    width: 70vw; height: 70vh;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    animation: drift 20s infinite alternate ease-in-out;
}
body::after {
    content: '';
    position: fixed;
    bottom: -20%; right: -10%;
    width: 60vw; height: 60vh;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    animation: drift 25s infinite alternate-reverse ease-in-out;
}

@keyframes drift {
    0% { transform: translate(0px, 0px) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.15); }
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
    word-break: break-word;
}

p {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-main);
    padding: 16px 36px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Header & Navigation */
header {
    background: var(--glass-bg); /* Glassmorphism */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 800;
}

.logo img { max-height: 55px; }

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-info-header {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.contact-info-header i { color: var(--secondary-color); margin-right: 5px; }

.header-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.badge-placeholder {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 35px;
    margin: 0 auto;
}

.nav-links li a {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 6px 0;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger.toggle .line:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
    background-color: var(--accent-color);
}

.hamburger.toggle .line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.toggle .line:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
    background-color: var(--accent-color);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85)), url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 140px 20px 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem) !important;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto 35px;
    max-width: 90%;
    font-weight: 300;
}

/* General Sections */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.raised-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    margin-top: 0;
    position: relative;
    z-index: 10;
    padding: 60px 40px;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

/* Asymmetric 2026 Fluid Grid */
@media (min-width: 992px) {
    .grid-3 .card:nth-child(3n+2) { transform: translateY(20px); }
    .grid-3 .card:nth-child(3n+2):hover { transform: translateY(10px); }
    .grid-3 .card:nth-child(3n+3) { transform: translateY(40px); }
    .grid-3 .card:nth-child(3n+3):hover { transform: translateY(30px); }
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 30px;
    align-items: start;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 20px;
    margin-top: 40px;
}
.image-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    position: relative;
}

/* Client Logos */
.client-logo {
    max-height: 140px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(70%);
    transition: var(--transition);
}
.client-logo:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.1);
}

/* Cards */
.card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Dynamic Spotlight Micro-animation layer */
.card::before, .contact-form::before, .contact-info::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, -100px);
    left: var(--mouse-x, -100px);
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}
.card:hover::before, .contact-form:hover::before, .contact-info:hover::before { opacity: 1; }
.card > *, .contact-form > *, .contact-info > * { position: relative; z-index: 1; }

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
    z-index: 2;
}

.card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card h3 i {
    color: var(--secondary-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

/* Interactive Hover Panels */
.info-panel {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

.hover-reveal:hover .info-panel {
    opacity: 1;
    max-height: 200px;
    margin-bottom: 10px;
}

/* Services List */
.service-list {
    text-align: left;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
}

.service-list li:hover {
    transform: translateX(5px);
}

/* Animated Checkmarks */
.service-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--secondary-color);
    margin-right: 12px;
    margin-top: 5px;
    transition: transform 0.3s ease;
}

@keyframes checkmark-pop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.4) rotate(10deg); opacity: 1; }
    100% { transform: scale(1.2) rotate(5deg); }
}

.service-list li:hover:before {
    animation: checkmark-pop 0.4s forwards;
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.contact-info {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-main);
    padding: 40px;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.form-group textarea {
    border-radius: var(--radius-md);
    resize: vertical;
    height: 150px;
}

.contact-info h2, .contact-info h3 {
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--text-muted);
}

/* Modern Footer */
.main-footer {
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 80px 20px 20px;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.footer-col .footer-logo img { height: 50px; }

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 400;
}

.footer-col h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-top: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-md);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 2px 4px 6px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .header-right .contact-info-header { display: none; }
    .header-right .header-btn { display: none; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--glass-border);
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        text-align: center;
        gap: 15px; /* Add spacing between mobile menu items */
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    /* Mobile Layout Enhancements */
    .logo { font-size: 1rem; }
    .logo img { max-height: 40px; }
    .hero { padding: 110px 15px 60px !important; }
    .hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.2rem) !important; }
    .hero-content h1 br { display: none; } /* Prevents awkward wrapping */
    .hero-content p { font-size: 1rem !important; width: 100%; max-width: 100%; }
    .section { padding: 50px 15px !important; }
    .section-title { font-size: 2rem !important; margin-bottom: 35px !important; }
    
    /* Prevent side-scrolling and text overlapping */
    .grid-2, .grid-3, .footer-container { display: flex !important; flex-direction: column !important; gap: 30px !important; }
    [style*="grid-template-columns"] { grid-template-columns: 1fr !important; display: flex !important; flex-direction: column !important; }
    
    /* Auto height to stop text 'bottoming out' */
    .raised-panel, .card, .contact-form, .contact-info, .credit-meter-container { height: auto !important; min-height: auto !important; padding: 25px 15px !important; }
    .grid-3 .card:nth-child(n) { transform: none !important; }
    .grid-3 .card:hover { transform: translateY(-5px) !important; }
    .client-logo { max-height: 80px !important; }

    .main-footer { padding: 50px 15px 20px; }
    
    /* Override inline HTML paddings & gaps causing constraints */
    [style*="padding: 40px"], [style*="padding: 60px"] { padding: 25px 15px !important; }
    [style*="gap: 50px"], [style*="gap: 40px"] { gap: 20px !important; }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}


/* Make icons in contact info use the secondary color */
.contact-info i {
    color: var(--primary-color) !important; /* Important needed to override FontAwesome inline styles */
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.contact-line i {
    margin-top: 5px;
    flex-shrink: 0;
    width: 20px;
}

/* 2026 Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   10 ULTRA-PREMIUM INFINITE ANIMATIONS (ALWAYS RUNNING)
   ========================================================================== */

/* 1. Liquid Shape (Smooth SVG-like morphing) */
@keyframes liquid-shape {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}
.anim-liquid-shape { animation: liquid-shape 10s ease-in-out infinite; overflow: hidden; }

/* 2. Aurora Text (High-end shifting text gradient) */
@keyframes aurora-text-pan {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.anim-aurora-text {
    background: linear-gradient(270deg, #059669, #0ea5e9, #10b981, #38bdf8, #059669);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aurora-text-pan 6s linear infinite;
}
@media (prefers-color-scheme: dark) {
    .anim-aurora-text { background: linear-gradient(270deg, #10b981, #38bdf8, #34d399, #7dd3fc, #10b981); background-size: 300% 300%; -webkit-background-clip: text; }
}

/* 3. Glass Float (3D Levitation with slight rotation) */
@keyframes glass-float {
    0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
    25% { transform: translateY(-12px) rotateX(2deg) rotateY(2deg); }
    75% { transform: translateY(12px) rotateX(-2deg) rotateY(-2deg); }
}
.anim-glass-float { animation: glass-float 12s ease-in-out infinite; transform-style: preserve-3d; perspective: 1000px; }

/* 4. Glare Slide (Shiny light beam passing over buttons) */
@keyframes glare-slide {
    0% { left: -150%; }
    50%, 100% { left: 150%; }
}
.anim-glare-slide { position: relative; overflow: hidden; }
.anim-glare-slide::after {
    content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: glare-slide 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none; z-index: 5;
}

/* 5. Radar Pulse (Double expanding radar rings) */
@keyframes radar-pulse-1 { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes radar-pulse-2 { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.4); opacity: 0; } }
.anim-radar-pulse { position: relative; }
.anim-radar-pulse::before, .anim-radar-pulse::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%; background: inherit; z-index: -1;
}
.anim-radar-pulse::before { animation: radar-pulse-1 2s linear infinite; }
.anim-radar-pulse::after { animation: radar-pulse-2 2s linear infinite 1s; }

/* 6. Breathe Glow (Under-glow fading in and out) */
@keyframes breathe-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(5,150,105,0.1); }
    50% { box-shadow: 0 0 30px rgba(5,150,105,0.4); }
}
.anim-breathe-glow { animation: breathe-glow 4s ease-in-out infinite; }

/* 7. Slow Spin 3D (Z-axis and Y-axis twist) */
@keyframes slow-spin-3d {
    0% { transform: rotateY(0deg) rotateZ(0deg); }
    50% { transform: rotateY(180deg) rotateZ(10deg); }
    100% { transform: rotateY(360deg) rotateZ(0deg); }
}
.anim-slow-spin-3d { animation: slow-spin-3d 10s linear infinite; display: inline-block; transform-style: preserve-3d; perspective: 500px; }

/* 8. Continuous Swing (Smooth pendulum logic) */
@keyframes continuous-swing {
    0%, 100% { transform: rotate(-12deg); }
    50% { transform: rotate(12deg); }
}
.anim-continuous-swing { animation: continuous-swing 3.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; display: inline-block; transform-origin: top center; }

/* 9. Float Shadow (Element floats up, shadow expands seamlessly) */
@keyframes float-shadow-obj {
    0%, 100% { transform: translateY(0); box-shadow: var(--shadow-sm); }
    50% { transform: translateY(-15px); box-shadow: var(--shadow-lg); }
}
.anim-float-shadow { animation: float-shadow-obj 6s ease-in-out infinite; }

/* 10. Aurora Background (Sophisticated Grayscale Mesh) */
@keyframes aurora-bg-pan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.anim-aurora-bg {
    background: linear-gradient(-45deg, var(--bg-main), #e0f2fe, #d1fae5, var(--bg-main));
    background-size: 400% 400%;
    animation: aurora-bg-pan 20s ease infinite;
}
@media (prefers-color-scheme: dark) {
    .anim-aurora-bg { background: linear-gradient(-45deg, var(--bg-main), #0c4a6e, #064e3b, var(--bg-main)); }
}
