/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #444444;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #0f394c;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #49b5e7;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

:root {
  color-scheme: light;
  font-family: "Inter", sans-serif;
  --accent: #005ddf;
  --accent-foreground: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: rgba(15, 23, 42, 0.08);
  --text-primary: #0f172a;
  --text-muted: #64748b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 0;
  background: #0f172a;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

[class*='col-'] {
  padding: 0 1rem;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

  /* Layout helpers for icon + title */
  .card-body .d-flex.align-items-center,
  .feature-card .d-flex.align-items-center {
    gap: 0.75rem;
  }

  .icon-box, .feature-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 1.1rem;
  }

  /* Login button adjustments */
  .navbar .btn-outline-secondary {
    border-radius: 0.75rem;
    padding: 0.5rem 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Small visual tweak for dropdown items */
  .dropdown-menu .dropdown-item i { margin-right: 0.5rem; }

.header .btn-getstarted,
.header .btn-getstarted:focus {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 20px;
    margin: 0 0 0 30px;
    border-radius: 50px;
    transition: 0.3s;
}

    .header .btn-getstarted:hover,
    .header .btn-getstarted:focus:hover {
        color: var(--contrast-color);
        background: color-mix(in srgb, var(--accent-color), transparent 15%);
    }

.col-md-6 {
  flex: 0 0 100%;
  max-width: 100%;
}

.col-lg-7,
.col-lg-5,
.col-lg-4,
.col-lg-8 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}

.row.g-4 {
  margin: 0 -1rem;
}

.row.g-4 > * {
  padding: 0 1rem;
}

.row.g-3 {
  margin: 0 -0.75rem;
}

.row.g-3 > * {
  padding: 0 0.75rem;
}

.row.g-5 {
  margin: 0 -1.25rem;
}

.row.g-5 > * {
  padding: 0 1.25rem;
}

.text-center {
  text-align: center;
}

.lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-muted);
}

.fw-bold {
  font-weight: 700;
}

.fw-semibold {
  font-weight: 600;
}

.display-5 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.05;
}

h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h5 {
  font-size: 1.25rem;
}

p,
small {
  margin: 0;
}

small,
.text-muted {
  color: var(--text-muted);
}

.list-unstyled {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.blog-article {
  background: #ffffff;
  color: #0f172a;
}

.blog-article h2,
.blog-article h3,
.blog-article h4 {
  color: var(--heading-color);
}

.article-meta p {
  color: #475569;
}

.article-list {
  list-style: none;
  padding-left: 0;
}

.article-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #334155;
}

.article-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--accent-color);
  font-size: 1.2rem;
  line-height: 1;
}

.highlight-box {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.bg-gray-100 {
  background: #f1f5f9;
}

.testimonials-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(14, 165, 233, 0.06));
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1.5rem;
  padding: 2rem 1.25rem;
}

.testimonial-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.testimonial-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid rgba(13, 110, 253, 0.15);
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
}

.testimonial-avatar svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-item h4 {
  margin-bottom: 0.15rem;
  font-size: 1.15rem;
  color: var(--heading-color);
}

.testimonial-item h5 {
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.testimonial-item p {
  margin: 0;
  color: #334155;
  line-height: 1.7;
}

.quote-icon-left,
.quote-icon-right {
  display: inline-block;
  color: #0ea5e9;
  font-size: 1.2rem;
  vertical-align: top;
}

.quote-icon-right {
  margin-left: 0.25rem;
}

.hidden-article {
  display: none;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-detail-page {
  background: linear-gradient(180deg, #0b1328 0%, #0f1d37 28%, #112b4d 55%, #0b1f3a 100%);
  padding-top: 4.2rem;
}

.page-title {
  background: linear-gradient(135deg, #0b1328 0%, #112a48 45%, #0d2343 100%);
  padding: 5.2rem 0 2.2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.page-title .container {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-title h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.breadcrumbs {
  margin-top: 1rem;
  width: 100%;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.05rem;
  color: #64748b;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: #94a3b8;
}

.breadcrumbs a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
  color: #7dd3fc;
  opacity: 1;
}

.breadcrumbs .current {
  color: #cbd5e1;
  font-weight: 500;
}

.blog-back-nav {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 93, 223, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.blog-back-link:hover,
.blog-back-link:focus {
  background: rgba(13, 110, 253, 0.08);
  border-color: rgba(13, 110, 253, 0.25);
  text-decoration: none;
}

.btn-outline-primary {
  color: var(--accent);
  border-color: rgba(13, 110, 253, 0.4);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: rgba(13, 110, 253, 0.08);
}


.btn,
button,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary,
a.btn-primary {
  color: var(--accent-foreground);
  background-color: #005ddf;
   border-color: #005ddf;
}

.btn-primary:hover,
a.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:focus {
  color: var(--accent-foreground);
  background-color: #0ea5e9;
  border-color: #0ea5e9;
}

.btn-outline-primary,
a.btn-outline-primary {
  color: var(--accent);
  background: transparent;
  border-color: rgba(67, 56, 202, 0.18);
}

.login-button {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-button i {
  font-size: 1.2rem;
}

.login-menu .nav-link{
    color:#fff;
    transition:.3s;
}

.login-menu .nav-link:hover{
    color:#0ea5e9;
    transform:scale(1.1);
}

.btn-login,
.btn-login:focus{
    display: inline-flex;
    align-items: center;
    gap: .45rem;

    color: #fff;
    background: #005ddf;

    font-size: 14px;
    font-weight: 500;

    padding: 8px 20px;
    margin-left: 20px;

    border-radius: 50px;
    text-decoration: none;

    transition: all .3s ease;
}

.btn-login:hover,
.btn-login:focus:hover{
    color:#fff;
    background:#0ea5e9;
    transform: translateY(-2px);
}

.btn-login i{
    font-size:15px;
}

/* Note: footer styles are defined later to keep consistency. */
.step-title-row {
  gap: 0.85rem;
}

.step-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 1rem;
}

.step-badge {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(67, 56, 202, 0.12);
  color: #4338ca;
  font-weight: 700;
}

.btn-outline-primary:hover,
a.btn-outline-primary:hover,
.btn-outline-primary:focus,
a.btn-outline-primary:focus {
  background: rgba(67, 56, 202, 0.08);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  border-bottom: none;
}

.nav-panel {
  width: min(96%, 1140px);
  left: 50%;
  transform: translateX(-50%);
  top: 1rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(12px);
   box-shadow:0 5px 20px rgba(0,0,0,.08);
  padding: .8rem 0;
}

.nav-panel .container {
  padding: 0.45rem 0.95rem;
}

.navbar {
  padding: 0;
  min-height: 62px;
}

.navbar-nav .nav-link{
    font-size:1.05rem;
    font-weight:500;
    margin:0 .35rem;
}

.login-menu {
  display: flex;
  align-items: center;
  margin-top: 0 !important;
}

.login-menu .nav-link{
    font-size:1.8rem;
}

.login-button {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-button i {
  font-size: 1.15rem;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.navbar-brand {
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 0.75rem;
  background: transparent;
  cursor: pointer;
}

.navbar-toggler span {
  display: block;
  width: 1.3rem;
  height: 0.12rem;
  background: #334155;
  position: relative;
}

.navbar-toggler span::before,
.navbar-toggler span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 1.3rem;
  height: 0.12rem;
  background: #334155;
}

.navbar-toggler span::before {
  top: -0.35rem;
}

.navbar-toggler span::after {
  top: 0.35rem;
}

.navbar-collapse {
  display: none;
  width: 100%;
}

.navbar-collapse.show {
  display: block;
}

.navbar-nav {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-item {
  margin: 0;
}

.nav-link {
  color: #334155;
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active,
.nav-link.active {
  color: var(--accent);
}

/* Force consistent weight to avoid some browsers or frameworks making active links bold */
.nav-link,
.nav-link.active {
  font-weight: 500 !important;
}

@media (min-width: 768px) {
  .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: auto;
  }

  .navbar-nav {
    flex-direction: row;
    gap: 1.5rem;
  }

  .navbar-toggler {
    display: none;
  }
}

.hero {
  padding: 7rem 0 6rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
  color: white;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 24%), radial-gradient(circle at 80% 30%, rgba(59,130,246,0.22), transparent 22%);
  pointer-events: none;
}

.hero .row {
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.hero-card h2 {
  margin-bottom: 1rem;
  color: #0f172a;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
}

.section {
  padding: 5rem 0;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.section.bg-light {
  background: #f8fafc;
  border-top: none !important;
  border-bottom: none !important;
}

.card,
.feature-card,
.step-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.75rem;
  background: white;
}

.card {
  border-color: var(--border);
}

.bg-light {
  background: #f8fafc;
}

.bg-white {
  background: #ffffff;
}

.rounded-4 {
  border-radius: 1.5rem;
}

.shadow-sm {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.shadow-lg {
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.1);
}

.border-0 {
  border: 0 !important;
}

.border-top {
  border-top: 1px solid var(--border) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.d-none {
  display: none !important;
}

.d-lg-block {
  display: block !important;
}

@media (max-width: 991px) {
  .d-lg-block {
    display: none !important;
  }
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.gap-4 {
  gap: 1.5rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 2rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 2rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.p-6 {
  padding: 4rem !important;
}

.card-body {
  padding: 0;
}

.card-title {
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.card-text {
  color: var(--text-muted);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control,
.form-select,
textarea.form-control {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #ffffff;
  color: var(--text-primary);
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  outline: none;
  border-color: rgba(67, 56, 202, 0.35);
  box-shadow: 0 0 0 0.15rem rgba(59, 130, 246, 0.15);
}

textarea.form-control {
  min-height: 10rem;
  resize: vertical;
}

.footer{
    background:linear-gradient(135deg,#0f172a 0%,#0b4ea2 55%,#0ea5e9 100%);
    color:#fff;
}

.footer-text{
    color:rgba(255,255,255,.75);
    line-height:1.8;
}

.footer-title{
    color:#fff;
    font-weight:600;
    margin-bottom:1.2rem;
}

.footer ul{
    padding:0;
}

.footer ul li{
    margin-bottom:.7rem;
}

.footer a{
    color:rgba(255,255,255,.75);
    text-decoration:none;
    transition:.25s;
}

.footer a:hover{
    color:#6fd3ff;
    padding-left:6px;
}

.footer p{
    color:rgba(255,255,255,.75);
}

.footer-divider{
    border-color:rgba(255,255,255,.15);
    margin:2.5rem 0 1.5rem;
}

.footer-copy{
    color:rgba(255,255,255,.60);
    font-size:.9rem;
}

.footer .row {
  align-items: flex-start;
}

.footer h5,
.footer h6 {
  margin-bottom: 1rem;
}

.footer .btn {
  width: auto;
}

.social-icons{
    display:flex;
    gap:14px;
}

.social-icons a{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.10);
    color:#fff;
    font-size:1.3rem;
    transition:.3s;
    border:1px solid rgba(255,255,255,.15);
}

.social-icons a:hover{
    background:#0ea5e9;
    transform:translateY(-4px);
    box-shadow:0 10px 20px rgba(14,165,233,.35);
    color:#fff;
}

@media (max-width: 991px) {
  .container {
    padding: 0 1rem;
  }

  .row {
    margin: 0;
  }

  .row > * {
    padding: 0 0 1.5rem;
  }

  .hero {
    padding-top: 4rem;
  }
}

/* PHP Email Form Messages
------------------------------*/

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form input[type=number],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form input[type=number]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form input[type=number]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}


.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

    .php-email-form .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid var(--accent-color);
        border-top-color: var(--surface-color);
        animation: php-email-form-loading 1s linear infinite;
    }

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
