/*
-------------------------------------------------------
Smart Property Solutions Ltd
Author : WannaStation
Version : 1.0
-------------------------------------------------------
*/

:root {
  --primary: #0e2f5a;
  --secondary: #163a72;
  --accent: #e30613;

  --dark: #1a2433;
  --text: #5b6575;

  --light: #f5f8fc;
  --white: #ffffff;

  --border: #e8edf3;

  --radius: 16px;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  --transition: 0.3s ease;
}

/*--------------------------------------------------*/

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;

  font-size: 16px;

  line-height: 1.8;

  color: var(--text);

  background: #fff;

  overflow-x: hidden;
}

img {
  max-width: 100%;

  height: auto;
}

a {
  text-decoration: none;

  transition: var(--transition);
}

section {
  padding: 110px 0;
}

.container {
  max-width: 1200px;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Poppins", sans-serif;

  color: var(--dark);

  font-weight: 700;

  line-height: 1.2;
}

h1 {
  font-size: 58px;
}

h2 {
  font-size: 42px;

  margin-bottom: 20px;
}

h3 {
  font-size: 28px;
}

p {
  margin-bottom: 20px;
}

/*--------------------------------------------------*/
/* NAVBAR */
/*--------------------------------------------------*/

#mainNavbar {
  padding: 18px 0;

  transition: 0.35s;

  background: transparent;

  z-index: 9999;
}

#mainNavbar.scrolled {
  background: #ffffff;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  padding: 12px 0;
}

.logo {
  height: 68px;

  transition: 0.3s;
}

.logo-dark {
  display: none;
}

#mainNavbar.scrolled .logo-white {
  display: none;
}

#mainNavbar.scrolled .logo-dark {
  display: block;
}
/* ------------------------------
   Navigation
------------------------------ */

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);

  font-weight: 600;

  padding: 12px 18px;

  margin-left: 18px;

  position: relative;

  transition: 0.3s;
}

.navbar-nav .nav-link::after {
  content: "";

  position: absolute;

  left: 18px;

  right: 18px;

  bottom: 6px;

  height: 2px;

  background: var(--accent);

  transform: scaleX(0);

  transform-origin: left;

  transition: 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #fff;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* ---------- LIGHT NAVBAR ---------- */

#mainNavbar.scrolled .nav-link {
  color: var(--dark);
}

#mainNavbar.scrolled .nav-link:hover {
  color: var(--accent);
}

#mainNavbar.scrolled .nav-link.active {
  color: var(--accent);
}

.navbar-nav .nav-link::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -6px;

  width: 0;

  height: 2px;

  background: var(--accent);

  transition: 0.3s;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: var(--white);
}

.navbar-toggler {
  color: #fff;

  font-size: 26px;
}

#mainNavbar.scrolled .navbar-toggler {
  color: var(--dark);
}

#mainNavbar.scrolled .nav-link.active {
  color: var(--accent);
}

#mainNavbar.scrolled .nav-link:hover {
  color: var(--accent);
}

/*--------------------------------------------------*/
/* BUTTONS */
/*--------------------------------------------------*/

.btn {
  border-radius: 50px;

  padding: 14px 34px;

  font-weight: 600;

  transition: 0.3s;
}

.btn-primary {
  background: var(--accent);

  border: none;

  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.25);
}

.btn-primary:hover {
  background: #c8000b;

  transform: translateY(-3px);

  box-shadow: 0 10px 25px rgba(227, 6, 19, 0.35);
}

.btn-outline-light {
  border: 2px solid #fff;
}

.btn-outline-light:hover {
  background: #fff;

  color: var(--primary);
}

.btn-onboard {
  padding: 12px 28px;
}

/*--------------------------------------------------*/
/* HERO */
/*--------------------------------------------------*/

.hero {
  position: relative;

  min-height: 95vh;

  display: flex;

  align-items: center;

  background: linear-gradient(135deg, #0d2950 0%, #173e73 100%);

  overflow: hidden;
}

.hero::before {
  content: "";

  position: absolute;

  width: 700px;

  height: 700px;

  background: rgba(255, 255, 255, 0.04);

  border-radius: 50%;

  right: -250px;

  top: -200px;
}

.hero h1 {
  color: var(--white);
  max-width: 640px;

  margin-bottom: 30px;
}

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

  font-size: 18px;

  max-width: 620px;
}

.hero-buttons {
  margin-top: 40px;
}

.hero-buttons .btn {
  margin-right: 15px;

  margin-bottom: 15px;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-height: 620px;
  animation: floatHero 6s ease-in-out infinite;
}
@keyframes floatHero {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}
/*--------------------------------------------------*/

.section-title {
  margin-bottom: 15px;

  color: var(--accent);

  text-transform: uppercase;

  letter-spacing: 2px;

  font-size: 14px;

  font-weight: 700;
}

.section-heading {
  margin-bottom: 25px;
}

.bg-light {
  background: var(--light) !important;
}

.section-divider {
  width: 70px;

  height: 4px;

  background: var(--accent);

  margin: 25px auto 50px;
}
/*--------------------------------------------------*/

.card-box {
  position: relative;

  overflow: hidden;
  background: #fff;

  border-radius: var(--radius);

  padding: 35px;

  box-shadow: var(--shadow);

  transition: 0.35s;

  height: 100%;
}
.card-box::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 4px;

  background: var(--accent);

  transform: scaleX(0);

  transition: 0.4s;
}

.card-box:hover::before {
  transform: scaleX(1);
}
.card-box:hover {
  transform: translateY(-8px);
}

.card-icon {
  width: 70px;

  height: 70px;

  border-radius: 16px;

  background: rgba(227, 6, 19, 0.08);

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--accent);

  font-size: 30px;

  margin-bottom: 25px;
}

/*--------------------------------------------------*/

footer {
  background: #0d1d35;

  color: rgba(255, 255, 255, 0.7);

  padding: 70px 0 30px;
  border-top: 3px solid var(--accent);
}

footer h5 {
  color: #fff;

  margin-bottom: 25px;
}

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

footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  margin-top: 50px;

  padding-top: 25px;
}
.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);

  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;

  padding-left: 6px;
}

footer p {
  line-height: 1.9;
}
/*--------------------------------------------------*/

@media (max-width: 991px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .navbar-collapse {
    background: #fff;

    margin-top: 20px;

    padding: 20px;

    border-radius: 15px;

    box-shadow: var(--shadow);
  }

  .navbar-nav .nav-link {
    color: var(--dark) !important;

    margin: 10px 0;
  }

  .hero {
    padding: 160px 0 80px;

    text-align: center;
  }

  .hero-image {
    margin-top: 60px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  section {
    padding: 70px 0;
  }

  .logo {
    height: 48px;
  }
}

/*==================================================
TRUST STRIP
==================================================*/

.trust-item {
  padding: 20px 10px;
}

.trust-item i {
  font-size: 34px;

  color: var(--primary);

  margin-bottom: 15px;
}

.trust-item h6 {
  margin: 0;

  font-weight: 600;

  color: var(--dark);

  font-size: 15px;
}
/*==================================================
SERVICES
==================================================*/

.service-list {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--text);
}

.service-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  position: absolute;
  left: 0;
  top: 2px;

  color: var(--accent);
}
/*==================================================
WHY SPS
==================================================*/

.feature-box {
  background: #fff;
  border-radius: 18px;
  padding: 35px;
  height: 100%;

  border: 1px solid var(--border);

  transition: 0.35s;
}

.feature-box:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow);
}

.feature-icon {
  width: 70px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  background: rgba(14, 47, 90, 0.08);

  color: var(--primary);

  font-size: 28px;

  margin-bottom: 25px;
}

.feature-box h4 {
  margin-bottom: 18px;

  font-size: 22px;
}
.feature-box h4::after {
  content: "";

  display: block;

  width: 40px;

  height: 3px;

  background: var(--accent);

  margin-top: 12px;
}
.feature-box p {
  margin-bottom: 0;
}
/*==================================================
COMPLIANCE
==================================================*/

.compliance-section {
  background: linear-gradient(135deg, #0d2950, #173e73);
}

.compliance-card {
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 16px;

  padding: 25px;

  text-align: center;

  height: 100%;

  transition: 0.35s;
}

.compliance-card:hover {
  background: rgba(255, 255, 255, 0.15);

  transform: translateY(-6px);
  color: var(--primary);
}

.compliance-card i {
  font-size: 34px;

  color: #fff;

  margin-bottom: 18px;
}

.compliance-card span {
  display: block;

  color: #fff;

  font-weight: 600;

  line-height: 1.4;
}
/*==================================================
ONBOARDING
==================================================*/

.timeline {
  position: relative;

  max-width: 900px;

  margin: auto;
}

.timeline::before {
  content: "";

  position: absolute;

  left: 35px;

  top: 0;

  bottom: 0;

  width: 3px;

  background: #d9e3ef;
}

.timeline-item {
  position: relative;

  padding-left: 95px;

  margin-bottom: 40px;
}

.timeline-number {
  position: absolute;

  left: 0;

  width: 70px;

  height: 70px;

  border-radius: 50%;

  background: var(--primary);

  color: #fff;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 24px;

  font-weight: 700;

  box-shadow: var(--shadow);
}

.timeline-content {
  background: #fff;

  border-radius: 16px;

  padding: 30px;

  box-shadow: var(--shadow);
}

.timeline-content h4 {
  margin-bottom: 15px;
}

.timeline-content p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 25px;
  }

  .timeline-item {
    padding-left: 70px;
  }

  .timeline-number {
    width: 50px;

    height: 50px;

    font-size: 18px;
  }
}
/*==================================================
TRANSACTION PROCESS
==================================================*/

.process-card {
  background: #fff;

  border: 1px solid var(--border);

  border-radius: 18px;

  padding: 35px;

  height: 100%;

  transition: 0.35s;

  position: relative;

  overflow: hidden;
}

.process-card:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow);
}

.process-number {
  font-size: 44px;

  font-weight: 800;

  font-family: "Poppins", sans-serif;

  color: rgba(14, 47, 90, 0.1);

  margin-bottom: 20px;
}

.process-card h5 {
  margin-bottom: 15px;

  font-size: 22px;
}

.process-card p {
  margin-bottom: 0;
}

/*==================================================
PARTNERSHIPS
==================================================*/

.partner-card {
  background: #fff;

  border: 1px solid var(--border);

  border-radius: 18px;

  padding: 35px 25px;

  text-align: center;

  height: 100%;

  transition: 0.35s;
}

.partner-card:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow);
}

.partner-card i {
  font-size: 42px;

  color: var(--primary);

  margin-bottom: 25px;
}

.partner-card h5 {
  margin: 0;

  font-size: 20px;

  line-height: 1.4;
}
/*==================================================
FAQ
==================================================*/

.custom-accordion .accordion-item {
  border: 1px solid var(--border);

  border-radius: 16px;

  overflow: hidden;

  margin-bottom: 20px;
}

.custom-accordion .accordion-button {
  background: #fff;

  padding: 22px 28px;

  font-weight: 600;

  font-size: 18px;

  color: var(--dark);

  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background: var(--primary);

  color: #fff;
}

.custom-accordion .accordion-body {
  padding: 25px 30px;

  line-height: 1.8;
}

.custom-accordion .accordion-button:focus {
  box-shadow: none;
}

/*==================================================
CONTACT
==================================================*/

.contact-section {
  background: linear-gradient(135deg, #0e2f5a, #173e73);
}

.contact-item {
  display: flex;

  gap: 20px;

  margin-bottom: 35px;
}

.contact-icon {
  width: 60px;

  height: 60px;

  flex-shrink: 0;

  border-radius: 15px;

  background: rgba(255, 255, 255, 0.12);

  display: flex;

  align-items: center;

  justify-content: center;

  color: #fff;

  font-size: 24px;
}

.contact-item h5 {
  color: #fff;

  margin-bottom: 10px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.75);

  margin: 0;
}

.contact-form {
  background: #fff;

  border-radius: 20px;

  padding: 45px;

  box-shadow: var(--shadow);
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 54px;

  border-radius: 12px;

  border: 1px solid #d9e3ef;

  box-shadow: none;
}

.contact-form textarea.form-control {
  min-height: 140px;

  resize: vertical;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);

  box-shadow: none;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 30px;
  }
}

/*--------------------------------------------------*/
/* ONBOARDING */
/*--------------------------------------------------*/

.page-header {
  padding: 180px 0 100px;

  background: #f8fafc;
}

.coming-card {
  background: #fff;

  border-radius: 20px;

  padding: 60px;

  text-align: center;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.coming-icon {
  width: 90px;

  height: 90px;

  margin: 0 auto 30px;

  border-radius: 50%;

  background: rgba(227, 6, 19, 0.08);

  color: var(--accent);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 40px;
}

.feature-card {
  background: #fff;

  border-radius: 18px;

  padding: 35px;

  height: 100%;

  text-align: center;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-icon {
  width: 70px;

  height: 70px;

  border-radius: 16px;

  background: rgba(14, 47, 90, 0.08);

  color: var(--primary);

  margin: 0 auto 25px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 28px;
}

/* =====================================================
   POLICY QUICK NAVIGATION
===================================================== */

.policy-navigation {
  background: #fff;

  border-bottom: 1px solid rgba(15, 43, 74, 0.08);

  padding: 20px 0;
}
.policy-nav-wrapper {
  position: sticky;

  top: 80px;

  z-index: 100;

  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 12px;

  padding: 15px;

  background: #fff;

  border-radius: 18px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}
.policy-nav-wrapper a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 50px;
  background: #f5f8fc;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.policy-nav-wrapper a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 43, 74, 0.18);
}

.policy-nav-wrapper a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

@media (max-width: 991px) {
  .policy-navigation {
    position: relative;
    top: 0;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .policy-navigation::-webkit-scrollbar {
    display: none;
  }

  .policy-nav-wrapper {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 12px 15px;
    width: max-content;
  }

  .policy-nav-wrapper a {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

html {
  scroll-behavior: smooth;
}

/* Prevent sticky navbar from covering headings */

section[id] {
  scroll-margin-top: 150px;
}
