/* --- Add this block --- */
html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Extralight.woff2") format("woff2"),
    url("../fonts/GeneralSans-Extralight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* ExtraLight Italic */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-ExtralightItalic.woff2") format("woff2"),
    url("../fonts/GeneralSans-ExtralightItalic.woff") format("woff");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

/* Light */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Light.woff2") format("woff2"),
    url("../fonts/GeneralSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Light Italic */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-LightItalic.woff2") format("woff2"),
    url("../fonts/GeneralSans-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Regular */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Regular.woff2") format("woff2"),
    url("../fonts/GeneralSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Italic */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Italic.woff2") format("woff2"),
    url("../fonts/GeneralSans-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Medium.woff2") format("woff2"),
    url("../fonts/GeneralSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Medium Italic */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-MediumItalic.woff2") format("woff2"),
    url("../fonts/GeneralSans-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Semibold.woff2") format("woff2"),
    url("../fonts/GeneralSans-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* SemiBold Italic */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-SemiboldItalic.woff2") format("woff2"),
    url("../fonts/GeneralSans-SemiboldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-Bold.woff2") format("woff2"),
    url("../fonts/GeneralSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Bold Italic */
@font-face {
  font-family: "General Sans";
  src: url("../fonts/GeneralSans-BoldItalic.woff2") format("woff2"),
    url("../fonts/GeneralSans-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

body {
  font-family: "General Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "General Sans", sans-serif;
  font-weight: 700;
}

.font-bold {
  font-weight: 600 !important;
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
}

/* CTA CSS */

.bg_img {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/imgs/d2c-growth.png");
  background-position: 100% 20%;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Spinner */
.sr-container {
  text-align: center;
  color: #1f2937;
  max-width: 800px;
  padding: 30px;
}

.sr-h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: #06b6d4;
  font-weight: 700;
}

.sr-subtitle {
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: #4b5563;
}

.sr-btn {
  background: #06b6d4;
  color: white;
  border: none;
  padding: 18px 45px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(6, 182, 212, 0.2);
  transition: all 0.3s ease;
}

.sr-btn:hover {
  background: #03a7c1;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(6, 182, 212, 0.3);
}

.sr-btn:active {
  transform: translateY(0);
}

/* Popup Styles */
.sr-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.sr-popup.active {
  opacity: 1;
  visibility: visible;
}

.sr-popup-content {
  background: white;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.8);
  transition: transform 0.4s ease;
}

.sr-popup.active .sr-popup-content {
  transform: scale(1);
}

.sr-popup-body {
  padding: 25px;
}

.sr-form-intro {
  text-align: center;
  margin-bottom: 20px;
}

.sr-form-intro h2 {
  font-size: 1.5rem;
  color: #06b6d4;
  margin-bottom: 8px;
  font-weight: 600;
}

.sr-form-intro p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.5;
}

.sr-form-grid {
  margin-bottom: 20px;
}

.sr-form-group {
  margin-bottom: 15px;
}

.sr-form-group.full-width {
  grid-column: span 2;
}

.sr-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #1f2937;
  font-size: 0.95rem;
}

.sr-form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border 0.3s;
  background-color: #f9fafb;
}

.sr-form-control:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

textarea.sr-form-control {
  min-height: 100px;
  resize: vertical;
}

/* .sr-popup-footer {
  padding: 15px 25px;
  background: #f9fafb;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
} */

.sr-btn-submit {
  background: #06b6d4;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  width: 100%;
}

.sr-btn-submit:hover {
  background: #03a7c1;
}

.sr-btn-submit:disabled {
  background: #93c5fd;
  cursor: not-allowed;
}

.sr-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #4b5563;
  transition: all 0.3s;
  background: #e5e7eb;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sr-close-btn:hover {
  background: #d1d5db;
  transform: rotate(90deg);
}

/* Custom close icon using CSS */
.sr-close-btn::before {
  content: "×";
  font-size: 20px;
  line-height: 1;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .sr-form-grid {
    grid-template-columns: 1fr;
  }

  .sr-form-group.full-width {
    grid-column: span 1;
  }

  .sr-h1 {
    font-size: 2.5rem;
  }

  .sr-subtitle {
    font-size: 1.1rem;
  }

  .sr-btn {
    padding: 15px 30px;
    font-size: 1rem;
  }

  .sr-popup-content {
    max-width: 95%;
    width: 95%;
  }

  .sr-popup-body {
    padding: 20px;
  }
}
