/* ============================================
   The Interview Questions Guide - Styles
   Colors: Navy #03263B, Dark Blue #0b3954,
           Coral #ff6663, Gold #f7d532
   Font: Open Sans
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #252525;
  line-height: 1.7;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0b3954;
  text-decoration: none;
}

a:hover {
  color: #ff6663;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Welcome Bar */
.welcome-bar {
  background: #f7d532;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #03263B;
}

/* Header */
.site-header {
  background: #03263B;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.site-title:hover {
  color: #f7d532;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-menu a {
  color: #ccc;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #fff;
}

.nav-cta {
  background: #ff6663;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: #e55552;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #ff6663;
  color: #fff;
}

.btn-primary:hover {
  background: #e55552;
  color: #fff;
}

.btn-secondary {
  background: #0b3954;
  color: #fff;
}

.btn-secondary:hover {
  background: #03263B;
  color: #fff;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 18px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #03263B 0%, #0b3954 100%);
  color: #fff;
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  color: #ccc;
  margin-bottom: 24px;
}

.hero-quote {
  border-left: 3px solid #f7d532;
  padding-left: 20px;
  margin: 32px 0;
  font-style: italic;
  color: #bbb;
  line-height: 1.8;
}

.hero-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 600;
  color: #f7d532;
  font-size: 14px;
}

.hero-image img {
  max-width: 280px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

/* What's Inside */
.whats-inside {
  padding: 80px 0;
  background: #f5f5f5;
  text-align: center;
}

.whats-inside h2 {
  font-size: 36px;
  color: #03263B;
  margin-bottom: 32px;
}

.feature-list {
  list-style: none;
  max-width: 500px;
  margin: 0 auto 40px;
  text-align: left;
}

.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
  padding-left: 32px;
  position: relative;
}

.feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #ff6663;
  font-weight: 700;
  font-size: 20px;
}

/* Pricing Box */
.pricing-box {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.price-original {
  display: block;
  font-size: 20px;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.price-sale {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #03263B;
  margin-bottom: 4px;
}

.price-save {
  display: block;
  font-size: 14px;
  color: #ff6663;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Topics Grid */
.topics {
  padding: 80px 0;
}

.topics h2 {
  text-align: center;
  font-size: 36px;
  color: #03263B;
  margin-bottom: 48px;
}

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

.topic-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.topic-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.topic-card h3 {
  font-size: 18px;
  color: #03263B;
  margin-bottom: 12px;
}

.topic-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: #03263B;
  color: #fff;
}

.testimonials h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 40px;
  border-left: 3px solid #f7d532;
}

.testimonial-card blockquote {
  font-style: italic;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 20px;
}

.testimonial-author {
  color: #f7d532;
  font-size: 14px;
}

/* Preview */
.preview {
  padding: 80px 0;
  text-align: center;
  background: #f5f5f5;
}

.preview h2 {
  font-size: 36px;
  color: #03263B;
  margin-bottom: 16px;
}

.preview p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: #666;
  font-size: 18px;
}

/* Author */
.author {
  padding: 80px 0;
}

.author-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.author-image img {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.author-text h2 {
  font-size: 32px;
  color: #03263B;
  margin-bottom: 8px;
}

.author-text h3 {
  font-size: 24px;
  color: #ff6663;
  margin-bottom: 20px;
}

.author-text p {
  margin-bottom: 16px;
  color: #555;
  font-size: 16px;
}

.author-award {
  margin-top: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Thank You */
.thank-you {
  padding: 80px 0;
  background: linear-gradient(135deg, #0b3954 0%, #03263B 100%);
  color: #fff;
  text-align: center;
}

.thank-you h2 {
  font-size: 36px;
  margin-bottom: 24px;
}

.thank-you p {
  max-width: 700px;
  margin: 0 auto 16px;
  color: #ccc;
  font-size: 16px;
}

.thank-you .btn {
  margin-top: 24px;
}

/* Page Single (Blog / Contact) */
.page-single {
  padding: 60px 0;
}

.page-single h1 {
  font-size: 36px;
  color: #03263B;
  margin-bottom: 8px;
}

.post-meta {
  color: #999;
  font-size: 14px;
  margin-bottom: 32px;
}

.content {
  max-width: 720px;
}

.content h2 {
  font-size: 24px;
  color: #03263B;
  margin: 32px 0 12px;
}

.content h3 {
  font-size: 20px;
  color: #0b3954;
  margin: 24px 0 8px;
}

.content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.content blockquote {
  border-left: 3px solid #f7d532;
  padding: 16px 24px;
  margin: 24px 0;
  background: #f9f9f9;
  color: #555;
  font-style: italic;
}

/* Page List (Blog index) */
.page-list {
  padding: 60px 0;
}

.page-list h1 {
  font-size: 36px;
  color: #03263B;
  margin-bottom: 32px;
}

.post-card {
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.post-card h2 {
  font-size: 22px;
  margin-bottom: 4px;
}

.post-card h2 a {
  color: #03263B;
}

.post-card h2 a:hover {
  color: #ff6663;
}

.read-more {
  font-weight: 600;
  color: #ff6663;
  font-size: 14px;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: #03263B;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0b3954;
}

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

/* Footer */
.site-footer {
  background: #03263B;
  color: #ccc;
  padding: 48px 0;
  text-align: center;
}

.footer-cta {
  margin-bottom: 24px;
}

.footer-tagline {
  font-style: italic;
  color: #999;
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.footer-contact {
  font-size: 14px;
}

.footer-contact a {
  color: #f7d532;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #03263B;
    padding: 16px 24px;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .hero {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    margin: 0 auto;
    max-width: 200px;
  }

  .hero-quote {
    text-align: left;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .author-grid {
    grid-template-columns: 1fr;
  }

  .author-image img {
    max-width: 300px;
    margin: 0 auto;
  }
}
