/* Open Book Travel - Custom Enhancements & Corporate Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Orbitron:wght@500;700;900&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --ob-navy: #060d17;
  --ob-dark: #0a1626;
  --ob-card: #0f1f35;
  --ob-border: #1a2f4c;
  --ob-cyan: #00d8f6;
  --ob-blue: #0088ff;
  --ob-purple: #8b5cf6;
  --ob-gold: #f59e0b;
  --ob-text: #f1f5f9;
  --ob-muted: #94a3b8;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ob-text);
  background-color: var(--ob-navy);
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}

/* White Running Ticker */
.white-running-ticker {
  background: #ffffff !important;
  color: #0f172a !important;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 90;
  border-bottom: 2px solid var(--ob-cyan);
  padding: 10px 0;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerSlide 35s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0f172a;
  padding: 0 24px;
}

.ticker-sep {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0088ff;
  margin: 0 12px;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Subpage Hero Header */
.subpage-hero {
  position: relative;
  padding: 130px 20px 60px;
  background: radial-gradient(circle at 50% 30%, rgba(0, 216, 246, 0.12) 0%, rgba(6, 13, 23, 0.98) 75%), #060d17;
  border-bottom: 1px solid var(--ob-border);
  text-align: center;
}

.subpage-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff 40%, var(--ob-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subpage-hero p {
  color: var(--ob-muted);
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.breadcrumb-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ob-muted);
}

.breadcrumb-nav a {
  color: var(--ob-cyan);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-nav a:hover {
  color: #ffffff;
}

/* Corporate Cards & Containers */
.container-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.ob-card {
  background: var(--ob-card);
  border: 1px solid var(--ob-border);
  border-radius: 14px;
  padding: 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ob-card:hover {
  transform: translateY(-5px);
  border-color: var(--ob-cyan);
  box-shadow: 0 12px 30px rgba(0, 216, 246, 0.15);
}

.ob-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ob-cyan), var(--ob-blue), var(--ob-purple));
  opacity: 0;
  transition: opacity 0.3s;
}

.ob-card:hover::before {
  opacity: 1;
}

.ob-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.ob-card p {
  color: var(--ob-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.ob-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Forms & Simulator */
.form-card {
  background: var(--ob-card);
  border: 1px solid var(--ob-border);
  border-radius: 16px;
  padding: 40px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: rgba(6, 13, 23, 0.85);
  border: 1px solid var(--ob-border);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--ob-cyan);
  box-shadow: 0 0 0 3px rgba(0, 216, 246, 0.2);
}

.btn-primary-ob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--ob-cyan) 0%, var(--ob-blue) 100%);
  color: #060d17;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(0, 216, 246, 0.3);
}

.btn-primary-ob:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 216, 246, 0.5);
  color: #060d17;
}

.btn-secondary-ob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  background: transparent;
  color: var(--ob-cyan);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid var(--ob-cyan);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-secondary-ob:hover {
  background: rgba(0, 216, 246, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}

/* FAQ Accordion */
.faq-item {
  background: var(--ob-card);
  border: 1px solid var(--ob-border);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.faq-q:hover {
  color: var(--ob-cyan);
}

.faq-a {
  padding: 0 24px 22px;
  color: var(--ob-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Legal Content Page */
.legal-box {
  background: var(--ob-card);
  border: 1px solid var(--ob-border);
  border-radius: 14px;
  padding: 45px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-box h2 {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 30px 0 15px;
  border-bottom: 1px solid var(--ob-border);
  padding-bottom: 8px;
}

.legal-box h2:first-of-type {
  margin-top: 0;
}

.legal-box p, .legal-box ul {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-box ul {
  padding-left: 24px;
}

.legal-box li {
  margin-bottom: 8px;
}

/* Corporate Footer */
.ob-footer {
  background: #030810;
  border-top: 1px solid var(--ob-border);
  padding: 70px 20px 30px;
  color: var(--ob-muted);
  font-size: 0.9rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--ob-cyan);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--ob-muted);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  color: var(--ob-cyan);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .subpage-hero h1 {
    font-size: 1.85rem;
  }
  .form-card, .legal-box {
    padding: 24px;
  }
}
