/* ===== Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Poppins:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'Aladin';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Aladin-Regular.0106fad7.ttf') format('truetype');
}
@font-face {
  font-family: 'PoppinsRegular';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Poppins-Regular.4b4ebe20.ttf') format('truetype');
}
@font-face {
  font-family: 'PoppinsMedium';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/Poppins-Medium.a52d0bf0.ttf') format('truetype');
}
@font-face {
  font-family: 'PoppinsBold';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Poppins-Bold.8001a01b.ttf') format('truetype');
}
@font-face {
  font-family: 'PoppinsLight';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/Poppins-Light.8b20023e.ttf') format('truetype');
}

/* ===== Variables ===== */
:root {
  --primary-teal: #46A0A0;
  --primary-yellow: #F8AF23;
  --primary-yellow-light: #F9D692;
  --bg-dark: #05121a;
  --card-teal: #510B0B;
  --card-teal-dark: #0b5554;
  --card-teal-darker: #0d5b58;
  --gradient-gold: radial-gradient(circle at center, rgb(246, 241, 211) 0%, #fbb034 100%);
  --font-aladin: 'Geist', cursive;
  --font-poppins: 'PoppinsRegular', sans-serif;
  --disclaimer-h: 36px;
  --header-h: 68px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--disclaimer-h) + var(--header-h) + 16px);
}
body { font-family: var(--font-poppins); overflow-x: hidden; margin: 0; }

.Fontalladin, .font-aladin { font-family: var(--font-aladin) !important; }
.fontpoppins { font-family: var(--font-poppins); }

/* Font size utilities — clamp so they never break on any screen */
.fontsize-18px  { font-size: clamp(0.9rem,  1vw + 0.6rem,  1.125rem); }
.fontsize-25px  { font-size: clamp(1rem,    1.5vw + 0.5rem, 1.5rem);  }
.fontsize-40px  { font-size: clamp(1.25rem, 2.5vw + 0.5rem, 2.5rem);  }
.fontsize-60px  { font-size: clamp(1.5rem,  3.5vw,          3.5rem);  line-height: 1.1; font-weight: 700; }

.gradient-text {
  background: #4bbbaa;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-radical-gray-60px {
  background: linear-gradient(#f7deb8 10%, #fab747 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Container ===== */
.container-1520 {
  max-width: 1400px;
  width: 92%;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Disclaimer Bar (fixed at very top) ===== */
.pp-disclaimer-bar--lp {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1091;
  height: var(--disclaimer-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(12px, 3vw, 24px);
  background: linear-gradient(90deg, rgba(5,18,26,0.98) 0%, rgba(10,42,48,0.99) 50%, rgba(5,18,26,0.98) 100%);
  border-bottom: 1px solid rgba(83, 195, 178, 0.3);
  overflow: hidden;
}
.pp-disclaimer-bar--lp p {
  margin: 0;
  font-size: clamp(10px, 1.1vw, 12px);
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
  font-family: var(--font-poppins);
}

.pp-footer-disclaimer__text--lp {
  font-family: var(--font-poppins), sans-serif;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  text-align: center;
  margin: 0 auto 0.5rem;
  max-width: 960px;
}

/* ===== Header (fixed below disclaimer) ===== */
.site-header {
  position: fixed;
  top: var(--disclaimer-h);
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(5, 18, 26, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(83, 195, 178, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header .navbar-brand { margin: 0; padding: 0; }
.site-header .navbar-brand img { max-height: 48px; width: auto; display: block; }

/* ===== Buttons ===== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 10px 20px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  font-family: Geist, var(--font-poppins), sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 1vw + 4px, 18px);
  width: fit-content;
  line-height: 1.5;
  letter-spacing: -0.5px;
  text-align: center;
  vertical-align: middle;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, #53c3b2 0%, #198574 100%);
  min-width: 130px;
  white-space: nowrap;
}
.btn-cta .icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #fff 0%, #fff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #000;
  flex-shrink: 0;
}
.btn-cta:hover          { opacity: 0.92; transform: translateY(-1px); color: #fff; }
.btn-cta-outline        { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-cta-outline:hover  { color: #fff; background: rgba(255,255,255,0.08); }
.btn-cta-outline .icon-wrap { background: radial-gradient(50% 50% at 50% 50%, #fff 0%, #4dbdac 100%); }
.btn-cta-outline.dark   { color: #111; border-color: #111; }
.btn-cta-outline.dark .icon-wrap { background: radial-gradient(50% 50% at 50% 50%, #fff 0%, #4dbdac 100%); }
.text-warning { color: #fff !important; }

/* ===== Hero / Banner ===== */
.hero-banner {
  background-image: url('../images/Hero.76ffb7dc.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding-top: calc(var(--disclaimer-h) + var(--header-h) + 4rem);
  padding-bottom: 4rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.banner_wrap { position: relative; }
.banner_sec  { width: 100%; }

.hero-banner h1 {
  font-family: Geist, sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-banner h1 span {
  background: linear-gradient(90deg, #53c3b2, #4bbbaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Decorative image behind form */
.banner_wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 100%;
  background: url('../images/banner_after.png') no-repeat bottom center;
  background-size: contain;
  z-index: -1;
  pointer-events: none;
}

/* Hero form card */
.hero-form-card {
  background: #53c3b2;
  color: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 12px 48px rgba(0,0,0,0.25);
  width: 80%;
  margin-left: auto;
}
.hero-form-card .form-control {
  border-radius: 8px;
  font-size: 14px;
}
.hero-form-card textarea.form-control {
  min-height: 80px;
  resize: none;
}
.hero-form-card .form-check-label {
  cursor: pointer;
  padding: 0.75rem 1rem;
  background: var(--card-teal-darker);
  border-radius: 0.5rem;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  width: 100%;
}
.hero-form-card .form-check-input:checked + .form-check-label,
.hero-form-card .form-check-label:hover { border-color: #f9d36a; background: #000; }
.hero-form-card .progress       { height: 0.75rem; background: var(--card-teal-dark); }
.hero-form-card .progress-bar   { background: #009981; }

.step_btn {
  background: #289584;
  color: #fff;
  font-family: Geist, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}
.trus_wrap       { display: flex; gap: 20px; margin: 32px 0 0; flex-wrap: wrap; }
.trus_wrap img   { width: 120px; object-fit: contain; }

.bnr-btn-sub input {
  width: 100%;
  padding: 12px;
  background: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  color: #000;
  margin: 0 0 16px;
  border-radius: 12px;
  font-size: 15px;
}

/* ===== Sections ===== */
.section-pad { padding: 80px 0; }

.bg-hero-pattern {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* About section */
#about ul li { margin-bottom: 8px; font-size: 16px; }

/* Publish-dream CTA section */
.publish-dream-section {
  background: url('../images/cta_bg.png') no-repeat center / cover;
  padding: 5rem 0;
  position: relative;
  isolation: isolate;
}
.publish-dream-section::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  z-index: -1;
  width: clamp(200px, 25vw, 360px);
  height: 530px;
  background: url('../images/cta_before.png') no-repeat left bottom / 100%;
}
.publish-dream-section::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  z-index: -1;
  width: clamp(200px, 25vw, 360px);
  height: 530px;
  background: url('../images/cta_after.png') no-repeat left bottom / 100%;
}
.publish-dream-section h2       { color: #fff; }
.publish-dream-section p        { color: #fff; text-align: center; }
.dream-form .form-control       { background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.6); border-radius: 0; color: #fff; }
.dream-form .form-control::placeholder { color: rgba(255,255,255,0.55); }
.dream-form label               { color: #fff; }

/* ===== Services slider ===== */
.proc_sec {
  background: url('../images/proc_bg.png') no-repeat bottom / 100%;
  overflow: hidden;
}
.process_slider_wrap {
  width: 90%;
  margin-left: auto;
  overflow-x: hidden;
}
.proc_card {
  width: 500px;
  margin: 0 16px 0 0;
}
.pro_c_img {
  background: url('../images/serv1bg.png') no-repeat top left / 100% 100%;
  height: 360px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 24px;
}
.pro_c_img a {
  background: radial-gradient(50% 50% at 50% 50%, #18a590 0%, #4dbdac 100%);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.pro_c_img a img { width: auto; }
.pro_c_content h3 {
  font-family: Geist, sans-serif;
  font-size: clamp(1rem, 1.2vw + 0.4rem, 1.35rem);
  font-weight: 700;
}

/* ===== Guided section ===== */
.bg_21 {
  background: url('../images/bg_21.png') no-repeat center / cover;
}

/* ===== CTA section ===== */
.cta {
  background: url('../images/cta_bg.png') no-repeat center / cover;
  padding: 60px 0 0;
  position: relative;
}
.cta img.cta-book-img {
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 460px;
  width: 32vw;
  min-width: 220px;
}

/* ===== Five step process ===== */
.step_Sec .row {
  position: relative;
  isolation: isolate;
}
.step_Sec .row::after {
  content: '';
  position: absolute;
  top: 76px; left: 0;
  width: 100%;
  height: 5px;
  border-radius: 10px;
  background: linear-gradient(90deg, #53c3b2 0%, #007c64 50%, #249a85 100%);
  z-index: -1;
}
.pri_card {
  text-align: center;
  padding: 0 8px;
}
.pri_card img { max-width: 160px; }
.pri_card h3 {
  font-family: Geist, sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.2vw + 0.3rem, 1.3rem);
  line-height: 1.4;
  margin-top: 12px;
}

/* ===== Portfolio ===== */
#portfolio {
  background: url('../images/portfolio_bg.png') no-repeat bottom center / 100%;
}
.pro_heading.text-center { margin: 0 0 2rem; }
#portfolio .lp-pub-portfolio-shell {
  position: relative;
  padding: 0 clamp(2rem, 4vw, 3.5rem);
  margin-top: 0.5rem;
}
#portfolio .lp-pub-portfolio-slide-inner {
  margin: 0 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15,29,58,0.18);
  transform: scale(0.88);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
#portfolio .lp-pub-portfolio-slider .slick-slide.slick-center .lp-pub-portfolio-slide-inner {
  transform: scale(1.05);
  box-shadow: 0 18px 42px rgba(15,29,58,0.28);
}
#portfolio .lp-pub-portfolio-slide-inner img { display: block; width: 100%; height: auto; }
#portfolio .lp-pub-portfolio-slider .slick-track { padding: 1.5rem 0; }

/* Portfolio arrows */
#portfolio .lp-pub-portfolio-shell .port-slick-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border: none; border-radius: 50%;
  background: #fff !important;
  color: #0F1D3A;
  font-size: 0; line-height: 0;
  cursor: pointer;
  display: flex !important;
  align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  padding: 0; margin: 0;
}
#portfolio .lp-pub-portfolio-shell .port-slick-arrow span { display: block; font-size: 1.2rem; line-height: 1; color: #0F1D3A; }
#portfolio .lp-pub-portfolio-shell .port-slick-arrow::before,
#portfolio .lp-pub-portfolio-shell .slick-prev::before,
#portfolio .lp-pub-portfolio-shell .slick-next::before { display: none !important; content: '' !important; }
#portfolio .lp-pub-portfolio-shell .port-slick-arrow:hover { background: #f0f0f0 !important; transform: translateY(-50%) scale(1.05); }
#portfolio .lp-pub-portfolio-shell .port-slick-arrow.slick-prev { left: 0; }
#portfolio .lp-pub-portfolio-shell .port-slick-arrow.slick-next { right: 0; }
#portfolio .lp-pub-portfolio-shell .port-slick-arrow.slick-disabled { opacity: 0.3; cursor: not-allowed; }

/* ===== Genre section ===== */
.genre_sec {
  background: url('../images/gen_bg.png') no-repeat center / cover;
}
.genre-tabs {
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 4px;
}
.genre-tabs .nav-link {
  color: rgba(255,255,255,0.8);
  border: none;
  padding: 0.5rem 1.25rem;
  font-family: Geist, sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw + 0.3rem, 1.5rem);
  border-radius: 8px;
  transition: all 0.2s;
}
.genre-tabs .nav-link.active {
  background: linear-gradient(180deg, #1f8b7a 0%, #50c0af 100%) !important;
  color: #000;
  box-shadow: 0 2px 12px rgba(83,195,178,0.5);
}
.genre-tabs .nav-link:hover { color: #53c3b2; }

.genre_card { padding: 1rem 0; }
.gen_content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gen_content h2,
.gen_content h2 span {
  font-family: Geist, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw + 0.5rem, 4rem);
  line-height: 1.1;
  background: linear-gradient(90deg, #fff 0%, #F0B100 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gen_img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}
.genre_sec h2 span {
  background: #4bbbaa;
  background-clip: text;
  color: transparent;
}

/* ===== Footer ===== */
.site-footer {
  background: #1a1a1a;
  color: #fff;
  padding-top: 2.5rem;
}
.site-footer .footer-top  { padding: 0.5rem 0 1.5rem; }
.site-footer h3 {
  background: radial-gradient(circle at right, hsl(50,80%,64%) 0%, rgb(222,180,113) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-aladin);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.site-footer .footer-links a,
.site-footer .footer-links address {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: block;
  padding: 0.3rem 0;
  transition: color 0.2s;
  word-break: break-word;
  overflow-wrap: break-word;
  font-style: normal;
}
.site-footer .footer-links a:hover { color: #53c3b2; }
.site-footer .footer-bottom-bar {
  background: url('../images/Hero.76ffb7dc.png') center / cover;
  padding: 1rem 0;
  margin-top: 1rem;
}
.ftr-logo { width: 180px; max-width: 100%; }

/* ===== Modal ===== */
.modal-content { background: linear-gradient(180deg, #53c3b2 0%, #198574 100%); }
.modal-body { text-align: center; }
.modal-body input {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  margin: 0 0 14px;
  border-radius: 12px;
  font-size: 14px;
}
.modal-body input::placeholder,
.modal-body textarea::placeholder { color: rgba(255,255,255,0.7); opacity: 1; }
.modal-body input[type="submit"] {
  background: #fff;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 8px;
}
.modal-body textarea {
  width: 100%;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  margin: 0 0 14px;
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  resize: none;
  min-height: 90px;
}
.modal-body p { color: #fff; }
button.btn-close { filter: invert(1); }
.popup_form_wrp h3 {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: 1rem;
}
.popup_form_wrp input#form-checkbox { width: 18px; }
.popup_form_wrp .form-group.checkbox-group { color: #fff !important; text-align: left; padding-bottom: 10px; }

/* ===== Form elements ===== */
.form-check-input:checked { background-color: #000; border-color: #000; }
.form-group.checkbox-group { display: flex; align-items: flex-start; gap: 8px; padding-bottom: 10px; }
.form-group input#form-checkbox { width: 16px; height: 16px; margin-right: 6px; flex-shrink: 0; margin-top: 3px; }
form textarea { padding: 8px 12px; }
.g-recaptcha { padding-bottom: 10px; }

/* ===== Step-item (five step section) ===== */
.step-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.5rem 0; cursor: pointer;
  border: none; background: none; width: 100%; text-align: left;
}
.step-item .step-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-family: var(--font-aladin);
  font-size: 1.2rem; background: #fff; border: 2px solid #000; color: #000;
}
.step-item.active .step-num {
  background: linear-gradient(180deg, #6EC6CA, #3B8D99);
  color: #fff; border: none; transform: scale(1.1);
}

/* ===== Service cards ===== */
.service-card {
  background: #ebebeb; border-radius: 1rem;
  padding: 2rem 1.5rem; padding-top: 4rem;
  position: relative; min-height: 280px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card .card-icon {
  position: absolute; top: -50px; left: 50%;
  transform: translateX(-50%); width: 130px; height: 130px; z-index: 1;
}
.service-card h3 { font-family: var(--font-aladin); text-align: center; }

/* ===== Misc ===== */
.section-pad { padding: 80px 0; z-index: 1; }
.loader-container { position: fixed; inset: 0; z-index: 9999; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; }
.loader-container.hidden { display: none; }
.fixed-phone-btn {
  position: fixed; bottom: 1rem; left: 1rem; z-index: 1020;
  width: 50px; height: 50px; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #228f7e 0%, #4ab9a8 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25); text-decoration: none;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Carousel */
.book-slide img { border-radius: 0.5rem; object-fit: cover; width: 100%; max-height: 320px; }
.carousel-control-prev, .carousel-control-next {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(180deg, #6EC6CA, #3B8D99) !important;
  opacity: 1; top: 50%; transform: translateY(-50%);
}
.carousel-control-prev { left: -24px; }
.carousel-control-next { right: -24px; }
.carousel-indicators [data-bs-target] {
  width: 24px; height: 6px; border-radius: 6px;
  background: rgba(255,255,255,0.4); border: none;
}
.carousel-indicators .active { background: #fbb034 !important; width: 48px; }

/* Slick override */
ul.proc_slider.slick-initialized.slick-slider { padding: 0; }


/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */

/* ===== Large Desktop (>1400px): minor tweaks ===== */
@media (min-width: 1401px) {
  .hero-form-card { width: 72%; }
}

/* ===== Desktop (1025px – 1400px) ===== */
@media (max-width: 1400px) {
  .container-1520 { width: 94%; }
  .hero-form-card { width: 78%; }
  .banner_sec { width: 100%; }
  .proc_card  { width: 460px; }
  .pro_c_img  { height: 320px; }
  .genre-tabs .nav-link { font-size: 1.1rem; }
}

/* ===== Tablet Landscape (768px – 1024px) ===== */
@media (max-width: 1024px) {
  .container-1520 { width: 96%; }

  /* Hero */
  .hero-form-card { width: 88%; margin: 0 auto 2rem; }
  .banner_wrap::after { display: none; }
  .hero-banner .row { row-gap: 2rem; }
  .banner_sec { text-align: center; }

  /* Buttons */
  .btn-cta { font-size: 14px; padding: 8px 16px; gap: 0.5rem; }
  .btn-cta .icon-wrap { width: 2rem; height: 2rem; font-size: 16px; }
  .btn-cta { min-width: 110px; }

  /* Services slider */
  .process_slider_wrap { width: 100%; }
  .proc_card { width: 420px; }
  .pro_c_img { height: 290px; }

  /* Step section: 2x2 grid on tablet */
  .step_Sec .col-md-3 { flex: 0 0 50%; max-width: 50%; margin-bottom: 2rem; }
  .step_Sec .row::after { display: none; }

  /* Genre */
  .gen_content { text-align: center; }
  .gen_img { margin-top: 2rem; }
  .gen_img img { height: auto; }

  /* CTA */
  .cta { padding-bottom: 0; }
  .cta img.cta-book-img { position: relative; display: block; margin: 0 auto; max-width: 75%; width: auto; min-width: 0; bottom: auto; right: auto; }
}

/* ===== Tablet Portrait & Large Phones (576px – 767px) ===== */
@media (max-width: 767px) {
  :root { --header-h: 62px; }

  .container-1520 { width: 100%; padding: 0 16px; }
  .section-pad { padding: 56px 0; }

  /* Hero */
  .hero-banner { padding-top: calc(var(--disclaimer-h) + var(--header-h) + 2rem); }
  .hero-banner h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero-form-card { width: 100%; margin: 0 0 1.5rem; padding: 1.25rem; }
  .banner_sec { text-align: center; }
  .banner_wrap::after { display: none; }
  .trus_wrap { justify-content: center; }

  /* Services slider */
  .process_slider_wrap { width: 100%; }
  .proc_card { width: min(360px, calc(100vw - 48px)); }
  .pro_c_img { height: 270px; background-size: 100% 100%; }
  .pro_c_img img { width: 55%; }
  .pro_c_img a { width: 44px; height: 44px; }
  .pro_c_img a img { width: 12px; }

  /* Step section: single column */
  .step_Sec .col-md-3 { flex: 0 0 100%; max-width: 100%; }
  .step_Sec .row::after { width: 4px; height: 100%; top: 0; left: 0; right: 0; margin: 0 auto; }
  .pri_card { background: #f8f8f8; backdrop-filter: blur(2px); padding: 16px; margin-bottom: 1rem; border-radius: 16px; }

  /* Sections */
  .bg_21 { background: url('../images/bg_21.png') no-repeat center / cover; }
  .publish-dream-section::before,
  .publish-dream-section::after { display: none; }
  .publish-dream-section { background-size: cover; }

  /* CTA */
  .cta { background-size: cover; padding-bottom: 0; }
  .cta img.cta-book-img { position: relative; display: block; margin: 0 auto; max-width: 80%; width: auto; min-width: 0; bottom: auto; right: auto; }

  /* Genre */
  .genre-tabs { flex-wrap: wrap; gap: 4px; }
  .genre-tabs .nav-link { font-size: 15px; padding: 6px 12px; }
  .gen_content { text-align: center; }
  .gen_img { margin-top: 1.5rem; }
  .gen_img img { height: auto; }
  .gen_content h2, .gen_content h2 span { font-size: clamp(1.75rem, 7vw, 2.5rem); }

  /* Footer */
  .site-footer .footer-top .col-md-4 { text-align: center; margin-bottom: 1.5rem; }
  .ftr-logo { width: 150px; }
}

/* ===== Small Phones (≤575px) ===== */
@media (max-width: 575px) {
  :root { --header-h: 58px; }

  .section-pad { padding: 44px 0; }
  .fontsize-60px { font-size: 1.5rem; margin-bottom: 10px !important; }
  .hero-banner { padding-top: calc(var(--disclaimer-h) + var(--header-h) + 1.5rem); }
  .hero-banner h1 { font-size: clamp(1.4rem, 7vw, 1.9rem); }
  .hero-form-card { padding: 1rem; }
  .btn-cta { font-size: 12px; padding: 7px 12px; gap: 0.35rem; min-width: 0; }
  .btn-cta .icon-wrap { width: 1.75rem; height: 1.75rem; font-size: 14px; }
  .genre-tabs .nav-link { font-size: 13px; padding: 5px 8px; }
  .gen_content h2, .gen_content h2 span { font-size: 1.6rem; }
  .proc_card { width: calc(100vw - 40px); }
  .pro_c_img { height: 240px; }
  .trus_wrap { justify-content: center; }
  .trus_wrap img { width: 100px; }
  .cta img.cta-book-img { position: relative; display: block; margin: 0 auto; max-width: 90%; width: auto; min-width: 0; bottom: auto; right: auto; }
}

/* ===== Extra-small Phones (≤400px) ===== */
@media (max-width: 400px) {
  :root { --header-h: 54px; }
  .hero-banner h1 { font-size: 1.3rem; }
  .fontsize-60px  { font-size: 1.25rem; }
  .btn-cta        { font-size: 11px; padding: 6px 10px; }
  .btn-cta .icon-wrap { width: 1.5rem; height: 1.5rem; font-size: 13px; }
  .g-recaptcha    { transform: scale(0.82); transform-origin: left center; }
  .proc_card      { width: calc(100vw - 32px); }
}

/* ===== Genre section button row ===== */
.genre-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (max-width: 767px) {
  .genre-btn-row {
    justify-content: center;
  }
}

/* ===== Utility ===== */
.d-md-none-mobile { display: none !important; }
@media (min-width: 992px) { .d-lg-show { display: block !important; } }
