:root {
    --neon-blue: #38bdf8;
    --neon-red: #ff0055;
    --dark-navy: #0f172a;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; scroll-behavior: smooth; }
body { background: var(--dark-navy); color: white; line-height: 1.6; overflow-x: hidden; }

/* NAVBAR */
.navbar { position: fixed; top: 0; width: 100%; height: 70px; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.nav-container { width: 90%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-weight: 900; color: var(--neon-blue); letter-spacing: 2px; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: white; transition: 0.3s; opacity: 0.7; font-size: 0.9rem; }
.nav-links a:hover { opacity: 1; color: var(--neon-blue); }

/* HERO SECTION */
.hero { height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%); }
.logo-container-main { position: relative; margin-bottom: 20px; animation: float 3s ease-in-out infinite; }

/* LOGO FIX: mix-blend-mode makes the black background of the image disappear */
.main-logo-img {
    width: 180px; 
    height: auto;
    mix-blend-mode: screen; 
    filter: drop-shadow(0 0 20px var(--neon-blue));
    z-index: 10;
    display: block;
    margin: 0 auto;
}

.logo-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 150px; height: 150px; background: var(--neon-blue); filter: blur(60px); opacity: 0.3; z-index: -1; }
.logo-text { font-size: 6.5rem; font-weight: 900; color: var(--neon-blue); text-shadow: 0 0 25px rgba(56, 189, 248, 0.8); letter-spacing: 8px; }

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

/* TYPEWRITER */
.welcome-container { display: flex; justify-content: center; margin: 10px 0; }
.typewriter { font-size: 1.8rem; border-right: .15em solid var(--neon-blue); white-space: nowrap; overflow: hidden; animation: typing 3.5s steps(30, end), blink-caret .75s step-end infinite; font-family: 'Courier New', monospace; }
@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink-caret { 50% { border-color: transparent } }

.tagline { opacity: 0.8; font-size: 1.1rem; margin-bottom: 20px; }

/* HERO BUTTONS */
.hero-btns { display: flex; gap: 20px; justify-content: center; margin-top: 30px; opacity: 0; animation: fadeIn 2s forwards; animation-delay: 3.5s; }
@keyframes fadeIn { to { opacity: 1; } }
.btn { padding: 15px 35px; border-radius: 12px; font-weight: bold; text-decoration: none; transition: 0.4s; border: 1px solid transparent; text-align: center; }
.glow-btn-blue { background: rgba(56, 189, 248, 0.2); color: var(--neon-blue); border: 1px solid var(--neon-blue); }
.glow-btn-blue:hover { background: var(--neon-blue); color: #000; box-shadow: 0 0 30px var(--neon-blue); transform: translateY(-5px); }
.glow-btn-outline { border: 2px solid var(--neon-blue); color: var(--neon-blue); }
.glow-btn-outline:hover { background: rgba(56, 189, 248, 0.1); box-shadow: 0 0 20px var(--neon-blue); transform: translateY(-5px); }

/* ENGINE & MAP */
.booking-container { padding: 120px 20px; display: flex; justify-content: center; }
.glass-card { background: var(--glass); border: 1px solid var(--border); border-radius: 30px; padding: 50px; width: 100%; max-width: 1000px; backdrop-filter: blur(20px); }
.section-title { font-size: 2.8rem; margin-bottom: 40px; color: var(--neon-blue); text-shadow: 0 0 10px rgba(56, 189, 248, 0.3); }

.location-engine { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; }
.input-box { text-align: left; }
.input-box label { color: var(--neon-blue); font-size: 0.85rem; display: block; margin-bottom: 8px; font-weight: bold; }
select, input { width: 100%; padding: 14px; background: rgba(0,0,0,0.3); border: 1px solid var(--border); color: white; border-radius: 10px; outline: none; }

.map-simulation { position: relative; width: 100%; height: 120px; background: rgba(0,0,0,0.4); border-radius: 15px; margin: 40px 0; display: flex; align-items: center; overflow: hidden; border: 1px solid var(--border); }
.route-line { position: absolute; height: 2px; width: 80%; background: rgba(255,255,255,0.1); left: 10%; }
.vehicle-icon { position: absolute; left: 10%; font-size: 2rem; color: var(--neon-blue); transition: left 4s ease-in-out; z-index: 10; text-shadow: 0 0 10px var(--neon-blue); }
.vehicle-moving { left: 85% !important; }
.point-start { position: absolute; left: 10%; width: 12px; height: 12px; border-radius: 50%; background: var(--neon-blue); box-shadow: 0 0 15px var(--neon-blue); }
.point-end { position: absolute; right: 10%; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 15px #fff; }

/* DISPATCH BUTTONS */
.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
.resride-btn { padding: 25px; border-radius: 20px; border: 1px solid var(--border); background: var(--glass); color: white; cursor: pointer; transition: 0.4s; font-weight: 800; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.9rem; }
.resride-btn i { font-size: 1.8rem; }
.resride-btn:hover { transform: translateY(-8px); }
.resride-btn.normal-btn:hover { background: var(--neon-blue); color: #000; box-shadow: 0 0 30px var(--neon-blue); }
.resride-btn.emergency-btn:hover { background: var(--neon-red); color: #fff; box-shadow: 0 0 30px var(--neon-red); }

/* TERMINAL */
.terminal-container { background: #000; border-radius: 15px; border: 1px solid #333; overflow: hidden; margin-top: 40px; text-align: left; }
.terminal-header { background: #222; padding: 12px; display: flex; gap: 8px; align-items: center; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.terminal-body { background: #000; color: #27c93f; height: 250px; padding: 20px; font-family: 'Courier New', monospace; overflow-y: auto; font-size: 0.95rem; }

/* ARCHITECTURE SECTION */
.tech-stack { padding: 120px 20px; text-align: center; background: rgba(0,0,0,0.2); }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 60px; max-width: 1200px; margin-inline: auto; }
.tech-card { position: relative; background: var(--glass); border: 1px solid var(--border); padding: 50px; border-radius: 25px; transition: 0.6s; overflow: hidden; }
.tech-card:hover { transform: translateY(-15px); border-color: var(--neon-blue); box-shadow: 0 10px 40px rgba(56, 189, 248, 0.1); }
.tech-icon { font-size: 3.5rem; color: var(--neon-blue); margin-bottom: 25px; display: block; }
.tech-card.highlight { border: 2px solid var(--neon-blue); }
.card-glow-small { position: absolute; width: 100px; height: 100px; background: var(--neon-blue); filter: blur(70px); opacity: 0; transition: 0.5s; top: -20px; left: -20px; }
.tech-card:hover .card-glow-small { opacity: 0.2; }

/* BENEFITS SECTION */
.benefits-premium { padding: 120px 5%; text-align: center; background: #020617; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 60px; max-width: 1300px; margin-inline: auto; }
.benefit-premium-card { position: relative; background: var(--glass); border: 1px solid var(--border); padding: 60px 40px; border-radius: 30px; transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); overflow: hidden; }
.benefit-premium-card:hover { transform: translateY(-20px) scale(1.05); border-color: var(--neon-blue); box-shadow: 0 15px 50px rgba(56, 189, 248, 0.15); }
.benefit-premium-card.red-theme:hover { border-color: var(--neon-red); box-shadow: 0 15px 50px rgba(255, 0, 85, 0.15); }

.benefit-premium-card.red-theme i { color: var(--neon-red); }
.icon-box { font-size: 4rem; color: var(--neon-blue); margin-bottom: 30px; }
.benefit-premium-card h3 { font-size: 1.6rem; margin-bottom: 15px; }
.card-glow-effect { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.08), transparent); opacity: 0; transition: 0.5s; }
.red-glow { background: radial-gradient(circle at 20% 20%, rgba(255, 0, 85, 0.08), transparent); }
.benefit-premium-card:hover .card-glow-effect { opacity: 1; }

.founder-note { padding: 60px; opacity: 0.6; font-size: 0.85rem; text-align: center; border-top: 1px solid var(--border); }

/* MODAL STYLING */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); z-index: 9999; justify-content: center; align-items: center;
}
.modal-content {
    max-width: 450px; width: 90%; position: relative; padding: 30px; background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(56, 189, 248, 0.4); box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 1.8rem; color: #fff; cursor: pointer; }
.about-btn-nav {
    background: rgba(56, 189, 248, 0.1); border: 1px solid #38bdf8; padding: 6px 15px; border-radius: 20px; color: #38bdf8 !important; font-size: 0.8rem; transition: 0.3s all ease; text-decoration: none;
}
.about-btn-nav:hover { background: #38bdf8 !important; color: #000 !important; box-shadow: 0 0 15px #38bdf8; }

/* --- MOBILE RESPONSIVE OVERRIDE --- */
@media screen and (max-width: 480px) {
    .hero { height: auto; min-height: 100vh; padding: 100px 20px; }
    .logo-text { font-size: 3.2rem; letter-spacing: 4px; }
    .main-logo-img { width: 110px; }
    .typewriter { font-size: 1.1rem; white-space: normal; border-right: none; text-align: center; }
    .welcome-container { height: auto; margin-bottom: 20px; }
    .nav-links { display: none; }
    .navbar .nav-container { flex-direction: row; justify-content: space-between; }
    #wallet-balance { font-size: 0.7rem; padding: 5px 10px; }
    .hero-btns { flex-direction: column; width: 100%; gap: 15px; }
    .btn { width: 100%; }
    .glass-card { padding: 25px; }
    .section-title { font-size: 1.8rem; }
    .terminal-body { height: 200px; font-size: 0.8rem; }
}
/* Add this at the bottom of style.css */

.vehicle-moving {
    filter: drop-shadow(0 0 15px #38bdf8); /* Blue neon glow */
    transform: scale(1.2);               /* Slight zoom effect */
}
@keyframes firework {
  0% { transform: translate(-50%, 60vh); width: 0.5vmin; opacity: 1; }
  50% { width: 0.5vmin; opacity: 1; }
  100% { width: 55vmin; opacity: 0; }
}

.firework, .firework::before, .firework::after {
  --color1: #38bdf8; --color2: #27c93f; --color3: #ffffff;
  content: ""; position: absolute; top: 40%; left: 50%;
  transform: translate(-50%, -50%); width: 0.5vmin;
  aspect-ratio: 1;
  background: 
    radial-gradient(circle, var(--color1) 0.3vmin, #0000 0) 50% 0%,
    radial-gradient(circle, var(--color2) 0.2vmin, #0000 0) 10% 80%,
    radial-gradient(circle, var(--color3) 0.3vmin, #0000 0) 90% 70%,
    radial-gradient(circle, var(--color1) 0.2vmin, #0000 0) 30% 20%,
    radial-gradient(circle, var(--color2) 0.3vmin, #0000 0) 70% 30%;
  background-size: 0.6vmin 0.6vmin; background-repeat: no-repeat;
  animation: firework 2s infinite;
}

/* Firework Positioning Grid */
.firework:nth-child(1) { left: 15%; top: 20%; animation-delay: -0.2s; }
.firework:nth-child(2) { left: 85%; top: 25%; animation-delay: -0.5s; }
.firework:nth-child(3) { left: 50%; top: 15%; animation-delay: -1.1s; }
.firework:nth-child(4) { left: 10%; top: 70%; animation-delay: -1.4s; }
.firework:nth-child(5) { left: 90%; top: 75%; animation-delay: -1.7s; }
.firework:nth-child(6) { left: 30%; top: 40%; animation-delay: -2.0s; }
/* --- PREMIUM RAM NAVAMI FESTIVAL STYLING --- */

/* 1. Divine Pulsing Background Glow */
.divine-pulse-glow {
    background: radial-gradient(circle at 50% 50%, rgba(255, 153, 51, 0.25), transparent 70%);
    animation: pulseDivine 4s infinite alternate ease-in-out;
}

@keyframes pulseDivine {
    from { opacity: 0.4; transform: scale(1); }
    to { opacity: 0.8; transform: scale(1.1); }
}

/* 2. Saffron-Gold Gradient Text */
#ram-navami-overlay h1 span {
    background: linear-gradient(180deg, #FFD700 0%, #FF9933 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255, 153, 51, 0.5));
    font-weight: 900;
}

/* 3. Floating Animation for the Background Vector */
#ram-navami-overlay div:first-child svg {
    animation: divineFloat 6s infinite ease-in-out;
}

@keyframes divineFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* 4. Elegant Festival Button */
#ram-navami-overlay button {
    border: 1px solid #FF9933 !important;
    background: rgba(255, 153, 51, 0.1) !important;
    color: #FFD700 !important;
    box-shadow: 0 0 20px rgba(255, 153, 51, 0.2);
    backdrop-filter: blur(10px);
}

#ram-navami-overlay button:hover {
    background: #FF9933 !important;
    color: #000 !important;
    box-shadow: 0 0 40px #FF9933;
    transform: translateY(-3px) scale(1.05);
}

/* 5. Divine Divider Line */
#ram-navami-overlay div[style*="background: linear-gradient"] {
    height: 2px !important;
    background: linear-gradient(90deg, transparent, #FF9933, #FFD700, #FF9933, transparent) !important;
    box-shadow: 0 0 10px #FF9933;
}
