:root {
  --primary-color: #062e5e;
  --primary-color-light: #eaf2fa;
  --liner-next: #031b38;
  --secondary-color: #FFFFFF;
  --text-color: #1A1A1A;
  --background-color: #FAFAFA;
  --accent-color: #2DD6F6;
  --shadow-color: rgba(0, 0, 0, 0.15);
  --dim-text: #666;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(to bottom, var(--primary-color), var(--liner-next));
  box-shadow: 0 2px 10px var(--shadow-color);
}

header .logo img {
  height: 48px;
}

header nav {
  display: flex;
  align-items: center;
}

header .menu {
  display: flex;
  list-style: none;
  gap: 1rem;
}

header .menu li {
  position: relative;
}

header .menu li a {
  color: var(--secondary-color);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  cursor: pointer;
}

header .menu li a:hover {
  color: var(--accent-color);
}

header .menu li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

header .menu li a:hover::after {
  width: 100%;
}

header .drawer-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--secondary-color);
  cursor: pointer;
}

.drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--liner-next));
  /* Gradual darkening from primary color to a darker shade */
  box-shadow: 0 4px 10px var(--shadow-color);
}


.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.drawer .logo img {
  height: 48px;
}

.drawer ul {
  list-style: none;
  padding: 0;
}

.drawer ul {
  padding: 0 2rem;
}

.drawer ul li a {
  display: inline-block;
  padding: 1rem 0;
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.drawer ul li a:hover {
  color: var(--accent-color);
}

.drawer ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.drawer ul li a:hover::after {
  width: 100%;
}

.close-drawer {
  color: var(--background-color);
  font-size: 2.2rem;
  cursor: pointer;
  padding-right: 10px;
}

.section {
  padding: 2rem;
  text-align: center;
}

.section h1,
.section h2 {
  color: var(--background-color);
  background-color: var(--primary-color);
  display: inline-block;
  padding: 0 2rem;
  border-radius: 24px;
}

.section p {
  max-width: 600px;
  margin: 0 auto;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  color: var(--secondary-color);
  background-color: var(--primary-color);
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 2px 5px var(--shadow-color);
  cursor: pointer;
}


.banner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
}

.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  object-fit: cover;
  /* Ensures the image maintains its aspect ratio */
  z-index: 1;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.banner-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.banner-text p {
  font-size: 1.25rem;
}

.hero-section {
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  line-height: 1;
}

.hero-text p, #about p {
  font-size: 1rem;
  color: var(--dim-text);
  margin-bottom: 2rem;
}

#about p {
  margin-top: 1rem;
}

.hero-text p span {
  color: var(--primary-color);
  font-weight: bold;
}

.cta-button {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--background-color);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 1rem;
  cursor: pointer;

}

.cta-button:hover {
  background-color: var(--liner-next);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.service-section {
  background-color: var(--primary-color-light);
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding-top: 1rem;
}

.service-card {
  background: var(--background-color);
  border-radius: 12px;
  border: 1px solid var(--background-color);
  padding: 20px;
  width: 300px;
  text-align: center;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color);
}

.service-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  margin-top: 0;
  color: var(--primary-color);
}

.service-card p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #ffffff, #ebf0f5);
  border-color: var(--accent-color);
}

.icon-wrapper {
  padding-top: 8px;
  background-color: var(--primary-color-light);
  border-radius: .1rem;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0;
}

.marquee-left-right, .marquee-right-left {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: scrollSmooth 60s linear infinite;
}

.marquee-left-right {
  animation-name: scrollLeftToRight;
}

.marquee-right-left {
  animation-name: scrollRightToLeft;
}

.marquee-container img {
  height: 80px;
  padding: 1rem;
}

@keyframes scrollLeftToRight {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes scrollRightToLeft {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

#contactForm {
  max-width: 500px;
  margin: auto;
}

#contactForm button {
  width: 100%;
}

label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  /* display: block; */
  float: left;
  color: var(--dim-text);
}

input, textarea {
  width: -webkit-fill-available;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid var(--background-color);
  border-radius: 4px;
  font-size: 1rem;
}

textarea{
  resize: none;
}

input:focus {
  border: 1px solid var(--accent-color);
  outline: none;
}

textarea:focus {
  border: 1px solid var(--accent-color);
  outline: none;
}


footer {
  /* text-align: center; */
  padding: 2rem 2rem 1rem;
  background: #0b305d;
  color: var(--secondary-color);
}

#copyright {
  text-align: center;
}


.footer p {
  color: var(--background-color);
  width: 100%;
}



.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 150px;
}

/* .footer-social{
  padding-top: 1rem;
} */

.footer-social a {
  margin: 0 0.5rem;
}


@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-social {
    margin-top: 1rem;
  }
}



@media (max-width: 768px) {

  .marquee-container img {
    height: 60px;
  }

  header .menu {
    display: none;
  }

  header .drawer-toggle {
    display: block;
  }

  .drawer {
    display: none;
    flex-direction: column;
  }

  .drawer.open {
    display: flex;
  }
}

@media (min-width: 513px) and (max-width: 768px) {
  .service-card {
    width: 250px;
  }
}

@media (max-width:375px) {
  .service-card {
    width: 280px;
  }
}


/* Responsive Design */
@media (max-width: 512px) {

  .marquee-container img {
    height: 48px;
  }

  .hero-section {
    padding: 0 1rem;
  }

  .section {
    padding: 1rem 1rem;
  }

  .services-container {
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
  }

  .hero-content {
    flex-direction: column;
    margin-top: 2rem;
  }

  .hero-image {
    order: 2;
    /* Image goes below text */
  }

  .hero-text {
    order: 1;
    /* Text goes above image */
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }
}