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

/* BODY */
body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

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

/* HEADER */
header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 0;
}

/* LOGO */
.logo img {
  max-width: 150px;
}

/* NAVIGATION */
nav {
  position: relative;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  z-index: 1000;
}

.nav-list li {
  margin-left: 1em;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  padding: 0.5em;
  transition: background 0.3s;
}

.nav-list a:hover {
  background-color: #f0f0f0;
  border-radius: 4px;
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #333;
  margin: 4px 0;
}

/***********************************/
/* HERO SECTION                    */
/***********************************/
.hero {
  /* Use your desired background image */
  background: url("../img/home_bg.png") no-repeat center center / cover;
  position: relative;
  padding: 100px 0; /* Adjust padding to your liking */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff; /* Text color */
}

.hero-content {
  text-align: center;
}

/* The translucent background box behind the text */
.hero-text-box {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.3); /* Adjust opacity as needed */
  padding: 20px 30px;
  margin-bottom: 300px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4); /* Optional subtle border */
}

/* Optional heading styles */
.hero-text-box h2 {
  font-family : 'Montserrat', sans-serif;
  font-size: 2rem;  /* Adjust to suit your layout */
  font-style: bold;
  margin-bottom: 1rem;
  color: #5064BE;        /* Blue text */
  -webkit-text-stroke: 0.5px #fff; /* White border for WebKit browsers */
  text-stroke: 0.5px #fff;         /* White border for other browsers if supported */
}

.hero-text-box h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;   /* Adjust to suit your layout */
  font-style: bold;
  font-weight: bold;
  color: #5064BE;      /* Blue text */
  -webkit-text-stroke: 0.5px #fff; /* White border for WebKit browsers */
  text-stroke: 0.5px #fff;         /* White border for other browsers if supported */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    min-height: 300px;
    padding: 1em;
  }
  .hero-text-box {
    margin-bottom: 100px;
  }
  .hero-content h1 {
    margin-top: 10px;
    font-size: 2em;
    margin-bottom: 1em; /* Spacing between h1 and h2 */
    -webkit-text-stroke: 0.2px #fff; /* White border for WebKit browsers */
    text-stroke: 0.2px #fff;         /* White border for other browsers if supported */
  }
  .hero-content h2 {
    font-size: 1em;
    -webkit-text-stroke: 0.2px #fff; /* White border for WebKit browsers */
    text-stroke: 0.2px #fff;         /* White border for other browsers if supported */
  }
}


/* OUR SERVICES - Updated Layout */
.services {
  padding: 2em 0;
  background: #fff;
}

.services h2 {
  text-align: center;
  margin-bottom: 2em;
  font-size: 2em;
}

.service-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2em;
}

.service-img {
  flex: 1;
  margin-right: 2em;
}

.service-img img {
  max-width: 100%;
  border-radius: 8px;
}

.service-text {
  flex: 2;
}

.service-text h3 {
  font-size: 1.5em;
  margin-bottom: 1em;
}

.service-text ol {
  list-style: number;
  margin-bottom: 1em;
  padding-left: 2em;
  color: #717171;
}

.service-text p {
  margin-bottom: 1em;
  color: #717171;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .service-item {
    flex-direction: column;
  }
  .service-img {
    margin-right: 0;
    margin-bottom: 1em;
  }
}

.btn {
  display: inline-block;
  background-color: #5064BE;
  color: #fff;
  text-decoration: none;
  padding: 0.6em 1.2em;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #003d99;
}

.download-app h2 {
  margin-bottom: 1em;
}

.download-app img {
  margin-top: 1em;
  max-width: 200px;
  height: auto;
}

/* TESTIMONIALS */
.testimonials {
  padding: 2em 0;
  background: #fff;
  text-align: center;
}

.testimonials h2 {
  font-size: 2em;
  margin-bottom: 1.5em;
}

/* Container for the three testimonial cards */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em; /* Space between cards */
}

/* Individual card styling */
.testimonial-card {
  background: #fff;
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  padding: 1em;
  text-align: left; /* Align text to the left inside card */
}

/* Card image styling */
.testimonial-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1em;
}

/* Quote text styling */
.testimonial-card p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 1em;
}

/* "Read more" link */
.read-more {
  display: inline-block;
  color: #0052cc;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.read-more:hover {
  text-decoration: underline;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .testimonials-grid {
    flex-direction: column;
    align-items: center;
  }
  .testimonial-card {
    max-width: 90%;
  }
}

/* CLIENTS */
.clients {
  background: #f9f9f9;
  padding: 2em 0;
  text-align: center;
}

.clients h2 {
  margin-bottom: 0em;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  align-items: center;
}

.clients-logos img {
  max-width: 120px;
  height: auto;
  filter: grayscale(50%);
  transition: filter 0.3s;
}

.clients-logos img:hover {
  filter: grayscale(0%);
}

.clients-description {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: #717171;
  font-size: 16px;
  margin-bottom: 2em;
}

.cta-button {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  background-color: #5064BE;
  color: #fff;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #0056b3;
}

/* CTA BOTTOM */
.cta-bottom {
  background: #fff;
  text-align: center;
  padding: 2em 0;
}

.cta-bottom p {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.cta-bottom h2 {
  font-size: 1.8em;
  color: #555;
}

/* FOOTER */
footer {
  background-color: #333; /* Adjust to match your design */
  color: #fff;
  padding: 2em 0;
  margin-top: 2em; /* Or remove if you don't need extra spacing above footer */
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

/* Left Column (Logo + Copyright + Social) */
.footer-left {
  flex: 1 1 200px;
  margin-bottom: 1em;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 1em;
}

.footer-left p {
  font-size: 0.9em;
  margin-bottom: 1em;
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 0.5em;
}

.social-icons img {
  width: 24px;  /* Adjust icon size */
  height: 24px;
}

/* Footer Columns */
.footer-column {
  flex: 1 1 200px;
  margin-bottom: 1em;
}

.footer-column h4 {
  margin-bottom: 1em;
  font-size: 1.1em;
  font-weight: bold;
}

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

.footer-column ul li {
  margin-bottom: 0.5em;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ccc;
}

/* Subscription Form */
.subscribe-form {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 0.5em;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  font-size: 0.9em;
}

.subscribe-form button {
  padding: 0.5em 1em;
  border: none;
  background-color: #0052cc;
  color: #fff;
  font-size: 0.9em;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.subscribe-form button:hover {
  background-color: #003d99;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-left,
  .footer-column {
    flex: 0 0 100%;
    margin-bottom: 2em;
  }
  .subscribe-form {
    flex-direction: column;
    align-items: stretch;
  }
  .subscribe-form input[type="email"] {
    border-radius: 4px;
    margin-bottom: 1em;
  }
  .subscribe-form button {
    border-radius: 4px;
  }
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }

  .nav-list li {
    margin: 0;
    border-bottom: 1px solid #eee;
  }

  .nav-list a {
    display: block;
    padding: 1em;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-list.open {
    display: flex;
  }

  .services-grid {
    flex-direction: column;
  }

  .service-box {
    flex: 0 0 100%;
  }

  .download-app,
  .about-details {
    flex: 0 0 100%;
  }

  .testimonial-items {
    flex-direction: column;
  }

  .testimonial {
    flex: 0 0 100%;
  }
}

/* DOWNLOAD APP SECTION */
.download-app-section {
  background: #fff;
  padding: 2em 0;
}

.download-app-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em; /* Adjust spacing as needed */
}

.download-text {
  flex: 1;
}

.download-text h2 {
  margin-bottom: 0.5em;
  font-size: 1.8em;
}

.download-text p {
  margin-bottom: 1em;
  color: #555;
}

/* Right side: QR code */
.download-qr {
  flex: 1;
  display: flex;
  justify-content: center;
}

.download-qr img {
  max-width: 200px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.about {
  background: #f7f7f7; /* or any color you prefer */
  padding: 2em 0;
}

/* The main container for the two columns */
.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  /* Remove or avoid 'align-items: center;' here 
     so the text column can remain top-aligned. */
}

/* Left column for the logo/image */
.about-image {
  flex: 1 1 100px;
  flex-direction: column;
  display: flex;
  align-items: center;     /* Vertically center the logo */
  justify-content: center; /* Horizontally center the logo */
  text-align: center;      /* In case the image is smaller, keeps it centered */
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px; /* Optional rounding */
}

/* Right column for the about text */
.about-details {
  flex: 2 1 600px;
  background: #fff;
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.highlight-letter {
  font-size: 20px;
  color: #5064BE;
}

/* About text styles */
.about-details h2 {
  margin-bottom: 1em;
}

.about-text h3 {
  margin-top: 1em;
  font-size: 1.1em;
  color: #5064BE;
}

.about-text p {
  margin-top: 0.5em;
  color: #555;
}

.about-text ul {
  padding-left: 20px;
}

.about-text ul li {
  padding-top: 5px;
  padding-bottom: 0px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-grid {
    flex-direction: column;
  }
  .about-image {
    flex: 1 1 30px;
    flex-direction: row;
    display: flex;
    align-items: center;     /* Vertically center the logo */
    justify-content: center; /* Horizontally center the logo */
    text-align: center;      /* In case the image is smaller, keeps it centered */
  }
  .about-image img {
    max-width: 30%;
    height: auto;
    border-radius: 4px; /* Optional rounding */
  }
  .about-details {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .about-details {
    margin-top: 1.5em;
  }
}

/* RESPONSIVE (example) */
@media (max-width: 768px) {
  .download-app-grid {
    flex-direction: column;
    text-align: center;
  }
  .download-qr {
    margin-top: 1.5em;
  }
}
