/* Home page – modern corporate overrides and layout
   Uses theme variables from style.css */

/* ----- Header top blend with hero ----- */
.header-style-three .header-top {
  background: linear-gradient(135deg, var(--theme-color1) 0%, #0a1228 50%, var(--theme-color1) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ----- Hero ----- */
.home-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--theme-color1) 0%, #0a1228 50%, var(--theme-color1) 100%);
  overflow: hidden;
  padding: 180px 0 110px;
  margin-top: 2rem;
}
.home-hero .bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
}
.home-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,14,30,0.95) 0%, rgba(10,18,40,0.75) 45%, rgba(10,18,40,0.35) 70%, transparent 100%);
  opacity: 1;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(255,255,255,0.14), transparent 55%);
  pointer-events: none;
}
.home-hero .auto-container {
  position: relative;
  z-index: 2;
}
.home-hero .hero-row {
  position: relative;
  z-index: 2;
}
.home-hero .hero-content {
  color: #fff;
  max-width: 640px;
}
.home-hero .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.home-hero .lead {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  max-width: 560px;
}
.home-hero .title {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 14px 34px rgba(0,0,0,0.4);
}
.home-hero .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.home-hero .hero-badges .badge-pill {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}
.home-hero .btn-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.home-hero .theme-btn {
  margin: 0;
}
.home-hero .theme-btn.btn-style-two {
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
}
.home-hero .theme-btn.btn-style-two:hover {
  background: #fff;
  color: var(--theme-color1);
}
.home-hero .hero-panel {
  position: relative;
  background: rgba(255,255,255,0.96);
  border-radius: 20px;
  padding: 2.25rem 2.25rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  color: #1a2233;
  overflow: hidden;
}
.home-hero .hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--theme-color3), var(--theme-color2));
}
.home-hero .hero-panel .panel-header {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--theme-color1);
}
.home-hero .hero-panel .panel-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 1.25rem;
}
.home-hero .hero-panel .panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}
.home-hero .hero-panel .panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #2d3748;
}
.home-hero .hero-panel .panel-list i {
  color: var(--theme-color3);
  margin-top: 0.2rem;
}
.home-hero .hero-panel .panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.home-hero .hero-panel .panel-actions .btn-style-two {
  background: #fff;
  border: 2px solid rgba(12,18,36,0.12);
  color: var(--theme-color1);
}
.home-hero .hero-panel .panel-actions .btn-style-two:hover {
  border-color: var(--theme-color3);
  color: var(--theme-color3);
}
.home-hero .hero-panel .panel-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(12,18,36,0.15);
}
.home-hero .hero-panel .meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
  color: #4a5568;
}
.home-hero .hero-panel .meta-item .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: rgba(12,18,36,0.6);
}
.home-hero .hero-panel .meta-item .value {
  font-weight: 700;
  color: var(--theme-color1);
}

/* ----- Trust bar ----- */
.home-trust {
  padding: 1.5rem 0;
  background: var(--theme-color4);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.home-trust .row {
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}
.home-trust .col-lg-4,
.home-trust .col-md-4,
.home-trust .col-12 {
  flex: 1 1 0;
  max-width: none;
}
.home-trust .trust-stat {
  text-align: center;
  padding: 0.5rem 1rem;
}
.home-trust .trust-stat .value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--theme-color1);
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.home-trust .trust-stat .value .rating-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--theme-color1);
  display: inline-block;
}
.home-trust .trust-stat .value .stars-rating {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.1rem;
}
.home-trust .trust-stat .value .stars-rating .fa-star {
  color: #FFB800;
  font-size: 1.2rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.home-trust .trust-stat .value .office-icon {
  font-size: 1.8rem;
  color: var(--theme-color1);
  margin-bottom: 0.3rem;
}
.home-trust .trust-stat .value .office-locations {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.home-trust .trust-stat .value .office-locations .location {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--theme-color1);
  line-height: 1.2;
}
.home-trust .trust-stat .label {
  font-size: 0.875rem;
  color: var(--text-color);
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .home-trust .col-md-4:not(:last-child) .trust-stat {
    border-right: 1px solid rgba(0,0,0,0.08);
  }
}
@media (min-width: 992px) {
  .home-trust .trust-stat .value {
    white-space: nowrap;
  }
}

/* ----- Section spacing ----- */
.home-section {
  padding: 4.5rem 0;
}
.home-section .sec-title {
  margin-bottom: 2.5rem;
}
.home-section .sec-title .sub-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
}
.home-section .sec-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.25;
}

/* ----- Services grid ----- */
.home-services .service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.home-services .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.home-services .service-card .image-box {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.home-services .service-card .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.home-services .service-card:hover .image-box img {
  transform: scale(1.05);
}
.home-services .service-card .content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.home-services .service-card .content .title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.home-services .service-card .content .title a {
  color: var(--theme-color1);
}
.home-services .service-card .content .title a:hover {
  color: var(--theme-color3);
}
.home-services .row {
  row-gap: 1.5rem;
}

/* ----- About / intro ----- */
.home-about {
  background: var(--theme-light-background);
}
.home-about .content-column .sec-title .text {
  color: var(--text-color);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.home-about .info-box {
  margin-bottom: 1.25rem;
}
.home-about .info-box .title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.home-about .info-box .title i {
  color: var(--theme-color3);
  margin-right: 0.5rem;
}
.home-about .info-box .text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-color);
}
.home-about .founder-info .thumb img {
  border-radius: 50%;
}
.home-about .bottom-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* ----- Process / steps ----- */
.home-process {
  background: var(--theme-color1);
  color: #fff;
  padding: 4rem 0;
}
.home-process .sec-title.light h2,
.home-process .sec-title.light .sub-title {
  color: #fff;
}
.home-process .sec-title.light .sub-title {
  opacity: 0.85;
}
.home-process .step-card {
  text-align: center;
  padding: 1.5rem 1rem;
}
.home-process .step-card .num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--theme-color3);
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.home-process .step-card .title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #fff;
}
.home-process .step-card .text {
  font-size: 0.875rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* ----- CTA band ----- */
.home-cta {
  background: linear-gradient(135deg, var(--theme-color2) 0%, #5f4a8a 100%);
  padding: 3.5rem 0;
  text-align: center;
}
.home-cta .title {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.home-cta .btn-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.home-cta .theme-btn.btn-style-two {
  background: rgba(255,255,255,0.2);
  border: 2px solid #fff;
  color: #fff;
}
.home-cta .theme-btn.btn-style-two:hover {
  background: #fff;
  color: var(--theme-color2);
}

/* ----- Testimonials ----- */
.home-testimonials {
  background: var(--theme-light-background);
}
.home-testimonials .owl-carousel .item {
  padding: 0.75rem;
}
.home-testimonials .testimonial-block .inner-box {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.home-testimonials .testimonial-block .content-box {
  padding: 0;
  background: transparent;
}
.home-testimonials .testimonial-block .content-box:before {
  display: none;
}
.home-testimonials .testimonial-block .content-box .icon {
  position: static;
  height: auto;
  width: auto;
  padding: 0;
  background: none;
  font-size: 1.5rem;
  color: var(--theme-color3);
  opacity: 0.35;
  margin-bottom: 0.75rem;
}
.home-testimonials .testimonial-block .content-box .text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 1rem;
}
.home-testimonials .testimonial-block .info-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0;
  padding-left: 0;
  min-height: auto;
}
.home-testimonials .testimonial-block .info-box .thumb {
  position: static;
  height: 48px;
  width: 48px;
  padding: 0;
  border: none;
}
.home-testimonials .testimonial-block .info-box .thumb img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0,0,0,0.06);
}
.home-testimonials .testimonial-block .info-box .name {
  font-weight: 700;
  color: var(--theme-color1);
  font-size: 0.9375rem;
}
.home-testimonials .testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.home-testimonials .testimonial-card .rating {
  color: #f5a623;
  margin-bottom: 0.75rem;
}
.home-testimonials .testimonial-card .text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-color);
  flex: 1;
  margin-bottom: 1rem;
}
.home-testimonials .testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.home-testimonials .testimonial-card .author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.home-testimonials .testimonial-card .author .name {
  font-weight: 700;
  color: var(--theme-color1);
  font-size: 0.9375rem;
}

/* ----- Blog cards ----- */
.home-blog .news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.home-blog .news-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.home-blog .news-card .image-box {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.home-blog .news-card .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-blog .news-card .date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--theme-color3);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
}
.home-blog .news-card .lower-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.home-blog .news-card .title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-blog .news-card .title a {
  color: var(--theme-color1);
}
.home-blog .news-card .title a:hover {
  color: var(--theme-color3);
}
.home-blog .news-card .text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-color);
  flex: 1;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----- Why choose / features ----- */
.home-features .feature-card {
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(0,0,0,0.06);
}
.home-features .feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.home-features .feature-card .icon {
  color: var(--theme-color3);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.home-features .feature-card .title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.home-features .feature-card .title a {
  color: #fff;
}
.home-features .feature-card .title a:hover {
  color: var(--theme-color4);
}
.home-features .feature-card .text {
  font-size: 0.875rem;
  line-height: 1.55;
  opacity: 0.95;
}
.home-features .feature-block-three {
  padding: 0.75rem;
}
.home-features .feature-block-three .inner-box {
  background: rgba(255,255,255,0.96);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: 0 12px 26px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-features .feature-block-three .inner-box:before {
  display: none;
}
.home-features {
  background: var(--theme-light-background);
}
.home-features .bg,
.home-features .bg-pattern-5 {
  opacity: 0.08;
}
.home-features .title-column .inner-column {
  background: transparent;
  padding: 0 2rem 2rem 0;
  border-radius: 0;
}
.home-features .title-column .sec-title h2 {
  color: var(--theme-color1);
}
.home-features .content-column .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}
.home-features .feature-block-three .icon {
  position: static;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: inline-flex;
}
.home-features .feature-block-three .bg-icon {
  font-size: 90px;
  opacity: 0.08;
  right: -10px;
  bottom: -10px;
}
.home-features .feature-block-three .inner-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}
.home-features .feature-block-three .icon,
.home-features .feature-block-three .bg-icon {
  color: var(--theme-color3);
}
.home-features .feature-block-three .title a {
  color: var(--theme-color1);
}
.home-features .feature-block-three .title a:hover {
  color: var(--theme-color3);
}
.home-features .feature-block-three .text {
  color: var(--text-color);
  opacity: 0.9;
  font-size: 0.875rem;
  line-height: 1.55;
}
@media (max-width: 991px) {
  .home-features .title-column .inner-column {
    padding: 0 0 1.5rem;
  }
}

/* ----- FAQ ----- */
.home-faq .accordion-box {
  margin-left: 0;
}
.home-faq .accordion .acc-btn {
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  transition: background 0.2s, border-color 0.2s;
}
.home-faq .accordion .acc-btn:hover,
.home-faq .accordion .acc-btn.active {
  background: var(--theme-color4);
  border-color: var(--theme-color3);
}
.home-faq .accordion .acc-content .content {
  padding: 0 1.25rem 1.25rem;
}
.home-faq .accordion .acc-content .text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
  .home-hero {
    min-height: 70vh;
    text-align: center;
    margin-top: 1.5rem;
  }
  .home-hero .hero-content {
    margin-left: auto;
    margin-right: auto;
  }
  .home-hero .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .home-hero .btn-box {
    justify-content: center;
  }
  .home-hero .hero-panel {
    margin-top: 2rem;
  }
  .home-trust .row {
    flex-wrap: wrap;
    gap: 1rem 0;
  }
  .home-trust .trust-stat {
    margin-bottom: 0.75rem;
  }
  .home-process .step-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767px) {
  .home-section {
    padding: 3rem 0;
  }
  .home-cta {
    padding: 2.5rem 1rem;
  }
  .home-hero {
    padding: 110px 0 70px;
    margin-top: 1rem;
  }
  .home-hero .hero-badges {
    justify-content: center;
  }
  .home-hero .hero-panel {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
}
