/* Marketing Page Styles */

:root {
  --primary-orange: #04044c;
  --text-white: #ffffff;
  --text-gray: #dddddd;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #0b0b0f;
  color: #fff;
}

/* Hero Section */
.marketing-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 100px; /* Give room for header */
  overflow: hidden;
}

.marketing-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111;
  background-image: url('../assets/images/MKT001046-Build-a-Smarter-2026-Budget-for-Your-PS-Firm_header-scaled.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

/* Adding a dark gradient overlay */
.marketing-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* Subtle Grid Lines Overlay */
.marketing-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 150px 150px;
  z-index: -1;
}

.marketing-hero__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}



/* Left Content */
.marketing-hero__content {
  flex: 1;
  max-width: 700px;
}

.marketing-hero__eyebrow {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.marketing-hero__title {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.marketing-hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 40px;
}



.btn-primary.marketing-hero__btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-orange);
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-primary.marketing-hero__btn:hover {
  background-color: #d95a1c;
}

.btn-primary.marketing-hero__btn .arrow {
  margin-left: 8px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-primary.marketing-hero__btn:hover .arrow {
  transform: translateX(4px);
}

/* Right Form Wrapper (Glassmorphism) */
.marketing-hero__form-wrapper {
  flex: 0 0 450px;
  width: 100%;
}



.marketing-form {
  background: rgba(255, 255, 255, 30%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.marketing-form__title {
  color: var(--primary-orange);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 30px;
}

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

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background-color: #f5f5f5;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #333;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group select:invalid {
  color: #888;
}

.form-group input::placeholder {
  color: #888;
}

.form-group input:focus,
.form-group select:focus {
  outline: 2px solid var(--primary-orange);
  background-color: #fff;
}

.btn-submit {
  display: inline-block;
  background-color: var(--primary-orange);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #d95a1c;
}

/* ==============================
   Partners Section
   ============================== */
.marketing-partners {
  background-color: #ffffff;
  padding: 100px 0;
  text-align: center;
}

.marketing-partners__title {
  color: var(--primary-orange);
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 60px;
}

.marketing-partners__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

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

.marketing-partners__track {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.marquee-dup {
  display: none;
}

.marketing-partners__row:not(:last-child) {
  border-bottom: 1px solid #eaeaeb;
}

.marketing-partners__logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
}

.marketing-partners__logo img {
  max-width: 160px;
  max-height: 160px;
  object-fit: contain;
}

/* ==============================
   Case Studies Section
   ============================== */
.marketing-case-studies {
  background-color: rgba(243,243,255,.94);
  padding: 100px 0;
  position: relative;
  color: #333;
}

/* Vertical Grid Lines Overlay */
.marketing-case-studies::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 100px 100%;
  z-index: 0;
  pointer-events: none;
}

.marketing-case-studies__container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.marketing-case-studies__eyebrow {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.marketing-case-studies__title {
  color: var(--primary-orange);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.marketing-case-studies__subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 50px;
}

/* Swiper */
.marketing-swiper {
  padding-bottom: 20px;
}

/* Case Card */
.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.case-card__top {
  background-color: #fff;
  padding: 30px;
  flex: 1;
}

.case-card__tag {
  display: inline-block;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 20px;
}

.case-card__title {
  color: var(--primary-orange);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 30px;
  min-height: 3.6rem;
}

.case-card__desc {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.4;
}

.case-card__divider {
  height: 1px;
  background-color: #d0d0d0;
  margin: 15px 0;
}

.case-card__bottom {
  padding: 0;
  display: flex;
}

.case-card__bottom img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  display: block;
}

.case-card__btn {
  background-color: var(--primary-orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.3s;
}

.case-card__btn:hover {
  background-color: #d95a1c;
}

/* ==============================
   How We Work Section
   ============================== */
.marketing-process {
  background-color: #f9f9f9;
  padding: 120px 0;
  position: relative;
  color: #333;
  overflow: hidden;
}

/* Grid Overlay (Horizontal & Vertical lines) */
.marketing-process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 150px 150px;
  z-index: 0;
  pointer-events: none;
}

.marketing-process__container {
  display: flex;
  gap: 80px;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.marketing-process__left {
  flex: 0 0 350px;
  position: sticky;
  /* top: 120px; */
  align-self: flex-start;
}

.marketing-process__title {
  font-size: 4rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.marketing-process__desc {
  font-size: 1.125rem;
  color: #555;
  line-height: 1.6;
}

.marketing-process__right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.process-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.process-item:first-child {
  padding-top: 0;
}

/* The animated hover border */
.process-item::after {
  content: "";
  position: absolute;
  bottom: -1px; /* Align with border-bottom */
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.process-item:hover::after {
  transform: scaleX(1);
}

.process-item__num {
  color: var(--primary-orange);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.process-item__content {
  margin-top: 5px;
}

.process-item__title {
  font-size: 2.5rem;
  color: var(--primary-orange);
  font-weight: 400;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.process-item__text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
  max-width: 600px;
}

/* ==============================
   Video Slider Section
   ============================== */
.marketing-video-slider {
  background-color: #ffffff;
  padding: 120px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Faint Grid lines */
.marketing-video-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  z-index: 0;
  pointer-events: none;
}

.marketing-video-slider__container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.marketing-video-slider__title {
  color: var(--primary-orange);
  font-size: 3.5rem;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.2;
}

.marketing-video-slider__subtitle {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 60px;
}

.video-swiper {
  padding-bottom: 20px;
}

.video-card {
  background-color: #d9d9d9;
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

/* ==============================
   CTA Section
   ============================== */
.marketing-cta {
  background-color: var(--primary-orange);
  padding: 80px 0;
}

.marketing-cta__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.marketing-cta__title {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.marketing-cta__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  color: var(--primary-orange);
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-white .arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-white:hover .arrow {
  transform: translateX(4px);
}

/* ==============================
   FAQ Section
   ============================== */
.marketing-faq {
  background-color: #f2f2f2;
  padding: 120px 0;
}

.marketing-faq__container {
  display: flex;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.marketing-faq__left {
  flex: 0 0 400px;
}

.marketing-faq__title {
  font-size: 4rem;
  font-weight: 500;
  color: #111;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.marketing-faq__desc {
  font-size: 1.125rem;
  color: #666;
  line-height: 1.6;
}

.marketing-faq__right {
  flex: 1;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid #dcdcdc;
}

.faq-item:first-child {
  border-top: 1px solid #dcdcdc;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 25px 0;
  cursor: pointer;
  text-align: left;
}

.faq-item__title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #111;
  padding-right: 20px;
}

.faq-item__icon {
  font-size: 1.5rem;
  color: #111;
  transition: transform 0.3s ease;
  font-weight: 300;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__content p {
  padding-bottom: 25px;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==============================
   Modal Styles
   ============================== */
.cn-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cn-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cn-modal-dialog {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: #fff;
  border-radius: 12px;
  z-index: 10000;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.cn-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.cn-modal-close:hover {
  color: #111;
}

.cn-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.cn-modal.is-open .cn-modal-dialog {
  transform: translateY(0);
}

/* .modal-form-wrapper {
  padding: 40px;
} */

.modal-form-wrapper .marketing-form__title {
  color: #111;
  margin-bottom: 25px;
  text-align: center;
}

.modal-form-wrapper .form-group input,
.modal-form-wrapper .form-group select {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  color: #333;
}

.modal-form-wrapper .form-group input:focus,
.modal-form-wrapper .form-group select:focus {
  border-color: var(--primary-orange);
  background-color: #fff;
}

/* ==============================
   Responsive Styles
   ============================== */

@media (max-width: 991px) {
  .marketing-hero__container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .marketing-hero__content {
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .marketing-hero__form-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }
  
  .marketing-partners__track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .marketing-partners__logo {
    flex: 0 0 30%;
  }
  
  .marketing-process__container {
    flex-direction: column;
    gap: 40px;
  }
  
  .marketing-process__left {
    flex: 0 0 auto;
    position: relative;
    top: 0;
  }
  
  .marketing-cta__container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .marketing-faq__container {
    flex-direction: column;
    gap: 40px;
  }
  
  .marketing-faq__left {
    flex: 0 0 auto;
  }
}

@media (max-width: 768px) {
  .marketing-hero {
    padding: 120px 0 60px;
  }
  
  .marketing-hero__title {
    font-size: 2.8rem;
    margin-bottom: 20px;
  }
  
  .marketing-hero__eyebrow,
  .marketing-hero__subtitle {
    font-size: 1rem;
  }
  
  .marketing-form {
    padding: 30px 25px;
  }
  
  .marketing-form__title {
    font-size: 1.3rem;
  }
  
  .btn-submit {
    width: 100%;
  }
  
  .marketing-partners {
    padding: 80px 0;
  }
  
  .marketing-partners__title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .marketing-partners__grid {
    overflow: hidden;
  }

  .marketing-partners__row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 20px 0;
    gap: 0;
  }
  
  .marketing-partners__track {
    flex-wrap: nowrap;
    width: max-content;
    flex: 0 0 auto;
    gap: 0;
    animation: marqueeScroll 20s linear infinite;
  }

  .marquee-dup {
    display: flex;
  }
  
  .marketing-partners__logo {
    flex: 0 0 auto;
    width: 160px;
    padding: 0 20px;
  }
  
  .marketing-case-studies {
    padding: 80px 0;
  }
  
  .marketing-case-studies__title {
    font-size: 2.2rem;
  }
  
  .marketing-process {
    padding: 80px 0;
  }
  
  .marketing-process__title {
    font-size: 3rem;
  }
  
  .process-item__title {
    font-size: 2rem;
  }
  
  .marketing-video-slider {
    padding: 80px 0;
  }
  
  .marketing-video-slider__title {
    font-size: 2.5rem;
  }
  
  .marketing-cta__title {
    font-size: 3rem;
  }
  
  .marketing-faq {
    padding: 80px 0;
  }
  
  .marketing-faq__title {
    font-size: 3.5rem;
  }
}

@media (max-width: 576px) {
  .marketing-hero {
    padding: 150px 0 50px;
  }
  
  .marketing-hero__title {
    font-size: 2.2rem;
  }
  
  .marketing-form {
    padding: 25px 15px;
  }
  
  .btn-primary.marketing-hero__btn {
    width: 100%;
    justify-content: center;
  }
  
  .marketing-partners__title {
    font-size: 1.8rem;
  }
  
  /* Removed .marketing-partners__logo 100% width since it is now a marquee */
  
  .marketing-case-studies {
    padding: 60px 0;
  }
  
  .marketing-case-studies__title {
    font-size: 1.8rem;
  }
  
  .marketing-case-studies__subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .marketing-process {
    padding: 60px 0;
  }
  
  .marketing-process__title {
    font-size: 2.5rem;
  }
  
  .process-item__title {
    font-size: 1.6rem;
  }
  
  .marketing-video-slider {
    padding: 60px 0;
  }
  
  .marketing-video-slider__title {
    font-size: 2rem;
  }
  
  .marketing-video-slider__subtitle {
    margin-bottom: 40px;
  }
  
  .marketing-cta__title {
    font-size: 2.5rem;
  }
  
  .marketing-cta__subtitle {
    font-size: 1rem;
  }
  
  .marketing-faq {
    padding: 60px 0;
  }
  
  .marketing-faq__title {
    font-size: 2.8rem;
  }
  
  .faq-item__title {
    font-size: 1.1rem;
  }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
