* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arsenal", serif;
  font-weight: bolder;
  font-style: normal;
}

/* General Styles */
.text-center {
  text-align: center;
}
.text-white {
  color: white;
}
.btn {
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}

/* Navbar */
.navbar {
  transition: background-color 0.3s ease-in-out;
}
.navbar-brand img {
  width: 80px;
  height: 50px;
  object-fit: cover;
}
.nav-link {
  color: #555 !important;
  font-size: 16px;
}
.nav-link:hover,
.active {
  font-weight: bolder !important;
  color: #ff7e5f !important;
}
.btn-outline-success {
  border-color: #ff7e5f !important;
  color: #ff7e5f !important;
}
.btn-outline-success:hover {
  background: linear-gradient(to right, #ff7e5f, #feb47b) !important;
  color: white !important;
}

/* Hero Section */
.hero,
.about-us {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: white; /* Changed to white for better contrast */
  font-weight: 900;
  position: relative; /* Ensures proper positioning for overlay */
  z-index: 0;
}

.hero {
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
  z-index: 1; /* Ensure it appears above the background but below the text */
}

.hero-container {
  text-align: left;
  position: relative; /* Ensure text is above the overlay */
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-container h1 {
    font-size: 25px;
  }
  .hero p {
    font-size: 12px;
  }
  h2 {
    font-size: 20px;
  }
}

/* Buttons */
.btn-custom {
  background: #f2f2f2;
  color: #333;
  font-size: 18px;
}
.btn-custom:hover {
  background: linear-gradient(135deg, #d1c6c3 20%, #fcb68e 80%);
  color: white;
  transform: scale(1.05);
}
.btn-custom-get {
  margin-top: 20px;
  background: #ff7e5f !important;
  color: white !important;
  font-size: 25px !important;
  font-weight: bold !important;
  padding: 10px 15px !important;
}
.btn-custom-get:hover {
  background: white !important;
  color: #ff7e5f !important;
}

/* Services Overview */
#services-overview {
  background-color: #f9f9f9;
}
.service-card {
  background: #f2f2f2;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.service-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.service-card ul li {
  font-size: 1rem;
  margin: 5px 0;
}

.service-card button {
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
}

.service-card button:hover {
  background-color: #555;
}
/* Card */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
}
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 100%;
    margin-bottom: 20px;
  }
}
.card {
  width: 350px;
  margin: 20px;
  position: relative;
  overflow: hidden;
}
.card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Work Section */
.work-section {
  text-align: center;
  padding: 80px 0;
}
.work-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
.work-section p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin: 0 auto;
}
.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}
.project {
  width: calc(50% - 20px);
  margin: 10px;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}
.project:hover {
  transform: translateY(-5px);
}

footer {
  /* background-color: #000080; */
  background: linear-gradient(to right, #ff7e5f, #feb47b);
  color: #ffffff;
  padding: 10px 20px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.contact-info p {
  margin: 5px 0;
}

.footer-bottom {
  color: #cccccc;
  font-size: 14px;
}

.learn {
  background-color: #fcb68e !important;
  border: none !important;
}
 /* Modal styles */
 .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
}
.close-btn {
  float: right;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
.close-btn:hover {
  color: red;
}