:root {
  --primary-color: #0b248f;
  --secondary-color: #ac0000;
  --text-dark: #1A2421;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-white: #ffffff;
  --transition: all 0.3s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

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

.wrapper {
  width: 100%;
  margin: auto;
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: 0 0 20px rgba(233, 231, 231, 0.05);
}

/* Utilities */
.container {
  max-width: 85%;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--secondary-color);
}

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

/* Header & Menu */
.header-area {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 60px;
}

.navbar {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  background: none;
  border: none;
  cursor: pointer;
}

/* Nav Button */
.nav-btn {
  background-color: var(--secondary-color);
  color: var(--text-light) !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  margin-top: -2%;
}

.nav-btn:hover {
  background-color: transparent;
  color: var(--secondary-color) !important;
  border: 2px solid var(--secondary-color);
  padding: 6px 18px;
  /* adjust for border */
}

/* Slider Styles */
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.fixed-height-slider {
  height: 500px;
  /* You can change this value to set your desired fixed height */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: var(--text-light);
  width: 90%;
}

.slide-content h1 {
  font-size: xx-large;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInDown 1s ease-out;
  font-weight: 800;
}

.slide-content p {
  font-size: medium;
  margin-bottom: 30px;
  font-weight: 300;
  animation: fadeInUp 1s ease-out;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  font-size: 1.5rem;
  transition: var(--transition);
  display: none;
}

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

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active,
.dot:hover {
  background: var(--secondary-color);
}

/* Welcome Message */
.welcome-container {
  max-width: 100%;
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  z-index: 10;
  margin-top: -6%;
  /* Overlap the slideshow */
  margin-bottom: 20px;
}

.welcome-container h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.welcome-container p {
  font-size: 1.1rem;
  color: var(--text-dark);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--primary-color);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  color: white;
  text-align: center;

}


.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--secondary-color);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: x-large;
  margin-bottom: 15px;
}

/* Why Choose Us */
.split-section {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: var(--bg-white);
  padding: 25px;
  margin-bottom: 10%;
  border: 1px solid whitesmoke;
}

.split-content {
  flex: 1;
}

.split-content h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.split-content ul {
  list-style: none;
  margin-top: 20px;
}

.split-content ul li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.split-content ul li i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.2rem;
}

.split-image {
  flex: 1;
}

.split-content .btn {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 8px 20px;
  border-radius: 0px;
  font-weight: bold;
  border: none;
}

.split-content .btn:hover {
  background-color: var(--secondary-color);
  border: none;
  padding: 8px 40px;
}

.split-content .btn i {
  margin-left: 10px;
  opacity: 0;
  transition: var(--transition);
  transform: translateX(-10px);
  display: inline-block;
}

.split-content .btn:hover i {
  opacity: 1;
  transform: translateX(0);
}

.split-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contacts */
.contact-container {
  display: flex;
  gap: 50px;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 50px;
  border-radius: 10px;
  /* Overlap effect */
  position: relative;
  z-index: 10;
  box-shadow: 0 15px 40px rgba(11, 36, 143, 0.3);
}

.contact-info,
.contact-form {
  flex: 1;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-details p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-details i {
  color: whitesmoke;
  font-size: 1.5rem;
  margin-right: 15px;
  width: 30px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form .btn {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  cursor: pointer;
  font: inherit;
}

.contact-form .btn:hover {
  background: var(--text-light);
  color: var(--secondary-color);
}

/* Footer */
.footer {
  background-color: #06134a;
  /* Darker shade of primary */
  color: var(--text-light);
  padding-top: 100px;
  /* Space for overlapping contact block */
  padding-bottom: 20px;
  margin-top: -50px;
  /* Pull up under contact block */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer-col ul {
  float: left;
  margin-left: 5%;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 720px) {
  .navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .container {
    max-width: 90%;
    margin: 0 auto;
  }

  .navbar.active {
    display: flex;
  }

  .nav-btn {
    margin-top: 10px;
    text-align: center;
  }

  .mobile-menu-btn {
    display: block;
  }



  .fixed-height-slider {
    height: 300px;
    /* You can change this value to set your desired fixed height */
  }

  .welcome-container {
    padding: 25px;
    margin-top: -10%;
  }

  .welcome-container h2 {
    font-size: 1.8rem;
  }

  .split-section {
    margin-bottom: 20%;
  }

  .split-section,
  .contact-container {
    flex-direction: column;
  }

  .split-content h2,
  .section-title {
    font-size: 2rem;
  }

  .contact-container {
    padding: 20px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}