/* ==========================================================================
   BEZAWADA CAR RENTALS - SUBPAGES STYLESHEET (pages.css)
   Applies to: about.html, contact.html, blog.html, terms.html
   ========================================================================== */

:root {
  --primary-teal: #08919A;
  --primary-teal-dark: #066970;
  --primary-teal-light: #E6F7F8;
  --brand-green: #0e8354;
  --dark-navy: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --color-white: #FFFFFF;
  --gold-accent: #D4AF37;
  --gold-light: #FEF9E7;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* Page Hero Banner */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0b131f 0%, #06232b 50%, #04383c 100%);
  padding: 80px 24px 70px;
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 20%, rgba(8, 145, 154, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumb-nav a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-nav a:hover {
  color: var(--color-white);
}

.breadcrumb-nav span.sep {
  color: #64748B;
}

.breadcrumb-nav span.current {
  color: var(--color-white);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.page-hero p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: #CBD5E1;
  max-width: 680px;
  margin: 0 auto;
}

/* Base Content Container */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}

/* ==========================================================================
   TERMS & CONDITIONS SPECIFIC STYLES
   ========================================================================== */

.terms-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.terms-highlight-strip {
  background: linear-gradient(135deg, #0e8354 0%, #066970 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  box-shadow: 0 14px 35px rgba(14, 131, 84, 0.2);
}

.terms-highlight-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 19px;
  margin-bottom: 4px;
}

.terms-highlight-text span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.terms-highlight-cta {
  background: var(--color-white);
  color: var(--brand-green);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.terms-highlight-cta:hover {
  background: var(--slate-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.terms-card {
  background: var(--color-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.terms-card:hover {
  box-shadow: var(--shadow-md);
}

.terms-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--slate-100);
}

.terms-section-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-teal-light);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-section-header h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-navy);
  margin: 0;
}

.terms-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--slate-600);
  margin-bottom: 16px;
}

.terms-card ul.terms-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.terms-card ul.terms-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate-700);
  margin-bottom: 12px;
}

.terms-card ul.terms-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-teal-light);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.terms-alert-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-left: 4px solid #F59E0B;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 18px;
  font-size: 14.5px;
  color: #92400E;
  line-height: 1.55;
}

.terms-danger-box {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-left: 4px solid #EF4444;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 18px;
  font-size: 14.5px;
  color: #991B1B;
  line-height: 1.55;
}

.terms-agree-bar {
  background: var(--slate-50);
  border: 1.5px dashed var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-top: 40px;
}

.terms-agree-bar p {
  font-size: 15px;
  color: var(--slate-600);
  margin-bottom: 16px;
}

/* ==========================================================================
   ABOUT US PAGE STYLES
   ========================================================================== */

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.about-story-content h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 18px;
  line-height: 1.25;
}

.about-story-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-600);
  margin-bottom: 18px;
}

.about-story-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-story-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.about-badge-card {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  color: var(--color-white);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-badge-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  color: #38BDF8;
}

.about-badge-card span {
  font-size: 13px;
  color: #CBD5E1;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}

.pillar-card {
  background: var(--color-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-teal);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--primary-teal-light);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate-600);
}

.hubs-strip {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--slate-200);
  margin-bottom: 70px;
  text-align: center;
}

.hubs-strip h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.hubs-strip p {
  font-size: 15.5px;
  color: var(--slate-500);
  max-width: 650px;
  margin: 0 auto 30px;
}

.hubs-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hub-pill {
  background: var(--color-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate-800);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hub-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-teal);
}

/* ==========================================================================
   CONTACT US PAGE STYLES
   ========================================================================== */

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 60px;
}

.contact-info-col h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 12px;
}

.contact-info-col p.lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-600);
  margin-bottom: 30px;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.contact-card-item {
  background: var(--color-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.contact-card-item:hover {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-teal-light);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16.5px;
  color: var(--dark-navy);
  margin-bottom: 3px;
}

.contact-card-body span,
.contact-card-body a {
  font-size: 14.5px;
  color: var(--slate-600);
  text-decoration: none;
  line-height: 1.4;
}

.contact-card-body a:hover {
  color: var(--primary-teal);
}

.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 6px;
}

.contact-form-card p.form-sub {
  font-size: 14.5px;
  color: var(--slate-500);
  margin-bottom: 24px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--slate-800);
  background: var(--color-white);
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(8, 145, 154, 0.15);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.btn-submit-inquiry {
  width: 100%;
  background: linear-gradient(135deg, #0e8354 0%, #066970 100%);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(14, 131, 84, 0.3);
  transition: all 0.25s ease;
}

.btn-submit-inquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 131, 84, 0.4);
}

/* ==========================================================================
   BLOG PAGE STYLES
   ========================================================================== */

.blog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 45px;
}

.blog-filter-pill {
  background: var(--color-white);
  border: 1.5px solid var(--slate-200);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-filter-pill:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.blog-filter-pill.active {
  background: var(--dark-navy);
  color: var(--color-white);
  border-color: var(--dark-navy);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(8, 145, 154, 0.4);
}

.blog-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.06);
}

.blog-tag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.35;
  margin-bottom: 12px;
}

.blog-card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate-600);
  margin-bottom: 20px;
  flex: 1;
}

.blog-read-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.blog-read-link:hover {
  gap: 10px;
  color: var(--primary-teal-dark);
}

/* FAQ Section */
.faq-section {
  max-width: 860px;
  margin: 60px auto 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 35px;
}

.faq-header h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.faq-header p {
  font-size: 15.5px;
  color: var(--slate-500);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--dark-navy);
  text-align: left;
}

.faq-chevron {
  transition: transform 0.25s ease;
  color: var(--slate-500);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary-teal);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--slate-600);
  border-top: 1px solid var(--slate-100);
  margin-top: -4px;
  padding-top: 14px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .page-hero h1 {
    font-size: 34px;
  }
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 60px 20px 45px;
  }
  .page-hero h1 {
    font-size: 28px;
  }
  .page-hero p.lead {
    font-size: 15.5px;
  }
  .page-container {
    padding: 40px 16px 60px;
  }
  .terms-highlight-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .terms-card {
    padding: 24px 20px;
  }
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 24px 18px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
