/* Fonts */
:root {
  --font-default: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Work Sans", sans-serif;
}

/* Colors */
:root {
  --color-default: #364d59;
  --color-primary: #feb900;
  --color-secondary: #52565e;
}

/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-default); /* Change back to the previous font with better fallbacks */
  color: var(--color-default);
  overflow-x: hidden; /* Add back to prevent horizontal overflow */
  width: 100%;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden; /* Add back to prevent horizontal overflow */
    width: 100vw;
    max-width: 100vw;
  }
  
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: #ffc732;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-default); /* Change back to the previous font with better fallbacks */
}

/* Validation summary styles */
.validation-summary-errors {
  color: #dc3545; /* Red color for errors */
  font-size: 14px;
  margin-bottom: 10px;
  list-style-type: none; /* Remove bullet points */
  padding-left: 0;
}

/* Individual validation message styles */
.validation-message {
  color: #dc3545; /* Red color for error text */
  font-size: 12px;
  margin-top: 5px;
}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden; /* Keep existing overflow: hidden */
  overflow-x: hidden; /* Add to prevent horizontal overflow */
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
    overflow-x: hidden;
  }
}

.section-bg {
  background-color: #f5f6f7;
}

.section-header {
  text-align: center;
  padding-bottom: 70px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  color: #2e3135;
}

.section-header h2:before,
.section-header h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.section-header h2:before {
  margin: 0 15px 10px 0;
}

.section-header h2:after {
  margin: 0 0 10px 15px;
}

.section-header p {
  margin: 0 auto 0 auto;
}

@media (min-width: 1199px) {
  .section-header p {
    max-width: 60%;
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 80px 0 60px 0;
  min-height: 30vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.breadcrumbs:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
}

.breadcrumbs h2 {
  font-size: 56px;
  font-weight: 500;
  color: #fff;
  font-family: var(--font-secondary);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
}

.breadcrumbs ol a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
}

.breadcrumbs ol a:hover {
  text-decoration: underline;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #fff;
  content: "/";
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--color-secondary);
  line-height: 0;
}

.scroll-top:hover {
  background: #ffc732;
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #fff;
  border-color: var(--color-primary) transparent var(--color-primary) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  position: absolute;
  padding: 30px 0;
  top: 0;
  left: 0;
  right: 0;
}

@media (max-width: 768px) {
  .header {
    width: 100%;
  }
  
  .header .logo h1 {
    font-size: 20px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.header .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.header .logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
  font-family: var(--font-primary);
}

.header .logo h1 span {
  color: var(--color-primary);
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
  .navbar {
    padding: 0;
  }

  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar li {
    position: relative;
  }

  .navbar>ul>li {
    white-space: nowrap;
    padding: 10px 0 10px 28px;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--color-primary);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navbar a:hover:before,
  .navbar li:hover>a:before,
  .navbar .active:before {
    visibility: visible;
    width: 100%;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #fff;
  }

  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 28px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 9999; /* Increased from 99 to 9999 to appear above hero section */
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
  }

  .navbar .dropdown ul li {
    min-width: 200px;
  }

  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--color-default);
    font-weight: 400;
  }

  .navbar .dropdown ul a i {
    font-size: 12px;
  }

  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul .active:hover,
  .navbar .dropdown ul li:hover>a {
    color: var(--color-primary);
  }

  .navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  .navbar .dropdown ul li {
    min-width: auto;
    width: 100%;
  }
  
  .navbar .dropdown ul {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 1280px) and (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

@media (min-width: 1280px) {

  .mobile-nav-show,
  .mobile-nav-hide {
    display: none;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  .navbar ul {
    position: absolute;
    inset: 0;
    padding: 50px 0 10px 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    width: 100%;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    text-transform: uppercase;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #fff;
  }

  .navbar .dropdown ul,
  .navbar .dropdown .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    transition: all 0.5s ease-in-out;
    border: 1px solid #222428;
  }

  .navbar .dropdown>.dropdown-active,
  .navbar .dropdown .dropdown>.dropdown-active {
    display: block;
  }

  .mobile-nav-show {
    position: relative;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
    padding-right: 10px;
  }

  .mobile-nav-hide {
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navbar {
    right: 0;
  }

  .mobile-nav-active .navbar:before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9996;
  }
}

/*--------------------------------------------------------------
# Get Started Section
--------------------------------------------------------------*/
.get-started .content {
  padding: 30px 0;
}

.get-started .content h3 {
  font-size: 36px;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 25px;
  position: relative;
}

.get-started .content h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-secondary); /* Changed from primary to secondary for better contrast */
  left: 0;
  bottom: 0;
}

.get-started .content p {
  font-size: 16px; /* Increased from 14px for better readability */
  line-height: 1.6; /* Added line-height for better spacing */
  margin-bottom: 20px; /* Added margin for better paragraph spacing */
}

.get-started .content p strong {
  color: var(--color-secondary); /* Changed from primary to secondary for better readability */
  font-weight: 600;
}

.get-started .contact-form {
  background: #fff;
  padding: 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .get-started .contact-form {
    padding: 20px;
  }
}

.get-started .contact-form h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.get-started .contact-form p {
  font-size: 14px;
  margin-bottom: 20px;
}

.get-started .contact-form input,
.get-started .contact-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.get-started .contact-form input:focus,
.get-started .contact-form textarea:focus {
  border-color: var(--color-primary);
}

.get-started .contact-form input {
  padding: 12px 15px;
}

.get-started .contact-form textarea {
  padding: 12px 15px;
}

.get-started .contact-form input[type="file"] {
  background: #f7f7f7;
  border: 1px solid #e1e1e1;
}

.get-started .contact-form button[type=submit] {
  background: var(--color-primary);
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.get-started .contact-form button[type=submit]:hover {
  background: rgba(254, 185, 0, 0.8);
}

.get-started .contact-form .validation-summary-errors {
  color: #d32f2f; /* Red color for error text */
  background-color: #fce4e4; /* Light red background for the summary */
  border: 1px solid #d32f2f; /* Red border for emphasis */
  padding: 10px 15px; /* Adjust padding to reduce empty space */
  margin-top: 10px; /* Spacing from the top of the container */
  margin-bottom: 10px; /* Spacing from the bottom of the container */
  font-size: 14px; /* Readable font size */
  border-radius: 4px; /* Rounded corners for a softer appearance */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.get-started .contact-form .validation-message {
  color: #d32f2f; /* Red color for errors */
  font-size: 12px;
  margin-top: 5px;
  display: block; /* Ensure it appears on a new line */
}

.get-started .contact-form .sent-message {
  color: #4CAF50; /* Green color for success messages */
  background-color: #EDF7ED; /* Light green background for emphasis */
  border-left: 3px solid #C8E6C9; /* Less prominent green border */
  padding: 8px; /* Reduced padding */
  margin-top: 5px; /* Reduced top margin */
  margin-bottom: 15px; /* Reduced bottom margin */
  display: block; /* Ensure it appears on a new line */
  font-size: 16px; /* Larger font for visibility */
  text-align: center; /* Centered text for better focus */
  border-radius: 4px; /* Rounded corners for a softer look */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/*--------------------------------------------------------------
# Machine Hire Section
--------------------------------------------------------------*/
.machine-hire .machine-hire-item {
  padding: 40px;
  background: #fff;
  text-align: center;
  height: auto;
}

.machine-hire .machine-hire-item .icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.machine-hire .machine-hire-item .icon img {
  max-width: 100%;
  max-height: 100%;
  transition: ease-in-out 0.3s;
}

.machine-hire .machine-hire-item h3 {
  color: var(--color-default);
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  font-size: 22px;
  position: relative;
  border-bottom: 4px solid #ebebed;
  transition: 0.3s;
}

.machine-hire .machine-hire-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.machine-hire .machine-hire-item .readmore {
  margin-top: 15px;
  display: inline-block;
  color: var(--color-primary);
}

.machine-hire .machine-hire-item:hover h3 {
  border-color: var(--color-primary);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  padding: 15px 0;
  transition: 0.3s;
  color: var(--color-secondary);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  border: 0;
  border-bottom: 4px solid #e2e4e6;
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

@media (max-width: 575px) {
  .features .nav-link h4 {
    font-size: 16px;
  }
}

.features .nav-link:hover {
  color: var(--color-primary);
}

.features .nav-link.active {
  color: var(--color-primary);
  background-color: transparent;
  border-color: var(--color-primary);
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  font-weight: 700;
  font-size: 32px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.features .tab-pane h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-top: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--color-primary);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Our Projects Section
--------------------------------------------------------------*/
.projects .portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.projects .portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

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

.projects .portfolio-flters li:first-child {
  margin-left: 0;
}

.projects .portfolio-flters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .projects .portfolio-flters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.projects .portfolio-content {
  position: relative;
  overflow: hidden;
}

.projects .portfolio-content img {
  transition: 0.3s;
}

.projects .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.projects .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #fff;
  display: inline-block;
  background-color: var(--color-primary);
}

.projects .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.projects .portfolio-content .portfolio-info .preview-link,
.projects .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.projects .portfolio-content .portfolio-info .preview-link:hover,
.projects .portfolio-content .portfolio-info .details-link:hover {
  color: var(--color-primary);
}

.projects .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.projects .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

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

/*--------------------------------------------------------------
# Machine Hire Cards Section
--------------------------------------------------------------*/
.machine-hire-cards h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-secondary);
}

.machine-hire-cards p {
  font-size: 15px;
}

.machine-hire-cards ul li {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding-top: 10px;
}

.machine-hire-cards ul li i {
  font-size: 16px;
  color: var(--color-primary);
  margin-right: 6px;
}

/*--------------------------------------------------------------
# Machine Hire Details Section
--------------------------------------------------------------*/
.machine-hire-details .machine-hire-list {
  padding: 10px 30px;
  border: 1px solid #d5d7da;
  margin-bottom: 20px;
}

.machine-hire-details .machine-hire-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid #d9e3e8;
  margin: 20px 0;
  color: var(--color-secondary);
  transition: 0.3s;
}

.machine-hire-details .machine-hire-list a.active {
  font-weight: 700;
  border-color: var(--color-primary);
}

.machine-hire-details .machine-hire-list a:hover {
  border-color: var(--color-primary);
}

.machine-hire-details .machine-hire-img {
  margin-bottom: 20px;
}

.machine-hire-details h3 {
  font-size: 28px;
  font-weight: 700;
}

.machine-hire-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.machine-hire-details p {
  font-size: 15px;
}

.machine-hire-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.machine-hire-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.machine-hire-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--color-primary);
}

.request-quote-button {
  background: var(--color-primary);
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.request-quote-button:hover {
  background: rgba(254, 185, 0, 0.8);
  color: #fff;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  padding: 20px 0 30px 0;
}

.contact .info-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 24px;
  line-height: 0;
  color: var(--color-primary);
  border-radius: 50%;
  border: 2px dotted #ffd565;
}

.contact .info-item h3 {
  font-size: 20px;
  color: #6c757d;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .contact-form {
  width: 100%;
  background: #fff;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.contact .contact-form .validation-summary-errors {
  color: #d32f2f; /* Red color for error text */
  background-color: #fce4e4; /* Light red background for the summary */
  border: 1px solid #d32f2f; /* Red border for emphasis */
  padding: 10px 15px; /* Adjust padding to reduce empty space */
  margin-top: 10px; /* Spacing from the top of the container */
  margin-bottom: 10px; /* Spacing from the bottom of the container */
  font-size: 14px; /* Readable font size */
  border-radius: 4px; /* Rounded corners for a softer appearance */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.contact .contact-form .validation-message {
  color: #d32f2f; /* Red color for errors */
  font-size: 12px;
  margin-top: 5px;
  display: block; /* Ensure it appears on a new line */
}

.contact .contact-form .sent-message {
  color: #4CAF50; /* Green color for success messages */
  background-color: #EDF7ED; /* Light green background for emphasis */
  border-left: 3px solid #C8E6C9; /* Less prominent green border */
  padding: 8px; /* Reduced padding */
  margin-top: 5px; /* Reduced top margin */
  margin-bottom: 15px; /* Reduced bottom margin */
  display: block; /* Ensure it appears on a new line */
  font-size: 16px; /* Larger font for visibility */
  text-align: center; /* Centered text for better focus */
  border-radius: 4px; /* Rounded corners for a softer look */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.contact .contact-form .sent-message {
  color: #4CAF50; /* Green color for success message */
  background-color: #EDF7ED; /* Light green background */
  border-left: 3px solid #4CAF50; /* Solid left border for emphasis */
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 14px; /* Readable font size */
  border-radius: 4px; /* Rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  display: block; /* Ensure it appears on a new line */
}

.contact .contact-form .form-group {
  padding-bottom: 10px; /* Reduced padding-bottom */
}

.contact .contact-form input,
.contact .contact-form textarea {
  border-radius: 4px; /* Consistent border-radius */
  box-shadow: none;
  font-size: 14px;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
  border-color: var(--color-primary);
}

.contact .contact-form input {
  height: 44px; /* Fixed height for all input fields */
}

.contact .contact-form textarea {
  padding: 10px 12px;
  height: auto; /* Auto height for textarea */
}

/* Attachments Field Style */
.contact .contact-form input[type='file'] {
  border: 1px solid #ced4da; /* Standard border color */
  padding: 0.375rem 0.75rem; /* Adjust padding to match other inputs */
  font-size: 14px; /* Match font size with other inputs */
  border-radius: 4px; /* Match border-radius with other inputs */
  height: auto; /* Adjust height based on content */
  line-height: 1.5; /* Standard line height for inputs */
}

.contact .contact-form button[type=submit] {
  background: var(--color-primary);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 5px;
  margin-top: 20px; /* Space between the last input and the button */
}

.contact .contact-form button[type=submit]:hover {
  background: rgba(254, 185, 0, 0.8);
}

/* Spacing between reCAPTCHA and submit button */
.contact .contact-form .recaptcha-container {
  margin-top: 20px; /* Add some margin above the reCAPTCHA */
  margin-bottom: 20px; /* Add some margin below the reCAPTCHA */
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  overflow-x: hidden; /* Add to prevent horizontal overflow from wide content */
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 100vh;
  padding: 80px 0;
  margin: 0;
  position: relative;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1;
  transition-duration: 0.4s;
}

.hero .carousel-item::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  inset: 0;
}

.hero .info {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

@media (max-width: 768px) {
  .hero .info {
    padding: 20px;
    align-items: flex-start;
    padding-top: 100px;
  }
}

.hero .info h2 {
  color: #fff;
  margin-bottom: 30px;
  padding-bottom: 30px;
  font-size: 56px;
  font-weight: 700;
  position: relative;
  white-space: nowrap;
}

.hero .info h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-primary);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

@media (max-width: 768px) {
  .hero .info h2 {
    font-size: 28px;
    white-space: normal;
    line-height: 1.2;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero .info h2 {
    font-size: 24px;
  }
}

.hero .info p {
  color: #fff;
  font-weight: 500;
  margin-bottom: 30px;
  max-width: 600px;
  text-align: center;
  font-family: var(--font-default); /* Use the better font with fallbacks */
  margin-left: auto;
  margin-right: auto; /* Ensure proper centering */
}

@media (max-width: 768px) {
  .hero .info p {
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 100%; /* Reduce max-width on mobile to prevent overflow */
  }
}

.hero .info .btn-get-started {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
  border: 2px solid var(--color-primary);
}

.hero .info .btn-get-started:hover {
  background: var(--color-primary);
}

.hero .hero-buttons {
  margin-top: 30px;
}

.hero .hero-buttons .btn {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  margin: 5px;
  border: 2px solid;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.hero .hero-buttons .btn-primary {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.hero .hero-buttons .btn-primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.hero .hero-buttons .btn-outline-primary {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.hero .hero-buttons .btn-outline-primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.hero .hero-buttons .btn-success {
  background: transparent;
  border-color: #007bff;
  color: #007bff;
}

.hero .hero-buttons .btn-success:hover {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
}

@media (max-width: 768px) {
  .hero .hero-buttons {
    margin-top: 20px;
  }

  .hero .hero-buttons .btn {
    font-size: 14px;
    padding: 10px 20px;
    margin: 3px;
    display: block;
    width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid;
  }
}

.hero .carousel-control-prev {
  justify-content: start;
}

@media (min-width: 640px) {
  .hero .carousel-control-prev {
    padding-left: 15px;
  }
}

.hero .carousel-control-next {
  justify-content: end;
}

@media (min-width: 640px) {
  .hero .carousel-control-next {
    padding-right: 15px;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 26px;
  line-height: 0;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 3;
  transition: 0.3s;
}

/* Hide carousel controls on mobile to prevent overflow */
@media (max-width: 768px) {
  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    display: none;
  }
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: #fff;
  background: url("../img/footer-bg.webp") top center no-repeat;
  background-size: cover;
  font-size: 14px;
  padding: 80px 0 60px 0;
  position: relative;
}

.footer:before {
  content: "";
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  inset: 0;
}

.footer .footer-content .footer-info {
  margin-bottom: 30px;
}

.footer .footer-content .footer-info h3 {
  font-size: 28px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.footer .footer-content .footer-info h3 span {
  color: var(--color-primary);
}

.footer .footer-content .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--font-primary);
  color: #fff;
}

.footer .footer-content .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  margin-right: 8px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .footer-content .social-links a:hover {
  background: var(--color-primary);
  text-decoration: none;
}

.footer .footer-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-content .footer-links {
  margin-bottom: 30px;
}

.footer .footer-content .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-content .footer-links ul li {
  padding: 8px 0;
}

.footer .footer-content .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-content .footer-links ul a {
  color: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer .footer-content .footer-links ul a:hover {
  color: #fff;
}

.footer .footer-legal .copyright {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer .footer-legal .credits {
  padding-top: 4px;
  font-size: 13px;
  color: #fff;
}

.footer .footer-legal .credits a {
  color: var(--color-primary);
}