/* === Reset Default Spacing === */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

/* === Base Styling === */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f6f9;
  color: #333;
  line-height: 1.7;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* === Navbar Styling === */
.navbar {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}
.navbar-brand img {
  margin-right: 8px;
}
.navbar-nav .nav-link {
  margin-left: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link.active {
  color: #ffc107 !important;
}
.navbar-nav .nav-link:hover {
  color: #fff !important;
}

/* === Hero Section === */
header {
  background: url("../assets/images/hero-bg.png") no-repeat center center/cover;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 1s ease-out;
}
header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}
header p {
  font-size: 1.2rem;
  margin-top: 1rem;
}
header .btn {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  animation: pulse 0.3s infinite alternate;
}

/* === Sections === */
section {
  padding: 60px 0;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease-out forwards;
}
section:nth-of-type(2) {
  animation-delay: 0.2s;
}
section:nth-of-type(3) {
  animation-delay: 0.4s;
}
section h2 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}
section p.lead {
  font-size: 1.2rem;
  color: #555;
}

/* === Cards === */
.card {
  border: none;
  border-radius: 10px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* === Buttons === */
.btn-primary {
  background-color: #007bff;
  border: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: #0056b3;
  animation: pulse 0.3s ease;
}
.btn-outline-dark {
  border-color: #343a40;
  color: #343a40;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-outline-dark:hover {
  background-color: #343a40;
  color: #fff;
}

/* === Forms === */
form input,
form select,
form textarea {
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 0.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
form input:focus,
form select:focus,
form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* === Footer === */
footer {
  background-color: #222;
  color: #eee;
  font-size: 0.9rem;
  padding: 30px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
footer .quick-links,
footer .social-media {
  flex: 1;
}
footer .quick-links ul li {
  margin-bottom: 10px;
}
footer .social-media a {
  margin-right: 15px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
footer .social-media a:hover {
  color: #007bff;
}

/* === Responsive Tweaks === */
@media (max-width: 767px) {
  header h1 {
    font-size: 2rem;
  }
  .navbar-nav .nav-link {
    margin-left: 0;
  }
  footer .quick-links,
  footer .social-media {
    flex-basis: 100%;
    text-align: center;
  }
}

/* === About Section === */
.about-section {
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #fff;
  padding: 40px 0;
}
.about-section h4 {
  color: #ffc107;
  margin-bottom: 15px;
}
.about-section ul {
  list-style-type: square;
  padding-left: 20px;
}
.about-section li {
  margin-bottom: 8px;
}

/* === Live Chat Button === */
button[onclick*="chat-box"] {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}
button[onclick*="chat-box"]:hover {
  background-color: #0056b3;
}
/* === Careers Section === */
.careers-section {
  background: url("../assets/images/careers-bg.jpg") no-repeat center
    center/cover;
  background-color: rgba(0, 0, 0, 0.6); /* Fallback color */
  background-blend-mode: multiply; /* Blend image with overlay color */
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.careers-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for better text visibility */
  z-index: 1;
}

.careers-section .container {
  position: relative;
  z-index: 2;
}

.careers-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.careers-section p.lead {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.careers-section .btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.careers-section .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Tweaks */
@media (max-width: 767px) {
  .careers-section h2 {
    font-size: 2rem;
  }
  .careers-section p.lead {
    font-size: 1rem;
  }
}
