body {
            box-sizing: border-box;
        }
        
        .gradient-bg {
            background: linear-gradient(135deg, #1D355B 0%, #2a4a73 50%, #1D355B 100%);
            position: relative;
            overflow: hidden;
        }
        
        .tech-hero {
            background: linear-gradient(135deg, #0a0a0a 0%, #1D355B 50%, #2a4a73 100%);
            position: relative;
            overflow: hidden;
        }
        
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .particle {
            position: absolute;
            background: #D7B071;
            border-radius: 50%;
            opacity: 0.6;
            animation: float-particle 6s infinite linear;
        }
        
        @keyframes float-particle {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.6;
            }
            90% {
                opacity: 0.6;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }
        
        .circuit-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 20% 50%, rgba(215, 176, 113, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(215, 176, 113, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(215, 176, 113, 0.1) 0%, transparent 50%);
            animation: pulse-circuit 4s ease-in-out infinite;
        }
        
        @keyframes pulse-circuit {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 0.7; }
        }
        
        .robot-float {
            animation: float 3s ease-in-out infinite;
            filter: drop-shadow(0 0 20px rgba(215, 176, 113, 0.3));
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px) rotateY(0deg); }
            50% { transform: translateY(-20px) rotateY(5deg); }
        }
        
        .fade-in {
            animation: fadeIn 1s ease-in;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .hover-scale {
            transition: all 0.3s ease;
        }
        
        .hover-scale:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(215, 176, 113, 0.2);
        }
        
        .tech-grid {
            background-image: 
                linear-gradient(rgba(29, 53, 91, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(29, 53, 91, 0.1) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: grid-move 20s linear infinite;
        }
        
        @keyframes grid-move {
            0% { background-position: 0 0; }
            100% { background-position: 50px 50px; }
        }
        
        .interactive-robot {
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .interactive-robot:hover {
            transform: scale(1.1) rotate(5deg);
            filter: drop-shadow(0 0 30px rgba(215, 176, 113, 0.6));
        }
        
        .robot-tooltip {
            position: absolute;
            bottom: -50px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #1D355B, #2a4a73);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            opacity: 0;
            transition: all 0.3s ease;
            pointer-events: none;
            white-space: nowrap;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        }
        
        .robot-tooltip::before {
            content: '';
            position: absolute;
            top: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-bottom: 5px solid #1D355B;
        }
        
        .interactive-robot:hover .robot-tooltip {
            opacity: 1;
            bottom: -40px;
        }
        
        .contract-card {
            transition: all 0.3s ease;
            border: 1px solid rgba(29, 53, 91, 0.1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        
        .contract-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(215, 176, 113, 0.1), transparent);
            transition: left 0.5s;
        }
        
        .contract-card:hover::before {
            left: 100%;
        }
        
        .contract-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px rgba(29, 53, 91, 0.2);
            border-color: #D7B071;
        }
        
        .contract-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 1000;
            backdrop-filter: blur(10px);
            animation: fadeIn 0.4s ease-out;
        }
        
        .contract-content {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            margin: 1% auto;
            padding: 0;
            width: 95%;
            max-width: 1200px;
            height: 95%;
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
            border: 2px solid rgba(215, 176, 113, 0.3);
            animation: slideIn 0.4s ease-out;
            position: relative;
        }
        
        @keyframes slideIn {
            from { transform: translateY(-30px) scale(0.95); opacity: 0; }
            to { transform: translateY(0) scale(1); opacity: 1; }
        }
        
        .contract-header {
            background: linear-gradient(135deg, #1D355B 0%, #2a4a73 50%, #1D355B 100%);
            padding: 35px 40px;
            color: white;
            position: relative;
            overflow: hidden;
            border-bottom: 3px solid #D7B071;
        }
        
        .contract-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(215, 176, 113, 0.15) 50%, transparent 70%);
            animation: shimmer 4s linear infinite;
        }
        
        .contract-header::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 50%, rgba(215, 176, 113, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(215, 176, 113, 0.1) 0%, transparent 50%);
            animation: pulse-circuit 3s ease-in-out infinite;
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        .contract-body {
            padding: 40px;
            height: calc(100% - 140px);
            overflow-y: auto;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        }
        
        .contract-body::-webkit-scrollbar {
            width: 12px;
        }
        
        .contract-body::-webkit-scrollbar-track {
            background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
            border-radius: 6px;
        }
        
        .contract-body::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #D7B071, #c19a5a);
            border-radius: 6px;
            border: 2px solid #f8fafc;
        }
        
        .contract-body::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #c19a5a, #a8834a);
        }
        
        .contract-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin: 30px 0;
        }
        
        .contract-info-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            padding: 25px;
            border-radius: 16px;
            border: 1px solid rgba(215, 176, 113, 0.2);
            box-shadow: 0 8px 25px rgba(29, 53, 91, 0.1);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .contract-info-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(135deg, #D7B071, #1D355B);
        }
        
        .contract-info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(29, 53, 91, 0.15);
            border-color: #D7B071;
        }
        
        .contract-info-label {
            font-size: 11px;
            font-weight: 700;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .contract-info-label::before {
            content: '';
            width: 8px;
            height: 8px;
            background: #D7B071;
            border-radius: 50%;
        }
        
        .contract-info-value {
            font-size: 20px;
            font-weight: 800;
            color: #1D355B;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }
        
        .contract-section {
            margin: 40px 0;
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            padding: 30px;
            border-radius: 20px;
            border: 1px solid rgba(215, 176, 113, 0.15);
            box-shadow: 0 10px 30px rgba(29, 53, 91, 0.08);
            position: relative;
            overflow: hidden;
        }
        
        .contract-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #D7B071, #1D355B, #D7B071);
        }
        
        .contract-section h3 {
            color: #1D355B;
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 3px solid transparent;
            background: linear-gradient(90deg, #D7B071, #1D355B) bottom/100% 3px no-repeat;
            position: relative;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .contract-section h3::before {
            content: '📋';
            font-size: 28px;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        }
        
        .contract-section h3::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #1D355B, #D7B071);
            border-radius: 2px;
        }
        
        .contract-section ul {
            list-style: none;
            padding: 0;
            margin: 20px 0;
        }
        
        .contract-section li {
            padding: 15px 0;
            padding-left: 35px;
            position: relative;
            color: #475569;
            line-height: 1.8;
            font-size: 16px;
            border-bottom: 1px solid rgba(215, 176, 113, 0.1);
            transition: all 0.3s ease;
        }
        
        .contract-section li:hover {
            background: rgba(215, 176, 113, 0.05);
            padding-left: 40px;
        }
        
        .contract-section li::before {
            content: '✓';
            position: absolute;
            left: 0;
            top: 15px;
            color: #D7B071;
            font-weight: bold;
            font-size: 18px;
            width: 24px;
            height: 24px;
            background: linear-gradient(135deg, #D7B071, #1D355B);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            box-shadow: 0 2px 8px rgba(215, 176, 113, 0.3);
        }
        
        .contract-section li:last-child {
            border-bottom: none;
        }
        
        .progress-item {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            padding: 20px 25px;
            margin: 15px 0;
            border-radius: 12px;
            border: 1px solid rgba(215, 176, 113, 0.2);
            box-shadow: 0 4px 15px rgba(29, 53, 91, 0.08);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .progress-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 5px;
            background: #D7B071;
        }
        
        .progress-item.completed::before {
            background: linear-gradient(135deg, #10b981, #059669);
        }
        
        .progress-item.in-progress::before {
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
        }
        
        .progress-item.completed {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border-color: rgba(16, 185, 129, 0.3);
        }
        
        .progress-item.in-progress {
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            border-color: rgba(59, 130, 246, 0.3);
        }
        
        .progress-item:hover {
            transform: translateX(10px);
            box-shadow: 0 8px 25px rgba(29, 53, 91, 0.12);
        }
        
        .close-btn {
            position: absolute;
            top: 25px;
            right: 30px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: white;
            font-size: 24px;
            font-weight: bold;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .close-btn:hover {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
            transform: rotate(90deg) scale(1.1);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        }
        
        .contract-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .stat-card {
            background: linear-gradient(135deg, #1D355B 0%, #2a4a73 100%);
            color: white;
            padding: 25px;
            border-radius: 16px;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(29, 53, 91, 0.3);
        }
        
        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(215, 176, 113, 0.1) 50%, transparent 70%);
            animation: shimmer 3s linear infinite;
        }
        
        .stat-number {
            font-size: 32px;
            font-weight: 800;
            color: #D7B071;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            margin-bottom: 8px;
        }
        
        .stat-label {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
        }
        
        .page-btn {
            padding: 8px 16px;
            border: 1px solid #1D355B;
            background: white;
            color: #1D355B;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .page-btn:hover, .page-btn.active {
            background: #1D355B;
            color: white;
            transform: translateY(-2px);
        }
        
        .glow-text {
            text-shadow: 0 0 20px rgba(215, 176, 113, 0.5);
        }
        
        .tech-button {
            background: linear-gradient(45deg, #D7B071, #f4d03f);
            border: none;
            position: relative;
            overflow: hidden;
        }
        
        .tech-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }
        
        .tech-button:hover::before {
            left: 100%;
        }
        
        .data-stream {
            position: absolute;
            width: 2px;
            height: 100px;
            background: linear-gradient(to bottom, transparent, #D7B071, transparent);
            animation: stream 3s linear infinite;
        }
        
        @keyframes stream {
            0% { transform: translateY(-100px); opacity: 0; }
            50% { opacity: 1; }
            100% { transform: translateY(100vh); opacity: 0; }
        }
        
        .hologram-effect {
            position: relative;
        }
        
        .hologram-effect::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(215, 176, 113, 0.1) 50%, transparent 70%);
            animation: hologram-scan 2s linear infinite;
        }
        
        @keyframes hologram-scan {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        .footer-tech {
            background: linear-gradient(135deg, #0a0a0a 0%, #1D355B 100%);
            position: relative;
            overflow: hidden;
        }
        
        .footer-circuit {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(90deg, rgba(215, 176, 113, 0.1) 1px, transparent 1px),
                linear-gradient(rgba(215, 176, 113, 0.1) 1px, transparent 1px);
            background-size: 30px 30px;
            animation: circuit-flow 15s linear infinite;
        }
        
        @keyframes circuit-flow {
            0% { background-position: 0 0; }
            100% { background-position: 30px 30px; }
        }

        /* Interactive Features */
        .feature-card {
            transition: all 0.4s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(215, 176, 113, 0.1), transparent);
            transition: left 0.6s;
        }

        .feature-card:hover::before {
            left: 100%;
        }

        .feature-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(29, 53, 91, 0.15);
        }

        .service-card {
            transition: all 0.4s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .service-card:hover {
            transform: translateY(-12px) scale(1.04);
            box-shadow: 0 40px 80px rgba(13, 27, 46, 0.45);
            border: 1px solid rgba(215,176,113,0.18);
            background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
        }

        /* CTA inside service cards */
        .service-card .interactive-button, .service-card button {
            background: linear-gradient(90deg, #FFD580, #D7B071);
            color: #0b1220;
            border: none;
            padding: 10px 14px;
            border-radius: 10px;
            font-weight: 700;
            box-shadow: 0 10px 30px rgba(215,176,113,0.18);
            transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
        }

        .service-card .interactive-button:hover, .service-card button:hover {
            transform: translateY(-4px) scale(1.03);
            box-shadow: 0 20px 60px rgba(215,176,113,0.28);
            opacity: 0.98;
        }

        /* Make the list grow to push button to bottom */
        .service-card ul {
            flex-grow: 1;
        }

        .interactive-button {
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .interactive-button {
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .interactive-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .interactive-button:hover::before {
            left: 100%;
        }

        .robot-showcase {
            position: relative;
            display: inline-block;
        }

        .robot-image {
            transition: all 0.4s ease;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .robot-image:hover {
            transform: scale(1.05) rotate(2deg);
            box-shadow: 0 20px 50px rgba(215, 176, 113, 0.3);
        }

        .robot-info-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            color: white;
            padding: 20px;
            border-radius: 0 0 20px 20px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .robot-showcase:hover .robot-info-overlay {
            transform: translateY(0);
        }

        .notification-toast {
            position: fixed;
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
            padding: 15px 25px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transform: translateX(400px);
            transition: transform 0.3s ease;
            z-index: 1001;
        }

        .notification-toast.show {
            transform: translateX(0);
        }

        .loading-spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        #consultModal.active {
  display: flex !important;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}


/* ==== SOCIAL RAIL ==== */
.social-rail {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-45%);
  z-index: 1800;
  display: none;
}
@media (min-width: 768px){ .social-rail{ display: flex; } }

.social-rail .spine {
  position: absolute; 
  left: 50%;
  transform: translateX(-50%);
  top: -10px; 
  bottom: -10px; 
  width: 54px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  pointer-events: none;
}

/* entrance + stagger */
@keyframes railFadeIn {
  0% { opacity: 0; transform: translate(18px, 8px) scale(.92); }
  100% { opacity: 1; transform: translate(0,0) scale(1); }
}
.rail-item {
  opacity: 0;
  transform: translate(18px, 8px) scale(.92);
  animation: railFadeIn .5s cubic-bezier(.2,.7,.2,1) forwards;
  will-change: transform, opacity;
}
.rail-item:nth-child(2) { animation-delay: .08s; }
.rail-item:nth-child(3) { animation-delay: .16s; }

/* smooth hover */
.rail-btn {
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.rail-btn:hover { transform: translateX(-4px) scale(1.04) rotate(-1deg); box-shadow: 0 14px 28px rgba(0,0,0,.28); }

/* label slide */
.rail-label {
  opacity: 0; 
  transform: translateX(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.rail-btn:hover .rail-label { opacity: 1; transform: translateX(0); }

/* subtle ring pulse on hover */
.rail-ring, .rail-ring-2 {
  position: absolute; inset: 0; border-radius: 999px; pointer-events: none;
  box-shadow: inset 0 0 0 0 transparent; transition: box-shadow .3s ease;
}
.rail-btn:hover .rail-ring { box-shadow: inset 0 0 0 6px rgba(255,255,255,.18); }
.rail-btn:hover .rail-ring-2 { box-shadow: inset 0 0 0 2px rgba(255,255,255,.28); }

/* responsive tweak: màn hình thấp thì đẩy rail lên chút để tránh đè footer */
@media (max-height: 720px){
  .social-rail{ transform: translateY(-50%); }
}


/* Custom Modal Backdrop */
.modal-container {
    /* Đảm bảo màu nền mờ tối, tạo độ sâu */
    background-color: rgba(0, 0, 0, 0.9); 
    transition: background-color 0.3s ease;
    cursor: zoom-out; /* Thêm con trỏ zoom-out */
}

/* Hiệu ứng cho Ảnh bên trong Modal */
#modal-image {
    /* Quan trọng: Dùng Transition cho tất cả các thuộc tính */
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Hiệu ứng Easing mượt mà */
    
    /* Khởi tạo nhỏ và ẩn để tạo hiệu ứng phóng to */
    transform: scale(0.85); 
    opacity: 0;
    
    /* Đảm bảo ảnh không bị tràn màn hình */
    max-width: 90%; 
    max-height: 90vh; 
    
    /* Tạo đổ bóng sâu */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); 
}

/* Nút Đóng Modal */
#image-modal button {
    transition: color 0.2s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Thêm đổ bóng cho nút */
}

