/********** Template CSS **********/
:root {
  --primary: #ff8c42ff;
  --secondary: #ff3c38ff;
  --light: #fff275ff;
  --dark: #a23e48ff;
  --accent: #6c8eadff;
  --maize: #fff275ff;
  --pumpkin: #ff8c42ff;
  --vermilion: #ff3c38ff;
  --redwood: #a23e48ff;
  --air-force-blue: #6c8eadff;
}

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
  font-size: inherit;
  margin-left: 0;
}

h1,
h2,
.font-weight-bold {
  font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
  font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
  font-weight: 500 !important;
}

.btn {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  transition: 0.5s;
}

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

.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-square i,
.btn-sm-square i,
.btn-lg-square i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

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

.navbar-light .navbar-nav .nav-link {
  font-family: "Jost", sans-serif;
  position: relative;
  margin-left: 30px;
  padding: 30px 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
}

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

@media (min-width: 992px) {
  .navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: 0;
    left: 50%;
    background: var(--primary);
    transition: 0.5s;
  }

  .navbar-light .navbar-nav .nav-link:hover::before,
  .navbar-light .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
  }

  .navbar-light .navbar-nav .nav-link.nav-contact::before {
    display: none;
  }
}

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

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 15, 45, 0.5);
  z-index: 1;
}

@media (max-width: 576px) {
  .carousel-caption h5 {
    font-size: 14px;
    font-weight: 500 !important;
  }

  .carousel-caption h1 {
    font-size: 30px;
    font-weight: 600 !important;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

.carousel-indicators {
  align-items: flex-end;
}

.carousel-indicators [data-bs-target] {
  width: 5px;
  height: 25px;
}

.carousel-indicators .active {
  height: 45px;
}

.hero-header {
  background: linear-gradient(rgba(18, 15, 45, 0.5), rgba(18, 15, 45, 0.5)),
    url(../img/carousel-1.jpg) top right no-repeat;
  background-size: cover;
}

.service-item {
  transition: all 0.3s ease;
  border: none !important;
  background: linear-gradient(
    135deg,
    rgba(255, 242, 117, 0.1) 0%,
    rgba(255, 140, 66, 0.1) 100%
  ) !important;
  box-shadow: 0 4px 15px rgba(162, 62, 72, 0.1);
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(162, 62, 72, 0.2);
  background: linear-gradient(
    135deg,
    rgba(255, 242, 117, 0.2) 0%,
    rgba(255, 140, 66, 0.2) 100%
  ) !important;
}

.service-item div {
  z-index: 1;
  border-radius: 15px !important;
  overflow: hidden;
}

.service-item div::after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--pumpkin) 0%, var(--vermilion) 100%);
  border-radius: 15px;
  transition: 0.5s;
  z-index: -1;
}

.service-item:hover div::after {
  width: 100%;
}

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

.service-item:hover * {
  color: var(--maize) !important;
}

.service-item:hover i {
  color: var(--maize) !important;
  transform: scale(1.1);
}

/* Enhanced button styling */
.btn-primary {
  background: linear-gradient(135deg, var(--pumpkin) 0%, var(--vermilion) 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--vermilion) 0%, var(--redwood) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 60, 56, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--vermilion) 0%, var(--redwood) 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 60, 56, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(
    135deg,
    var(--redwood) 0%,
    var(--air-force-blue) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(162, 62, 72, 0.4);
}

/* Enhanced navbar styling */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--pumpkin);
}

.navbar-light .navbar-nav .nav-link::before {
  background: linear-gradient(90deg, var(--pumpkin) 0%, var(--vermilion) 100%);
}

/* Enhanced section backgrounds */
.bg-primary {
  background: linear-gradient(
    135deg,
    var(--pumpkin) 0%,
    var(--vermilion) 100%
  ) !important;
}

.bg-secondary {
  background: linear-gradient(
    135deg,
    var(--vermilion) 0%,
    var(--redwood) 100%
  ) !important;
}

/* Enhanced card styling */
.bg-light {
  background: linear-gradient(
    135deg,
    rgba(255, 242, 117, 0.1) 0%,
    rgba(255, 140, 66, 0.05) 100%
  ) !important;
}

/* Enhanced text colors */
.text-primary {
  color: var(--pumpkin) !important;
}

.text-secondary {
  color: var(--vermilion) !important;
}

/* Enhanced border colors */
.border-primary {
  border-color: var(--pumpkin) !important;
}

.border-secondary {
  border-color: var(--vermilion) !important;
}

.bg-offer {
  background: linear-gradient(rgba(18, 15, 45, 0.5), rgba(18, 15, 45, 0.5)),
    url(../img/carousel-2.jpg) top right no-repeat;
  background-size: cover;
}

.testimonial-carousel .owl-dots {
  height: 45px;
  margin-top: 5px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 5px;
  height: 25px;
  background: #dddddd;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  height: 45px;
  background: var(--primary);
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item .testimonial-text * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: #ffffff !important;
}

.blog-date {
  position: absolute;
  width: 90px;
  height: 65px;
  top: 75px;
  left: -25px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--secondary);
}

.blog-date::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  top: -25px;
  left: 0;
  border: 13px solid;
  border-color: transparent #d34351 #d34351 transparent;
  z-index: -1;
}

/* Enhanced shadows and effects */
.shadow-sm {
  box-shadow: 0 4px 15px rgba(162, 62, 72, 0.1) !important;
}

.shadow-lg {
  box-shadow: 0 15px 35px rgba(162, 62, 72, 0.2) !important;
}

/* Enhanced rounded corners */
.rounded {
  border-radius: 15px !important;
}

.rounded-top {
  border-radius: 15px 15px 0 0 !important;
}

.rounded-bottom {
  border-radius: 0 0 15px 15px !important;
}

/* Enhanced transitions */
.wow {
  transition: all 0.3s ease;
}

/* Enhanced background gradients for sections */
.container-fluid {
  background: linear-gradient(
    135deg,
    rgba(255, 242, 117, 0.05) 0%,
    rgba(255, 140, 66, 0.05) 100%
  );
}

/* Enhanced icon styling */
.btn-square i {
  transition: all 0.3s ease;
}

.btn-square:hover i {
  transform: scale(1.1);
}

/* Enhanced text styling */
.display-5 {
  background: linear-gradient(135deg, var(--pumpkin) 0%, var(--vermilion) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced border styling */
.border-start {
  border-left: 4px solid var(--pumpkin) !important;
}

.border-end {
  border-right: 4px solid var(--vermilion) !important;
}

/* Enhanced accent colors */
.text-warning {
  color: var(--maize) !important;
}

.text-success {
  color: var(--air-force-blue) !important;
}

/* Enhanced hover effects for cards */
.bg-white:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(162, 62, 72, 0.15);
  transition: all 0.3s ease;
}

/* Carousel height consistency */
#header-carousel {
  height: 600px;
  overflow: hidden;
}

#header-carousel .carousel-item {
  height: 600px;
}

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

/* Responsive carousel height */
@media (max-width: 768px) {
  #header-carousel {
    height: 500px;
  }

  #header-carousel .carousel-item {
    height: 500px;
  }
}

@media (max-width: 576px) {
  #header-carousel {
    height: 400px;
  }

  #header-carousel .carousel-item {
    height: 400px;
  }
}

/* Responsive logo styling */
.navbar-brand h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0;
    transition: all 0.3s ease;
}

/* Tablet responsive logo */
@media (max-width: 991.98px) {
    .navbar-brand h1 {
        font-size: 1.75rem;
    }
    
    .navbar-brand {
        margin-left: 0 !important;
    }
}

/* Mobile responsive logo */
@media (max-width: 768px) {
    .navbar-brand h1 {
        font-size: 1.5rem;
    }
    
    .navbar {
        padding: 0.5rem 1rem !important;
    }
}

/* Small mobile responsive logo */
@media (max-width: 576px) {
    .navbar-brand h1 {
        font-size: 1.25rem;
    }
    
    .navbar-brand {
        padding: 0.25rem 0;
    }
}

/* Extra small mobile responsive logo */
@media (max-width: 480px) {
    .navbar-brand h1 {
        font-size: 1.1rem;
    }
    
    .navbar-brand {
        max-width: 200px;
    }
}
