/*
Theme Name: SOP-Nepal
Theme URI: https://sop-nepal.com/
Author: SOP-Nepal
Description: Custom theme for SOP-Nepal (content & copywriting services).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sop-nepal
*/

:root {
  --ink: #2a1111;
  --navy: #ff3232;
  --teal: #ff4b4b;
  --mint: #ffe0e0;
  --gold: #ff5a5a;
  --sand: #fff1f1;
  --clay: #ffdede;
  --rose: #ffe5e5;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(42, 17, 17, 0.16);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 45%, #ffecec 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  line-height: 1.7;
  color: #3b4b5b;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 50px 0;
}

.section--tight {
  padding: 70px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 12px;
  color: var(--teal);
}

.display {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin: 12px 0 18px;
}

.subhead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #3b4b5b;
  max-width: 560px;
}
.subhead.full {
  max-width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: transparent;
}

.btn--whatsapp {
  background: var(--white);
  color: #ff3232;
  border: 1px solid rgba(255, 50, 50, 0.5);
  box-shadow: 0 12px 26px rgba(42, 17, 17, 0.18);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  color: #111111;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #111111;
  font-weight: 600;
}

.nav__toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 36px;
  padding: 0;
  justify-content: center;
  gap: 6px;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ff3232;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__close {
  display: none;
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}

.nav__close span {
  position: absolute;
  top: 19px;
  left: 9px;
  width: 22px;
  height: 2px;
  background: #ff3232;
  border-radius: 999px;
}

.nav__close span:first-child {
  transform: rotate(45deg);
}

.nav__close span:last-child {
  transform: rotate(-45deg);
}

.hero {
  padding: 70px 0 140px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ff3232 0%, #ff5a5a 100%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -60px;
  height: 140px;
  background: #ffecec;
  transform: skewY(-2deg);
  z-index: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(14, 37, 60, 0.06);
  color: var(--ink);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tag {
  background: var(--clay);
  color: #7b2b2b;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.hero__image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 18px;
}

.hero__image img {
  border-radius: 24px;
}

.hero .display,
.hero .eyebrow,
.hero .subhead {
  color: var(--white);
}

.hero .subhead {
  opacity: 0.88;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  align-items: center;
  opacity: 0.7;
}

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

.card {
  background: var(--white);
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(14, 37, 60, 0.08);
  box-shadow: 0 10px 30px rgba(14, 37, 60, 0.08);
}

.card h3 {
  margin: 0 0 10px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.panel {
  background: var(--navy);
  color: var(--white);
  padding: 48px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  min-height: 260px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 24px;
  align-items: start;
}

.stats-grid--compact {
  gap: 16px;
}

.stat-card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 36px rgba(42, 17, 17, 0.12);
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  min-height: 150px;
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 50, 50, 0.12);
  color: #ff3232;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: #1f1f1f;
}

.stat-label {
  color: #3a3a3a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.panel p {
  color: rgba(255, 255, 255, 0.75);
}

.list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.list li span {
  background: var(--gold);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 2px solid #ff3232;
  border-radius: 10px;
  background: #f6f1f1;
  color: #ff3232;
  font-weight: 600;
  justify-content: center;
}

.country-pill img {
  width: 26px;
  height: 18px;
  border-radius: 2px;
  object-fit: cover;
}

.testimonials-section {
  background: linear-gradient(135deg, #ff3232 0%, #ff5a5a 100%);
  color: var(--white);
}

.testimonials {
  padding: 40px 0;
}

.testimonials .eyebrow,
.testimonials .display {
  color: var(--white);
}

.testimonial-carousel {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  --per-view: 3;
  display: flex;
  gap: 18px;
  transition: transform 0.4s ease;
}

.testimonial-slide {
  flex: 0 0 calc((100% - (18px * (var(--per-view) - 1))) / var(--per-view));
  background: var(--white);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 26px rgba(42, 17, 17, 0.18);
  color: #2b1b1b;
}

.testimonial-text {
  font-size: 1rem;
  color: #3d2b2b;
  margin: 0 0 14px;
}

.testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  color: #2b1b1b;
}

.testimonial-rating {
  color: #ff3232;
  letter-spacing: 2px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 1000px) {
  .testimonial-track {
    --per-view: 2;
  }
}

@media (max-width: 700px) {
  .testimonial-carousel {
    grid-template-columns: 1fr auto auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
  }

  .carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--white);
    color: #ff3232;
    border: 1px solid rgba(255, 50, 50, 0.35);
    box-shadow: 0 10px 24px rgba(42, 17, 17, 0.18);
  }

  .testimonial-track {
    --per-view: 1;
  }

  .testimonial-viewport {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .carousel-btn[data-carousel-prev] {
    grid-column: 2;
    grid-row: 2;
  }

  .carousel-btn[data-carousel-next] {
    grid-column: 3;
    grid-row: 2;
  }
}

@media (max-width: 900px) {
  .cta .split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
    align-items: start;
  }

  .cta .btn--primary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    margin: 12px 0 0;
    text-align: center;
    font-size: 0.98rem;
    padding: 14px 18px;
  }

  .cta .btn--primary .btn__icon {
    width: 16px;
    height: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .stat-card {
    min-height: 130px;
    padding: 20px;
  }

  .stat-value {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .cta .split > div:first-child {
    order: 1;
  }

  .cta .split > div:last-child {
    order: 2;
  }
}

.cta {
  background: linear-gradient(rgba(15, 15, 16, 0.85), rgba(15, 15, 16, 0.85)),
    url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color: var(--white);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.cta .split {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 60px;
  align-items: center;
}

.cta .display {
  max-width: 560px;
}

.cta .subhead {
  max-width: 520px;
}

.cta .btn--primary {
  justify-content: center;
  padding: 14px 30px;
}

.custom-logo-link img {
  height: 50px;
  width: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.cta .display {
  color: var(--white);
}

.cta .subhead {
  color: rgba(255, 255, 255, 0.7);
}

.cta .btn--primary {
  background: var(--white);
  color: #ff3232;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 18px 36px rgba(42, 17, 17, 0.25);
}

.cta .btn--primary:hover {
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .cta .split {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .cta .display,
  .cta .subhead {
    max-width: 100%;
  }

  .cta .btn--primary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .cta {
    padding: 70px 0;
  }
}

.footer {
  background: linear-gradient(180deg, #ff3232 0%, #e12b2b 100%);
  color: var(--white);
  padding: 20px 0 40px;
  position: relative;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer h4 {
  margin-top: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-top: 60px;
}

.footer__grid p {
  color: rgba(255, 255, 255, 0.82);
}

.footer__bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}
.footer__bottom p {
  color: #ffffff;
}

.footer .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer .menu a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}


.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: #ff3232;
  font-weight: 700;
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 720px) {
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(14, 37, 60, 0.2);
  font-family: inherit;
}

.form button {
  justify-content: center;
  cursor: pointer;
}

.wpcf7 .form input,
.wpcf7 .form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(14, 37, 60, 0.2);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 20px;
}

.wpcf7 .form textarea {
  min-height: 140px;
}

.wpcf7 .form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 26px;
  border: none;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0;
}

.wpcf7 .wpcf7-response-output {
  margin: 12px 0 0;
}

.blog-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(14, 37, 60, 0.1);
  background: var(--white);
}

.blog-card__meta {
  font-size: 0.85rem;
  color: #6c7a86;
  margin: 0;
  line-height: 1.2;
}

.blog-card h3 {
  margin: 4px 0 6px;
  line-height: 1.2;
}

.blog-card p {
  margin: 0;
  line-height: 1.55;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.single-content {
  background: transparent;
  padding: 0;
}

.single-sidebar {
  position: sticky;
  top: 110px;
  background: transparent;
  padding: 0;
  border-radius: 18px;
}

.recent-posts {
  display: grid;
  gap: 12px;
}

.recent-post {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff5f5;
  border: 1px solid rgba(255, 50, 50, 0.2);
}

.recent-post:hover {
  border-color: rgba(255, 50, 50, 0.5);
}

@media (max-width: 900px) {
  .single-layout {
    grid-template-columns: 1fr;
  }

  .single-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    background: var(--white);
    padding: 96px 24px 24px;
    border-radius: 0;
    box-shadow: none;
    display: none;
    gap: 22px;
    align-items: center;
    justify-content: center;
    z-index: 150;
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .nav a {
    color: #ff3232;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
	
	
  .nav__toggle {
		display: flex;
  		flex-direction: column;
	}
  .hero {
    padding-top: 40px;
  }

  .section {
    padding: 28px 0;
  }
  .section.nopadding {
    padding: 0;
  }

  .footer__grid {
    margin-top: 20px;
  }


  .testimonials {
    padding: 28px 0;
  }

  .section--tight {
    padding: 36px 0;
  }
}
