html, body {
  overflow-x: hidden;
}

img, iframe {
  max-width: 100%;
  height: auto;
}

:root {
  --body-dark: #4A4A4A;
  --first: #00265D;
  --second: #F73500;
  --third: #F5740A; 
  --fourth: #FFFFFF;
  --fifth: #1800AD;
  --sixth: #F6FEFF;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg-body);
  font-family: 'Raleway', sans-serif;
}

.bg-body {
  background: var(--bg-body) !important;
}

/* Background colors */
.bg-first   { background-color: var(--first) !important; }
.bg-second  { background-color: var(--second) !important; }
.bg-third   { background-color: var(--third) !important; }
.bg-fourth  { background-color: var(--fourth) !important; }
.bg-fifth  { background-color: var(--fifth) !important; }
.bg-sixth  { background-color: var(--sixth) !important; }
.body-dark  { background-color: var(--body-dark) !important; }

/* Text colors */
.text-first   { color: var(--first) !important; }
.text-second  { color: var(--second) !important; }
.text-third   { color: var(--third) !important; }
.text-fourth  { color: var(--fourth) !important; }

/* Border colors */
.border-first   { border-color: var(--first) !important; }
.border-second  { border-color: var(--second) !important; }
.border-third   { border-color: var(--third) !important; }
.border-fourth  { border-color: var(--fourth) !important; }

.border-top-1 { border-top-width: 1px !important; }
.border-top-2 { border-top-width: 2px !important; }
.border-top-3 { border-top-width: 3px !important; }
.border-top-4 { border-top-width: 4px !important; }
.border-top-5 { border-top-width: 5px !important; }

.border-bottom-1 { border-bottom-width: 1px !important; }
.border-bottom-2 { border-bottom-width: 2px !important; }
.border-bottom-3 { border-bottom-width: 3px !important; }
.border-bottom-4 { border-bottom-width: 4px !important; }
.border-bottom-5 { border-bottom-width: 5px !important; }

.border-start-1 { border-left-width: 1px !important; }
.border-start-2 { border-left-width: 2px !important; }
.border-start-3 { border-left-width: 3px !important; }
.border-start-4 { border-left-width: 4px !important; }
.border-start-5 { border-left-width: 5px !important; }

.border-end-1 { border-right-width: 1px !important; }
.border-end-2 { border-right-width: 2px !important; }
.border-end-3 { border-right-width: 3px !important; }
.border-end-4 { border-right-width: 4px !important; }
.border-end-5 { border-right-width: 5px !important; }

/* Button styles */
.btn-first {
  background-color: var(--first);
  color: var(--fourth);
  border: 1px solid var(--first);
}
.btn-first:hover {
  background-color: transparent;
  color: var(--first);
  border: 1px solid var(--first);
}

.btn-second {
  background-color: var(--second);
  color: var(--fourth);
  border: 1px solid var(--second);
}
.btn-second:hover {
  background-color: transparent;
  color: var(--second);
  border: 1px solid var(--second);
}

.btn-third {
  background-color: var(--third);
  color: var(--fourth);
  border: 1px solid var(--third);
}
.btn-third:hover {
  background-color: transparent;
  color: var(--third);
  border: 1px solid var(--third);
}

.btn-fourth {
  background-color: var(--fourth);
  color: var(--third);
  border: 1px solid var(--fourth);
}
.btn-fourth:hover {
  background-color: transparent;
  color: var(--fourth);
  border: 1px solid var(--fourth);
}

/* Padding Utilities */
.pt-50   { padding-top: 50px; }
.pt-100  { padding-top: 100px; }
.pt-150  { padding-top: 150px; }

.pb-50   { padding-bottom: 50px; }
.pb-100  { padding-bottom: 100px; }
.pb-150  { padding-bottom: 150px; }

.pl-50   { padding-left: 50px; }
.pl-100  { padding-left: 100px; }

.pr-50   { padding-right: 50px; }
.pr-100  { padding-right: 100px; }

/* Margin Utilities */
.mt-50   { margin-top: 50px; }
.mt-100  { margin-top: 100px; }
.mt-150  { margin-top: 150px; }

.mb-50   { margin-bottom: 50px; }
.mb-100  { margin-bottom: 100px; }
.mb-150  { margin-bottom: 150px; }

.ml-50   { margin-left: 50px; }
.ml-100  { margin-left: 100px; }

.mr-50   { margin-right: 50px; }
.mr-100  { margin-right: 100px; }

/* Combined vertical & horizontal */
.py-50   { padding-top: 50px; padding-bottom: 50px; }
.py-100  { padding-top: 100px; padding-bottom: 100px; }

.px-50   { padding-left: 50px; padding-right: 50px; }
.px-100  { padding-left: 100px; padding-right: 100px; }

.my-50   { margin-top: 50px; margin-bottom: 50px; }
.my-100  { margin-top: 100px; margin-bottom: 100px; }

.mx-50   { margin-left: 50px; margin-right: 50px; }
.mx-100  { margin-left: 100px; margin-right: 100px; }

.mt-n1 { margin-top: -0.25rem !important; }
.mt-n2 { margin-top: -0.5rem !important; }
.mt-n3 { margin-top: -1rem !important; }
.mt-n4 { margin-top: -1.5rem !important; }
.mt-n5 { margin-top: -3rem !important; }

/* Max-width utilities */
.max-w-100  { max-width: 100px; }
.max-w-150  { max-width: 150px; }
.max-w-200  { max-width: 200px; }
.max-w-250  { max-width: 250px; }
.max-w-300  { max-width: 300px; }
.max-w-400  { max-width: 400px; }
.max-w-500  { max-width: 500px; }
.max-w-600  { max-width: 600px; }
.max-w-700  { max-width: 700px; }
.max-w-800  { max-width: 800px; }
.max-w-900  { max-width: 900px; }
.max-w-1000 { max-width: 1000px; }

.max-h-100  { max-height: 100px; }
.max-h-150  { max-height: 150px; }
.max-h-200  { max-height: 200px; }
.max-h-250  { max-height: 250px; }
.max-h-300  { max-height: 300px; }
.max-h-400  { max-height: 400px; }
.max-h-500  { max-height: 500px; }
.max-h-600  { max-height: 600px; }
.max-h-700  { max-height: 700px; }
.max-h-800  { max-height: 800px; }
.max-h-900  { max-height: 900px; }
.max-h-1000 { max-height: 1000px; }

.w-150 {
    width: 150px !important;
}

.w-200 {
    width: 200px !important;
}

.w-250 {
    width: 250px !important;
}

.w-300 {
    width: 300px !important;
}

.w-350 {
    width: 350px !important;
}

.h-120 {
    height: 120px !important;
}

.h-150 {
    height: 150px !important;
}

.h-200 {
    height: 200px !important;
}

.h-250 {
    height: 250px !important;
}

.h-300 {
    height: 300px !important;
}

.h-350 {
    height: 350px !important;
}

.fs-72 { font-size: 72px; }
.fs-64 { font-size: 64px; }
.fs-48 { font-size: 48px; }
.fs-42 { font-size: 42px; }
.fs-40 { font-size: 40px; }
.fs-36 { font-size: 36px; }
.fs-32 { font-size: 32px; }
.fs-24 { font-size: 24px; }
.fs-20 { font-size: 20px; }
.fs-16 { font-size: 16px; }

/* Full width container limiters */
.container-narrow { max-width: 720px; margin: 0 auto; }
.container-medium { max-width: 960px; margin: 0 auto; }
.container-wide   { max-width: 1200px; margin: 0 auto; }

/* Responsive image helpers */
.img-max-100 { max-width: 100%; height: auto; }
.img-max-50  { max-width: 50%; height: auto; }
.img-max-25  { max-width: 25%; height: auto; }

.shadow-first {
  box-shadow: 0 3px 5px rgba(0, 38, 93,0.5);
}

.shadow-second {
  box-shadow: 0 3px 5px rgba(247, 53, 0,0.5);
}

.shadow-fifth {
  box-shadow: 0 40px 120px rgba(29, 181, 202,0.5);
}

/* Default navbar for home */
.home-navbar {
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* After scroll */
.home-navbar.scrolled {
  background: #ffffff; /* White */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Optional shadow */
}

/* Smooth transition for logo/toggler */
#navLogo, #navToggler {
    transition: all 0.4s ease-in-out;
}

.scrolled #navLogo {
    display: block !important;
    margin-right: auto; /* logo left */
}

.scrolled #navToggler {
    margin-left: auto !important; /* toggler right */
    margin-right: 0 !important;
}


.main-menu .nav-link {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.main-menu .offcanvas.show {
  background-color: rgba(249, 86, 4, 0.48);
}

.main-menu .offcanvas.show .nav-link {
  color: var(--fourth);
  padding-top: 24px;
  padding-bottom: 24px;
}

.title {
  position: relative;
  margin: auto;
  width: auto;
}

.title .left, .title .right {
  position: absolute;
  top: -50%;
}

.title .left {
  left: 0;
}

.title .right {
  right: 0;
}

@media (max-width: 1024px) {
  .title .left,
  .title .right {
    display: none;
  }
}

.banner {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('../images/banner.png') bottom center/cover no-repeat; 
  display: flex;
  justify-content: center; 
  align-items: start;     
  /* text-align: center; */
  color: #fff;
  flex-direction: column;
  /* margin-top: 40px; */
}

.banner h1 {
  font-size: 42px;
}

.banner h2 {
  font-size: 36px;
}

.banner p {
  font-size: 32px;
  font-weight: 600;
}

.about-banner {
  background: url('../images/about-banner.png') bottom center/cover no-repeat; 
}

.contact-banner {
  background: url('../images/contact-banner.png') bottom center/cover no-repeat; 
}

.banner .content {
  position: relative;
  /* max-width: 1080px; */
  padding: 20px;
}

@media (max-height: 768px) {
  .banner {
    min-height: 100vh;
    height: auto;
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

.service {
  position: relative;
  max-width: 200px;
}

.service::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  box-shadow: 0 4px 50px 10px rgba(245, 116, 10, 0.2);
}

.service .btn {
  position: relative;
}

.service-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 200px;
  height: 220px;
}

.service-content img {
  max-width: 180px;
  margin-bottom: .5rem;
  /* height: 120px; */
  max-height: 150px;
  object-fit: cover;
}

.stats-container {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 720px;
  width: 100%;
}

.stat-box {
  text-align: center;
  flex: 1;
}

.stat-box h2 {
  font-size: 2.5rem;
  color: var(--first);
}

.stat-box p {
  font-size: 1rem;
  color: var(--third);
}

@media (max-width: 1280px) {
  .main-menu .nav-link {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
@media (max-width: 767.98px) {
  .stats-container {
    position: relative;
    max-width: 80%;
    bottom: 0%;
    left: 0;
    transform: none;
  }
  .stat-box h2 {
    font-size: 2rem;
  }
  .stat-box p {
    font-size: 0.9rem;
  }
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--second);
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
}
.icon-circle:hover {
  opacity: 0.85;
}

.gallery {
  column-count: 1;
  column-gap: 1rem;
}

@media (min-width: 576px) {
  .gallery {
    column-count: 2;
  }
}

@media (min-width: 992px) {
  .gallery {
    column-count: 3;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}
.gallery-item img {
  width: 100%;
  border-radius: 1rem;
  display: block;
}

.featured {
  grid-column: span 2;
}

.featured img {
  height: 100%;
  max-height: 600px;
  object-fit: cover;
}

.work-img {
  height: 120px;
  object-fit: cover;
}

.about-img {
  width: 100%;
  max-width: 420px;
  object-fit: cover;
}

.testimonial-carousel {
  position: relative;
  width: 100%;
  max-width: 840px;
  margin: auto;
}

.testimonial-carousel .item {
  padding-left: 40px;
  padding-right: 40px;
}

.testimonial-carousel img {
  display: inline !important;
  width:80px !important; 
  height:80px !important; 
  background-color: #FFFFFF;
  object-fit:cover;
  margin-bottom: 1rem;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.testimonial-carousel .owl-nav button {
    background: #fff !important;
    color: var(--first) !important;
    border: 1px solid var(--first) !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
    transition: all 0.3s ease;
    pointer-events: auto; /* clickable */
}

.testimonial-carousel .owl-nav button:hover {
    background: var(--first) !important;
    color: #fff !important;
}

.testimonial-carousel .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: #999;
    transition: background .3s;
}
.testimonial-carousel .owl-dots .owl-dot.active span {
    background: var(--first);
}

@media (max-width: 768px) {
  .testimonial-carousel .item {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.client-carousel .client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px !important;
    height: 200px !important;
    padding: 10px;
    margin: 20px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(29, 181, 202,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-item img {
  width: 100%;
    object-fit: contain;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(29, 181, 202,0.15);
}

.underline-title .line {
  position: relative;
  display: inline-block;
  padding-bottom: 8px; /* space for brush stroke */
}

.underline-title .line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px; /* adjust thickness */
  background: url("../images/brush-stroke.png") no-repeat center;
  background-size: cover;
}


.form .form-control::placeholder {
  color: #ffffff;       /* White */
  opacity: 1;           /* Ensure full visibility (browsers sometimes fade) */
}

/* Optional: when focused */
.form .form-control:focus::placeholder {
  color: rgba(255, 255, 255, 0.7); /* Slightly dim on focus */
}


