/* Reveal animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.revealed { opacity: 1 !important; transform: none !important; }

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

@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glow { 0%,100% { box-shadow: 0 0 12px rgba(232,83,10,0.3); } 50% { box-shadow: 0 0 24px rgba(232,83,10,0.6); } }

/* Hover effects */
.card-hover { transition: var(--transition); }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

/* Ripple */
.btn { position: relative; overflow: hidden; }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.25); animation: rippleAnim 0.6s linear; pointer-events: none; }
@keyframes rippleAnim { from { transform: scale(0); opacity: 1; } to { transform: scale(3); opacity: 0; } }

/* Back to top */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: var(--orange); color: #fff; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(232,83,10,0.4); opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999; animation: glow 2s ease-in-out infinite; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all 0.3s; backdrop-filter: blur(4px); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box { background: #fff; border-radius: 16px; padding: 40px; max-width: 480px; width: 100%; position: relative; transform: scale(0.9); transition: transform 0.3s; }
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; background: #f0f0f0; border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.modal-close:hover { background: var(--orange); color: #fff; }
.modal-box h3 { font-size: 1.5rem; color: var(--dark); margin-bottom: 6px; }
.modal-box p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.form-group { margin-bottom: 14px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--text); outline: none; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); }