* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
body,
html {
  width: 100%;
  height: 100%;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
}

header {
  width: 100%;
  padding: 0.7rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo {
  width: 220px;
}

nav .home {
  font-size: 1.3rem;
  background-color: #000;
  padding: 0.5rem 1rem;
}

nav .home a {
  text-decoration: none;
  color: #fff;
}

/* Hero Section */
.hero {
  width: 100%;
  padding: 2rem 0;
}

.hero-headings h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  font-weight: 600;
}
.hero-headings h2 {
  font-size: 1.7rem;
  color: red;
  font-weight: 600;
}
.hero-headings h2 em {
  font-size: 1.7rem;
  color: #000;
}

.hero-boxes {
  width: 100%;
  height: 100%;
  margin-top: 1.5rem;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.box {
  width: 17rem;
  height: 12rem;
  border: 1px solid green;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 1rem 1rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.box:hover {
  transform: scale(1.05);
  border-color: red;
}

.box h3 {
  text-transform: capitalize;
  font-size: 1.4rem;
}
.box a {
  text-decoration: none;
  background-color: red;
  color: #fff;
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 5px;
}

/* Contact */

.contact {
  width: 100%;
  background-color: #d9f2ff;
  text-align: center;
  padding: 3rem 1rem;
}

.contact-content h2 {
  color: red;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.contact-content p {
  font-size: 1.2rem;
  line-height: 2rem;
  font-weight: 400;
}

/* Services */
.services {
  width: 100%;
  text-align: center;
  padding: 3rem;
}
.services h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.services h2 span {
  color: red;
}

.services-content {
  width: 100%;
  text-align: left;
  display: flex;
  gap: 25px;
}
.service-box {
  width: 18rem;
  height: fit-content;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
}
.service-box:hover {
  transform: scale(1.05);
  border-color: red;
}

.service-box img {
  width: 80px;
}

.service-box h3 {
  font-size: 1.5rem;
  color: red;
  text-align: center;
  font-weight: 600;
  margin: 1rem 0;
}

.service-box li {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-btn {
  margin-top: 2rem;
  background-color: red;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  display: inline-block;
}

.trust {
  width: 100%;
  height: 50vh;
  background: url("https://emailguide.buzz/images/module_bg.webp") no-repeat
    center;
  background-size: cover;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.trust .overlay {
  background-color: rgba(0, 0, 0, 0.6); /* dark overlay */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  color: #fff;
  text-align: center;
}

.trust-box {
  flex: 1;
  min-width: 250px;
}

.trust-box i {
  font-size: 3rem;
  color: #ff0; /* Yellow icon */
  margin-bottom: 10px;
  display: block;
}

.trust-box h3 {
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
}

/* Footer */
footer {
  padding: 1rem;
  text-align: center;
}
footer p {
  font-size: 1.2rem;
}

.form-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
}

.form-section h2 {
  margin-bottom: 2rem;
  font-size: 1.7rem;
  color: #333;
}

.step {
  color: red;
  font-weight: bold;
}

.input-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid #28a745;
  border-radius: 3px;
  overflow: hidden;
  background: white;
}

.input-group label {
  font-size: 1.3rem;
  width: 120px;
  padding: 1rem;
  background: #6d7470;
  color: white;
  font-weight: bold;
  text-align: center;
}

.input-group input {
  flex: 1;
  padding: 1rem;
  font-size: 1.1rem;
  border: none;
  outline: none;
  color: red;
}

.phone-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.phone-wrapper .flag {
  background: #fff;
  padding-left: 1rem;
}

.phone-wrapper img {
  height: 30px;
  width: auto;
  margin-right: 1rem;
}

.submit-btn {
  align-self: flex-end;
  background-color: #28a745;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #218838;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  min-width: 300px;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  background: linear-gradient(135deg, #4caf50, #45a049);
}

.toast-error {
  background: linear-gradient(135deg, #f44336, #d32f2f);
}

.toast i {
  font-size: 20px;
  flex-shrink: 0;
}

.toast span {
  flex: 1;
  line-height: 1.4;
}

/* Loading Button Styles */
.submit-btn {
  position: relative;
  transition: all 0.3s ease;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Form Validation Styles */
.input-group input:invalid {
  border-color: #f44336;
}

.input-group input:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  nav .logo {
    width: 140px;
  }
  .hero-boxes {
    align-items: center;
    justify-content: center;
  }
  .services-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-direction: column;
  }

  .trust {
    height: auto;
    padding: 60px 20px;
  }

  .trust-content {
    flex-direction: column;
  }

  .trust-box {
    padding: 1rem 0;
    width: 100%;
  }

  .form-section {
    padding: 1rem;
  }
  .input-group {
    flex-direction: column;
    align-items: stretch;
  }

  .input-group label {
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
  }

  .submit-btn {
    width: 100%;
    text-align: center;
  }

  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .toast {
    min-width: auto;
    max-width: none;
  }
}
