:root {
  --primary: #0d3b66;
  --accent: #fca311;
  --white: #ffffff;
  --text: #495057;
  --muted: #6c757d;
  --bg-light: #f8f9fa;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
  background: var(--primary);
  padding: 10px 0;
}

.navbar-brand {
  font-size: 1rem;
  font-weight: 700;
  white-space: normal;
  color: #fff !important;
}

.nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* =========================
   BUTTONS
   ========================= */
.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
}

.btn-accent:hover {
  background: #e19100;
  color: #fff;
}

.btn-outline-theme {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-theme:hover {
  background: var(--primary);
  color: #fff;
}

/* =========================
   COMMON
   ========================= */
.section-title {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  word-break: break-word;
}

.section-badge {
  display: inline-block;
  background: rgba(252, 163, 17, 0.12);
  color: var(--accent);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
}

/* =========================
   HERO DEFAULT
   ========================= */
.hero {
  min-height: 50vh;
  background:
    linear-gradient(rgba(13, 59, 102, 0.55), rgba(13, 59, 102, 0.65)),
    url('../images/banner.jpeg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 16px 50px;
  color: #fff;
}

.hero .hero-content {
  max-width: 680px;
  width: 100%;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 22px;
  opacity: 0.95;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btns .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   HERO ADVANCED HOME
   ========================= */
.hero-home-advanced {
  position: relative;
  overflow: hidden;
}

.hero-home-advanced::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: url('../images/banner.jpeg') center center / cover no-repeat;
  transform: rotate(-6deg) scale(1.12);
  z-index: 0;
}

@media (max-width: 767.98px) {
  .hero-home-advanced::before {
    inset: 0;
    
    background: url('../images/banner.jpeg') center top / contain no-repeat;
    transform: none;
    background-color: #ffffff; /* optional, empty area hide karne ke liye */
  }
}
.trust-strip{
  background: linear-gradient(180deg, #f8fbff, #eef4ff);
}
.hero-home-advanced::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 59, 102, 0.35);
  z-index: 1;
}

.hero-home-advanced .container {
  position: relative;
  z-index: 2;
}

.hero-home-advanced .hero-content {
  max-width: 560px;
}

.hero-home-advanced .hero-content h1 {
  max-width: 560px;
}
.hero-home-advanced .section-badge {
  margin-bottom: 14px;
  color: #0d3b66;
}



.hero-home-advanced .hero-content p {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.hero-home-advanced .hero-btns {
  justify-content: flex-start;
  margin-bottom: 1.8rem;
}

.hero-mini-stat {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 18px 14px;
  text-align: center;
  backdrop-filter: blur(8px);
  min-height: 110px;
  height: 100%;
}

.hero-mini-stat h4 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.hero-mini-stat p {
  color: rgba(255,255,255,0.88);
  margin: 0;
  font-size: 0.92rem;
}

.hero-side-card {
 
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 18px 14px;
    text-align: center;
    backdrop-filter: blur(8px) I;
    min-height: 110px;
    height: 100%;
    color: #f8f9fa !important;
}

.hero-side-card h3 {
  
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hero-feature-item i {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  background: rgba(252,163,17,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-feature-item div {
  min-width: 0;
}

.hero-feature-item h6 {
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 1.05rem;
}

.hero-feature-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}

/* =========================
   PAGE BANNER
   ========================= */
.page-banner {
  min-height: 50vh;
  position: relative;
  background:
    linear-gradient(rgba(13, 59, 102, 0.75), rgba(13, 59, 102, 0.85)),
    url('../images/banner.jpeg') center center / cover no-repeat;
  padding: 120px 0 100px;
  display: flex;
  align-items: center;
}

.page-banner-content {
  max-width: 700px;
}

.page-banner h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.page-banner p {
  font-size: 1.05rem;
  opacity: 0.95;
  color: rgba(255,255,255,0.9);
}

/* =========================
   SERVICE CARDS
   ========================= */
.service-card {
  position: relative;
  height: 100%;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 32%),
    radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.08), transparent 30%);
  z-index: 0;
  pointer-events: none;
}

.service-card .card-body {
  position: relative;
  z-index: 1;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.service-card h5 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.service-card p {
  margin-bottom: 18px;
  color: #5f6b7a !important;
  font-size: 0.96rem;
  line-height: 1.7;
}

.service-home-image {
  width: 100%;
  max-width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px !important;
  background: #fff;
  padding: 6px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.service-icon-wrap {
  width: 82px;
  height: 82px;
  margin: 0 auto 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.10));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.service-icon-wrap i {
  font-size: 2rem !important;
  color: #2563eb;
}

.service-card .btn {
  margin-top: auto;
  border-radius: 999px;
  padding: 0.58rem 1.05rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* Tablet */
@media (max-width: 991.98px) {
  .service-card .card-body {
    padding: 22px 18px;
  }

  .service-card h5 {
    font-size: 1.03rem;
  }

  .service-card p {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .service-home-image {
    max-width: 78px;
    height: 78px;
    border-radius: 16px;
  }

  .service-icon-wrap {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }

  .service-icon-wrap i {
    font-size: 1.8rem !important;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .service-card {
    border-radius: 18px;
  }

  .service-card .card-body {
    padding: 20px 16px;
  }

  .service-card h5 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .service-home-image {
    max-width: 70px;
    height: 70px;
    border-radius: 14px;
    margin-bottom: 14px !important;
  }

  .service-icon-wrap {
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
    border-radius: 16px;
  }

  .service-icon-wrap i {
    font-size: 1.55rem !important;
  }

  .service-card .btn {
    width: 100%;
    max-width: 180px;
    font-size: 0.88rem;
    padding: 0.55rem 0.95rem;
  }

  .service-card:hover {
    transform: none;
  }
}

/* Small mobile */
@media (max-width: 575.98px) {
  .service-card .card-body {
    padding: 18px 14px;
  }

  .service-card h5 {
    font-size: 0.96rem;
  }

  .service-card p {
    font-size: 0.88rem;
  }

  .service-home-image {
    max-width: 64px;
    height: 64px;
  }

  .service-icon-wrap {
    width: 62px;
    height: 62px;
  }

  .service-icon-wrap i {
    font-size: 1.4rem !important;
  }
}
.service-detail-card {
  height: 100%;
  padding: 24px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 30%),
    radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.08), transparent 28%);
  pointer-events: none;
  z-index: 0;
}

.service-detail-card > * {
  position: relative;
  z-index: 1;
}

.service-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.11);
  border-color: rgba(37, 99, 235, 0.12);
}

.service-detail-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.service-icon {
  width: 82px;
  height: 82px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.10));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.service-icon i {
  font-size: 2rem;
  color: #2563eb;
}

.service-detail-card h4 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.service-detail-card p {
  margin-bottom: 14px;
  color: #5f6b7a;
  font-size: 0.97rem;
  line-height: 1.7;
}

.service-detail-text {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.75;
}

.service-detail-card .btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.58rem 1rem;
  font-size: 0.9rem;
}

/* Tablet */
@media (max-width: 991.98px) {
  .service-detail-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .service-detail-image {
    height: 200px;
    border-radius: 16px;
  }

  .service-detail-card h4 {
    font-size: 1.15rem;
  }

  .service-detail-card p,
  .service-detail-text {
    font-size: 0.93rem;
    line-height: 1.65;
  }

  .service-icon {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }

  .service-icon i {
    font-size: 1.8rem;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .service-detail-card {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .service-detail-card:hover {
    transform: none;
  }

  .service-detail-image {
    height: 190px;
    border-radius: 14px;
    margin-bottom: 16px;
  }

  .service-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .service-icon i {
    font-size: 1.55rem;
  }

  .service-detail-card h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }

  .service-detail-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .service-detail-text {
    font-size: 0.89rem;
    line-height: 1.65;
  }

  .service-detail-card .mt-4 {
    margin-top: 1rem !important;
  }

  .service-detail-card .d-flex {
    flex-direction: column;
  }

  .service-detail-card .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Small mobile */
@media (max-width: 575.98px) {
  .service-detail-card {
    padding: 16px 14px;
  }

  .service-detail-image {
    height: 175px;
  }

  .service-detail-card h4 {
    font-size: 1rem;
  }

  .service-detail-card p,
  .service-detail-text {
    font-size: 0.87rem;
  }

  .service-icon {
    width: 62px;
    height: 62px;
  }

  .service-icon i {
    font-size: 1.4rem;
  }

  .service-detail-card .btn {
    font-size: 0.88rem;
    padding: 0.55rem 0.9rem;
  }
}
/* =========================
   ABOUT
   ========================= */
.info-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  height: 100%;
}

.info-box i {
  color: var(--accent);
  font-size: 1.4rem;
  margin-top: 2px;
}

.info-box h6 {
  margin-bottom: 4px;
  color: var(--primary);
  font-weight: 600;
}

.info-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.stat-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.stat-card h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-box{
  height: 100%;
  padding: 22px 16px;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.trust-box h5{
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.trust-box small{
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  display: block;
  line-height: 1.5;
}

/* different gradient for each card */
.row > div:nth-child(1) .trust-box{
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.row > div:nth-child(2) .trust-box{
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
}

.row > div:nth-child(3) .trust-box{
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.row > div:nth-child(4) .trust-box{
  background: linear-gradient(135deg, #ea580c, #fb923c);
}

.trust-box:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.14);
}

/* optional glossy effect */
.trust-box::before{
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}

.trust-box::after{
  content: "";
  position: absolute;
  bottom: -35%;
  left: -15%;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.mini-feature-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  height: 100%;
  word-break: break-word;
}

.mini-feature-card i {
  font-size: 1.4rem;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}

.mini-feature-card h6 {
  margin: 0;
  color: var(--primary);
  font-weight: 600;
}

/* =========================
   PROJECTS
   ========================= */
.project-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  transition: .3s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-img-wrap {
  height: 220px;
  overflow: hidden;
  background: #e9ecef;
  border-radius: 18px 18px 0 0;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: .4s ease;
}

.project-card:hover .project-img {
  transform: scale(1.06);
}

.project-card-body {
  padding: 20px;
  word-break: break-word;
}

.project-card-body h5 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.project-card-body p {
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 15px;
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonial-section {
  overflow: hidden;
}

.testimonial-slider-wrap {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  width: max-content;
  align-items: stretch;
  animation: scrollTestimonials 35s linear infinite;
}

.testimonial-slider-wrap:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  width: 350px;
  min-width: 350px;
  max-width: 350px;
  flex: 0 0 350px;
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-top: 4px solid var(--accent);
  word-break: break-word;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonial-top div {
  min-width: 0;
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(252, 163, 17, 0.2);
  background: #f5f5f5;
}

.testimonial-top h5 {
  margin: 0;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  word-break: break-word;
}

.testimonial-top span {
  color: var(--muted);
  font-size: 14px;
  word-break: break-word;
}

.testimonial-stars {
  margin-bottom: 14px;
}

.testimonial-stars i {
  color: var(--accent);
  margin-right: 2px;
}

.testimonial-card p {
  color: var(--text);
  margin: 0;
  line-height: 1.7;
  font-size: 15px;
}

@keyframes scrollTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================
   CONTACT
   ========================= */
.contact-box {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info-item i {
  color: var(--accent);
  font-size: 1.4rem;
}

.map-box {
  margin-bottom: 0;
  margin-top: 1.5rem;
}

.map-wrapper {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: #f1f3f5;
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: relative;
}

/* =========================
   BREADCRUMB
   ========================= */
.breadcrumb-custom {
  font-size: 14px;
  margin-bottom: 0;
}

.breadcrumb-custom a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  transition: 0.3s;
}

.breadcrumb-custom a:hover {
  color: var(--accent);
  opacity: 1;
}

.breadcrumb-custom span {
  margin: 0 6px;
  opacity: 0.8;
}

/* =========================
   CTA
   ========================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary), #114d86);
}

.cta-box {
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  border-radius: 24px;
  padding: 40px 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  height: 100%;
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
  background: #082540;
  color: rgba(255,255,255,0.85);
}

.footer-brand {
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}

.site-footer h5 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  transition: .3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact i {
  color: var(--accent);
  margin-right: 10px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: .3s ease;
}

.social-links a:hover {
  background: var(--accent);
}

.footer-divider {
  border-color: rgba(255,255,255,0.12);
  margin: 28px 0 20px;
}

.footer-bottom {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
}

/* =========================
   FLOATING ACTIONS
   ========================= */
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-actions a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.float-call {
  background: var(--primary);
}

.float-whatsapp {
  background: #25D366;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1199.98px) {
  .hero-home-advanced {
    min-height: auto;
    padding-top: 5rem !important;
    padding-bottom: 4rem !important;
  }

  .hero-home-advanced .hero-content h1 {
    font-size: 3.2rem;
    max-width: 560px;
  }

  .hero-home-advanced .hero-content p {
    max-width: 560px;
  }

  .hero-side-card {
    max-width: 100%;
    padding: 24px;
  }

  .hero-side-card h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 991.98px) {
  .page-banner {
    padding: 100px 0 80px;
  }

  .page-banner h1 {
    font-size: 2.2rem;
  }

  .page-banner p {
    font-size: 0.95rem;
  }

  .hero-home-advanced {
    min-height: auto;
    padding-top: 3.5rem !important;
    padding-bottom: 3rem !important;
  }

  .hero-home-advanced .hero-content {
    text-align: center !important;
    max-width: 100%;
    margin: 20vh auto;
  }

  .hero-home-advanced .hero-content h1 {
    font-size: 2.6rem;
    max-width: 100%;
  }

  .hero-home-advanced .hero-content p {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-home-advanced .hero-btns {
    justify-content: center !important;
  }

  .hero-home-advanced .section-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-side-card {
    margin: 8px auto 0;
    max-width: 720px;
    padding: 24px 20px;
  }

  .hero-mini-stat {
    min-height: 96px;
    padding: 16px 12px;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-card .card-body {
    padding: 1.25rem;
  }

  .project-img-wrap {
    height: 200px;
  }

  .testimonial-card {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    flex: 0 0 300px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 50vh;
    padding: 70px 14px 36px;
    background-position: center top;
  }

  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .hero p {
    font-size: 0.92rem;
    margin-bottom: 18px;
  }

  .hero-home-advanced {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .hero-home-advanced .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-home-advanced .hero-content p {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .hero-side-card {
    border-radius: 20px;
    padding: 20px 16px;
  }

  .hero-side-card h3 {
    font-size: 1.35rem;
    line-height: 1.35;
    text-align: center;
  }

  .hero-feature-item {
    gap: 12px;
  }

  .hero-feature-item i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .hero-mini-stat {
    min-height: auto;
    padding: 14px 10px;
    border-radius: 14px;
  }

  .hero-mini-stat h4 {
    font-size: 1.05rem;
  }

  .hero-mini-stat p {
    font-size: 0.82rem;
  }

  .section-title {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  .section-badge {
    font-size: 11px;
    padding: 6px 12px;
  }

  .trust-box,
  .mini-feature-card {
    padding: 16px 12px;
    border-radius: 16px;
  }

  .trust-box h5,
  .mini-feature-card h6 {
    font-size: 0.98rem;
  }

  .service-card {
    border-radius: 18px;
  }

  .service-card .card-body {
    padding: 1.1rem;
  }

  .service-home-image,
  .service-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 16px;
  }

  .project-img-wrap {
    height: 210px;
  }

  .project-card-body {
    padding: 16px;
  }

  .testimonial-card {
    min-width: 86vw;
    max-width: 86vw;
    flex: 0 0 86vw;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .testimonial-avatar {
    width: 54px;
    height: 54px;
  }

  .cta-box {
    padding: 28px 16px;
    border-radius: 20px;
  }

  .cta-box .btn {
    width: 100%;
    min-height: 44px;
  }

  .cta-box .d-flex {
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px !important;
  }
}

@media (max-width: 575.98px) {
  .container,
  .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar-brand {
    font-size: 0.82rem;
    max-width: 210px;
    line-height: 1.2;
  }

  .navbar-toggler {
    padding: 4px 8px;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 50vh;
    padding: 64px 12px 30px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .hero-home-advanced {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .hero-home-advanced .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-home-advanced .hero-content p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1rem !important;
  }

  .hero-btns {
    gap: 10px;
    margin-bottom: 1rem !important;
  }

  .hero-btns .btn {
    min-width: 110px;
    font-size: 0.9rem;
    padding: 11px 14px;
  }

  .hero-mini-stat {
    padding: 12px 8px;
  }

  .hero-mini-stat h4 {
    font-size: 1rem;
  }

  .hero-mini-stat p {
    font-size: 0.76rem;
  }

  .hero-side-card {
    padding: 16px 14px;
  }

  .hero-side-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem !important;
  }

  .hero-feature-item {
    gap: 10px;
  }

  .hero-feature-item h6 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .hero-feature-item p {
    font-size: 0.84rem;
    line-height: 1.6;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .trust-box,
  .mini-feature-card {
    padding: 14px 10px;
  }

  .trust-box h5,
  .mini-feature-card h6 {
    font-size: 0.9rem;
  }

  .trust-box small {
    font-size: 0.76rem;
  }

  .service-card {
    padding: 14px 10px;
  }

  .service-card i {
    font-size: 1.25rem;
  }

  .service-card h6 {
    font-size: 0.78rem;
  }

  .service-card .card-body {
    padding: 1rem;
  }

  .service-card h5 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .service-home-image,
  .service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .project-img-wrap {
    height: 190px;
  }

  .project-card-body h5 {
    font-size: 1rem;
  }

  .project-card-body p {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .testimonial-card {
    width: 260px;
    min-width: 88vw;
    max-width: 88vw;
    flex: 0 0 88vw;
    padding: 20px 16px;
  }

  .testimonial-top h5 {
    font-size: 0.98rem;
  }

  .testimonial-top span,
  .testimonial-card p {
    font-size: 0.86rem;
  }

  .testimonial-avatar {
    width: 56px;
    height: 56px;
  }

  .cta-box {
    padding: 22px 14px;
  }

  .cta-box .section-title {
    font-size: 1.35rem;
  }

  .cta-box p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .page-banner {
    min-height: 20vh;
    padding: 80px 0 60px;
    text-align: center;
  }

  .page-banner h1 {
    font-size: 1.7rem;
    line-height: 1.3;
  }

  .page-banner p {
    font-size: 0.85rem;
    padding: 0 10px;
  }

  .floating-actions a {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 380px) {
  .hero-home-advanced .hero-content h1 {
    font-size: 1.55rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .hero-btns .btn,
  .cta-box .btn {
    font-size: 0.88rem;
    padding: 10px 12px;
  }

  .testimonial-card {
    min-width: 90vw;
    max-width: 90vw;
    flex: 0 0 90vw;
  }
}
/* ABOUT PAGE IMPROVEMENTS */
.about-image-wrap {
  position: relative;
}

.about-main-image {
  object-fit: cover;
  min-height: 100%;
}

.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 767.98px) {
  .py-lg-6 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .about-main-image {
    max-height: 420px;
    object-fit: cover;
  }
}
.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 767.98px) {
  .py-lg-6 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
/* TESTIMONIAL PAGE GRID VERSION */
.testimonial-grid-card {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  flex: unset;
  animation: none;
}

.testimonial-grid-card p {
  margin-bottom: 0;
}

.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 767.98px) {
  .py-lg-6 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
/* CONTACT PAGE EXTRA POLISH */
.form-control,
textarea.form-control {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid #dbe2ea;
  box-shadow: none;
}

.form-control:focus,
textarea.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.15rem rgba(252, 163, 17, 0.15);
}

.contact-box .form-label {
  font-weight: 500;
  color: var(--primary);
}
