/* ==========================================================
   CSIT Solutions - Main Stylesheet
   Structure: 1.Variables 2.Base 3.Navbar 4.Hero 5.Sections
   6.Cards 7.Timeline 8.Components 9.Footer 10.Utilities
   ========================================================== */

/* 1. VARIABLES ------------------------------------------------ */
:root {
  --nx-blue: #2563eb;
  --nx-indigo: #4f46e5;
  --nx-violet: #7c3aed;
  --nx-cyan: #22d3ee;
  --nx-dark: #0b1030;
  --nx-dark-2: #121a4a;
  --nx-light: #f4f6ff;
  --nx-text: #475069;
  --nx-heading: #0f172a;
  --nx-gradient: linear-gradient(135deg, #2563eb 0%, #4f46e5 55%, #7c3aed 100%);
  --nx-gradient-dark: linear-gradient(135deg, #0b1030 0%, #1b1f6b 55%, #3730a3 100%);
  --nx-shadow: 0 10px 35px rgba(37, 52, 140, .12);
  --nx-shadow-lg: 0 20px 50px rgba(37, 52, 140, .22);
  --bs-primary: #2563eb;
  --bs-primary-rgb: 37, 99, 235;
  --bs-link-color: #2563eb;
  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* 2. BASE ----------------------------------------------------- */
html { scroll-behavior: smooth; }
body { font-family: var(--bs-body-font-family); color: var(--nx-text); background: #fff; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { color: var(--nx-heading); font-weight: 700; letter-spacing: -.02em; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6,
.hero h1, .page-header h1 { color: #fff; }
section { position: relative; }
.section-pad { padding: 5.5rem 0; }
.section-light { background: var(--nx-light); }
.section-dark { background: var(--nx-gradient-dark); color: #c7cdf5; }
.section-dark .text-muted { color: #aab2e6 !important; }
.text-gradient { background: var(--nx-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.text-gradient-light { background: linear-gradient(90deg, #67e8f9, #a5b4fc, #f0abfc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nx-indigo); background: rgba(79, 70, 229, .1); padding: .4rem .9rem; border-radius: 50px; margin-bottom: 1rem; }
.section-dark .eyebrow { color: #c7d2fe; background: rgba(255, 255, 255, .1); }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .75rem; }
.section-sub { max-width: 640px; margin-inline: auto; font-size: 1.05rem; }
a { text-decoration: none; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .5); outline-offset: 2px; }

/* Buttons */
.btn { font-weight: 600; border-radius: 50px; padding: .7rem 1.7rem; transition: all .3s ease; }
.btn-gradient { background: var(--nx-gradient); color: #fff; border: 0; box-shadow: 0 8px 22px rgba(79, 70, 229, .35); }
.btn-gradient:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(79, 70, 229, .45); filter: brightness(1.08); }
.btn-light-outline { border: 2px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-light-outline:hover { background: #fff; color: var(--nx-indigo); transform: translateY(-3px); }
.btn-outline-indigo { border: 2px solid var(--nx-indigo); color: var(--nx-indigo); }
.btn-outline-indigo:hover { background: var(--nx-indigo); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--nx-indigo); }
.btn-white:hover { background: #eef0ff; color: var(--nx-indigo); transform: translateY(-3px); }

/* 3. NAVBAR --------------------------------------------------- */
.navbar { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: all .3s ease; padding: .85rem 0; }
.navbar.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, .1); padding: .5rem 0; }
.navbar-brand { font-weight: 800; font-size: 1.35rem; color: var(--nx-heading); display: flex; align-items: center; gap: .6rem; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; background: var(--nx-gradient); color: #fff; display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 6px 16px rgba(79, 70, 229, .4); }
.brand-text span { color: var(--nx-indigo); }
.navbar .nav-link { font-weight: 600; color: #334155; padding: .5rem 1rem !important; position: relative; transition: color .25s; }
.navbar .nav-link::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .15rem; height: 2px; background: var(--nx-gradient); transform: scaleX(0); transform-origin: left; transition: transform .3s; border-radius: 2px; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--nx-indigo); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0; }
  .navbar .nav-link::after { display: none; }
}

/* 4. HERO / PAGE HEADER -------------------------------------- */
.hero { background: var(--nx-gradient-dark); color: #d6dbff; padding: 6rem 0 7rem; overflow: hidden; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 20%, transparent 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; z-index: -1; animation: floaty 9s ease-in-out infinite; }
.blob-1 { width: 380px; height: 380px; background: #2563eb; top: -120px; left: -100px; }
.blob-2 { width: 320px; height: 320px; background: #7c3aed; bottom: -120px; right: -60px; animation-delay: -3s; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; line-height: 1.1; }
.hero .lead { font-size: 1.15rem; color: #c3caf7; max-width: 560px; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: .45rem 1rem; border-radius: 50px; font-size: .85rem; font-weight: 600; color: #e0e7ff; backdrop-filter: blur(6px); }
.hero-badge .dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: pulse 2s infinite; }
.hero-trust { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .9rem; color: #aab4f0; }
.hero-trust i { color: #67e8f9; margin-right: .35rem; }

.hero-visual { position: relative; max-width: 560px; margin-inline: auto; }
.hero-visual .photo { border-radius: 28px; width: 100%; aspect-ratio: 4/3.2; object-fit: cover; box-shadow: var(--nx-shadow-lg); border: 6px solid rgba(255, 255, 255, .15); }
.hero-visual .photo-wrap { position: relative; }
.hero-visual .photo-wrap::after { content: ""; position: absolute; inset: 0; border-radius: 28px; background: linear-gradient(160deg, rgba(37, 99, 235, .35), rgba(124, 58, 237, .35)); mix-blend-mode: multiply; }
.float-card { position: absolute; z-index: 2; background: rgba(255, 255, 255, .96); color: var(--nx-heading); border-radius: 16px; padding: .8rem 1.1rem; box-shadow: var(--nx-shadow-lg); animation: floaty 6s ease-in-out infinite; }
.float-code { left: -28px; bottom: -34px; background: #0f1538; color: #c7d2fe; font-family: 'Courier New', monospace; font-size: .78rem; line-height: 1.6; border: 1px solid rgba(255, 255, 255, .15); min-width: 220px; }
.float-code .k { color: #f0abfc; } .float-code .s { color: #86efac; } .float-code .f { color: #67e8f9; }
.float-code .dots span { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.float-ai { right: -18px; top: 28px; display: flex; align-items: center; gap: .75rem; animation-delay: -2s; }
.float-ai .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--nx-gradient); color: #fff; display: grid; place-items: center; font-size: 1.25rem; }
.float-ai small { color: #64748b; display: block; line-height: 1.1; }
.float-cloud { right: 24px; bottom: -22px; display: flex; gap: .6rem; align-items: center; animation-delay: -4s; font-weight: 700; font-size: .85rem; }
.float-cloud i { color: var(--nx-blue); font-size: 1.3rem; }
@media (max-width: 575.98px) { .float-code { left: -6px; min-width: 190px; } .float-ai { right: -4px; } .float-cloud { display: none; } }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

.page-header { background: var(--nx-gradient-dark); color: #c7cdf5; padding: 6.5rem 0 5.5rem; position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.page-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; }
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
.page-header p { max-width: 680px; margin-inline: auto; font-size: 1.1rem; }
.breadcrumb { justify-content: center; --bs-breadcrumb-divider-color: #8f9bea; --bs-breadcrumb-item-active-color: #c7d2fe; }
.breadcrumb a { color: #fff; }

/* 5. SECTIONS ------------------------------------------------- */
.about-img { border-radius: 24px; box-shadow: var(--nx-shadow-lg); width: 100%; aspect-ratio: 4/3.3; object-fit: cover; }
.about-badge { position: absolute; right: -10px; bottom: 28px; background: var(--nx-gradient); color: #fff; padding: 1.1rem 1.4rem; border-radius: 18px; box-shadow: var(--nx-shadow-lg); text-align: center; animation: floaty 6s ease-in-out infinite; }
.about-badge strong { display: block; font-size: 2rem; line-height: 1; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 1.9rem; position: relative; margin-bottom: .6rem; }
.check-list li::before { content: "\F26A"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--nx-indigo); font-size: 1.1rem; }
.section-dark .check-list li::before { color: #67e8f9; }

.stats { background: var(--nx-gradient-dark); color: #fff; padding: 4.5rem 0; }
.stat-box { text-align: center; padding: 1.5rem 1rem; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: transform .3s, background .3s; height: 100%; }
.stat-box:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .12); }
.stat-box i { font-size: 2rem; color: #67e8f9; }
.stat-number { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.1; margin: .4rem 0 .2rem; }
.stat-box p { color: #b9c1f3; margin: 0; font-weight: 500; }

.tech-badge { display: inline-flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid #e3e7fb; padding: .75rem 1.3rem; border-radius: 50px; font-weight: 600; color: var(--nx-heading); box-shadow: 0 4px 14px rgba(37, 52, 140, .06); transition: all .3s; }
.tech-badge i { color: var(--nx-indigo); font-size: 1.2rem; transition: color .3s; }
.tech-badge:hover { background: var(--nx-gradient); color: #fff; transform: translateY(-5px) scale(1.04); box-shadow: var(--nx-shadow); border-color: transparent; }
.tech-badge:hover i { color: #fff; }

.portfolio-item { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--nx-shadow); background: #fff; height: 100%; }
.portfolio-item img { width: 100%; aspect-ratio: 16/11; object-fit: cover; transition: transform .6s ease; display: block; }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem; background: linear-gradient(180deg, transparent 35%, rgba(11, 16, 48, .92)); color: #fff; }
.portfolio-overlay h3 { color: #fff; font-size: 1.15rem; margin-bottom: .3rem; }
.portfolio-overlay span { font-size: .82rem; color: #c7d2fe; }
.portfolio-overlay .tag { align-self: flex-start; background: var(--nx-gradient); font-size: .7rem; padding: .25rem .7rem; border-radius: 50px; margin-bottom: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.portfolio-overlay .more { max-height: 0; overflow: hidden; opacity: 0; transition: all .4s ease; font-size: .9rem; color: #dbe0ff; }
.portfolio-item:hover .more { max-height: 80px; opacity: 1; margin-top: .4rem; }

.client-logo { display: flex; align-items: center; justify-content: center; gap: .6rem; height: 84px; background: #fff; border: 1px solid #e6e9fb; border-radius: 16px; font-weight: 800; font-size: 1.1rem; color: #94a0c4; transition: all .3s; filter: grayscale(1); }
.client-logo i { font-size: 1.6rem; }
.client-logo:hover { filter: none; color: var(--nx-indigo); transform: translateY(-4px); box-shadow: var(--nx-shadow); }

.testimonial-card { max-width: 780px; margin-inline: auto; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px; padding: 2.6rem 2.2rem; text-align: center; backdrop-filter: blur(8px); }
.testimonial-card .quote-ico { font-size: 2.6rem; color: #67e8f9; }
.testimonial-card blockquote { font-size: 1.15rem; color: #e6e9ff; font-style: italic; margin: 1rem 0 1.6rem; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--nx-gradient); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: 1.15rem; border: 3px solid rgba(255, 255, 255, .35); }
.stars { color: #fbbf24; letter-spacing: 3px; }
.carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: 0; }
.carousel-indicators { position: static; margin: 2rem 0 0; }

.cta { background: var(--nx-gradient); color: #fff; padding: 5rem 0; position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); z-index: -1; }
.cta::before { width: 360px; height: 360px; top: -160px; left: -100px; }
.cta::after { width: 300px; height: 300px; bottom: -150px; right: -70px; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.cta p { color: #e0e7ff; font-size: 1.1rem; }

/* 6. CARDS ---------------------------------------------------- */
.feature-card { background: #fff; border: 1px solid #e8ebfb; border-radius: 20px; padding: 2rem 1.7rem; height: 100%; transition: all .35s ease; position: relative; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--nx-gradient); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--nx-shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.icon-box { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; color: #fff; background: var(--nx-gradient); margin-bottom: 1.2rem; box-shadow: 0 10px 20px rgba(79, 70, 229, .3); transition: transform .4s; }
.feature-card:hover .icon-box { transform: rotate(-8deg) scale(1.1); }
.icon-box.soft { background: rgba(79, 70, 229, .1); color: var(--nx-indigo); box-shadow: none; }
.feature-card h3, .feature-card h4 { font-size: 1.2rem; }
.feature-card .link-more { font-weight: 600; color: var(--nx-indigo); display: inline-flex; align-items: center; gap: .3rem; }
.feature-card .link-more i { transition: transform .3s; }
.feature-card .link-more:hover i { transform: translateX(5px); }
.feature-list { list-style: none; padding: 0; margin: 1rem 0 1.4rem; font-size: .93rem; }
.feature-list li { padding-left: 1.6rem; position: relative; margin-bottom: .4rem; }
.feature-list li::before { content: "\F26A"; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--nx-blue); }

.mv-card { border-radius: 22px; padding: 2.2rem; height: 100%; color: #fff; background: var(--nx-gradient); box-shadow: var(--nx-shadow-lg); position: relative; overflow: hidden; transition: transform .35s; }
.mv-card:hover { transform: translateY(-6px); }
.mv-card.alt { background: var(--nx-gradient-dark); }
.mv-card h3 { color: #fff; }
.mv-card p { color: #e0e7ff; margin: 0; }
.mv-card .bg-ico { position: absolute; right: -15px; bottom: -25px; font-size: 7.5rem; opacity: .12; }
.mv-card .icon-box { background: rgba(255, 255, 255, .2); box-shadow: none; }

.why-item { display: flex; gap: 1rem; padding: 1.2rem; border-radius: 16px; transition: background .3s, transform .3s; }
.why-item:hover { background: #fff; box-shadow: var(--nx-shadow); transform: translateX(6px); }
.why-item .icon-box { flex: 0 0 52px; width: 52px; height: 52px; font-size: 1.4rem; margin: 0; border-radius: 15px; }
.why-item h4 { font-size: 1.05rem; margin-bottom: .2rem; }
.why-item p { margin: 0; font-size: .93rem; }

.meta-chips { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1rem 0 1.4rem; }
.meta-chip { background: var(--nx-light); border-radius: 12px; padding: .55rem .8rem; font-size: .82rem; line-height: 1.3; }
.meta-chip i { color: var(--nx-indigo); margin-right: .35rem; }
.meta-chip b { display: block; color: var(--nx-heading); font-size: .86rem; }
.level-tag { position: absolute; top: 1.2rem; right: 1.2rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .75rem; border-radius: 50px; background: rgba(79, 70, 229, .1); color: var(--nx-indigo); }

.benefit-card { text-align: center; padding: 2rem 1.4rem; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); height: 100%; transition: all .3s; }
.benefit-card:hover { background: rgba(255, 255, 255, .14); transform: translateY(-7px); }
.benefit-card .icon-box { margin-inline: auto; background: rgba(255, 255, 255, .15); box-shadow: none; }
.benefit-card h3 { font-size: 1.15rem; }
.benefit-card p { margin: 0; font-size: .93rem; color: #b9c1f3; }

.job-card { border: 1px solid #e8ebfb; border-radius: 20px; padding: 1.8rem; background: #fff; height: 100%; transition: all .35s; display: flex; flex-direction: column; }
.job-card:hover { transform: translateY(-7px); box-shadow: var(--nx-shadow-lg); border-color: rgba(79, 70, 229, .35); }
.job-card .badge-soft { background: rgba(79, 70, 229, .1); color: var(--nx-indigo); font-weight: 600; padding: .4rem .75rem; border-radius: 50px; font-size: .75rem; }
.stack-pill { display: inline-block; background: var(--nx-light); color: #3b4468; font-size: .78rem; font-weight: 600; padding: .25rem .65rem; border-radius: 50px; margin: 0 .25rem .35rem 0; }

/* 7. TIMELINE / STEPS --------------------------------------- */
.timeline { position: relative; max-width: 960px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--nx-blue), var(--nx-violet)); border-radius: 3px; }
.timeline-item { position: relative; padding-left: 78px; margin-bottom: 2rem; }
.timeline-dot { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--nx-gradient); color: #fff; display: grid; place-items: center; font-size: 1.3rem; border: 4px solid #fff; box-shadow: 0 0 0 3px rgba(79, 70, 229, .25), var(--nx-shadow); z-index: 1; }
.timeline-content { background: #fff; border-radius: 18px; padding: 1.4rem 1.6rem; box-shadow: var(--nx-shadow); border: 1px solid #e8ebfb; transition: transform .3s; }
.timeline-content:hover { transform: translateY(-4px); }
.timeline-content .step { font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--nx-indigo); text-transform: uppercase; }
.timeline-content h3 { font-size: 1.2rem; margin: .2rem 0 .4rem; }
.timeline-content p { margin: 0; font-size: .95rem; }
@media (min-width: 992px) {
  .timeline::before { left: 50%; transform: translateX(-1.5px); }
  .timeline-item { width: 50%; padding: 0 70px 0 0; margin-bottom: 1.5rem; }
  .timeline-item .timeline-dot { left: auto; right: -26px; }
  .timeline-item:nth-child(even) { margin-left: 50%; padding: 0 0 0 70px; }
  .timeline-item:nth-child(even) .timeline-dot { right: auto; left: -26px; }
  .timeline-item:nth-child(odd) .timeline-content { text-align: right; }
}

.step-card { text-align: center; position: relative; padding: 0 .5rem; }
.step-num { width: 76px; height: 76px; border-radius: 50%; background: var(--nx-gradient); color: #fff; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; margin: 0 auto 1rem; box-shadow: 0 10px 24px rgba(79, 70, 229, .35); position: relative; z-index: 1; transition: transform .3s; }
.step-card:hover .step-num { transform: scale(1.1) rotate(-5deg); }
@media (min-width: 992px) {
  .step-card:not(:last-child)::after { content: ""; position: absolute; top: 38px; left: calc(50% + 46px); width: calc(100% - 92px); border-top: 3px dashed rgba(79, 70, 229, .35); }
}

/* 8. COMPONENTS ----------------------------------------------- */
.table-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--nx-shadow); border: 1px solid #e8ebfb; background: #fff; }
.table-nx { margin: 0; }
.table-nx thead th { background: var(--nx-gradient); color: #fff; border: 0; padding: 1rem 1.2rem; font-weight: 600; white-space: nowrap; }
.table-nx td { padding: 1rem 1.2rem; vertical-align: middle; }
.table-nx tbody tr { transition: background .2s; }
.table-nx tbody tr:hover { background: var(--nx-light); }
.seat-badge { font-weight: 700; padding: .35rem .75rem; border-radius: 50px; font-size: .8rem; }
.seat-ok { background: #dcfce7; color: #15803d; }
.seat-low { background: #fef3c7; color: #b45309; }

.contact-card { background: #fff; border-radius: 20px; padding: 1.8rem 1.4rem; text-align: center; border: 1px solid #e8ebfb; height: 100%; transition: all .3s; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--nx-shadow-lg); }
.contact-card .icon-box { margin-inline: auto; }
.contact-card h3 { font-size: 1.1rem; }
.contact-card p, .contact-card a { margin: 0; font-size: .95rem; color: var(--nx-text); }
.contact-card a:hover { color: var(--nx-indigo); }

.form-card { background: #fff; border-radius: 24px; padding: 2.2rem; box-shadow: var(--nx-shadow-lg); border: 1px solid #e8ebfb; }
.form-control, .form-select { border-radius: 12px; padding: .8rem 1rem; border: 1.5px solid #dfe3f7; }
.form-control:focus, .form-select:focus { border-color: var(--nx-indigo); box-shadow: 0 0 0 .25rem rgba(79, 70, 229, .15); }
.map-placeholder { min-height: 100%; height: 100%; min-height: 420px; border-radius: 24px; background: linear-gradient(135deg, #dfe6ff, #eef1ff); border: 2px dashed #a5b4fc; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--nx-indigo); padding: 2rem; position: relative; overflow: hidden; }
.map-placeholder i.pin { font-size: 4rem; animation: bounce 2s infinite; }
.map-placeholder iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.accordion-item { border: 1px solid #e8ebfb !important; border-radius: 16px !important; margin-bottom: .9rem; overflow: hidden; }
.accordion-button { font-weight: 600; color: var(--nx-heading); padding: 1.2rem 1.4rem; }
.accordion-button:not(.collapsed) { background: rgba(79, 70, 229, .08); color: var(--nx-indigo); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(79, 70, 229, .15); }

#scrollTopBtn { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--nx-gradient); color: #fff; font-size: 1.3rem; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(79, 70, 229, .45); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .35s; z-index: 1030; }
#scrollTopBtn.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollTopBtn:hover { transform: translateY(-4px); filter: brightness(1.12); }

/* 9. FOOTER --------------------------------------------------- */
.footer { background: #070b25; color: #9aa4d6; padding: 4.5rem 0 0; }
.footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1.3rem; position: relative; padding-bottom: .7rem; }
.footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--nx-gradient); }
.footer a { color: #9aa4d6; transition: all .25s; }
.footer a:hover { color: #fff; padding-left: 4px; }
.footer .brand-text { color: #fff; font-weight: 800; font-size: 1.3rem; }
.footer .brand-text span { color: #818cf8; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links i { font-size: .7rem; margin-right: .4rem; color: #6366f1; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .9rem; list-style: none; }
.footer-contact { padding: 0; margin: 0; }
.footer-contact i { color: #818cf8; margin-top: .15rem; }
.social a { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; margin-right: .5rem; transition: all .3s; }
.social a:hover { background: var(--nx-gradient); transform: translateY(-4px); padding-left: 0; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding: 1.4rem 0; font-size: .9rem; }

/* 10. ANIMATIONS & UTILITIES --------------------------------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s ease; }
.reveal.reveal-left { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .2s; } .delay-3 { transition-delay: .3s; } .delay-4 { transition-delay: .4s; } .delay-5 { transition-delay: .5s; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
