/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f0f4f8;
  color: #333;
}

/* Header Styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 20px;
}

.header .logo img {
  width: 160px; /* Adjusted logo size */
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}


nav a {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0%;
  background: #00B8D9;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}
.header nav {
  margin-top: 6px;
}

.cta-button {
  background-color: #00B8D9; /* Blue button */
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #009bb7; /* Darker blue on hover */
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #009688, #00B8D9);
  color: white;
  padding: 60px 0 60px 10%; /* remove right padding */
}

.hero-image {
  margin-right: 0%; /* or even -10% if needed */
}


.hero-content {
  max-width: 50%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image img {
  max-width: 85%;
  height: auto;
  border-radius: 10px;
}

/* How It Works Section */
.how-it-works {
  text-align: center;
  padding: 60px 10%;
}

.how-it-works h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.steps {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  margin-bottom: 30px;
}

.step {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 25%;
}

.step img {
  width: 50px;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 1rem;
}

/* Footer Styles */
.footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(to right, #1a1a1a, #2e2e2e);

  color: white;
}

.footer a {
  color: #00B8D9; /* Blue footer links */
}
/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  position: relative; /* 👈 THIS enables .close to position inside */
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}



.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.modal-content p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.modal-content input[type="email"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.modal-content button {
  background-color: #00B8D9;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}

.modal-content button:hover {
  background-color: #009bb7;
}

/* Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}
form input,
form select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin: 10px 0;
  box-sizing: border-box;
  appearance: none; /* helps normalize dropdowns */
}

form select {
  background-color: #fff;
}


/* Media Queries for Responsiveness */

/* Mobile devices (portrait) */
@media (max-width: 768px) {
	
	.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 10px;
}
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .step {
    width: 90%;
    max-width: 400px;
    text-align: center;
  }
  /* Hero Section */
  .hero {
    flex-direction: column;
    padding: 40px 10%;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .hero-image img {
    width: 80%;
  }

  /* Steps Section */
  .steps {
    flex-direction: column;
    gap: 30px;
    justify-content: center;
  }

  .step {
    width: 80%;
  }

  .step h3 {
    font-size: 1.25rem;
  }

  .step p {
    font-size: 1rem;
  }

  /* Button adjustments */
  .cta-button {
    padding: 10px 20px;
  }
}

/* Smaller devices (landscape mobile or small tablets) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .steps {
    gap: 20px;
  }

  .cta-button {
    padding: 10px 15px;
  }
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
    .cta {
    display: none;
  }
}
