/* General Styles */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

h1, h2, p {
  font-family: 'Montserrat', sans-serif;
}

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

/* Navbar */
header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo img {
  max-height: 62.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
  margin: 0 20px;
  font-size: 20px;
}

.nav-links li a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links li a:hover {
  color: #2F2998;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #2F2998;
  transition: width 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  list-style: none;
  z-index: 1000;
  width: max-content;
}

.dropdown-menu li {
  padding: 10px 20px;
}

.dropdown-menu li a {
  color: #000;
  font-size: 16px;
  text-decoration: none;
  display: block;
  transition: color 0.3s;
  font-weight: normal;
}

.dropdown-menu li a:hover {
  color: #2F2998;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hero Section */

#hero {
  position: relative;
}

#hero .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Pushes the image behind the text content */
  overflow: hidden;
}


#hero .hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensures the image covers the entire container */
}

#hero .container {
  position: relative;
  z-index: 1;
  padding: 100px 20px; /* Adds padding to the text container */
  color: #fff; /* Ensures the text is visible over the image */
  text-align: left; /* Aligns the text to the left */
}

#hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

#hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

#hero .btn {
  background: #2F2998;
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 18px;
}

#hero .btn:hover {
  background: #1E1A73;
}

/* About Section */
#about-elevate {
  background: #2F2998;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

#about-elevate h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

#about-elevate p {
  font-size: 18px;
  line-height: 1.8;
}

/* Logo Carousel */
#software-support {
  background: #fff;
  padding: 50px 20px;
  text-align: center;
}

#software-support h1 {
  font-size: 28px;
  margin-bottom: 30px;
}

.carousel {
  display: flex;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  animation: scroll-carousel 20s linear infinite;
}

.carousel img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

/* Carousel Animation */
@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-150px * 13));
  }
}

/* Our Services Grid Section */
#services-grid {
  background: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

#services-grid h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}

#services-grid p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #666;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.service-box img {
  height: 81px;
  width: auto;
  margin-bottom: 10px;
}

.service-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #2F2998;
}

.service-box p {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

.service-box .learn-more {
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
  display: inline-block;
}

.service-box .learn-more:hover {
  text-decoration: underline;
}

/* Contact Us Section */
#contact-us-section {
  background: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
  background-image: radial-gradient(#ddd 1px, transparent 1px);
  background-size: 10px 10px;
}

#contact-us-section h1 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: normal;
}

#contact-us-section .btn {
  background: #2F2998;
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
}

#contact-us-section .btn:hover {
  background: #1E1A73;
}

/* Our Process Section */
#our-process {
  background: #FFFFFF;
  padding: 50px 20px;
}

#our-process h1 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

#our-process ol {
  font-size: 18px;
  line-height: 1.8;
  list-style: decimal inside;
  padding-left: 20px;
}

#our-process ol li {
  margin-bottom: 20px;
}

/* Inner Hero Section */
.inner-hero {
  height: 25vh; /* Set height to 25% of the viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2F2998;
}

.inner-hero h1 {
  color: #fff;
  font-size: 36px;
}

/* Page Title Section */
#page-title {
  background: #f4f4f4;
  padding: 20px 0;
  text-align: center;
}

#page-title h1 {
  font-size: 28px;
  margin: 0;
}

/* Content Section */
#content {
  padding: 50px 20px;
  line-height: 1.8;
}

#content h2 {
  font-size: 24px;
  margin-top: 20px;
}

/* Accordion Styles */
#accordion {
  margin: 50px 0;
}

.accordion-item {
  margin-bottom: 15px;
}

.accordion-header {
  background: #2F2998;
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 18px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  outline: none;
}

.accordion-body {
  padding: 15px;
  background: #f4f4f4;
  display: none;
  font-size: 16px;
}

.accordion-header.active + .accordion-body {
  display: block;
}

/* Inner Hero Section */
.inner-hero {
  height: 25vh; /* 25% of viewport height */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #2F2998; /* Fallback color in case the image doesn't load */
}

.inner-hero .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Pushes the image behind the text */
  overflow: hidden;
}

.inner-hero .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire section */
  object-position: center; /* Centers the image */
}

.inner-hero .container {
  z-index: 1; /* Keeps text above the image */
  text-align: center;
}

.inner-hero h1 {
  font-size: 36px;
  color: #fff;
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  background: #333;
  height: 3px;
  width: 25px;
  transition: all 0.3s;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 10px 0;
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }
}
