/* =========================================================
   1. GLOBAL
========================================================= */
:root {
  --color-primary: #005fff;
  --color-secondary: #ff5900;
  --color-black: #000000;
  --color-paragraph: #828282;
  --color-hero-bg: #ddebff;
  --color-cta-bg: #3c83fb;
  --color-card-bg: #ffffff;
  --color-border: #eeeeee;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  --font-primary: "Poppins", sans-serif;

  --section-gap: 60px;
  --card-padding: 24px;
  --heading-para-gap: 20px;
  --card-gap: 24px;
  --icon-text-gap: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
}

.cstm-row {
  flex-wrap: nowrap;
}

.guidance-section,
.office-section,
.social-section {
  margin-top: var(--section-gap);
  margin-bottom: var(--section-gap);
}

@media (max-width: 767.98px) {
  .guidance-section,
  .office-section,
  .social-section {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .cstm-row {
    flex-wrap: wrap;
  }
}

/* =========================================================
   2. TYPOGRAPHY
========================================================= */
.eyebrow-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-heading {
  position: relative;
  font-size: 52px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-black);
  padding-left: 24px;
  margin-bottom: var(--heading-para-gap);
}

.hero-paragraph {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-black);
  max-width: 520px;
  margin-bottom: 32px;
}

.section-h1 {
  font-size: 40px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-black);
  margin-bottom: var(--heading-para-gap);
}

.section-subtext {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-black);
  max-width: 1090px;
}

.card-h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  color: var(--color-black);
  margin-bottom: var(--heading-para-gap);
}

.card-paragraph {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-paragraph);
}

.stat-number {
  font-size: 32px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-label {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-black);
}

.app-modal-dialog {
  max-width: 480px;
}

.app-modal-content {
  border: none;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 18%,
    #bfd6ff 78%,
    #7fa8ff 100%
  );
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.app-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #000000;
  padding: 4px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.app-modal-close:hover {
  opacity: 0.6;
  transform: scale(1.05);
}

.app-modal-body {
  padding: 40px 40px 36px;
  text-align: center;
}

.app-modal-logo {
  margin-bottom: 28px;
}

.app-modal-logo img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.app-modal-heading {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: #000000;
  margin-bottom: 32px;
}

.app-steps-list {
  margin: 0 0 36px;
  counter-reset: step;
}

.app-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  margin-bottom: 24px;
}

.app-step-item:last-child {
  margin-bottom: 0;
}

.app-step-number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #0b3fd6;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin-top: 2px;
}

.app-step-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #000000;
  margin-bottom: 4px;
}

.app-step-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #5b5b5b;
  margin-bottom: 0;
}

.app-store-badges {
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.app-store-badge-link {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s ease;
}

.app-store-badge-link:hover {
  transform: translateY(-2px);
}

.app-store-badge-link img {
  height: 44px;
  width: auto;
}

.blue-link {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--color-primary);
}

.blue-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.cta-heading {
  font-size: 32px;
  font-weight: 500;
  line-height: normal;
  color: #000;
  max-width: 900px;
  margin: 0 auto var(--heading-para-gap);
}

.cta-paragraph {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #000;
  max-width: 720px;
  margin: 0 auto 32px;
}

/* =========================================================
   3. BUTTONS
========================================================= */
.btn-primary-custom {
  display: inline-block;
  background-color: var(--color-secondary);
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  color: #ffffff;
  background-color: #e04f00;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(180, 70, 0, 0.35);
}

/* =========================================================
   4. HERO
========================================================= */
.hero-section {
  position: relative;
  background-image: url("https://www.fastinfoclass.com/images/contact-us/hero-banner.webp");
  overflow: hidden;
  padding-top: 4px;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-decor {
  position: absolute;
  pointer-events: none;
}

.hero-dots-top {
  top: 24px;
  left: 0;
  width: 130px;
  opacity: 0.55;
}

.hero-dots-bottom {
  bottom: 24px;
  right: 0;
  width: 130px;
  opacity: 0.55;
}

.hero-wave {
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.heading-accent-bar {
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  background-color: var(--color-primary);
  border-radius: 4px;
}

.hero-stats {
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-star-icon {
  width: 22px;
  height: 22px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background-color: rgba(0, 0, 0, 0.15);
}

.ambassador-card-text {
  font-size: 12px;
  color: var(--color-paragraph);
  margin-bottom: 2px;
}

.ambassador-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}

.ambassador-card-subtext {
  font-size: 12px;
  color: var(--color-paragraph);
  margin-bottom: 8px;
}

.ambassador-card-logo {
  height: 22px;
  width: auto;
}

/* =========================================================
   5. CONTACT / GUIDANCE FEATURES
========================================================= */
.guidance-section .section-heading-wrap {
  margin-bottom: 48px;
  text-align: center;
}

.guidance-section .section-subtext {
  margin-left: auto;
  margin-right: auto;
}

.feature-row {
  margin-top: 24px;
}

.feature-item {
  padding: 0 16px;
  margin-bottom: 32px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--icon-text-gap);
  color: var(--color-primary);
  font-size: 28px;
}

.feature-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-black);
  max-width: 220px;
  margin: 0 auto;
}

/* =========================================================
   6. OFFICE CARDS
========================================================= */
.office-section .row {
  row-gap: var(--card-gap);
}

.office-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--card-shadow);
  padding: var(--card-padding);
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.office-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
}

.office-details-list {
  margin: 0;
}

.office-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-black);
}

.office-detail-item:last-child {
  margin-bottom: 0;
}

.office-detail-item a {
  color: var(--color-black);
}

.office-icon {
  flex-shrink: 0;
  margin-top: 3px;
}

/* =========================================================
   7. CORPORATE SECTION
========================================================= */
.corporate-section {
  background-color: #f2f2f2;
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

@media (max-width: 767.98px) {
  .corporate-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.corporate-col {
  padding: 24px 16px;
  max-width: 600px;
  margin: 0 auto;
}

.corporate-vertical-divider {
  width: 1px;
  height: 220px;
  background-color: rgba(0, 0, 0, 0.15);
}

.corporate-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 20px;
}

.corporate-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--color-paragraph);
  margin-top: 16px;
  margin-bottom: 0;
}

/* =========================================================
   8. SOCIAL MEDIA
========================================================= */
.social-section .section-h1 {
  margin-bottom: 32px;
}

.social-buttons {
  gap: 20px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-card-bg);
  border-radius: 50px;
  padding: 14px 32px;
  box-shadow: var(--card-shadow);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.social-pill:hover {
  color: var(--color-black);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.social-pill img {
  width: 20px;
  height: 20px;
}

/* =========================================================
   9. GOOGLE MAP
========================================================= */
.map-wrapper {
  width: 100%;
  line-height: 0;
}

.map-wrapper iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}
.modal {
  z-index: 999999999999 !important;
}

@media (max-width: 767.98px) {
  .map-wrapper iframe {
    height: 320px;
  }
}

/* =========================================================
   10. CTA
========================================================= */
.cta-section {
  position: relative;
  background-image: url(https://www.fastinfoclass.com/images/contact-us/cta.webp);
  padding: 80px 0;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 767.98px) {
  .cta-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.trusted-row {
  margin-top: 32px;
  gap: 14px;
}

.trusted-avatars {
  width: auto;
}

.trusted-text {
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

/* =========================================================
   11. RESPONSIVE MEDIA QUERIES
========================================================= */

/* 1400px */
@media (max-width: 1400px) {
  .container {
    max-width: 1260px;
  }
}

/* 1200px */
@media (max-width: 1199.98px) {
  .container {
    max-width: 1000px;
  }
  .hero-heading {
    font-size: 46px;
  }
  .cta-heading {
    font-size: 42px;
  }
}

/* 992px */
@media (max-width: 991.98px) {
  .hero-heading {
    font-size: 38px;
    padding-left: 20px;
  }
  .hero-paragraph {
    max-width: 100%;
  }
  .section-h1 {
    font-size: 34px;
  }
  .cta-heading {
    font-size: 36px;
  }
  .hero-visual {
    max-width: 380px;
    margin-top: 40px;
  }
  .corporate-vertical-divider {
    height: 180px;
  }
  .hero-section {
    padding-top: 60px;
  }
}

/* 768px */
@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 60px;
    background-image: url(https://www.fastinfoclass.com/images/contact-us/mobile-bg.webp);
  }
  .hero-heading {
    font-size: 32px;
    padding-left: 16px;
  }
  .hero-paragraph {
    font-size: 16px;
    line-height: 26px;
  }
  .stat-number {
    font-size: 26px;
  }
  .stat-label {
    font-size: 16px;
  }
  .section-h1 {
    font-size: 28px;
  }
  .card-h2 {
    font-size: 20px;
  }
  .blue-link {
    font-size: 20px;
  }
  .office-card {
    padding: 24px;
  }
  .corporate-col {
    max-width: 100%;
    padding: 24px 8px;
  }
  .cta-heading {
    font-size: 30px;
  }
  .cta-paragraph {
    font-size: 16px;
  }
  .hero-visual {
    max-width: 320px;
    margin-top: 32px;
  }
  .ambassador-card-name {
    font-size: 14px;
  }
  .social-pill {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* 576px */
@media (max-width: 575.98px) {
  .hero-heading {
    font-size: 26px;
  }
  .hero-stats {
    gap: 16px;
  }
  .feature-item {
    padding: 0 8px;
  }
  .office-detail-item {
    font-size: 15px;
  }
  .social-buttons {
    gap: 12px;
  }
  .social-pill {
    padding: 10px 20px;
    font-size: 14px;
  }
  .cta-heading {
    font-size: 24px;
  }
  .trusted-row {
    flex-direction: column;
    gap: 8px;
  }
  .app-modal-dialog {
    max-width: 92%;
    margin: 1.75rem auto;
  }
  .app-modal-body {
    padding: 32px 24px 28px;
  }
  .app-modal-heading {
    font-size: 22px;
    line-height: 30px;
  }
  .app-store-badges {
    gap: 12px;
  }
  .app-store-badge-link img {
    height: 40px;
  }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

#appDownloadModal {
  background: rgba(0, 0, 0, 0.6);
}
.about_page_from_text_section {
  padding-top: 60px;
}

.about_page_from_text_section_left {
  background: #f9f9f9;
  padding: 35px;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.about_callback_title {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
}

.about_input {
  height: 48px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  box-shadow: none !important;
  font-size: 16px;
  color: #555;
  padding: 10px 18px;
}

.about_input:focus {
  border-color: #25264d;
}

.about_textarea {
  min-height: 150px;
  border-radius: 12px;
  border: 1px solid #d8d8d8;
  resize: none;
  padding: 18px;
  font-size: 16px;
  box-shadow: none !important;
}

.about_textarea:focus {
  border-color: #25264d;
}

.about_submit_btn {
  height: 48px;
  background: #282a43;
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}
.about_page_from_text_section_right h2 {
  color: #000000;
  font-size: 32px;
  font-weight: 600;
}

.about_submit_btn:hover {
  background: #1e1f3d;
  color: #fff;
}

.about_page_from_text_section_right {
  color: #fff;
  padding-left: 20px;
}
.about_icon_box_flex {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}
.about_right_text {
  font-size: 16px;
  line-height: 24px;
  color: #373737;
  margin-bottom: 30px;
  margin-top: 16px;
}

.about_icon {
  width: 85px;
  height: 85px;
  margin: 0 auto 20px;
  background: #1155ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about_icon i {
  font-size: 38px;
  color: #fff;
}

.about_icon_box h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.about_icon_box p {
  color: #000000;
  font-size: 16px;
  margin-top: 20px;
}
.about_icon_box p span {
  display: block;
}
/*=========================
Large Device
==========================*/

@media (max-width: 1199px) {
  .about_callback_title {
    font-size: 34px;
  }

  .about_right_text {
    font-size: 18px;
  }

  .about_input,
  .about_submit_btn {
    height: 55px;
  }
}

/*=========================
Tablet
==========================*/

@media (max-width: 991px) {
  .about_page_from_text_section_right {
    text-align: center;
    margin-top: 40px;
    padding-left: 0;
  }

  .about_callback_title {
    text-align: center;
  }

  .about_right_text {
    margin-top: 25px;
  }
}

/*=========================
Mobile
==========================*/

@media (max-width: 767px) {
  .about_icon_box_flex {
    grid-template-columns: 1fr;
  }
  .about_page_from_text_section_right h2 {
    font-size: 24px;
  }
  .about_icon_box_flex {
    flex-direction: column;
  }
  .about_page_from_text_section_left {
    padding: 25px;
  }

  .about_callback_title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .about_input {
    height: 50px;
    font-size: 16px;
  }

  .about_textarea {
    min-height: 120px;
    font-size: 16px;
  }

  .about_submit_btn {
    height: 50px;
    font-size: 18px;
  }

  .about_right_text {
    font-size: 16px;
    line-height: 1.8;
  }

  .about_icon {
    width: 70px;
    height: 70px;
  }

  .about_icon i {
    font-size: 28px;
  }

  .about_icon_box {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
}
