:root {
  /* Core brand colors */
  --color-primary: #011C40;
  --color-secondary: #005B99;
  --color-accent: #FFD700;
  --color-neutral-light: #F5F8FA;
  --color-neutral-dark: #1A1A1A;

  /* Support shades */
  --color-navy-dark: #00152C;
  --color-navy-light: #012A5C;
  --color-hover: #004C7A;
  --color-success: #1FC47C;
  --color-error: #E63946;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #011C40 0%, #005B99 100%);
  --gradient-cta: linear-gradient(135deg, #FFD700 0%, #005B99 100%);
  --gradient-footer: linear-gradient(70deg, #54ACBF 0%, #011C40 100%);
}
body { font-family: 'Inter', sans-serif; margin: 0; padding: 0; color: var(--text-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0px; }

article h1 {
    text-align: center;
    font-size: 4rem;
}
article .page-body {
    text-align: center;
}
/* ====== NAVBAR ====== */
.questrial {
  font-family: "Questrial", sans-serif;
}
.site-header {
  background: #011C40;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid #000000;
  color: white;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8%;
}

.logo img {
  height: 48px;
  width: auto;
  padding-right: 12px;
}
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}
.h-check {
    color: var(--color-accent);
}
.main-nav .nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav .nav-menu li {
  position: relative;
}

.main-nav .nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav .nav-menu a:hover {
  color: var(--color-accent);
}

/* Submenu */
.main-nav .nav-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 8px 0;
  min-width: 200px;
}

.main-nav .nav-menu li:hover > ul {
  display: block;
}

.main-nav .nav-menu li ul li a {
  display: block;
  padding: 10px 20px;
  color: #333;
}

.main-nav .nav-menu li ul li a:hover {
  background: #f4f2ff;
  color: var(--color-accent);
}

/* ====== MOBILE NAV ====== */
.menu-toggle {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 26px;
  cursor: pointer;
  display: none; /* hidden on desktop */
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 86px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav .nav-menu {
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
  }

  .main-nav .nav-menu li ul {
    position: static;
    box-shadow: none;
    border: none;
  }

  .main-nav .nav-menu li ul li a {
    padding: 8px 0;
  }
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gradient-hero);
  max-width: 100vw;
  max-height: 900px;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-content .header-container {
    padding: 20px 0px;
    text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: white;
  overflow-wrap: break-word;
  padding: 0px;
  margin: 0px;
}
.hero-content .highlight {
  color: var(--color-accent);
}
.hero-content p {
  font-size: 18px;
  margin: 20px 0;
  color: white;
}

.hero-content form {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.hero-content form p {
  display: flex;
  width: 100%;
  margin: 0;
}

/* input and button inline */
.hero-content form input[type="email"],
.hero-content form input[type="text"] {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
  width: 500px;
}

.hero-content form input[type="submit"] {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 0 6px 6px 0;
  padding: 14px 24px;
  font-weight: 600;
  cursor: pointer;
  height: 50px;
  transition: background-color 0.3s ease;
}

.hero-content form input[type="submit"]:hover {
  background-color: var(--color-accent);
}

/* mobile responsiveness: stack */
@media (max-width: 600px) {
  .hero-content form {
    flex-direction: column;
  }
  .hero-content form input[type="email"],
  .hero-content form input[type="text"],
  .hero-content form input[type="submit"] {
    border-radius: 6px;
    width: 100%;
    margin: 4px 0;
    border-right: 1px solid #ccc;
  }
}

.hero-tags {
    display: flex;
    gap: 50px;
    color: #FFFFFF;
    margin-left: 10%;
    max-width: 100%;
    margin-right: 10%;
}

.hero-tags ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-tags li {
  margin-bottom: 10px;
  font-size: 16px;
}

.hero-img {
  width: 50vw;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  display: block;
}

.hero-content {
  text-align: center;
  color: #fff;
  width: 50%;
  margin: 0px 5%;
}

.hero-caption {
  font-size: 14px;
  color: #444;
  margin-top: 8px;
}

/* PROCESS */
.process-session { background: #fff; padding: 100px 0; text-align: center; }
.process-session h2 { font-size: 32px; color: var(--color-primary); margin-bottom: 10px; }
.process-session p { color: var(--color-primary); max-width: 800px; margin: 0 auto 50px; font-size: 18px; line-height: 1.6; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; text-align: left; }
.process-step { background: #f9f9ff; border: 1px solid #ececff; border-radius: 12px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.process-step h3 { color: var(--color-primary); margin-bottom: 15px; }
.process-step ul { padding-left: 20px; line-height: 1.8; }

/* ===== FEATURES SECTION (MIDSUMMER STYLE) ===== */
.features {
  padding: 100px 0;
  background: var(--gradient-hero);
  color: #fff;
}

.features .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6%;
  background: url(https://midsummeramz.com/wp-content/uploads/2025/10/envato-labs-image-edit-6.png) center center / cover no-repeat;
}

.features-content {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: flex-start;
}

.features-left h2 p {
    margin: 0px;
}
.features-left p {
    margin: 0px;
}
.features-left h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  line-height: 1.3;
}

.features-left .description {
  font-size: 1.1rem;
  color: #E4E3F5;
  margin-bottom: 20px;
  line-height: 1.6;
}

.features-left .detail-text {
  font-size: 1rem;
  color: #D0CFF0;
  margin-bottom: 36px;
  line-height: 1.6;
}

.explore-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}
.kakao-btn {
    background: var(--color-accent);
    color: black;
    padding: 14px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}
.kakao-btn:hover {
  background: #ffed4e;
  transform: translateY(-2px);
}

.explore-btn:hover {
  background: #ffed4e;
  transform: translateY(-2px);
}

.features-left .bottom-text {
  font-size: 0.95rem;
  color: #FFF;
  margin-top: 36px;
  line-height: 1.6;
}

.features-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* ===== SERVICE CARD ===== */
.service-card {
  background: #fff;
  color: var(--color-primary);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(63, 33, 251, 0.25);
}

.service-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.kakao-img {
    width: 24px;
    height: auto;
    vertical-align: bottom;
}
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-card p {
  color: #444;
  line-height: 1.6;
  margin: 0px;
  padding: 0px;
}

.service-link {
  color: var(--color-neutral-dark);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.service-link:hover {
  color: #2E17C5;
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .features-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .features-right {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .features {
    padding: 80px 0;
  }
  .features-right {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .features-left h2 {
    font-size: 2rem;
  }
}

/* ===== FAQ SECTION ===== */
.faq {
  max-width: 900px;
  margin: 120px auto 120px auto;
  padding: 0 6%;
  font-family: "Inter", sans-serif;
}
.faq h2 { 
    color: var(--color-primary); 
    margin-bottom: 10px; 
    text-align: center;
}

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

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-navy-light);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--color-primary);
  font-size: 1.2rem;
}

/* hidden answer by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 4px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 12px;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg); /* turn + into × */
}

@media (max-width: 768px) {
  .faq-section {
    padding: 0 5%;
  }
  .faq-question {
    font-size: 1rem;
  }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  width: 100%;
  background: #F5F8FA;
  color: #011C40;
  padding: 0;
  max-height: 850px;
  margin-top: 60px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 850px;
  align-items: stretch;
}

/* ===== LEFT SIDE (IMAGE) ===== */
.contact-left {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.contact-image {
  width: 100%;
  height: 100%;
  background: url('https://midsummeramz.com/wp-content/uploads/2025/10/envato-labs-image-edit-9.png') center center / cover no-repeat;
  position: relative;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,28,64,0.85) 0%, rgba(0,91,153,0.6) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 60px;
  color: #fff;
}

.contact-overlay h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
}

.contact-overlay p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #E4E8EE;
  width: 100%;
  text-align: center;
}

/* ===== RIGHT SIDE (FORM) ===== */
.contact-right {
  background: #fff;
  padding: 20px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: -6px 0 20px rgba(1,28,64,0.08);
}

.contact-right h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #011C40;
  margin-bottom: 10px;
}

.contact-right .subtext {
  color: #4A4A4A;
  margin-bottom: 32px;
}

/* ===== FORM STYLING ===== */
.contact-form input,
.contact-form textarea,
.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

.contact-form button,
.wpcf7 input[type="submit"] {
  background: #FFD700;
  color: #011C40;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover,
.wpcf7 input[type="submit"]:hover {
  background: #FFC300;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-image {
    clip-path: none;
    height: 400px;
  }
  .contact-overlay {
    align-items: center;
    text-align: center;
  }
  .contact-right {
    padding: 60px 30px;
  }
}

/* FOOTER */
.site-footer {
  background: black;
  color: #fff;
  padding: 80px 0 40px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  align-items: start;
}
.footer-brand p {
  font-size: 14px;
  color: #ddd;
  line-height: 1.6;
  margin-top: 10px;
}
.footer-logo-text {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}
.footer-links h4,
.footer-contact h4 {
  color: #FFD700;
  font-size: 18px;
  margin-bottom: 16px;
}
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-menu ul {
    list-style: none;
    padding: 0px;
}
.footer-menu li {
  margin-bottom: 8px;
}
.footer-menu a {
  text-decoration: none;
  color: #ddd;
  transition: color 0.3s ease;
}
.footer-menu a:hover {
  color: #FFD700;
}
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact li {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-contact a {
  color: #ccc;
  text-decoration: none;
}
.footer-contact a:hover {
  color: #FFD700;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  color: #FFF;
  font-size: 16px;
}
.footer-col a img {
    width: 100px;
    height: auto;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 900px) {
  .hero-section {
    padding: 60px 6%;
  }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-content, .hero-image {
    flex: none;
    width: 100%;
  }

  .hero-form {
    flex-direction: column;
    box-shadow: none;
  }

  .hero-form input,
  .hero-form button {
    width: 100%;
    border-radius: 0;
  }

  .hero-tags {
    justify-content: center;
    text-align: left;
  }

  .hero-tags ul {
    width: 100%;
  }

  .hero-tags li {
    font-size: 0.95rem;
    justify-content: center;
  }

  .hero-image img {
    max-width: 360px;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 60px 8% 20px;
  font-family: "Inter", sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
  min-width: 260px;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 600;
}

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

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

.footer-menu a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #FFD700; /* gold accent */
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.footer-contact i {
  color: #FFD700;
  font-size: 1rem;
}

.footer-socials {
  margin-top: 16px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
  color: #FFD700;
  transform: translateY(-3px);
}

/* Bottom line */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
    max-width: 400px;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-socials {
    text-align: center;
  }
}


/* ======== UNIVERSAL RESPONSIVE GRID ======== */
/* Desktop-first base already defined in main CSS; these rules adapt for breakpoints */

/* Large Desktops (≥1400px) */
@media (min-width: 1400px) {
  body {
    font-size: 1.05rem;
  }
  .hero-section {
    padding: 100px 12%;
  }
  .footer-container {
    max-width: 1400px;
  }
}

/* Standard Desktops (1200px–1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
  .hero-inner {
    gap: 60px;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
}

/* Tablets Landscape (992px–1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .nav-container {
    padding: 20px 6%;
  }
  .hero-section {
    flex-direction: column;
    padding: 70px 6%;
  }
  .hero-image img {
    max-width: 480px;
  }
}

/* Tablets Portrait (768px–991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .hero-section {
    padding: 60px 5%;
    flex-direction: column;
    text-align: center;
  }
  .hero-form {
    flex-direction: column;
    max-width: 450px;
    margin: 0 auto 30px;
  }
  .main-nav .nav-menu {
    flex-direction: column;
  }
  .footer-container {
    text-align: center;
  }
}

/* Large Phones (600px–767px) */
@media (max-width: 767px) and (min-width: 600px) {
  .hero-section {
    padding: 60px 5%;
  }
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.1rem;
  }
  .hero-tags {
    justify-content: center;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Phones Portrait (375px–599px) */
@media (max-width: 599px) {
  .hero-section {
    padding: 50px 6%;
  }
  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.4;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-form {
    flex-direction: column;
  }
  .hero-form input, .hero-form button {
    width: 100%;
    border-radius: 0;
  }
  .nav-container {
    padding: 14px 5%;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-col h3 {
    margin-top: 24px;
  }
}

/* Small Phones (≤374px) */
@media (max-width: 374px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-form button {
    font-size: 0.9rem;
    padding: 12px 16px;
  }
  .footer-desc {
    font-size: 0.85rem;
  }
}

/* ======== ORIENTATION RULES ======== */

/* Landscape Mode (all devices) */
@media (orientation: landscape) {
  .hero-section {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }
}

/* Portrait Mode (all devices) */
@media (orientation: portrait) {
  .hero-section {
    flex-direction: column;
  }
  .hero-image img {
    width: 80%;
    margin: 20px auto 0;
  }
  .footer-container {
    flex-direction: column;
  }
}

/* ======== TOUCH OPTIMIZATIONS ======== */
@media (hover: none) and (pointer: coarse) {
  button, a {
    padding: 14px 20px;
  }
  .hero-form input {
    font-size: 16px; /* prevents zoom-in on iOS */
  }
}

/* ===== SINGLE POST PAGE ===== */
.single-post-container {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 6%;
  font-family: "Inter", sans-serif;
}

.single-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.single-meta {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.single-thumb img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.single-content {
  color: #222;
  font-size: 1.05rem;
  line-height: 1.8;
}

.single-content h2,
.single-content h3 {
  color: var(--color-primary);
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 600;
}

.single-content a {
  color: var(--color-navy-light);
  text-decoration: underline;
}

.single-content a:hover {
  color: #2E17C5;
}

.single-footer {
  border-top: 1px solid #eee;
  margin-top: 50px;
  padding-top: 20px;
  color: #555;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.post-nav {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.post-nav a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.post-nav a:hover {
  color: #2E17C5;
}

.tag-label {
  font-weight: 600;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .single-title {
    font-size: 2rem;
  }
  .single-content {
    font-size: 1rem;
  }
  .single-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ===== COMMENTS ===== */
.comments-area {
  margin-top: 60px;
  border-top: 1px solid #eee;
  padding-top: 40px;
  font-family: "Inter", sans-serif;
}

.comments-title {
  font-size: 1.4rem;
  color: #3F21FB;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.comment-list li {
  margin-bottom: 32px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.comment-author img {
  border-radius: 50%;
}

.comment-meta {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.comment-content {
  color: #222;
  font-size: 1rem;
  line-height: 1.6;
}

.comment-reply-link {
  display: inline-block;
  color: #3F21FB;
  text-decoration: none;
  font-weight: 500;
  margin-top: 8px;
}

.comment-reply-link:hover {
  color: #2E17C5;
}

.comment-respond {
  margin-top: 40px;
}

.comment-form-comment textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

.comment-form input[type="submit"] {
  background-color: #3F21FB;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.comment-form input[type="submit"]:hover {
  background-color: #2E17C5;
}

@media (max-width: 768px) {
  .comment-list li {
    margin-bottom: 24px;
  }
  .comment-form-comment textarea {
    font-size: 0.95rem;
  }
}

/* ---------------------------
   QUICK GLOBAL FIX
---------------------------- */
/* body was using an undefined variable (--text-dark) */
body { color: var(--color-neutral-dark); }

/* ---------------------------
   MOBILE NAV FIXES
   (visibility, layering, link contrast)
---------------------------- */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;       /* keep menu on top of content */
    top: 86px;             /* just below sticky header */
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1100;         /* above page content */
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  /* base nav links are white for desktop; on white mobile menu use brand navy */
  .main-nav .nav-menu a { color: var(--color-primary); }
  /* make the burger pop on dark header */
  .menu-toggle { color: var(--color-accent); }
}

/* ---------------------------
   HERO: RESPONSIVE ALIGNMENT
   (your CSS uses .hero, while some queries target .hero-section/.hero-image img)
   Add equivalents so phones/tablets behave correctly.
---------------------------- */
@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;    /* stack image + content */
    height: auto;              /* allow natural height */
    min-height: 60vh;
    max-height: 100%;
  }
  .hero-img {
    width: 100%;
    object-fit: cover;
    clip-path: none;
  }
  .hero-content {
    width: 100%;
    margin: 24px 0;
    padding: 0 6%;
    text-align: center;
  }
  .hero-tags {
    margin-left: 0;
    margin-right: 0;
    gap: 24px;
    padding: 20px;
    text-align: center;
  }
}

/* Map older media rules targeting .hero-section/.hero-image img to your current classes */
@media (max-width: 991px) {
  .hero {     
    margin: 0px;
    padding: 0px;
    text-align: center;
  }
}
@media (orientation: landscape) {
  .hero { flex-direction: row; justify-content: space-around; align-items: center; }
}
@media (orientation: portrait) {
  .hero { flex-direction: column; }
  .hero-img { width: 100%; margin: 20px auto 0; }
}

/* Large/Small phone heading scale (keeps desktop untouched) */
@media (max-width: 767px) {
  .hero-content h1 { font-size: 2.1rem; }
}
@media (max-width: 599px) {
  .hero-content h1 { font-size: 1.8rem; line-height: 1.4; }
}
@media (max-width: 374px) {
  .hero-content h1 { font-size: 1.5rem; }
}

/* ---------------------------
   FAQ: MEDIA SELECTOR + TYPE SCALE
   (your markup uses .faq, not .faq-section)
---------------------------- */
@media (max-width: 768px) {
  .faq { padding: 0 5%; }
  .faq-question { font-size: 1.1rem; }
}

/* ---------------------------
   CONTACT SECTION: HEIGHT & PADDING
   (avoid fixed 850px on small screens)
---------------------------- */
@media (max-width: 992px) {
  .contact-section { max-height: none; }         /* unlock max-height */
  .contact-container { min-height: auto; }       /* allow natural height */
  .contact-image { height: 380px; }              /* reasonable banner height */
  .contact-overlay { align-items: center; text-align: center; padding: 40px 24px; }
  .contact-right { padding: 40px 24px; box-shadow: none; } /* softer on mobile */
}

/* ---------------------------
   FOOTER: MOBILE LEGIBILITY
   (your footer-bottom was black; on dark bg use light text on phones)
---------------------------- */
@media (max-width: 900px) {
  .footer-bottom { color: rgba(255,255,255,0.8); }
}

/* ---------------------------
   TYPOGRAPHY: PAGE TITLES ON SMALL SCREENS
---------------------------- */
@media (max-width: 600px) {
  article h1 { font-size: 2.2rem; }
}

@media (max-width: 1180px) {
    .hero {
        justify-content: end;
        padding: 0px;
    }
    .hero-content form input[type="email"] {
        width: 100%;
    }
    .hero-content {
        margin: 0px;
        padding: 20px;
        width: 50%;
    }
    .hero-content form p {
        display: block;
    }
    
}
@media (max-width: 820px) {
    .hero-content form input[type="email"] {
        width: 100%;
    }
    .hero-content {
        margin: 0px;
        padding: 0px;
        width: 100%;
    }
    .hero-img {
        width: 100%;
    }
    .process-step {
        width: 350px;
        padding: 20px;
        place-self: center;
    }
    .process-steps {
        gap: 18px;
        padding: 20px;
        grid-template: none;
    }
    
}

@media (max-width: 390px) {
  .hero-content .header-container {
    padding: 20px 20px;
    text-align: center;
  }
  .main-nav, .main-nav .nav-menu {
      width: 100vw;
  }
  .hero {
    padding-top: 60px;
  }
  .hero-content {
      padding: 60px 0px;
  }
  .hero-tags {
    display: block;
  }
  .hero-content form p {
    display: block;
    margin: 0px 20px;
    max-width: 100%;
    width: auto;
  }
  .custom-logo-link {
      padding: 0px;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .process-session {
      padding: 40px 14px;
  }
  .process-steps {
        gap: 18px;
        padding: 0px;
        grid-template: none;
    }
    .process-step {
        width: 320px;
    }
}
