/********** Template CSS **********/
:root {
  --primary: #64b5f6;
  --light: #f5f5f5;
  --dark: #353535;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-black {
  font-weight: 900 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar-light .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
  height: 75px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
}

.navbar-light.sticky-top {
  top: -100px;
  transition: 0.5s;
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-carousel .owl-carousel-item h5,
  .header-carousel .owl-carousel-item p {
    font-size: 14px !important;
    font-weight: 400 !important;
  }

  .header-carousel .owl-carousel-item h1 {
    font-size: 30px;
    font-weight: 600;
  }
}

.header-carousel .owl-nav {
  position: absolute;
  width: 200px;
  height: 45px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  font-size: 22px;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.header-carousel .owl-dots {
  position: absolute;
  height: 45px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: transparent;
  border: 1px solid #ffffff;
  transition: 0.5s;
}

.header-carousel .owl-dot::after {
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  top: 4px;
  left: 4px;
  background: transparent;
  border: 1px solid #ffffff;
}

.header-carousel .owl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

.page-header {
  background: linear-gradient(rgba(53, 53, 53, 0.7), rgba(53, 53, 53, 0.7)),
    url(../my-img/herobanner4.webp) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

/*** Section Title ***/
.section-title h1 {
  position: relative;
  display: inline-block;
  padding: 0 60px;
}

.section-title.text-start h1 {
  padding-left: 0;
}

.section-title h1::before,
.section-title h1::after {
  position: absolute;
  content: "";
  width: 45px;
  height: 5px;
  bottom: 0;
  background: var(--dark);
}

.section-title h1::before {
  left: 0;
}

.section-title h1::after {
  right: 0;
}

.section-title.text-start h1::before {
  display: none;
}

/*** About ***/
@media (min-width: 992px) {
  .container.about {
    max-width: 100% !important;
  }

  .about-text {
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .about-text {
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .about-text {
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Service ***/
.service-item img {
  transition: 0.5s;
}

.service-item:hover img {
  transform: scale(1.1);
}

/*** Feature ***/
@media (min-width: 992px) {
  .container.feature {
    max-width: 100% !important;
  }

  .feature-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .feature-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .feature-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Project Portfolio ***/
#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: 0.5s;
  border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
  color: var(--primary);
  border-color: var(--primary);
}

.portfolio-item img {
  transition: 0.5s;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0;
  height: 0;
  bottom: 0;
  left: 50%;
  background: rgba(53, 53, 53, 0.7);
  transition: 0.5s;
}

.portfolio-item:hover .portfolio-overlay {
  width: 100%;
  height: 100%;
  left: 0;
}

.portfolio-item .portfolio-overlay .btn {
  opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
  opacity: 1;
}

/*** Quote ***/
@media (min-width: 992px) {
  .container.quote {
    max-width: 100% !important;
  }

  .quote-text {
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .quote-text {
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .quote-text {
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Team ***/
.team-item img {
  transition: 0.5s;
}

.team-item:hover img {
  transform: scale(1.1);
}

.team-item .team-social {
  position: absolute;
  width: 38px;
  top: 50%;
  left: -38px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  transition: 0.5s;
}

.team-item .team-social .btn {
  color: var(--primary);
  background: #ffffff;
}

.team-item .team-social .btn:hover {
  color: #ffffff;
  background: var(--primary);
}

.team-item:hover .team-social {
  left: 0;
}

/*** Testimonial ***/
.testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

@media (min-width: 768px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}

.testimonial-carousel .owl-item .testimonial-text {
  border: 5px solid var(--light);
  transform: scale(0.8);
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  transform: scale(1);
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 350px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: 0.5s;
  z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
  width: 300px;
  opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  color: var(--primary);
  font-size: 45px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

/*** Contact ***/
@media (min-width: 992px) {
  .container.contact {
    max-width: 100% !important;
  }

  .contact-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .contact-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .contact-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/*** Footer ***/
.footer {
  background: linear-gradient(
      rgba(60, 120, 200, 0.85),
      rgba(80, 200, 170, 0.85)
    ),
    url(../img/footer.jpg) center center no-repeat;
  background-size: cover;
  color: #fff;
}

/* Fix uneven space between columns */
.footer .container .row {
  justify-content: space-between; /* Distribute columns evenly */
  flex-wrap: wrap;
  gap: 2rem; /* Adds space between columns */
}

/* Make all columns take proportional space */
.footer .col-lg-3,
.footer .col-md-6 {
  flex: 1 1 22%;
  min-width: 240px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Social buttons */
.footer .btn.btn-social {
  margin-right: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #fff;
  transition: 0.3s ease;
  border-radius: 4px;
}

.footer .btn.btn-social:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* Footer links */
.footer .btn.btn-link {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 8px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  transform: translateX(5px);
}

/* Copyright section */
.footer .copyright {
  padding: 20px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  margin-top: 30px;
}

/* Hover for copyright links */
.footer .copyright a:hover {
  color: var(--primary);
}

/* Responsive design */
@media (max-width: 992px) {
  .footer .container .row {
    justify-content: center;
  }

  .footer .col-lg-3,
  .footer .col-md-6 {
    flex: 1 1 45%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer .btn.btn-link {
    text-align: center;
  }

  .footer .btn.btn-social {
    margin: 5px;
  }

  .footer .col-md-6,
  .footer .col-lg-3 {
    flex: 1 1 100%;
    margin-bottom: 25px;
  }

  .footer img {
    margin-bottom: 10px;
  }
}

/* services  */

/* Services Section - White Background with Black Text */

/* Section Background - White */
.ct-categories {
  padding: 80px 0;
  background-color: #ffffff; /* White background */
}

/* Section Header - Big Bold "Our Services" Logo Style */
.section-header .title {
  color: #1f2121; /* Dark black text */
  font-size: 48px; /* Extra large font size */
  font-weight: 700; /* Bold */
  margin-bottom: 15px;
  letter-spacing: -1px;
  text-transform: capitalize;
  line-height: 1.2;
}

.section-header .subtitle {
  color: #4a4a4a; /* Dark gray subtitle */
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 10px;
}

/* Service Cards - White Background with Border */
.ct-category-icon {
  background-color: #ffffff; /* White background */
  border: 1px solid rgba(0, 0, 0, 0.1); /* Light gray border */
  border-radius: 12px;
  padding: 40px 30px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Hover State - Peach Background */
.ct-category:hover .ct-category-icon {
  background-color: #add8e6; /* Peach color */
  border: 1px solid rgba(255, 160, 122, 0.4); /* Peach border */
  box-shadow: 0 10px 20px -5px rgba(255, 160, 122, 0.2),
    0 4px 8px -2px rgba(255, 160, 122, 0.15);
  transform: translateY(-5px);
}

/* Heading - Red Color */
.ct-category-icon h5 {
  color: #c0152f; /* Red color */
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.ct-category:hover .ct-category-icon h5 {
  color: #0097a7; /* Brighter red on hover */
}

/* Description Text - Black/Dark Gray */
.ct-category-icon p.hover-clr {
  color: #333333; /* Dark gray/black for description */
  font-size: var(--font-size-base);
  line-height: 1.6;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.ct-category:hover .ct-category-icon p.hover-clr {
  color: #1f2121; /* Pure black on hover */
}

/* "Read More" Link - Red Color */
.ct-category-icon span {
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: #c0152f; /* Red color */
  transition: all 0.3s ease;
  position: relative;
}

.ct-category:hover .ct-category-icon span {
  color: #0097a7; /* Brighter red on hover */
}

/* Arrow Animation */
.ct-category-icon span::after {
  content: "→";
  margin-left: 8px;
  transition: margin-left 0.3s ease;
  font-size: 16px;
}

.ct-category:hover .ct-category-icon span::after {
  margin-left: 12px;
}

/* Focus State for Accessibility */
.ct-category:focus-visible {
  outline: none;
}

.ct-category:focus-visible .ct-category-icon {
  outline: 2px solid #c0152f;
  outline-offset: 2px;
  border-color: rgba(192, 21, 47, 0.5);
}

/* Active/Click State */
.ct-category:active .ct-category-icon {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px -3px rgba(255, 160, 122, 0.25);
}

/* Additional Text Styling */
.ct-category a {
  text-decoration: none;
}

/* Tablet Responsive (768px - 1024px) */
@media (max-width: 1024px) {
  .section-header .title {
    font-size: 42px; /* Slightly smaller on tablets */
    font-weight: 700;
    color: #1f2121;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
  .ct-categories {
    padding: 60px 0;
  }

  .section-header .title {
    font-size: 38px; /* Adjusted for medium screens */
    font-weight: 700;
    color: #1f2121;
    margin-bottom: 18px;
  }

  .section-header .subtitle {
    color: #4a4a4a;
    font-size: 16px;
  }

  .ct-category-icon {
    padding: 30px 25px;
  }

  .ct-category-icon h5 {
    font-size: var(--font-size-xl);
  }

  .ct-category-icon p.hover-clr {
    color: #333333;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
  .ct-categories {
    padding: 50px 0;
    background-color: #ffffff;
  }

  .section-header .title {
    font-size: 32px; /* Scaled down for mobile landscape */
    font-weight: 700;
    color: #1f2121;
    margin-bottom: 16px;
  }

  .section-header .subtitle {
    color: #4a4a4a;
    font-size: 15px;
  }

  .ct-category {
    margin-bottom: 20px;
  }

  .ct-category-icon {
    padding: 25px 20px;
    background-color: #ffffff;
  }

  .ct-category-icon h5 {
    font-size: var(--font-size-lg);
    color: #c0152f;
  }

  .ct-category-icon p.hover-clr {
    color: #333333;
  }

  .ct-category-icon span {
    color: #c0152f;
  }
}

/* Mobile Portrait (less than 576px) */
@media (max-width: 575px) {
  .ct-categories {
    padding: 40px 0;
    background-color: #ffffff;
  }

  .section-header .title {
    font-size: 28px; /* Readable on small screens */
    font-weight: 700;
    color: #1f2121;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
  }

  .section-header .subtitle {
    color: #4a4a4a;
    font-size: 14px;
    padding: 0 10px;
  }

  .ct-category-icon {
    padding: 20px 18px;
    background-color: #ffffff;
  }

  .ct-category-icon h5 {
    font-size: var(--font-size-md);
    color: #c0152f;
  }

  .ct-category-icon p.hover-clr {
    color: #333333;
  }

  .ct-category-icon span {
    color: #c0152f;
  }

  /* Simplified hover on mobile */
  .ct-category:active .ct-category-icon {
    background-color: #add8e6;
    transform: scale(0.98);
  }
}

/* Extra Small Devices (less than 400px) */
@media (max-width: 399px) {
  .section-header .title {
    font-size: 24px; /* Even smaller for very small screens */
    font-weight: 700;
    color: #1f2121;
  }

  .section-header .subtitle {
    font-size: 13px;
  }
}

/* Remove Dark Mode (Force Light Mode) */
@media (prefers-color-scheme: dark) {
  .ct-categories {
    background-color: #ffffff !important;
  }

  .section-header .title {
    color: #1f2121 !important;
    font-weight: 700;
  }

  .section-header .subtitle {
    color: #4a4a4a !important;
  }

  .ct-category-icon {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .ct-category:hover .ct-category-icon {
    background-color: #add8e6 !important;
  }

  .ct-category-icon h5 {
    color: #c0152f !important;
  }

  .ct-category-icon p.hover-clr {
    color: #333333 !important;
  }

  .ct-category-icon span {
    color: #c0152f !important;
  }
}

/* Services Page */

/* Our Services Heading - Hover Effect */
.section-title h1 {
  color: #1f2121 !important; /* Dark black text */
  font-size: 48px !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
  letter-spacing: -1px;
  line-height: 1.2;
  transition: color 0.3s ease; /* Smooth transition */
  cursor: pointer; /* Shows it's hoverable */
}

.section-title h1:hover {
  color: #c0152f !important; /* Red color on hover */
}

/* Also for display-5 class */
.display-5 {
  font-size: 48px !important;
  font-weight: 700 !important;
  transition: color 0.3s ease;
  cursor: pointer;
}

.display-5:hover {
  color: #c0152f !important; /* Red color on hover */
}

/* ========== ADDITIONAL CSS - SVG ICONS FOR SERVICES ========== */

/* SVG Icon Styling for Services Section */
.service-svg {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 24px auto !important;
  display: block !important;
  transition: all 0.3s ease;
}

/* SVG Color Change on Hover */
.ct-category:hover .service-svg path,
.ct-category:hover .service-svg polyline,
.ct-category:hover .service-svg circle,
.ct-category:hover .service-svg rect,
.ct-category:hover .service-svg g {
  fill: #c0152f !important;
  stroke: #c0152f !important;
}

.ct-category:hover .service-svg polyline {
  fill: none !important;
}

.ct-category:hover .service-svg #secondary,
.ct-category:hover .service-svg #secondary-2 {
  stroke: #c0152f !important;
}

.ct-category:hover .service-svg #primary {
  stroke: #c0152f !important;
}

.ct-category:hover .service-svg .st0 {
  fill: #c0152f !important;
}

/* services component */

/* ========== NEW SERVICES SECTION WITH UNIQUE CLASS NAMES ========== */

/* Service Section Wrapper */
.service-section-wrapper {
  padding: 80px 0 !important;
  background-color: #ffffff !important;
}

/* Service Section Title */
.service-section-title {
  margin-bottom: 50px !important;
}

.service-main-title {
  color: #1f2121 !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
  letter-spacing: -1px;
  line-height: 1.2;
  transition: color 0.3s ease;
  cursor: pointer;
}

.service-main-title:hover {
  color: #c0152f !important;
}

/* Service Grid */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  row-gap: 30px;
}

/* Service Box Container */
.service-box {
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

/* Service Box Inner */
.service-box-inner {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 12px;
  padding: 40px 30px !important;
  height: 100%;
  min-height: 320px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Hover State - Peach Background */
.service-box:hover .service-box-inner {
  background-color: #add8e6 !important;
  border: 1px solid rgba(255, 160, 122, 0.5) !important;
  box-shadow: 0 12px 24px -6px rgba(255, 160, 122, 0.25),
    0 6px 12px -3px rgba(255, 160, 122, 0.18);
  transform: translateY(-8px);
}

/* SVG Icon Styling */
.service-icon-svg {
  width: 80px !important;
  height: 80px !important;
  margin-bottom: 24px !important;
  transition: all 0.3s ease;
  display: block;
}

/* SVG Color Change on Hover */
.service-box:hover .service-icon-svg,
.service-box:hover .service-icon-svg * {
  fill: #c0152f !important;
  stroke: #c0152f !important;
}

.service-box:hover .service-icon-svg path {
  fill: #c0152f !important;
  stroke: #c0152f !important;
}

.service-box:hover .service-icon-svg polyline {
  stroke: #c0152f !important;
  fill: none !important;
}

.service-box:hover .service-icon-svg circle {
  stroke: #c0152f !important;
}

.service-box:hover .service-icon-svg rect {
  fill: #c0152f !important;
}

.service-box:hover .service-icon-svg .st0 {
  fill: #c0152f !important;
}

/* Service Title */
.service-box-title {
  color: #c0152f !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  margin-bottom: 16px !important;
  margin-top: 0 !important;
  transition: all 0.3s ease;
  text-align: center;
}

.service-box:hover .service-box-title {
  color: #0097a7 !important;
}

/* Service Description */
.service-box-text {
  color: #333333 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  margin-bottom: 0 !important;
  transition: color 0.3s ease;
  text-align: center;
}

.service-box:hover .service-box-text {
  color: #1f2121 !important;
}

/* Responsive Design */

/* Large Tablets (992px - 1199px) */
@media (max-width: 1199px) {
  .service-main-title {
    font-size: 42px !important;
  }

  .service-box-inner {
    padding: 35px 25px !important;
    min-height: 300px;
  }

  .service-box-title {
    font-size: 20px !important;
  }

  .service-box-text {
    font-size: 14px !important;
  }

  .service-icon-svg {
    width: 70px !important;
    height: 70px !important;
    margin-bottom: 20px !important;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
  .service-section-wrapper {
    padding: 60px 0 !important;
  }

  .service-main-title {
    font-size: 38px !important;
    margin-bottom: 20px !important;
  }

  .service-box-inner {
    padding: 30px 20px !important;
    min-height: 280px;
  }

  .service-icon-svg {
    width: 65px !important;
    height: 65px !important;
    margin-bottom: 18px !important;
  }

  .service-box-title {
    font-size: 19px !important;
  }

  .service-box-text {
    font-size: 14px !important;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
  .service-section-wrapper {
    padding: 50px 0 !important;
  }

  .service-section-title {
    margin-bottom: 40px !important;
  }

  .service-main-title {
    font-size: 32px !important;
    margin-bottom: 18px !important;
  }

  .service-grid {
    row-gap: 20px;
    margin-left: -10px;
    margin-right: -10px;
  }

  .service-box-inner {
    padding: 25px 20px !important;
    min-height: auto;
  }

  .service-icon-svg {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 16px !important;
  }

  .service-box-title {
    font-size: 18px !important;
  }

  .service-box-text {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }
}

/* Mobile Portrait (less than 576px) */
@media (max-width: 575px) {
  .service-section-wrapper {
    padding: 40px 0 !important;
  }

  .service-section-title {
    margin-bottom: 30px !important;
  }

  .service-main-title {
    font-size: 28px !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.5px;
  }

  .service-box-inner {
    padding: 20px 18px !important;
  }

  .service-icon-svg {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 14px !important;
  }

  .service-box-title {
    font-size: 16px !important;
  }

  .service-box-text {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  /* Tap effect on mobile */
  .service-box:active .service-box-inner {
    background-color: #add8e6 !important;
    transform: scale(0.98);
  }
}

/* Extra Small Devices (less than 400px) */
@media (max-width: 399px) {
  .service-main-title {
    font-size: 24px !important;
  }

  .service-box-inner {
    padding: 18px 15px !important;
  }

  .service-icon-svg {
    width: 45px !important;
    height: 45px !important;
  }

  .service-box-title {
    font-size: 15px !important;
  }

  .service-box-text {
    font-size: 12px !important;
  }
}

/* ========== HEADER LOGO SIZE - LARGER VERSION ========== */

/* Main Header Logo - Slightly Smaller Version */
.main-header-logo {
  width: 150px !important; /* Desktop default - reduced from 180px */
  height: auto !important;
  max-width: 100%;
  transition: transform 0.3s ease;
}

/* Logo Link Container */
.main-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Hover Effect */
.main-logo-link:hover .main-header-logo {
  transform: scale(1.05);
}

/* Extra Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .main-header-logo {
    width: 170px !important;
  }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .main-header-logo {
    width: 150px !important;
  }
}

/* Large Tablets (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .main-header-logo {
    width: 130px !important;
  }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .main-header-logo {
    width: 120px !important;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .main-header-logo {
    width: 110px !important;
  }
}

/* Mobile Portrait (less than 576px) */
@media (max-width: 575px) {
  .main-header-logo {
    width: 100px !important;
  }
}

/* Extra Small Devices (less than 400px) */
@media (max-width: 399px) {
  .main-header-logo {
    width: 90px !important;
  }
}

/* ========== TIKTOK SOCIAL BUTTON - UNIQUE STYLING ========== */

/* TikTok Social Button Container */
.social-btn-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  background: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* TikTok SVG Icon */
.tiktok-svg-icon {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

/* TikTok Specific Styling */
.tiktok-social-btn {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Hover Effect - TikTok Colors */
.tiktok-social-btn:hover {
  background: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
  border-color: #00f2ea;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 242, 234, 0.3);
}

.tiktok-social-btn:hover .tiktok-svg-icon {
  fill: #ffffff;
  transform: scale(1.1);
}

/* Active/Click State */
.tiktok-social-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 242, 234, 0.2);
}

/* Dark Background Alternative */
.tiktok-social-btn.dark-bg {
  border-color: rgba(0, 0, 0, 0.2);
}

.tiktok-social-btn.dark-bg .tiktok-svg-icon {
  fill: #010101;
}

.tiktok-social-btn.dark-bg:hover {
  background: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
  border-color: #ff0050;
}

.tiktok-social-btn.dark-bg:hover .tiktok-svg-icon {
  fill: #ffffff;
}

/* Responsive Sizing */
@media (max-width: 991px) {
  .social-btn-custom {
    width: 36px;
    height: 36px;
  }

  .tiktok-svg-icon {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 767px) {
  .social-btn-custom {
    width: 34px;
    height: 34px;
    margin: 5px;
  }

  .tiktok-svg-icon {
    width: 15px;
    height: 15px;
  }
}

/* Focus State for Accessibility */
.social-btn-custom:focus {
  outline: 2px solid #00f2ea;
  outline-offset: 2px;
}

/* Pulse Animation on Hover (Optional) */
.tiktok-social-btn:hover::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(0, 242, 234, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: tiktokPulse 1s ease-out infinite;
  z-index: 1;
}

@keyframes tiktokPulse {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

.square-img-wrapper {
  width: 100%;
  max-width: 240px; /* Adjust size as needed */
  aspect-ratio: 1/1;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.square-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .square-img-wrapper {
    max-width: 80vw;
    border-radius: 10px;
  }
}

.about-heading:hover {
  color: #dc3545 !important;
  transition: color 0.2s;
  cursor: pointer;
}

.custom-services-section {
  padding: 60px 0;
  background: #fff;
}

.custom-services-title {
  text-align: center;
  margin-bottom: 30px;
}

.custom-services-label {
  color: #888;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 22px;
  margin-bottom: 10px;
}

.custom-services-heading {
  color: black;
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 20px 0;
}

.custom-services-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.custom-service-card {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  padding: 30px 25px;
  flex: 0 1 340px;
  min-width: 290px;
  max-width: 370px;
  box-shadow: 0 2px 8px rgba(70, 130, 180, 0.04);
  text-align: center;
  transition: box-shadow 0.2s;
}

.custom-service-card:hover {
  box-shadow: 0 6px 24px rgba(43, 163, 179, 0.05);
  background: #add8e6;
}

.custom-service-num {
  font-size: 48px;
  color: #6d6d6d;
  font-weight: 400;
  margin-bottom: 12px;
}

.custom-service-title {
  color: black;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.custom-service-desc {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

.custom-services-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 230px; /* Make button width similar to card width */
}

.custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: black;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.custom-btn:hover {
  transform: translateX(4px);
  background: black;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.25);
  color: #fff;
}

.header-btns {
  display: flex;
  gap: 22px; /* Space between buttons */
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-right: 20px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.6em 1.5em;
  border-radius: 12px;
  color: #222; /* Black text */
  background: #fff; /* White background */
  border: 2px solid black; /* Optional: blue border for better contrast */
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(100, 139, 198, 0.09);
  max-width: 210px;
  min-width: 160px;
  width: auto;
  margin: 0;
}

.header-btn .header-btn-icon {
  margin-left: 10px;
  font-size: 1.12em;
}

/* Hover: invert colors */
.header-btn:hover {
  background: black; /* Blue background on hover */
  color: #fff; /* White text on hover */
  border-color: black; /* Keep border blue */
}

@media (max-width: 600px) {
  .header-btns {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0; /* Remove right margin! */
  }
  .header-btn {
    width: 90vw;
    min-width: 0;
    max-width: 96vw; /* Button doesn't exceed the viewport */
    font-size: 1.02rem;
    padding: 15px 0;
    margin: 12px 0;
    box-sizing: border-box;
    border-radius: 12px;
    text-align: center;
    /* Optional for more uniform look */
  }
}

/* ========== HERO CAROUSEL RESPONSIVE FIX ========== */
.hero-carousel-overlay {
  background: rgba(53, 53, 53, 0.7);
  text-align: center;
  padding: 2rem 1rem;
}

.hero-carousel-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

/* Typography scaling */
.hero-carousel-overlay h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-carousel-overlay h5 {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  letter-spacing: 2px;
}

.hero-carousel-overlay p {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

/* Buttons */
.hero-carousel-overlay .btn {
  border-radius: 50px;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  padding: 0.75rem 2rem;
}

/* Large screens */
@media (min-width: 1200px) {
  .hero-carousel-overlay .container {
    max-width: 1000px;
  }
}

/* Medium screens */
@media (max-width: 992px) {
  .hero-carousel-img {
    height: 70vh;
  }

  .hero-carousel-overlay h1 {
    font-size: 2rem;
  }

  .hero-carousel-overlay p {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* Small screens */
@media (max-width: 576px) {
  .hero-carousel-img {
    height: 60vh;
  }

  .hero-carousel-overlay {
    padding: 1.5rem 1rem;
  }

  .hero-carousel-overlay h1 {
    font-size: 1.6rem;
  }

  .hero-carousel-overlay p {
    font-size: 0.95rem;
  }
}
/* Mobile Navbar Link Padding Fix */
@media (max-width: 991px) {
  .navbar-nav {
    padding-left: 1.25rem !important; /* adds left space for links */
  }

  .navbar-nav .nav-link {
    padding-left: 0.5rem !important; /* inner link padding */
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    display: block;
  }

  /* Optional: Make Contact Us / Catalogue buttons full width with space */
  .header-btn {
    width: 90%;
    margin: 0.5rem auto;
    display: block;
    text-align: center;
    border-radius: 10px;
  }

  /* Optional: reduce navbar collapse padding to fit better */
  .navbar-collapse {
    padding-bottom: 1rem;
  }
}
.custom-service-desc {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.custom-service-desc .btn {
  padding: 4px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: black;
  border: none;
  color: #fff;
}

.custom-service-desc .btn:hover {
  transform: translateY(-2px);
  background: black;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.25);
  color: #fff !important;
}
