/* ============================================================
   EmpleosTech — Visual Redesign System
   Modern animations, gradients, SVG effects & premium styling
   ============================================================ */

/* -----------------------------------------------
   CSS Custom Properties (Design Tokens)
   ----------------------------------------------- */
:root {
    --et-gradient-primary: linear-gradient(135deg, #0a2540 0%, #1a4b8c 40%, #0066cc 100%);
    --et-gradient-hero: linear-gradient(135deg, #0a1628 0%, #0d2b4e 35%, #0e4d8f 65%, #1a6dc0 100%);
    --et-gradient-accent: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --et-gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --et-gradient-success: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --et-gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    --et-glass-border: rgba(255,255,255,0.18);
    --et-glass-bg: rgba(255,255,255,0.08);
    --et-shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --et-shadow-glow: 0 0 40px rgba(10,101,204,0.15);
    --et-radius-xl: 24px;
    --et-radius-2xl: 32px;
}

/* -----------------------------------------------
   Keyframe Animations
   ----------------------------------------------- */

/* Floating animation for SVG elements */
@keyframes et-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes et-float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes et-float-reverse {
    0%, 100% { transform: translateY(-15px); }
    50% { transform: translateY(5px); }
}

/* Pulse glow effect */
@keyframes et-pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(10,101,204,0.2); }
    50% { box-shadow: 0 0 40px rgba(10,101,204,0.4); }
}

@keyframes et-pulse-soft {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Gradient shift */
@keyframes et-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Particle float */
@keyframes et-particle-float {
    0% { transform: translateY(0) translateX(0) scale(0); opacity: 0; }
    10% { opacity: 0.6; transform: scale(1); }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(50px) scale(0.5); opacity: 0; }
}

/* Slide in animations */
@keyframes et-slide-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes et-slide-in-left {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes et-slide-in-right {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes et-scale-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Rotate animation for decorative elements */
@keyframes et-rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Morphing blob */
@keyframes et-morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
    75% { border-radius: 60% 40% 60% 30% / 60% 40% 30% 60%; }
}

/* Typing cursor blink */
@keyframes et-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Wave animation */
@keyframes et-wave {
    0% { transform: translateX(0) translateZ(0) scaleY(1); }
    50% { transform: translateX(-25%) translateZ(0) scaleY(0.55); }
    100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}

/* Counter roll-in */
@keyframes et-count-in {
    from { opacity: 0; transform: translateY(20px) scale(0.8); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Shimmer loading effect */
@keyframes et-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Code typing animation */
@keyframes et-typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Orbit animation */
@keyframes et-orbit {
    from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

@keyframes et-orbit-reverse {
    from { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
    to { transform: rotate(0deg) translateX(80px) rotate(0deg); }
}

/* Draw SVG line */
@keyframes et-draw-line {
    to { stroke-dashoffset: 0; }
}

/* -----------------------------------------------
   Hero Section — Premium Redesign
   ----------------------------------------------- */
.et-hero-section {
    position: relative;
    background: var(--et-gradient-hero);
    overflow: hidden;
    min-height: 600px;
}

.et-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99,102,241,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168,85,247,0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(59,130,246,0.1) 0%, transparent 50%);
    z-index: 0;
}

/* Grid pattern overlay */
.et-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

/* Floating particles */
.et-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.et-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    animation: et-particle-float linear infinite;
}

.et-particle:nth-child(1) { width: 4px; height: 4px; left: 10%; bottom: -10px; animation-duration: 12s; animation-delay: 0s; }
.et-particle:nth-child(2) { width: 6px; height: 6px; left: 25%; bottom: -10px; animation-duration: 15s; animation-delay: 2s; }
.et-particle:nth-child(3) { width: 3px; height: 3px; left: 40%; bottom: -10px; animation-duration: 10s; animation-delay: 4s; }
.et-particle:nth-child(4) { width: 5px; height: 5px; left: 55%; bottom: -10px; animation-duration: 14s; animation-delay: 1s; }
.et-particle:nth-child(5) { width: 4px; height: 4px; left: 70%; bottom: -10px; animation-duration: 11s; animation-delay: 3s; }
.et-particle:nth-child(6) { width: 7px; height: 7px; left: 85%; bottom: -10px; animation-duration: 16s; animation-delay: 5s; }
.et-particle:nth-child(7) { width: 3px; height: 3px; left: 15%; bottom: -10px; animation-duration: 13s; animation-delay: 6s; }
.et-particle:nth-child(8) { width: 5px; height: 5px; left: 60%; bottom: -10px; animation-duration: 9s; animation-delay: 7s; }

/* Hero content */
.et-hero-content {
    position: relative;
    z-index: 2;
}

.et-hero-content h1 {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.et-hero-content .et-subtitle {
    color: rgba(255,255,255,0.75) !important;
    font-size: 18px;
    line-height: 1.6;
}

/* Search box in hero - glassmorphism */
.et-hero-section .jobsearchBox {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
    border-radius: 16px !important;
    transition: all 0.3s ease;
}

.et-hero-section .jobsearchBox:focus-within {
    box-shadow: 0 8px 40px rgba(10,101,204,0.25) !important;
    transform: translateY(-2px);
}

.et-hero-section .banner-quciks-links {
    color: rgba(255,255,255,0.85) !important;
}

.et-hero-section .banner-quciks-links a {
    color: rgba(255,255,255,0.8) !important;
    transition: color 0.2s ease;
}

.et-hero-section .banner-quciks-links a:hover {
    color: #ffffff !important;
}

.et-hero-section .banner-quciks-links .text-gray-700 {
    color: rgba(255,255,255,0.85) !important;
}

/* -----------------------------------------------
   Hero SVG Illustration
   ----------------------------------------------- */
.et-hero-illustration {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.et-hero-illustration svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.et-hero-illustration .et-float-1 { animation: et-float 6s ease-in-out infinite; }
.et-hero-illustration .et-float-2 { animation: et-float-slow 8s ease-in-out infinite 1s; }
.et-hero-illustration .et-float-3 { animation: et-float-reverse 7s ease-in-out infinite 0.5s; }
.et-hero-illustration .et-float-4 { animation: et-float 9s ease-in-out infinite 2s; }

/* Orbiting elements */
.et-orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.et-orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(99,102,241,0.8);
    box-shadow: 0 0 10px rgba(99,102,241,0.5);
}

.et-orbit-dot:nth-child(1) { animation: et-orbit 20s linear infinite; }
.et-orbit-dot:nth-child(2) { animation: et-orbit-reverse 15s linear infinite; background: rgba(168,85,247,0.8); box-shadow: 0 0 10px rgba(168,85,247,0.5); }
.et-orbit-dot:nth-child(3) { animation: et-orbit 25s linear infinite reverse; background: rgba(59,130,246,0.8); box-shadow: 0 0 10px rgba(59,130,246,0.5); }

/* -----------------------------------------------
   Animated Counters Section
   ----------------------------------------------- */
.et-counter-section {
    position: relative;
    margin-top: -60px;
    z-index: 10;
}

.et-counter-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
    display: block;
}

.et-counter-card--large {
    padding: 36px 28px;
    text-align: center;
}

.et-counter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(10,101,204,0.15);
    border-color: rgba(10,101,204,0.1);
}

.et-counter-card .et-counter-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.et-counter-card--large .et-counter-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    font-size: 30px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.et-counter-card:hover .et-counter-icon {
    transform: scale(1.1) rotate(-5deg);
}

.et-counter-card .et-counter-value {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
    margin-bottom: 4px;
}

.et-counter-card--large .et-counter-value {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 8px;
}

.et-counter-card .et-counter-plus {
    font-size: 0.7em;
    color: #7c3aed;
    font-weight: 700;
}

.et-counter-card .et-counter-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.et-counter-card--large .et-counter-label {
    font-size: 15px;
    font-weight: 600;
}

/* -----------------------------------------------
   Section Transitions (Scroll Reveal)
   ----------------------------------------------- */
.et-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.et-reveal.et-visible {
    opacity: 1;
    transform: translateY(0);
}

.et-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.et-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger delays */
.et-delay-1 { transition-delay: 0.1s; }
.et-delay-2 { transition-delay: 0.2s; }
.et-delay-3 { transition-delay: 0.3s; }
.et-delay-4 { transition-delay: 0.4s; }

/* -----------------------------------------------
   Working Process — Modern Timeline
   ----------------------------------------------- */
.et-process-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.et-process-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
}

.et-process-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.et-process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--et-gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.et-process-card:hover::before {
    transform: scaleX(1);
}

.et-process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.et-process-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(168,85,247,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-500);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.et-process-card:hover .et-process-number {
    background: var(--primary-500);
    color: #ffffff;
    transform: scale(1.1);
}

/* Process connector arrows (CSS-only) */
.et-process-connector {
    position: absolute;
    top: 40%;
    right: -24px;
    width: 48px;
    height: 2px;
    z-index: 2;
}

.et-process-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-500), rgba(168,85,247,0.5));
    border-radius: 1px;
}

.et-process-connector::after {
    content: '';
    position: absolute;
    top: -4px;
    right: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-500);
    border-top: 2px solid var(--primary-500);
    transform: rotate(45deg);
}

@media (max-width: 991px) {
    .et-process-connector { display: none; }
}

/* -----------------------------------------------
   CTA Section — Premium Gradient
   ----------------------------------------------- */
.et-cta-card {
    border-radius: var(--et-radius-xl) !important;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px !important;
    transition: all 0.4s ease;
}

.et-cta-candidate {
    background: linear-gradient(135deg, #0a2540 0%, #1a4b8c 50%, #2563eb 100%) !important;
}

.et-cta-employer {
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7c3aed 100%) !important;
}

.et-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(255,255,255,0.05) 0%, transparent 40%);
}

/* CTA animated decorative shapes */
.et-cta-shapes {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
    pointer-events: none;
}

.et-cta-shape {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.1);
}

.et-cta-shape:nth-child(1) {
    width: 200px;
    height: 200px;
    top: -40px;
    right: -40px;
    animation: et-pulse-soft 4s ease-in-out infinite;
}

.et-cta-shape:nth-child(2) {
    width: 120px;
    height: 120px;
    bottom: -20px;
    right: 60px;
    animation: et-pulse-soft 5s ease-in-out infinite 1s;
}

.et-cta-shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 30%;
    background: rgba(255,255,255,0.05);
    animation: et-float-slow 6s ease-in-out infinite;
}

.et-cta-card h5 {
    position: relative;
    z-index: 1;
}

.et-cta-card .body-font-4,
.et-cta-card p {
    position: relative;
    z-index: 1;
}

.et-cta-card .btn {
    position: relative;
    z-index: 1;
}

.et-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* -----------------------------------------------
   About Page — Illustration Grid
   ----------------------------------------------- */
.et-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    min-height: 500px;
}

@media (max-width: 768px) {
    .et-about-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

.et-about-card {
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.et-about-card:hover {
    transform: translateY(-6px);
}

.et-about-card-1 {
    grid-row: span 2;
    background: linear-gradient(180deg, #0a2540 0%, #1a4b8c 100%);
    color: #ffffff;
}

.et-about-card-2 {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}

.et-about-card-3 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.et-about-card-4 {
    grid-column: span 2;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

@media (max-width: 768px) {
    .et-about-card-1 { grid-row: span 1; }
    .et-about-card-4 { grid-column: span 1; }
}

.et-about-card svg {
    margin-bottom: 16px;
}

.et-about-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.et-about-card p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* -----------------------------------------------
   Auth Pages — Animated Background
   ----------------------------------------------- */
.et-auth-bg {
    background: var(--et-gradient-hero) !important;
    position: relative !important;
    overflow: hidden;
}

.et-auth-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(99,102,241,0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(168,85,247,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.et-auth-bg .et-auth-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Morphing blob in auth background */
.et-auth-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(168,85,247,0.15));
    animation: et-morph 8s ease-in-out infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    pointer-events: none;
}

.et-auth-stats {
    position: relative;
    z-index: 2;
}

.et-auth-stat-card {
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 16px !important;
    transition: all 0.3s ease;
}

.et-auth-stat-card:hover {
    background: rgba(255,255,255,0.15) !important;
    transform: translateY(-4px);
}

/* Auth sidebar benefit items transition */
#sidebar-candidate-benefits,
#sidebar-employer-benefits {
    transition: opacity 0.3s ease;
}

/* Hero guest CTA buttons hover */
.et-hero-content a[style*="backdrop-filter"]:hover {
    background: rgba(255,255,255,0.25) !important;
    border-color: rgba(255,255,255,0.5) !important;
    transform: translateY(-2px);
}

/* CTA benefit pills hover */
.et-cta-card span[style*="backdrop-filter"]:hover {
    background: rgba(255,255,255,0.2) !important;
}

/* Auth box friendly link highlight */
.auth-box2 span[style*="background: #f0f9ff"] a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-box2 span[style*="background: #f0f9ff"] a:hover {
    color: var(--primary-700, #1d4ed8);
    text-decoration: underline;
}

/* -----------------------------------------------
   Modern Breadcrumbs
   ----------------------------------------------- */
.et-breadcrumb {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0f4ff 100%);
    padding: 32px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(99,102,241,0.08);
}

.et-breadcrumb::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
}

.et-breadcrumb .breadcrumb-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.et-breadcrumb .breadcrumb-item a {
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 500;
}

/* -----------------------------------------------
   Testimonials — Polished Cards
   ----------------------------------------------- */
.et-testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.et-testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

/* -----------------------------------------------
   Footer — Subtle Enhancements
   ----------------------------------------------- */
.et-footer {
    position: relative;
}

.et-footer .footer-top {
    background-color: #fff;
}

.et-footer .footer-top .rt-single-widget .footer-title {
    color: #18191C;
}

.et-footer .footer-top .rt-single-widget ul.rt-usefulllinks2 li a:hover {
    color: var(--primary-500);
}

.et-footer .footer-top .rt-single-widget ul.rt-usefulllinks2 li a:hover::after {
    color: var(--primary-500);
}

.et-footer .footer-social-links a {
    transition: all 0.3s ease;
}

.et-footer .footer-social-links a:hover {
    transform: translateY(-3px);
}

.et-footer .footer-social-links a:hover svg path {
    fill: var(--primary-500) !important;
}

/* -----------------------------------------------
   Pricing Cards — Premium Style
   ----------------------------------------------- */
.et-pricing-card {
    border-radius: 20px !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    overflow: hidden;
    transition: all 0.4s ease;
}

.et-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.et-pricing-card.active {
    border-color: var(--primary-500) !important;
    box-shadow: 0 0 0 1px var(--primary-500), 0 20px 60px rgba(10,101,204,0.15);
}

/* -----------------------------------------------
   Newsletter Section
   ----------------------------------------------- */
.et-newsletter {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #c7d2fe 100%);
    border-radius: var(--et-radius-2xl);
    position: relative;
    overflow: hidden;
}

.et-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
}

/* -----------------------------------------------
   Glassmorphism Utility Classes
   ----------------------------------------------- */
.et-glass {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
}

.et-glass-dark {
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
}

/* -----------------------------------------------
   Modern Card Hover Effects
   ----------------------------------------------- */
.et-hover-lift {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.et-hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

/* Gradient border on hover */
.et-hover-gradient-border {
    position: relative;
    transition: all 0.3s ease;
}

.et-hover-gradient-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-500), #8b5cf6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.et-hover-gradient-border:hover::after {
    opacity: 1;
}

/* -----------------------------------------------
   Why Choose Section — Modern
   ----------------------------------------------- */
.et-why-choose-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
}

.et-why-choose-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.et-why-choose-card .icon-72 {
    transition: transform 0.3s ease;
}

.et-why-choose-card:hover .icon-72 {
    transform: scale(1.15) rotate(-5deg);
}

/* -----------------------------------------------
   Popular Categories — Gradient Border Hover
   ----------------------------------------------- */
.popular-category-item {
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
}

.popular-category-item:hover {
    border-color: var(--primary-500) !important;
    box-shadow: 0 12px 30px rgba(10,101,204,0.1) !important;
    transform: translateY(-4px);
}

/* -----------------------------------------------
   Scroll Reveal JS Integration
   ----------------------------------------------- */
[data-et-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-et-animate].et-animated {
    opacity: 1;
    transform: translateY(0);
}

[data-et-animate="slide-left"] {
    transform: translateX(-30px);
}

[data-et-animate="slide-left"].et-animated {
    transform: translateX(0);
}

[data-et-animate="slide-right"] {
    transform: translateX(30px);
}

[data-et-animate="slide-right"].et-animated {
    transform: translateX(0);
}

[data-et-animate="scale"] {
    transform: scale(0.9);
}

[data-et-animate="scale"].et-animated {
    transform: scale(1);
}

/* -----------------------------------------------
   Responsive Adjustments
   ----------------------------------------------- */
@media (max-width: 768px) {
    .et-hero-section {
        min-height: auto;
        padding: 40px 0 40px;
    }

    .et-hero-content h1 {
        font-size: 28px !important;
    }

    .et-hero-illustration {
        max-width: 280px;
        margin-top: 30px;
    }

    .et-counter-section {
        margin-top: -30px;
    }

    .et-cta-card {
        padding: 28px !important;
    }
}

@media (max-width: 575px) {
    .et-hero-content h1 {
        font-size: 24px !important;
    }

    .et-counter-card {
        padding: 20px 16px;
    }

    .et-counter-card--large {
        padding: 24px 16px;
    }

    .et-counter-card .et-counter-value {
        font-size: 24px;
    }

    .et-counter-card--large .et-counter-value {
        font-size: 32px;
    }

    .et-counter-card--large .et-counter-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
}

/* -----------------------------------------------
   Utility: Animated gradient text
   ----------------------------------------------- */
.et-gradient-text {
    background: linear-gradient(135deg, var(--primary-500), #8b5cf6, #ec4899);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: et-gradient-shift 4s ease infinite;
}

/* -----------------------------------------------
   Tech-themed decorative elements
   ----------------------------------------------- */
.et-code-snippet {
    background: #1e293b;
    border-radius: 12px;
    padding: 16px 20px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 13px;
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.et-code-snippet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
}

.et-dot-red { color: #ef4444; }
.et-dot-yellow { color: #eab308; }
.et-dot-green { color: #22c55e; }
.et-code-keyword { color: #c084fc; }
.et-code-string { color: #34d399; }
.et-code-function { color: #60a5fa; }
.et-code-comment { color: #64748b; }

/* -----------------------------------------------
   Morphing decorative blob
   ----------------------------------------------- */
.et-blob {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: et-morph 8s ease-in-out infinite;
}

/* -----------------------------------------------
   Modern badge styles
   ----------------------------------------------- */
.et-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.et-badge-primary {
    background: rgba(10,101,204,0.1);
    color: var(--primary-500);
}

.et-badge-purple {
    background: rgba(139,92,246,0.1);
    color: #7c3aed;
}

.et-badge-success {
    background: rgba(16,185,129,0.1);
    color: #059669;
}

/* -----------------------------------------------
   Login Required Modal (SweetAlert2 custom)
   ----------------------------------------------- */
.et-login-popup {
    border-radius: 20px !important;
    padding: 32px 24px 24px !important;
}

.et-login-popup .swal2-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.et-login-icon {
    border: none !important;
    background: linear-gradient(135deg, #eef2ff, #ede9fe) !important;
    border-radius: 16px !important;
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto 8px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.et-login-confirm {
    border-radius: 12px !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3) !important;
}

.et-login-cancel {
    color: #9ca3af !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    border: none !important;
    box-shadow: none !important;
}

.et-login-cancel:hover {
    color: #6b7280 !important;
    background: transparent !important;
}

/* -----------------------------------------------
   Smooth page transitions
   ----------------------------------------------- */
.et-page-enter {
    animation: et-slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* -----------------------------------------------
   Why Choose - Title Shape replacement (CSS)
   ----------------------------------------------- */
.et-title-underline {
    position: relative;
    display: inline-block;
}

.et-title-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-500), rgba(139,92,246,0.5));
    border-radius: 4px;
    opacity: 0.3;
}

/* -----------------------------------------------
   PWA Install Banner — Modern Bottom Sheet
   ----------------------------------------------- */
.et-pwa-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0 16px 16px;
    animation: et-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.et-pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
    padding: 14px 18px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.et-pwa-banner-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.et-pwa-banner-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.et-pwa-banner-text {
    flex: 1;
    min-width: 0;
}

.et-pwa-banner-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.et-pwa-banner-text span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.et-pwa-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.et-pwa-install-btn {
    padding: 8px 18px;
    background: #333333;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.et-pwa-install-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.et-pwa-dismiss-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.et-pwa-dismiss-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

@media (max-width: 480px) {
    .et-pwa-banner {
        padding: 0 8px 8px;
    }

    .et-pwa-banner-content {
        padding: 12px 14px;
        gap: 10px;
    }

    .et-pwa-banner-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .et-pwa-install-btn {
        padding: 7px 14px;
        font-size: 12px;
    }
}

/* -----------------------------------------------
   Mobile Fixes — Notification Box Responsive
   ----------------------------------------------- */
@media (max-width: 767px) {
    .notification-box {
        width: calc(100vw - 20px) !important;
        max-width: 400px;
        right: 10px !important;
    }

    .pwa-install-btn {
        display: none !important;
    }
}

/* -----------------------------------------------
   Mobile Fixes — Auth sidebar decorative containment
   ----------------------------------------------- */
@media (max-width: 991px) {
    .auth-right-sidebar .sidebar-bg {
        position: relative !important;
    }
}
